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