]> git.0d.be Git - empathy.git/blob - src/Makefile.am
Fix a leaked ref.
[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
20 empathy_SOURCES = empathy.c
21 empathy_accounts_SOURCES = empathy-accounts.c
22
23 # Dbus service file
24 servicedir = $(datadir)/dbus-1/services
25 service_in_files = org.gnome.Empathy.Chat.service.in
26 service_DATA = $(service_in_files:.service.in=.service)
27
28 # Rule to make the service file with bindir expanded
29 $(service_DATA): $(service_in_files) Makefile
30         @sed -e "s|\@bindir\@|$(bindir)|" $< > $@
31
32 chandlerdir = $(datadir)/telepathy/managers
33 chandler_DATA = empathy-chat.chandler
34
35 BUILT_SOURCES =                                                 \
36         org.gnome.Empathy.Chat.service
37
38 EXTRA_DIST =                                                    \
39         org.gnome.Empathy.Chat.service.in                       \
40         $(autostart_DATA)                                       \
41         $(chandler_DATA)
42
43 CLEANFILES = $(BUILT_SOURCES)
44