]> git.0d.be Git - empathy.git/blob - src/Makefile.am
libempathy-gtk/gossip-ui-utils.c libempathy-gtk/gossip-accounts-dialog.c
[empathy.git] / src / Makefile.am
1 cppflags =                      \
2         -I$(top_srcdir)                                 \
3         -DPREFIX="\"$(prefix)"\"                        \
4         -DSYSCONFDIR=\""$(sysconfdir)"\"                \
5         -DDATADIR=\""$(datadir)"\"                      \
6         -DLIBDIR=\""$(libdir)"\"                        \
7         -DLOCALEDIR=\""$(datadir)/locale"\"             \
8         $(EMPATHY_CFLAGS)                               \
9         $(WARN_CFLAGS)
10
11 libs =                                                          \
12         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
13         $(EMPATHY_LIBS)
14
15 bin_PROGRAMS =                  \
16         empathy                 \
17         empathy-chat            \
18         empathy-accounts
19
20 empathy_SOURCES = empathy-main.c
21 empathy_CPPFLAGS = $(cppflags)
22 empathy_LDADD = $(libs)
23
24 empathy_accounts_SOURCES = empathy-accounts-main.c
25 empathy_accounts_CPPFLAGS = $(cppflags)
26 empathy_accounts_LDADD = $(libs)
27
28 empathy_chat_SOURCES = empathy-chat-main.c
29 empathy_chat_CPPFLAGS = $(cppflags)
30 empathy_chat_LDADD = $(libs)
31
32 # Dbus service file
33 servicedir = $(datadir)/dbus-1/services
34 service_in_files = org.gnome.Empathy.Chat.service.in
35 service_DATA = $(service_in_files:.service.in=.service)
36
37 # Rule to make the service file with bindir expanded
38 $(service_DATA): $(service_in_files) Makefile
39         @sed -e "s|\@bindir\@|$(bindir)|" $< > $@
40
41 chandlerdir = $(datadir)/telepathy/managers
42 chandler_DATA = empathy-chat.chandler
43
44 BUILT_SOURCES =                                                 \
45         org.gnome.Empathy.Chat.service
46
47 EXTRA_DIST =                                                    \
48         org.gnome.Empathy.Chat.service.in                       \
49         $(autostart_DATA)                                       \
50         $(chandler_DATA)
51
52 CLEANFILES = $(BUILT_SOURCES)
53