]> git.0d.be Git - empathy.git/blob - libempathy/Makefile.am
Log chats and display 10 last messages when opening a new chat.
[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-log-manager.c           empathy-log-manager.h                   \
37         empathy-marshal-main.c
38
39 libempathy_la_LIBADD =          \
40         $(LIBEMPATHY_LIBS)
41
42 libempathy_includedir = $(includedir)/empathy/
43
44 %-marshal.h: %-marshal.list Makefile.am
45         $(GLIB_GENMARSHAL) --header --prefix=$(subst -,_,$*)_marshal $< > $*-marshal.h
46
47 %-marshal.c: %-marshal.list Makefile.am
48         $(GLIB_GENMARSHAL) --body --prefix=$(subst -,_,$*)_marshal $< > $*-marshal.c
49
50 %-marshal-main.c: %-marshal.c %-marshal.h
51
52 empathy-chandler-glue.h: empathy-chandler.xml
53         $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=empathy_chandler --mode=glib-server --output=$@ $<
54
55 dtddir = $(datadir)/empathy
56 dtd_DATA =                                      \
57         gossip-chatroom-manager.dtd
58
59 stylesheetdir = $(datadir)/empathy
60 stylesheet_DATA =               \
61         empathy-log-manager.xsl
62
63 EXTRA_DIST =                    \
64         empathy-marshal.list    \
65         empathy-chandler.xml    \
66         $(stylesheet_DATA)      \
67         $(dtd_DATA)
68
69 CLEANFILES = $(BUILT_SOURCES)