From e63189b4f9daa550990202ac62cbaee469e35fbc Mon Sep 17 00:00:00 2001 From: Giel van Schijndel Date: Sun, 23 Nov 2008 21:38:25 +0000 Subject: [PATCH] * Add libtool version information to betawidget - Use 0:0:0 as current version (API=0, API_IMPLEMENTATION=0, IMPLEMENTATION_AGE=0) git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6375 4a71c877-e1ca-e34f-864e-861f7616d084 --- lib/betawidget/configure.ac | 17 +++++++++++++++++ lib/betawidget/src/Makefile.am | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/lib/betawidget/configure.ac b/lib/betawidget/configure.ac index 569528e16..c463485cc 100644 --- a/lib/betawidget/configure.ac +++ b/lib/betawidget/configure.ac @@ -3,6 +3,23 @@ AC_PREREQ(2.61) AC_INIT(betawidget, VERSION) + +# libtool shared library version + +# Increment if the interface has additions, changes, removals. +LT_CURRENT=0 + +# Increment any time the source changes; set to +# 0 if you increment CURRENT +LT_REVISION=0 + +# Increment if any interfaces have been added; set to 0 +# if any interfaces have been removed. removal has +# precedence over adding, so set to 0 if both happened. +LT_AGE=0 + +AC_SUBST([LIBTOOL_VERSION], ["$LT_CURRENT:$LT_REVISION:$LT_AGE"]) + AC_CONFIG_SRCDIR([src/vector.h]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE diff --git a/lib/betawidget/src/Makefile.am b/lib/betawidget/src/Makefile.am index 04cf8abf8..9249849d4 100644 --- a/lib/betawidget/src/Makefile.am +++ b/lib/betawidget/src/Makefile.am @@ -30,7 +30,7 @@ libbetawidget_la_SOURCES = \ window.c libbetawidget_la_CPPFLAGS = $(CAIRO_CFLAGS) $(LUA_CFLAGS) -DLIB_COMPILE=1 -libbetawidget_la_LDFLAGS = $(LUA_LIBS) $(CAIRO_LIBS) $(OPENGL_LIBS) +libbetawidget_la_LDFLAGS = $(LUA_LIBS) $(CAIRO_LIBS) $(OPENGL_LIBS) -version-info $(LIBTOOL_VERSION) libbetawidget_la_LIBADD = platform/libplatform.la libutil.la # FIXME: As much non-API headers (i.e. headers that shouldn't be directly