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