(struct CHISE_DS): Omit definition of members.
[chise/libchise.git] / Makefile.in
index dbb0ec0..bc2c952 100644 (file)
@@ -1,7 +1,7 @@
 CC = @CC@
 DEFS = @DEFS@
 LIBS = @LIBS@ -ldb
-CFLAGS = $(DEFS) -g -O2 -c
+CFLAGS = @CFLAGS@ -c
 
 LIBTOOL = @LIBTOOL@
 
@@ -30,11 +30,14 @@ DB_INSTALLDIR       = ${libdir}/chise
 
 VERSION                = @PACKAGE_VERSION@
 
+ABI_VERSION     = 1:0:0
+
 
 all:   libchise.la
 
 libchise.la:   chise.lo
-       $(LIBTOOL) $(CC) -o libchise.la chise.lo $(LIBS) -rpath ${libdir}
+       $(LIBTOOL) $(CC) -o libchise.la chise.lo $(LIBS) \
+               -rpath ${libdir} -version-info $(ABI_VERSION)
 
 chise.lo:      chise.c chise.h
        $(LIBTOOL) $(CC) $(CFLAGS) chise.c