libconcord.la: $(OBJS)
$(LIBTOOL) --mode=link \
$(CC) -o libconcord.la $(OBJS) $(LIBS) \
- -rpath ${libdir} -version-info $(ABI_VERSION)
+ -rpath ${libdir} -version-info $(ABI_VERSION) \
+ -no-undefined
concord.lo: concord.c concord.h config.h sysdep.h
- $(LIBTOOL) $(CC) $(CFLAGS) concord.c
+ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) concord.c
concord-bdb.lo: concord-bdb.c concord-bdb.h concord-name.h
- $(LIBTOOL) $(CC) $(CFLAGS) concord-bdb.c
+ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) concord-bdb.c
name.lo: name.c concord-name.h
- $(LIBTOOL) $(CC) $(CFLAGS) name.c
+ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) name.c
install: install.h install.libs
install -c $(HEADERS) $(INCLUDE_INSTALLDIR)
install.libs: libconcord.la
- $(LIBTOOL) install -c libconcord.la $(LIB_INSTALLDIR)
+ $(LIBTOOL) --mode=install install -c libconcord.la $(LIB_INSTALLDIR)
sample: sample.c libconcord.la