(libchise.la): Specify $(ABI_VERSION) as -version-info of libtool.
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