X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=Makefile.in;h=58e6a9e765f0ac845de80e9a22be8ccfa6dfa190;hb=f3d3e97b8764a2d8a5b39cd132d990e30bf32e5c;hp=504f8d5d20e3109acbfa7fbcee496fa2b81b40fb;hpb=3f5b4d4506dfe992d45e7506ddd11992fae48230;p=chise%2Fconcord.git diff --git a/Makefile.in b/Makefile.in index 504f8d5..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@ @@ -52,21 +53,21 @@ 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 @@ -102,6 +106,9 @@ sample: sample.c libconcord.la 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