]> git.0d.be Git - empathy.git/blob - libempathy/Makefile.am
Initial room list support. It does not works yet.
[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-filter-glue.h                           \
12         empathy-chandler-glue.h
13
14 lib_LTLIBRARIES = libempathy.la
15
16 libempathy_la_SOURCES =                                 \
17         empathy-conf.c                                  \
18         empathy-contact.c                               \
19         empathy-avatar.c                                \
20         empathy-time.c                                  \
21         empathy-presence.c                              \
22         empathy-debug.c                                 \
23         empathy-utils.c                                 \
24         empathy-message.c                               \
25         empathy-chatroom-manager.c                      \
26         empathy-chatroom.c                              \
27         empathy-contact-list.c                          \
28         empathy-contact-manager.c                       \
29         empathy-tp-group.c                              \
30         empathy-tp-contact-list.c                       \
31         empathy-tp-chat.c                               \
32         empathy-tp-chatroom.c                           \
33         empathy-tp-roomlist.c                           \
34         empathy-chandler.c                              \
35         empathy-filter.c                                \
36         empathy-idle.c                                  \
37         empathy-log-manager.c                           \
38         empathy-marshal-main.c
39
40 libempathy_la_LIBADD =          \
41         $(LIBEMPATHY_LIBS)
42
43 libempathydir = $(includedir)/libempathy/
44 libempathy_HEADERS =                            \
45         empathy-conf.h                          \
46         empathy-contact.h                       \
47         empathy-avatar.h                        \
48         empathy-time.h                          \
49         empathy-presence.h                      \
50         empathy-debug.h                         \
51         empathy-utils.h                         \
52         empathy-message.h                       \
53         empathy-chatroom-manager.h              \
54         empathy-chatroom.h                      \
55         empathy-contact-list.h                  \
56         empathy-contact-manager.h               \
57         empathy-tp-group.h                      \
58         empathy-tp-contact-list.h               \
59         empathy-tp-chat.h                       \
60         empathy-tp-chatroom.h                   \
61         empathy-tp-roomlist.h                   \
62         empathy-chandler.h                      \
63         empathy-filter.h                        \
64         empathy-idle.h                          \
65         empathy-log-manager.h
66
67 %-marshal.h: %-marshal.list Makefile.am
68         $(GLIB_GENMARSHAL) --header --prefix=$(subst -,_,$*)_marshal $< > $*-marshal.h
69
70 %-marshal.c: %-marshal.list Makefile.am
71         $(GLIB_GENMARSHAL) --body --prefix=$(subst -,_,$*)_marshal $< > $*-marshal.c
72
73 %-marshal-main.c: %-marshal.c %-marshal.h
74
75 empathy-chandler-glue.h: empathy-chandler.xml
76         $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=empathy_chandler --mode=glib-server --output=$@ $<
77 empathy-filter-glue.h: empathy-filter.xml
78         $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=empathy_filter --mode=glib-server --output=$@ $<
79
80 dtddir = $(datadir)/empathy
81 dtd_DATA =                                      \
82         empathy-chatroom-manager.dtd
83
84 stylesheetdir = $(datadir)/empathy
85 stylesheet_DATA =               \
86         empathy-log-manager.xsl
87
88 pkgconfigdir = $(libdir)/pkgconfig
89 pkgconfig_DATA = libempathy.pc
90
91 EXTRA_DIST =                    \
92         empathy-marshal.list    \
93         empathy-chandler.xml    \
94         empathy-filter.xml      \
95         $(stylesheet_DATA)      \
96         $(dtd_DATA)
97
98 CLEANFILES = $(BUILT_SOURCES)