X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=Makefile.in;h=58e6a9e765f0ac845de80e9a22be8ccfa6dfa190;hb=f3d3e97b8764a2d8a5b39cd132d990e30bf32e5c;hp=6e83c440c00588ca9081cd1e0a5991dd361c6185;hpb=0d96d38866c610a02a454d16e95173c43e994259;p=chise%2Fconcord.git diff --git a/Makefile.in b/Makefile.in index 6e83c44..58e6a9e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -2,6 +2,7 @@ CC = @CC@ DEFS = @DEFS@ LIBS = @LIBS@ CFLAGS = -I. @CFLAGS@ -c -Wall -Wmissing-prototypes $(DEFS) +LDFLAGS = @LDFLAGS@ LIBTOOL = @LIBTOOL@ @@ -38,7 +39,7 @@ INCLUDE_INSTALLDIR = ${prefix}/include LIB_INSTALLDIR = ${libdir} CONCORD_DB_PREFIX = ${localstatedir}/concord -CONCORD_DB_FORMAT_VERSION = 2.0 +CONCORD_DB_FORMAT_VERSION = 1.0 CONCORD_DB_DIR = ${CONCORD_DB_PREFIX}/${CONCORD_DB_FORMAT_VERSION} CONCORD_SI_DB_DIR = ${CONCORD_DB_DIR}/db @@ -48,25 +49,25 @@ CONCORD_CFLAGS = \ -DCONCORD_SI_DB_DIR=\"${CONCORD_SI_DB_DIR}/\" VERSION = @PACKAGE_VERSION@ -ABI_VERSION = 1:0:1 +ABI_VERSION = 2:0:1 HEADERS = cos.h concord.h concord-name.h concord-bdb.h -OBJS = cos.lo symbol.lo read.lo print.lo concord.lo concord-bdb.lo name.lo - +OBJS = cos.lo symbol.lo read.lo print.lo concord.lo concord-bdb.lo \ + name.lo cos-hash.lo all: libconcord.la libconcord.la: $(OBJS) $(LIBTOOL) --mode=link \ - $(CC) -o libconcord.la $(OBJS) $(LIBS) \ + $(CC) $(LDFLAGS) -o libconcord.la $(OBJS) $(LIBS) \ -rpath ${libdir} -version-info $(ABI_VERSION) \ -no-undefined -cos.lo: cos.c cos-i.h cos-read.h cos.h concord.h config.h sysdep.h Makefile +cos.lo: cos.c cos-i.h cos-hash.h cos-read.h cos.h concord.h config.h sysdep.h Makefile $(LIBTOOL) --mode=compile $(CC) $(CONCORD_CFLAGS) $(CFLAGS) cos.c -symbol.lo: symbol.c cos-i.h cos.h config.h sysdep.h Makefile +symbol.lo: symbol.c cos-i.h cos-hash.h cos.h config.h sysdep.h Makefile $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) symbol.c read.lo: read.c cos-read.h Makefile @@ -75,15 +76,18 @@ read.lo: read.c cos-read.h Makefile print.lo: print.c cos-print.h Makefile $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) print.c -concord.lo: concord.c cos-i.h cos.h concord.h config.h sysdep.h +concord.lo: concord.c cos-i.h cos-hash.h cos.h concord.h config.h sysdep.h $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) concord.c concord-bdb.lo: concord-bdb.c concord-bdb.h concord-name.h $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) concord-bdb.c -name.lo: name.c concord-name.h +name.lo: name.c concord-name.h hash-i.h $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) name.c +cos-hash.lo: cos-hash.c concord-name.h cos-hash.h hash-i.h + $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) cos-hash.c + install: install.h install.libs @@ -99,6 +103,12 @@ install.libs: libconcord.la sample: sample.c libconcord.la gcc -Wall -Wmissing-prototypes -o sample sample.c -lconcord +symbol-test: symbol-test.c libconcord.la + gcc -Wall -Wmissing-prototypes -o symbol-test symbol-test.c -lconcord + +hash-test: hash-test.c libconcord.la + gcc -Wall -Wmissing-prototypes -o hash-test hash-test.c -lconcord + clean: -$(RM) -r *.o *.lo *.so *.la .libs sample