* 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
master
Giel van Schijndel 2008-11-23 21:38:25 +00:00
parent 0e80daf989
commit e63189b4f9
2 changed files with 18 additions and 1 deletions

View File

@ -3,6 +3,23 @@
AC_PREREQ(2.61) AC_PREREQ(2.61)
AC_INIT(betawidget, VERSION) 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_SRCDIR([src/vector.h])
AC_CONFIG_HEADER([config.h]) AC_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE AM_INIT_AUTOMAKE

View File

@ -30,7 +30,7 @@ libbetawidget_la_SOURCES = \
window.c window.c
libbetawidget_la_CPPFLAGS = $(CAIRO_CFLAGS) $(LUA_CFLAGS) -DLIB_COMPILE=1 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 libbetawidget_la_LIBADD = platform/libplatform.la libutil.la
# FIXME: As much non-API headers (i.e. headers that shouldn't be directly # FIXME: As much non-API headers (i.e. headers that shouldn't be directly