]> git.0d.be Git - empathy.git/blob - src/Makefile.am
Install empathy-call-chandler to $libexecdir.
[empathy.git] / src / Makefile.am
1 AM_CPPFLAGS =                                           \
2         -I$(top_srcdir)                                 \
3         -DPREFIX="\"$(prefix)"\"                        \
4         -DSYSCONFDIR=\""$(sysconfdir)"\"                \
5         -DDATADIR=\""$(datadir)"\"                      \
6         -DPKGDATADIR=\""$(pkgdatadir)"\"                \
7         -DLIBDIR=\""$(libdir)"\"                        \
8         -DLOCALEDIR=\""$(datadir)/locale"\"             \
9         $(EMPATHY_CFLAGS)                               \
10         $(WARN_CFLAGS)
11
12 LDADD =                                                         \
13         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
14         $(top_builddir)/libempathy/libempathy.la                \
15         $(EMPATHY_LIBS)
16
17 bin_PROGRAMS =                  \
18         empathy                 \
19         empathy-accounts
20 libexec_PROGRAMS =              \
21         empathy-call-chandler
22
23 empathy_SOURCES = empathy.c
24 empathy_accounts_SOURCES = empathy-accounts.c
25 empathy_call_chandler_SOURCES = empathy-call-chandler.c
26
27 # Dbus service files
28 servicedir = $(datadir)/dbus-1/services
29 service_DATA =                                                  \
30         org.gnome.Empathy.Chat.service                          \
31         org.gnome.Empathy.Call.service
32 %.service: %.service.in Makefile
33         @sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
34
35 chandlerdir = $(datadir)/telepathy/managers
36 chandler_DATA =                                                 \
37         empathy-chat.chandler
38
39 if HAVE_VOIP
40 chandler_DATA += empathy-call.chandler
41 endif
42
43 BUILT_SOURCES =                                                 \
44         org.gnome.Empathy.Chat.service                          \
45         org.gnome.Empathy.Call.service
46
47 EXTRA_DIST =                                                    \
48         org.gnome.Empathy.Chat.service.in                       \
49         org.gnome.Empathy.Call.service.in                       \
50         $(autostart_DATA)                                       \
51         $(chandler_DATA)
52
53 CLEANFILES = $(BUILT_SOURCES)
54