diff options
Diffstat (limited to 'clients/zleave/Makefile.in')
-rw-r--r-- | clients/zleave/Makefile.in | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/clients/zleave/Makefile.in b/clients/zleave/Makefile.in index 32017ae..cff622f 100644 --- a/clients/zleave/Makefile.in +++ b/clients/zleave/Makefile.in @@ -11,26 +11,29 @@ includedir=${prefix}/include mandir=${prefix}/man libdir=${exec_prefix}/lib bindir=${exec_prefix}/bin +top_builddir=../.. 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=-L${BUILDTOP}/lib @LDFLAGS@ -LIBS=-lzephyr @LIBS@ -lcom_err +LDFLAGS=@LDFLAGS@ +LIBS=${LIBZEPHYR} @LIBS@ -lcom_err OBJS= zleave.o all: zleave -zleave: ${OBJS} ${BUILDTOP}/lib/libzephyr.a - ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} +zleave: ${OBJS} ${LIBZEPHYR} + ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} .c.o: ${CC} -c ${ALL_CFLAGS} $< @@ -38,11 +41,12 @@ zleave: ${OBJS} ${BUILDTOP}/lib/libzephyr.a check: install: zleave - ${INSTALL} -m 755 -s zleave ${DESTDIR}${bindir} + ${LIBTOOL} --mode=install ${INSTALL} -m 755 zleave ${DESTDIR}${bindir} ${INSTALL} -m 644 ${srcdir}/zleave.1 ${DESTDIR}${mandir}/man1 clean: - rm -f ${OBJS} zleave + ${LIBTOOL} --mode=clean rm -f zleave + 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 |