From: Dana Jansens Date: Tue, 16 Sep 2003 04:49:04 +0000 (+0000) Subject: install the libs with release and version info via libtool X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=970d9542154e3d918ad7aa6a49d9f132d9ec7678;p=chaz%2Fopenbox install the libs with release and version info via libtool --- diff --git a/Makefile.am b/Makefile.am index 32f389c5..e791a05f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -48,6 +48,9 @@ render_libobrender_la_LIBADD = \ $(XFT_LIBS) \ $(GLIB_LIBS) \ parser/libobparser.la +render_libobrender_la_LDFLAGS = \ + -release $(LT_RELEASE) \ + -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) render_libobrender_la_SOURCES = \ gettext.h \ render/color.h \ @@ -81,6 +84,9 @@ parser_libobparser_la_CPPFLAGS = \ parser_libobparser_la_LIBADD = \ $(GLIB_LIBS) \ $(XML_LIBS) +parser_libobparser_la_LDFLAGS = \ + -release $(LT_RELEASE) \ + -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) parser_libobparser_la_SOURCES = \ parser/parse.h \ parser/parse.c diff --git a/configure.ac b/configure.ac index 9807c793..d1f2cc82 100644 --- a/configure.ac +++ b/configure.ac @@ -28,7 +28,7 @@ AC_SUBST(OB_BINARY_AGE) AC_SUBST(OB_VERSION) dnl Libtool versioning -LT_RELEASE=$VERSION +LT_RELEASE=$OB_MAJOR_VERSION.$OB_MINOR_VERSION LT_CURRENT=`expr $OB_MICRO_VERSION - $OB_INTERFACE_AGE` LT_REVISION=$OB_INTERFACE_AGE LT_AGE=`expr $OB_BINARY_AGE - $OB_INTERFACE_AGE`