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