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