aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-06-23 01:46:51 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-06-23 01:46:51 +0800
commit843af74a2e6abebfc4ca41691bb2280b66b38364 (patch)
tree90304855706f32eaddfd4a526ff859175f3ebe31 /libempathy
parentf25529d99262c9854a87eb459fadf72226e51294 (diff)
downloadgsoc2013-empathy-843af74a2e6abebfc4ca41691bb2280b66b38364.tar
gsoc2013-empathy-843af74a2e6abebfc4ca41691bb2280b66b38364.tar.gz
gsoc2013-empathy-843af74a2e6abebfc4ca41691bb2280b66b38364.tar.bz2
gsoc2013-empathy-843af74a2e6abebfc4ca41691bb2280b66b38364.tar.lz
gsoc2013-empathy-843af74a2e6abebfc4ca41691bb2280b66b38364.tar.xz
gsoc2013-empathy-843af74a2e6abebfc4ca41691bb2280b66b38364.tar.zst
gsoc2013-empathy-843af74a2e6abebfc4ca41691bb2280b66b38364.zip
2007-06-22 Xavier Claessens <xclaesse@gmail.com>
* 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. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@172 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/Makefile.am67
-rw-r--r--libempathy/libempathy.pc.in11
2 files changed, 56 insertions, 22 deletions
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}