SHELL=@SHELL@ prefix=@prefix@ exec_prefix=@exec_prefix@ datadir=@datadir@ sysconfdir=@sysconfdir@ sbindir=@sbindir@ lsbindir=@lsbindir@ datarootdir=@datarootdir@ top_builddir=../.. includedir=@includedir@ mandir=@mandir@ libdir=@libdir@ bindir=@bindir@ srcdir=@srcdir@ top_srcdir=@top_srcdir@ BUILDTOP=../.. VPATH=@srcdir@ LIBTOOL=@LIBTOOL@ CC=@CC@ INSTALL=@INSTALL@ LIBZEPHYR=${BUILDTOP}/lib/libzephyr.la CPPFLAGS=@CPPFLAGS@ CFLAGS=@CFLAGS@ ALL_CFLAGS=${CFLAGS} -I${top_srcdir}/h -I${BUILDTOP}/h ${CPPFLAGS} LDFLAGS=@LDFLAGS@ LIBS=${LIBZEPHYR} @LIBS@ -lcom_err OBJS= zaway.o all: zaway zaway: ${OBJS} ${LIBZEPHYR} ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} .c.o: ${CC} -c ${ALL_CFLAGS} $< check: install: zaway ${LIBTOOL} --mode=install ${INSTALL} -m 755 zaway ${DESTDIR}${bindir} ${INSTALL} -m 644 ${srcdir}/zaway.1 ${DESTDIR}${mandir}/man1 clean: ${LIBTOOL} --mode=clean rm -f zaway rm -f ${OBJS} ${OBJS}: ${top_srcdir}/h/sysdep.h ${BUILDTOP}/h/config.h ${OBJS}: ${BUILDTOP}/h/zephyr/zephyr.h ${BUILDTOP}/h/zephyr/zephyr_err.h .PHONY: all check install clean