]> git.0d.be Git - empathy.git/blob - libempathy/Makefile.am
Rename all filenames starting with "gossip" by "empathy", change namespace
[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         empathy-conf.c                  empathy-conf.h                          \
17         empathy-contact.c               empathy-contact.h                       \
18         empathy-avatar.c                empathy-avatar.h                        \
19         empathy-time.c                  empathy-time.h                          \
20         empathy-presence.c              empathy-presence.h                      \
21         empathy-debug.c                 empathy-debug.h                         \
22         empathy-utils.c                 empathy-utils.h                         \
23         empathy-message.c               empathy-message.h                       \
24         empathy-chatroom-manager.c      empathy-chatroom-manager.h              \
25         empathy-chatroom.c              empathy-chatroom.h                      \
26         empathy-contact-list.c          empathy-contact-list.h                  \
27         empathy-contact-manager.c       empathy-contact-manager.h               \
28         empathy-tp-group.c              empathy-tp-group.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         empathy-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)