]> git.meshlink.io Git - catta/commitdiff
move definition of libtool version info data to configure.ac
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Sep 2005 17:25:07 +0000 (17:25 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 7 Sep 2005 17:25:07 +0000 (17:25 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@523 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-client/Makefile.am
avahi-common/Makefile.am
avahi-core/Makefile.am
avahi-glib/Makefile.am
avahi-qt/Makefile.am
configure.ac

index 30a2824d5dabc6a107ef3233502b920506f08a79..77b8c35f3857a85ffaadde2d65d42a7f24f8ccee 100644 (file)
@@ -41,7 +41,7 @@ libavahi_client_la_SOURCES = \
 
 libavahi_client_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -DDBUS_SYSTEM_BUS_DEFAULT_ADDRESS=\"$(DBUS_SYSTEM_BUS_DEFAULT_ADDRESS)\"
 libavahi_client_la_LIBADD = $(AM_LDADD) $(DBUS_LIBS) ../avahi-common/libavahi-common.la ../avahi-common/libdbus-common-pic.la
-libavahi_client_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info 1:0:0
+libavahi_client_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_CLIENT_VERSION_INFO)
 
 client_test_SOURCES = client-test.c
 client_test_CFLAGS = $(AM_CFLAGS) 
index 66e36d479d16602cee954b672ef664398db040f9..a580a9d579bd1895e0baef7c46851ca58ac3d3fc 100644 (file)
@@ -63,7 +63,7 @@ libavahi_common_la_SOURCES = \
        watch.h gccmacro.h
 
 libavahi_common_la_CFLAGS = $(AM_CFLAGS)
-libavahi_common_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info 1:0:1
+libavahi_common_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_COMMON_VERSION_INFO) 1:0:1
 
 strlst_test_SOURCES = \
        strlst.c strlst.h \
index e790a00df3cc7b4fa39faead7c0640f7be31f8e3..59b6215bfd143e57a6d11963775e20571d56f931 100644 (file)
@@ -72,7 +72,7 @@ libavahi_core_la_SOURCES = \
 
 libavahi_core_la_CFLAGS = $(AM_CFLAGS)
 libavahi_core_la_LIBADD = $(AM_LDADD) ../avahi-common/libavahi-common.la
-libavahi_core_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info 0:1:0
+libavahi_core_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_CORE_VERSION_INFO)
 
 prioq_test_SOURCES = \
        prioq-test.c  \
index f5ac4cedad0f8dacc54cea57724b200c56970c1e..02c6181966f0ee18d5ef6a65ab4eaf62920d7520 100644 (file)
@@ -41,7 +41,7 @@ libavahi_glib_la_SOURCES = \
        glib-malloc.h glib-malloc.c
 libavahi_glib_la_CFLAGS = $(AM_CFLAGS) $(GLIB20_CFLAGS)
 libavahi_glib_la_LIBADD = $(AM_LDADD) ../avahi-common/libavahi-common.la $(GLIB20_LIBS)
-libavahi_glib_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info 0:1:0
+libavahi_glib_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_GLIB_VERSION_INFO)
 
 glib_watch_test_SOURCES = \
        glib-watch.c glib-watch.h \
index 4244011c53ae1413ecbfd1d6ee755c921c61550e..4cd047b684db46ce076e6ac9d19e9bfe0e47eb40 100644 (file)
@@ -42,7 +42,7 @@ qt-watch.moc3: qt-watch.cpp
 
 libavahi_qt3_la_CPPFLAGS = $(AM_CFLAGS) $(QT3_CFLAGS)
 libavahi_qt3_la_LIBADD = $(AM_LDADD) ../avahi-common/libavahi-common.la $(QT3_LIBS)
-libavahi_qt3_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info 0:0:0
+libavahi_qt3_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_QT3_VERSION_INFO)
 
 endif
 
@@ -65,7 +65,7 @@ qt-watch.moc4: qt-watch.cpp
 
 libavahi_qt4_la_CPPFLAGS = $(AM_CFLAGS) $(QT4_CFLAGS) -DQT4
 libavahi_qt4_la_LIBADD = $(AM_LDADD) ../avahi-common/libavahi-common.la $(QT4_LIBS)
-libavahi_qt4_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info 0:0:0
+libavahi_qt4_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_QT4_VERSION_INFO)
 
 endif
 
index 8004dee9e15d4c968b63f4e5b830c2de67489254..aee779aac7ee00f044587d478fce78d832f254bf 100644 (file)
@@ -28,6 +28,13 @@ AM_INIT_AUTOMAKE([foreign 1.9 -Wall])
 
 AC_SUBST(PACKAGE_URL, [http://www.freedesktop.org/Software/Avahi])
 
+AC_SUBST(LIBAVAHI_COMMON_VERSION_INFO, [1:0:1])
+AC_SUBST(LIBAVAHI_CORE_VERSION_INFO, [0:1:0])
+AC_SUBST(LIBAVAHI_CLIENT_VERSION_INFO, [1:0:0])
+AC_SUBST(LIBAVAHI_GLIB_VERSION_INFO, [0:1:0])
+AC_SUBST(LIBAVAHI_QT3_VERSION_INFO, [0:0:0])
+AC_SUBST(LIBAVAHI_QT4_VERSION_INFO, [0:0:0])
+
 if type -p stow > /dev/null && test -d /usr/local/stow ; then
     AC_MSG_NOTICE([*** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***])
     ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"