]> git.0d.be Git - empathy.git/blob - libempathy/Makefile.am
[darcs-to-svn @ many changes]
[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 AM_LDFLAGS =                                            \
10         $(LIBEMPATHY_LIBS)
11
12 BUILT_SOURCES =                                         \
13         empathy-marshal.h                               \
14         empathy-marshal.c                               \
15         empathy-chandler-glue.h
16
17 noinst_LTLIBRARIES = libempathy.la
18
19 libempathy_la_SOURCES =                                                         \
20         gossip-conf.c                   gossip-conf.h                           \
21         gossip-contact.c                gossip-contact.h                        \
22         gossip-avatar.c                 gossip-avatar.h                         \
23         gossip-time.c                   gossip-time.h                           \
24         gossip-presence.c               gossip-presence.h                       \
25         gossip-telepathy-group.c        gossip-telepathy-group.h                \
26         gossip-paths.c                  gossip-paths.h                          \
27         gossip-debug.c                  gossip-debug.h                          \
28         gossip-utils.c                  gossip-utils.h                          \
29         gossip-message.c                gossip-message.h                        \
30         empathy-contact-list.c          empathy-contact-list.h                  \
31         empathy-contact-manager.c       empathy-contact-manager.h               \
32         empathy-tp-chat.c               empathy-tp-chat.h                       \
33         empathy-chandler.c              empathy-chandler.h                      \
34         empathy-marshal-main.c
35
36 libempathy_includedir = $(includedir)/empathy/
37
38 %-marshal.h: %-marshal.list Makefile.am
39         $(GLIB_GENMARSHAL) --header --prefix=$(subst -,_,$*)_marshal $< > $*-marshal.h
40
41 %-marshal.c: %-marshal.list Makefile.am
42         $(GLIB_GENMARSHAL) --body --prefix=$(subst -,_,$*)_marshal $< > $*-marshal.c
43
44 %-marshal-main.c: %-marshal.c %-marshal.h
45
46 empathy-chandler-glue.h: empathy-chandler.xml
47         $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=empathy_chandler --mode=glib-server --output=$@ $<
48
49 EXTRA_DIST =                    \
50         empathy-marshal.list    \
51         empathy-chandler.xml
52
53 CLEANFILES = $(BUILT_SOURCES)