Mercurial > pidgin
comparison libpurple/Makefile.am @ 16583:ce049678a67b
soname versioning of libpurple. Should help resolve debian bug 421282
All version control is within configure.ac now
Adjust the define for purple_version_suffix as appropriate:
[devel] - normal development periods
[betaN] - for beta releases
[] - for releases
Follow the instructions in configure.ac to set the version number depending on
how the API has changed (ie. following our normal version numbering!)
version.h is auto-generated now
Added purple_version_check(), purple_major_version, purple_minor_version,
& purple_micro_version for run-time version comparisons in addition to the
existing compile time macros.
libpurple Plugins moved again, this time to:
$(libdir)/purple-$PURPLE_MAJOR_VERSION
This will allow parallel installations of different major libpurple versions
in the future should someone wish to.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 28 Apr 2007 16:55:31 +0000 |
parents | 7125eda8fe22 |
children | 171acd9ebb1a |
comparison
equal
deleted
inserted
replaced
16582:60f9ac8421ef | 16583:ce049678a67b |
---|---|
6 purple-send \ | 6 purple-send \ |
7 purple-send-async \ | 7 purple-send-async \ |
8 purple-url-handler \ | 8 purple-url-handler \ |
9 purple.pc.in \ | 9 purple.pc.in \ |
10 purple-uninstalled.pc.in \ | 10 purple-uninstalled.pc.in \ |
11 version.h.in \ | |
11 Makefile.mingw \ | 12 Makefile.mingw \ |
12 win32/global.mak \ | 13 win32/global.mak \ |
13 win32/libc_interface.c \ | 14 win32/libc_interface.c \ |
14 win32/libc_interface.h \ | 15 win32/libc_interface.h \ |
15 win32/libc_internal.h \ | 16 win32/libc_internal.h \ |
73 sound.c \ | 74 sound.c \ |
74 sslconn.c \ | 75 sslconn.c \ |
75 upnp.c \ | 76 upnp.c \ |
76 util.c \ | 77 util.c \ |
77 value.c \ | 78 value.c \ |
79 version.c \ | |
78 xmlnode.c \ | 80 xmlnode.c \ |
79 whiteboard.c | 81 whiteboard.c |
80 | 82 |
81 purple_coreheaders = \ | 83 purple_coreheaders = \ |
82 account.h \ | 84 account.h \ |
217 libpurpleinclude_HEADERS = \ | 219 libpurpleinclude_HEADERS = \ |
218 $(purple_coreheaders) \ | 220 $(purple_coreheaders) \ |
219 $(dbus_headers) | 221 $(dbus_headers) |
220 | 222 |
221 libpurple_la_DEPENDENCIES = $(STATIC_LINK_LIBS) | 223 libpurple_la_DEPENDENCIES = $(STATIC_LINK_LIBS) |
222 libpurple_la_LDFLAGS = -export-dynamic | 224 libpurple_la_LDFLAGS = -export-dynamic -version-info $(LT_VERSION_INFO) -no-undefined |
223 libpurple_la_LIBADD = \ | 225 libpurple_la_LIBADD = \ |
224 $(DBUS_LIBS) \ | 226 $(DBUS_LIBS) \ |
225 $(GLIB_LIBS) \ | 227 $(GLIB_LIBS) \ |
226 $(LIBXML_LIBS) \ | 228 $(LIBXML_LIBS) \ |
227 $(LIBNM_LIBS) \ | 229 $(LIBNM_LIBS) \ |
230 -lm | 232 -lm |
231 | 233 |
232 AM_CPPFLAGS = \ | 234 AM_CPPFLAGS = \ |
233 -DBR_PTHREADS=0 \ | 235 -DBR_PTHREADS=0 \ |
234 -DDATADIR=\"$(datadir)\" \ | 236 -DDATADIR=\"$(datadir)\" \ |
235 -DLIBDIR=\"$(libdir)/purple/\" \ | 237 -DLIBDIR=\"$(libdir)/purple-$(PURPLE_MAJOR_VERSION)/\" \ |
236 -DLOCALEDIR=\"$(datadir)/locale\" \ | 238 -DLOCALEDIR=\"$(datadir)/locale\" \ |
237 -DSYSCONFDIR=\"$(sysconfdir)\" \ | 239 -DSYSCONFDIR=\"$(sysconfdir)\" \ |
238 $(GLIB_CFLAGS) \ | 240 $(GLIB_CFLAGS) \ |
239 $(DEBUG_CFLAGS) \ | 241 $(DEBUG_CFLAGS) \ |
240 $(DBUS_CFLAGS) \ | 242 $(DBUS_CFLAGS) \ |