]> Dogcows Code - chaz/openbox/commitdiff
install the libs with release and version info via libtool
authorDana Jansens <danakj@orodu.net>
Tue, 16 Sep 2003 04:49:04 +0000 (04:49 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 16 Sep 2003 04:49:04 +0000 (04:49 +0000)
Makefile.am
configure.ac

index 32f389c55ad76b7b4c250af01113dd8a3a6f188f..e791a05fcdfcf9a3441e8f13e520ee5c0249197a 100644 (file)
@@ -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
index 9807c79392dc2f9e6006e9151c8fccd7dd6d8d04..d1f2cc82595f67ce78df08492848489dbca55ccd 100644 (file)
@@ -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`
This page took 0.024152 seconds and 4 git commands to generate.