From 7571ad9cda32496107a7067fc0416aa1e4466cce Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 22 Jun 2007 17:46:51 +0000 Subject: Install libempathy and libempathy-gtk and make their API public. 2007-06-22 Xavier Claessens * libempathy-gtk/libempathy-gtk.pc.in: * libempathy-gtk/Makefile.am: * libempathy/libempathy.pc.in: * libempathy/Makefile.am: * configure.ac: Install libempathy and libempathy-gtk and make their API public. svn path=/trunk/; revision=172 --- libempathy/Makefile.am | 67 ++++++++++++++++++++++++++++++--------------- libempathy/libempathy.pc.in | 11 ++++++++ 2 files changed, 56 insertions(+), 22 deletions(-) create mode 100644 libempathy/libempathy.pc.in (limited to 'libempathy') diff --git a/libempathy/Makefile.am b/libempathy/Makefile.am index 00ce4233a..c30f62fa5 100644 --- a/libempathy/Makefile.am +++ b/libempathy/Makefile.am @@ -10,34 +10,54 @@ BUILT_SOURCES = \ empathy-marshal.c \ empathy-chandler-glue.h -noinst_LTLIBRARIES = libempathy.la +lib_LTLIBRARIES = libempathy.la -libempathy_la_SOURCES = \ - empathy-conf.c empathy-conf.h \ - empathy-contact.c empathy-contact.h \ - empathy-avatar.c empathy-avatar.h \ - empathy-time.c empathy-time.h \ - empathy-presence.c empathy-presence.h \ - empathy-debug.c empathy-debug.h \ - empathy-utils.c empathy-utils.h \ - empathy-message.c empathy-message.h \ - empathy-chatroom-manager.c empathy-chatroom-manager.h \ - empathy-chatroom.c empathy-chatroom.h \ - empathy-contact-list.c empathy-contact-list.h \ - empathy-contact-manager.c empathy-contact-manager.h \ - empathy-tp-group.c empathy-tp-group.h \ - empathy-tp-contact-list.c empathy-tp-contact-list.h \ - empathy-tp-chat.c empathy-tp-chat.h \ - empathy-tp-chatroom.c empathy-tp-chatroom.h \ - empathy-chandler.c empathy-chandler.h \ - empathy-idle.c empathy-idle.h \ - empathy-log-manager.c empathy-log-manager.h \ +libempathy_la_SOURCES = \ + empathy-conf.c \ + empathy-contact.c \ + empathy-avatar.c \ + empathy-time.c \ + empathy-presence.c \ + empathy-debug.c \ + empathy-utils.c \ + empathy-message.c \ + empathy-chatroom-manager.c \ + empathy-chatroom.c \ + empathy-contact-list.c \ + empathy-contact-manager.c \ + empathy-tp-group.c \ + empathy-tp-contact-list.c \ + empathy-tp-chat.c \ + empathy-tp-chatroom.c \ + empathy-chandler.c \ + empathy-idle.c \ + empathy-log-manager.c \ empathy-marshal-main.c libempathy_la_LIBADD = \ $(LIBEMPATHY_LIBS) -libempathy_includedir = $(includedir)/empathy/ +libempathydir = $(includedir)/libempathy/ +libempathy_HEADERS = \ + empathy-conf.h \ + empathy-contact.h \ + empathy-avatar.h \ + empathy-time.h \ + empathy-presence.h \ + empathy-debug.h \ + empathy-utils.h \ + empathy-message.h \ + empathy-chatroom-manager.h \ + empathy-chatroom.h \ + empathy-contact-list.h \ + empathy-contact-manager.h \ + empathy-tp-group.h \ + empathy-tp-contact-list.h \ + empathy-tp-chat.h \ + empathy-tp-chatroom.h \ + empathy-chandler.h \ + empathy-idle.h \ + empathy-log-manager.h %-marshal.h: %-marshal.list Makefile.am $(GLIB_GENMARSHAL) --header --prefix=$(subst -,_,$*)_marshal $< > $*-marshal.h @@ -58,6 +78,9 @@ stylesheetdir = $(datadir)/empathy stylesheet_DATA = \ empathy-log-manager.xsl +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libempathy.pc + EXTRA_DIST = \ empathy-marshal.list \ empathy-chandler.xml \ diff --git a/libempathy/libempathy.pc.in b/libempathy/libempathy.pc.in new file mode 100644 index 000000000..e567fefce --- /dev/null +++ b/libempathy/libempathy.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libempathy +Description: Empathy base library +Requires: glib-2.0, gobject-2.0, libxml-2.0, libtelepathy, libmissioncontrol +Version: @VERSION@ +Libs: -L${libdir} -lempathy +Cflags: -I${includedir} -- cgit v1.2.3