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