]> git.0d.be Git - empathy.git/blob - libempathy/Makefile.am
libempathy-gtk/gossip-ui-utils.c libempathy-gtk/gossip-accounts-dialog.c
[empathy.git] / libempathy / Makefile.am
1 AM_CPPFLAGS =                                           \
2         -I.                                             \
3         -I$(top_srcdir)                                 \
4         -DDATADIR=\""$(datadir)"\"                      \
5         $(LIBEMPATHY_CFLAGS)                            \
6         $(WARN_CFLAGS)
7
8 BUILT_SOURCES =                                         \
9         empathy-marshal.h                               \
10         empathy-marshal.c                               \
11         empathy-chandler-glue.h
12
13 noinst_LTLIBRARIES = libempathy.la
14
15 libempathy_la_SOURCES =                                                         \
16         gossip-conf.c                   gossip-conf.h                           \
17         gossip-contact.c                gossip-contact.h                        \
18         gossip-avatar.c                 gossip-avatar.h                         \
19         gossip-time.c                   gossip-time.h                           \
20         gossip-presence.c               gossip-presence.h                       \
21         gossip-telepathy-group.c        gossip-telepathy-group.h                \
22         gossip-debug.c                  gossip-debug.h                          \
23         gossip-utils.c                  gossip-utils.h                          \
24         gossip-message.c                gossip-message.h                        \
25         gossip-chatroom-manager.c       gossip-chatroom-manager.h               \
26         gossip-chatroom.c               gossip-chatroom.h                       \
27         empathy-contact-list.c          empathy-contact-list.h                  \
28         empathy-contact-manager.c       empathy-contact-manager.h               \
29         empathy-tp-contact-list.c       empathy-tp-contact-list.h               \
30         empathy-tp-chat.c               empathy-tp-chat.h                       \
31         empathy-tp-chatroom.c           empathy-tp-chatroom.h                   \
32         empathy-chandler.c              empathy-chandler.h                      \
33         empathy-idle.c                  empathy-idle.h                          \
34         empathy-log-manager.c           empathy-log-manager.h                   \
35         empathy-marshal-main.c
36
37 libempathy_la_LIBADD =          \
38         $(LIBEMPATHY_LIBS)
39
40 libempathy_includedir = $(includedir)/empathy/
41
42 %-marshal.h: %-marshal.list Makefile.am
43         $(GLIB_GENMARSHAL) --header --prefix=$(subst -,_,$*)_marshal $< > $*-marshal.h
44
45 %-marshal.c: %-marshal.list Makefile.am
46         $(GLIB_GENMARSHAL) --body --prefix=$(subst -,_,$*)_marshal $< > $*-marshal.c
47
48 %-marshal-main.c: %-marshal.c %-marshal.h
49
50 empathy-chandler-glue.h: empathy-chandler.xml
51         $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=empathy_chandler --mode=glib-server --output=$@ $<
52
53 dtddir = $(datadir)/empathy
54 dtd_DATA =                                      \
55         gossip-chatroom-manager.dtd
56
57 stylesheetdir = $(datadir)/empathy
58 stylesheet_DATA =               \
59         empathy-log-manager.xsl
60
61 EXTRA_DIST =                    \
62         empathy-marshal.list    \
63         empathy-chandler.xml    \
64         $(stylesheet_DATA)      \
65         $(dtd_DATA)
66
67 CLEANFILES = $(BUILT_SOURCES)