From 08cb980405a085077249b8f03a13772b314d2f50 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Tue, 23 Apr 2013 23:33:33 +0900 Subject: [PATCH] (OBJS): Add cos-hash.lo. (cos.lo): Add `cos-hash.h' as a dependency. (symbol.lo): Likewise. (concord.lo): Likewise. (name.lo): Add `hash-i.h' as a dependency. (cos-hash.lo): New target. (hash-test): New target. --- Makefile.in | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index 504f8d5..4a2d67c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -52,8 +52,8 @@ 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 @@ -63,10 +63,10 @@ libconcord.la: $(OBJS) -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 +75,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 +105,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 -- 1.7.10.4