aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-12 17:24:44 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-17 20:54:10 +0800
commit81f91f746010d5b12697818b4f1f9f792ef27320 (patch)
treef8bb14aaf50dd189c74d9f26b594ee820678e065
parent25b009d1f6a98f230c99f7b0c960c5df1f7d5cde (diff)
downloadgsoc2013-empathy-81f91f746010d5b12697818b4f1f9f792ef27320.tar
gsoc2013-empathy-81f91f746010d5b12697818b4f1f9f792ef27320.tar.gz
gsoc2013-empathy-81f91f746010d5b12697818b4f1f9f792ef27320.tar.bz2
gsoc2013-empathy-81f91f746010d5b12697818b4f1f9f792ef27320.tar.lz
gsoc2013-empathy-81f91f746010d5b12697818b4f1f9f792ef27320.tar.xz
gsoc2013-empathy-81f91f746010d5b12697818b4f1f9f792ef27320.tar.zst
gsoc2013-empathy-81f91f746010d5b12697818b4f1f9f792ef27320.zip
Turn libempathy to a public lib
We use "-release" versioning as it's not meant to be used out of Empathy's tree. https://bugzilla.gnome.org/show_bug.cgi?id=679786
-rw-r--r--libempathy/Makefile.am35
1 files changed, 21 insertions, 14 deletions
diff --git a/libempathy/Makefile.am b/libempathy/Makefile.am
index ab7de6825..cfa525508 100644
--- a/libempathy/Makefile.am
+++ b/libempathy/Makefile.am
@@ -23,8 +23,6 @@ BUILT_SOURCES = \
empathy-enum-types.h \
empathy-enum-types.c
-noinst_LTLIBRARIES = libempathy.la
-
libempathy_headers = \
action-chain-internal.h \
empathy-account-settings.h \
@@ -99,10 +97,31 @@ goa_sources = \
empathy-goa-auth-handler.h \
$(NULL)
+pkglib_LTLIBRARIES = libempathy.la
+
+# libempathy's API is not stable and will never be, so use -release to make the
+# SONAME of the plugin library change with every Empathy release.
+libempathy_la_LDFLAGS = \
+ -no-undefined \
+ -release $(VERSION) \
+ $(NULL)
+
libempathy_la_SOURCES = \
$(libempathy_handwritten_source) \
cheese-camera-device-monitor.c cheese-camera-device-monitor.h
+libempathy_la_LIBADD = \
+ $(top_builddir)/extensions/libemp-extensions.la \
+ $(GCR_LIBS) \
+ $(EMPATHY_LIBS) \
+ $(GEOCLUE_LIBS) \
+ $(GEOCODE_LIBS) \
+ $(NETWORK_MANAGER_LIBS) \
+ $(CONNMAN_LIBS) \
+ $(UDEV_LIBS) \
+ $(GOA_LIBS) \
+ $(LIBM)
+
dtddir = $(datadir)/empathy
dtd_DATA = \
empathy-status-presets.dtd \
@@ -132,18 +151,6 @@ endif
nodist_libempathy_la_SOURCES =\
$(BUILT_SOURCES)
-libempathy_la_LIBADD = \
- $(top_builddir)/extensions/libemp-extensions.la \
- $(GCR_LIBS) \
- $(EMPATHY_LIBS) \
- $(GEOCLUE_LIBS) \
- $(GEOCODE_LIBS) \
- $(NETWORK_MANAGER_LIBS) \
- $(CONNMAN_LIBS) \
- $(UDEV_LIBS) \
- $(GOA_LIBS) \
- $(LIBM)
-
check_c_sources = \
$(libempathy_handwritten_source) \
$(goa_sources) \