]> git.0d.be Git - empathy.git/blob - src/Makefile.am
Move modules that make no sense to be used in other applicaton from libempathy-gtk...
[empathy.git] / src / Makefile.am
1 AM_CPPFLAGS =                                           \
2         -I$(top_srcdir)                                 \
3         -DPREFIX="\"$(prefix)"\"                        \
4         -DSYSCONFDIR=\""$(sysconfdir)"\"                \
5         -DDATADIR=\""$(datadir)"\"                      \
6         -DPKGDATADIR=\""$(pkgdatadir)"\"                \
7         -DLIBDIR=\""$(libdir)"\"                        \
8         -DLOCALEDIR=\""$(datadir)/locale"\"             \
9         $(EMPATHY_CFLAGS)                               \
10         $(WARN_CFLAGS)
11
12 LDADD =                                                         \
13         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
14         $(top_builddir)/libempathy/libempathy.la                \
15         $(EMPATHY_LIBS)
16
17 bin_PROGRAMS =                  \
18         empathy                 \
19         empathy-accounts        \
20         empathy-logs
21
22 empathy_SOURCES =                                                       \
23         empathy.c                                                       \
24         bacon-message-connection.c bacon-message-connection.h           \
25         empathy-chat-window.c empathy-chat-window.h                     \
26         empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h     \
27         empathy-status-icon.c empathy-status-icon.h                     \
28         empathy-about-dialog.c empathy-about-dialog.h                   \
29         empathy-chatrooms-window.c empathy-chatrooms-window.h           \
30         empathy-main-window.c empathy-main-window.h                     \
31         empathy-preferences.c empathy-preferences.h                     \
32         ephy-spinner.c ephy-spinner.h
33
34 empathy_accounts_SOURCES = empathy-accounts.c
35 empathy_logs_SOURCES = empathy-logs.c
36
37 # Dbus service files
38 servicedir = $(datadir)/dbus-1/services
39 service_DATA =                                                  \
40         org.gnome.Empathy.Chat.service
41
42 %.service: %.service.in Makefile
43         @sed -e "s|\@libexecdir\@|$(libexecdir)|" $< | sed -e "s|\@bindir\@|$(bindir)|" > $@
44
45 chandlerdir = $(datadir)/telepathy/managers
46 chandler_DATA =                                                 \
47         empathy-chat.chandler
48
49 BUILT_SOURCES =                                                 \
50         $(service_DATA)
51
52 EXTRA_DIST =                                                    \
53         org.gnome.Empathy.Chat.service.in                       \
54         org.gnome.Empathy.Call.service.in                       \
55         $(autostart_DATA)                                       \
56         $(chandler_DATA)
57
58 CLEANFILES = $(BUILT_SOURCES)
59
60 if HAVE_VOIP
61 libexec_PROGRAMS = empathy-call-chandler
62 empathy_call_chandler_SOURCES =                         \
63         empathy-call-chandler.c                         \
64         empathy-call-window.c empathy-call-window.h
65 service_DATA += org.gnome.Empathy.Call.service
66 chandler_DATA += empathy-call.chandler
67 else
68 EXTRA_DIST += empathy-call.chandler
69 endif
70