(ABI_VERSION): New variable.
authortomo <tomo>
Tue, 12 Aug 2003 17:34:08 +0000 (17:34 +0000)
committertomo <tomo>
Tue, 12 Aug 2003 17:34:08 +0000 (17:34 +0000)
(libchise.la): Specify $(ABI_VERSION) as -version-info of libtool.

Makefile.in

index c18b01e..bc2c952 100644 (file)
@@ -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