summaryrefslogtreecommitdiff
path: root/lib/Makefile.in
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>2005-07-14 11:28:16 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>2005-07-14 11:28:16 +0000
commit62dcd12e91f9fca6348beab85668cd07e3fb32fe (patch)
tree4d10518a76b6cd46016b3a0f6710fcd1b44afdef /lib/Makefile.in
parenta5d7ebb1d18a3710cb6b86f0b68d2257c4ab061a (diff)
Include library dependencies when building libzephyr.
Diffstat (limited to 'lib/Makefile.in')
-rw-r--r--lib/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in
index 045db60..cdaecc8 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -25,6 +25,8 @@ CPPFLAGS=@CPPFLAGS@
CFLAGS=@CFLAGS@
ALL_CFLAGS=${CFLAGS} -DSYSCONFDIR=\"${sysconfdir}\" -I${top_srcdir}/h \
-I${BUILDTOP}/h ${CPPFLAGS}
+LDFLAGS=@LDFLAGS@
+LIBS=@LIBS@ -lcom_err
OBJS = zephyr_err.lo ZAsyncLocate.lo ZCkAuth.lo ZCkIfNot.lo ZClosePort.lo \
ZCmpUID.lo ZCmpUIDP.lo ZFlsLocs.lo ZFlsSubs.lo ZFmtAuth.lo \
@@ -43,7 +45,7 @@ all: libzephyr.la
libzephyr.la: ${OBJS}
${LIBTOOL} --mode=link ${CC} -rpath ${libdir} -version-info 3:0:0 \
- -o $@ ${OBJS}
+ ${LDFLAGS} -o $@ ${OBJS} ${LIBS}
zephyr_err.c ${BUILDTOP}/h/zephyr/zephyr_err.h: zephyr_err.et
compile_et ${srcdir}/zephyr_err.et