]> git.0d.be Git - empathy.git/blob - src/Makefile.am
Initial Voice+Video support Fixes bug #468204 (Elliot Fairweather, Xavier
[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         -DLOCALEDIR=\""$(datadir)/locale"\"             \
8         $(EMPATHY_CFLAGS)                               \
9         $(WARN_CFLAGS)
10
11 LDADD =                                                         \
12         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
13         $(top_builddir)/libempathy/libempathy.la                \
14         $(EMPATHY_LIBS)
15
16 bin_PROGRAMS =                  \
17         empathy                 \
18         empathy-accounts        \
19         empathy-call-chandler
20
21 empathy_SOURCES = empathy.c
22 empathy_accounts_SOURCES = empathy-accounts.c
23 empathy_call_chandler_SOURCES = empathy-call-chandler.c
24
25 # Dbus service files
26 servicedir = $(datadir)/dbus-1/services
27 service_DATA =                                                  \
28         org.gnome.Empathy.Chat.service                          \
29         org.gnome.Empathy.Call.service
30 %.service: %.service.in Makefile
31         @sed -e "s|\@bindir\@|$(bindir)|" $< > $@
32
33 chandlerdir = $(datadir)/telepathy/managers
34 chandler_DATA =                                                 \
35         empathy-chat.chandler
36
37 if HAVE_VOIP
38 chandler_DATA += empathy-call.chandler
39 endif
40
41 BUILT_SOURCES =                                                 \
42         org.gnome.Empathy.Chat.service                          \
43         org.gnome.Empathy.Call.service
44
45 EXTRA_DIST =                                                    \
46         org.gnome.Empathy.Chat.service.in                       \
47         org.gnome.Empathy.Call.service.in                       \
48         $(autostart_DATA)                                       \
49         $(chandler_DATA)
50
51 CLEANFILES = $(BUILT_SOURCES)
52