From 8e9aa89166cf774b6d7efe83db68ac2d6540e840 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Tue, 20 Oct 2009 19:16:58 +0100 Subject: Stop building libempathy{,-gtk} as a shared library. Closes bug #599086 Signed-off-by: Jonny Lamb --- libempathy-gtk/Makefile.am | 49 ++++++++++++++----------------------- libempathy-gtk/libempathy-gtk.pc.in | 13 ---------- 2 files changed, 19 insertions(+), 43 deletions(-) delete mode 100644 libempathy-gtk/libempathy-gtk.pc.in (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/Makefile.am b/libempathy-gtk/Makefile.am index 25e3dc9d9..cdcd0bd3f 100644 --- a/libempathy-gtk/Makefile.am +++ b/libempathy-gtk/Makefile.am @@ -22,7 +22,7 @@ BUILT_SOURCES = \ empathy-gtk-enum-types.h \ empathy-gtk-enum-types.c -lib_LTLIBRARIES = libempathy-gtk.la +noinst_LTLIBRARIES = libempathy-gtk.la libempathy_gtk_handwritten_source = \ empathy-account-chooser.c \ @@ -66,27 +66,6 @@ libempathy_gtk_handwritten_source = \ empathy-kludge-label.c \ empathy-ui-utils.c -libempathy_gtk_la_SOURCES = \ - $(libempathy_gtk_handwritten_source) \ - totem-subtitle-encoding.c totem-subtitle-encoding.h - -# do not distribute generated files -nodist_libempathy_gtk_la_SOURCES =\ - $(BUILT_SOURCES) - -libempathy_gtk_la_LIBADD = \ - $(LIBEMPATHYGTK_LIBS) \ - $(ENCHANT_LIBS) \ - $(LIBCHAMPLAIN_LIBS) \ - $(GEOCLUE_LIBS) \ - $(MOBLIN_LIBS) \ - $(WEBKIT_LIBS) \ - $(top_builddir)/libempathy/libempathy.la - -libempathy_gtk_la_LDFLAGS = \ - -version-info ${LIBEMPATHY_GTK_CURRENT}:${LIBEMPATHY_GTK_REVISION}:${LIBEMPATHY_GTK_AGE} \ - -export-symbols-regex ^empathy_ - libempathy_gtk_headers = \ empathy-account-chooser.h \ empathy-account-widget.h \ @@ -129,17 +108,30 @@ libempathy_gtk_headers = \ empathy-kludge-label.h \ empathy-ui-utils.h +libempathy_gtk_la_SOURCES = \ + $(libempathy_gtk_handwritten_source) \ + $(libempathy_gtk_headers) \ + totem-subtitle-encoding.c totem-subtitle-encoding.h + +# do not distribute generated files +nodist_libempathy_gtk_la_SOURCES =\ + $(BUILT_SOURCES) + +libempathy_gtk_la_LIBADD = \ + $(LIBEMPATHYGTK_LIBS) \ + $(ENCHANT_LIBS) \ + $(LIBCHAMPLAIN_LIBS) \ + $(GEOCLUE_LIBS) \ + $(MOBLIN_LIBS) \ + $(WEBKIT_LIBS) \ + $(top_builddir)/libempathy/libempathy.la + check_c_sources = \ $(libempathy_gtk_handwritten_source) \ $(libempathy_gtk_headers) include $(top_srcdir)/tools/check-coding-style.mk check-local: check-coding-style -libempathy_gtk_includedir = $(includedir)/libempathy-gtk/ -libempathy_gtk_include_HEADERS = \ - $(libempathy_gtk_headers) \ - empathy-gtk-enum-types.h - uidir = $(datadir)/empathy ui_DATA = \ empathy-contact-widget.ui \ @@ -215,9 +207,6 @@ empathy-gtk-enum-types.c: Makefile $(libempathy_gtk_headers) && cp xgen-gtc $(@F) \ && rm -f xgen-gtc -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libempathy-gtk.pc - EXTRA_DIST = \ $(ui_DATA) diff --git a/libempathy-gtk/libempathy-gtk.pc.in b/libempathy-gtk/libempathy-gtk.pc.in deleted file mode 100644 index e0e3f8088..000000000 --- a/libempathy-gtk/libempathy-gtk.pc.in +++ /dev/null @@ -1,13 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: libempathy-gtk -Description: Empathy interface library -Requires: pkg-config >= 0.21 -Requires.private: glib-2.0, gobject-2.0, gtk+-2.0, \ - libempathy, telepathy-glib, libcanberra-gtk -Version: @VERSION@ -Libs: -L${libdir} -lempathy-gtk -Cflags: -I${includedir} -- cgit v1.2.3