#libexecdir = @libexecdir@
-#localstatedir = @localstatedir@
+localstatedir = @localstatedir@
sharedstatedir = @sharedstatedir@
INCLUDE_INSTALLDIR = ${prefix}/include
LIB_INSTALLDIR = ${libdir}
+CONCORD_DB_PREFIX = ${localstatedir}/concord
+CONCORD_DB_FORMAT_VERSION = 2.0
+CONCORD_DB_DIR = ${CONCORD_DB_PREFIX}/${CONCORD_DB_FORMAT_VERSION}
+CONCORD_SI_DB_DIR = ${CONCORD_DB_DIR}/db
+
+CONCORD_CFLAGS = \
+ -DCONCORD_DB_FORMAT_VERSION=\"${CONCORD_DB_FORMAT_VERSION}/\" \
+ -DCONCORD_DB_DIR=\"${CONCORD_DB_DIR}/\" \
+ -DCONCORD_SI_DB_DIR=\"${CONCORD_SI_DB_DIR}/\"
+
VERSION = @PACKAGE_VERSION@
ABI_VERSION = 1:0:1
-HEADERS = concord.h concord-name.h concord-bdb.h
-OBJS = concord.lo concord-bdb.lo name.lo
+HEADERS = cos.h concord.h concord-name.h concord-bdb.h
+OBJS = cos.lo symbol.lo read.lo concord.lo concord-bdb.lo name.lo
all: libconcord.la
-rpath ${libdir} -version-info $(ABI_VERSION) \
-no-undefined
-concord.lo: concord.c concord.h config.h sysdep.h
+cos.lo: cos.c cos-i.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
+ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) symbol.c
+
+read.lo: read.c cos-read.h Makefile
+ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) read.c
+
+concord.lo: concord.c cos-i.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