[darcs-to-svn @ Missing file]
[empathy.git] / chat / 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 bin_PROGRAMS = empathy-chat
11
12 empathy_chat_SOURCES =                                  \
13         empathy-chat-main.c
14
15 empathy_chat_LDADD =                                            \
16         $(top_builddir)/libempathy/libempathy.la                \
17         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
18         $(EMPATHY_LIBS)
19
20 # Dbus service file
21 servicedir = $(datadir)/dbus-1/services
22 service_in_files = org.gnome.Empathy.Chat.service.in
23 service_DATA = $(service_in_files:.service.in=.service)
24
25 # Rule to make the service file with bindir expanded
26 $(service_DATA): $(service_in_files) Makefile
27         @sed -e "s|\@bindir\@|$(bindir)|" $< > $@
28
29 chandlerdir = $(datadir)/telepathy/managers
30 chandler_DATA = empathy-chat.chandler
31
32
33 EXTRA_DIST =                                    \
34         org.gnome.Empathy.Chat.service.in       \
35         $(chandler_DATA)
36
37 BUILT_SOURCES =                         \
38         org.gnome.Empathy.Chat.service
39         
40 CLEANFILES = $(BUILT_SOURCES)