]> git.0d.be Git - empathy.git/blob - src/Makefile.am
Removing empathy-contact-list program, it's useless.
[empathy.git] / src / Makefile.am
1 cppflags =                      \
2         -I.                     \
3         -I$(top_srcdir)         \
4         $(EMPATHY_CFLAGS)       \
5         $(WARN_CFLAGS)
6
7 libs =                                                          \
8         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
9         $(EMPATHY_LIBS)
10
11 bin_PROGRAMS =                  \
12         empathy                 \
13         empathy-chat            \
14         empathy-accounts
15
16 empathy_SOURCES =                                               \
17         empathy-main.c                                          \
18         empathy-filter.c        empathy-filter.h
19 empathy_CPPFLAGS = $(cppflags)
20 empathy_LDADD = $(libs)
21
22 empathy_accounts_SOURCES = empathy-accounts-main.c
23 empathy_accounts_CPPFLAGS = $(cppflags)
24 empathy_accounts_LDADD = $(libs)
25
26 empathy_chat_SOURCES = empathy-chat-main.c
27 empathy_chat_CPPFLAGS = $(cppflags)
28 empathy_chat_LDADD = $(libs)
29
30 # MC plugin
31 #pluginlib_LTLIBRARIES = libempathy-filter-plugin.la
32 #libempathy_filter_plugin_la_SOURCES = empathy-filter-plugin.c
33 #libempathy_filter_plugin_la_CPPFLAGS = $(MISSION_CONTROL_PLUGINS_CFLAGS)
34 #libempathy_filter_plugin_la_LIBADD = $(MISSION_CONTROL_PLUGINS_LIBS)
35
36 # Dbus service file
37 servicedir = $(datadir)/dbus-1/services
38 service_in_files = org.gnome.Empathy.Chat.service.in
39 service_DATA = $(service_in_files:.service.in=.service)
40
41 # Rule to make the service file with bindir expanded
42 $(service_DATA): $(service_in_files) Makefile
43         @sed -e "s|\@bindir\@|$(bindir)|" $< > $@
44
45 chandlerdir = $(datadir)/telepathy/managers
46 chandler_DATA = empathy-chat.chandler
47
48 # Empathy filter DBus API
49 empathy-filter-glue.h: empathy-filter.xml
50         $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=empathy_filter --mode=glib-server --output=$@ $<
51 empathy-filter-gen.h: empathy-filter.xml
52         $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=empathy_filter --mode=glib-client --output=$@ $<
53
54 BUILT_SOURCES =                                                 \
55         org.gnome.Empathy.Chat.service                          \
56         empathy-filter-glue.h                                   \
57         empathy-filter-gen.h
58
59 EXTRA_DIST =                                                    \
60         org.gnome.Empathy.Chat.service.in                       \
61         empathy-filter.xml                                      \
62         $(autostart_DATA)                                       \
63         $(chandler_DATA)
64
65 CLEANFILES = $(BUILT_SOURCES)
66