]> git.0d.be Git - empathy.git/blob - src/Makefile.am
Install glade files that got moved to src/
[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 gladedir = $(datadir)/empathy
50 glade_DATA =                                    \
51         empathy-call-window.glade               \
52         empathy-main-window.glade               \
53         empathy-preferences.glade               \
54         empathy-chatrooms-window.glade          \
55         empathy-new-chatroom-dialog.glade       \
56         empathy-status-icon.glade
57
58 BUILT_SOURCES =                                                 \
59         $(service_DATA)
60
61 EXTRA_DIST =                                                    \
62         org.gnome.Empathy.Chat.service.in                       \
63         org.gnome.Empathy.Call.service.in                       \
64         $(autostart_DATA)                                       \
65         $(chandler_DATA)                                        \
66         $(glade_DATA)
67
68 CLEANFILES = $(BUILT_SOURCES)
69
70 if HAVE_VOIP
71 libexec_PROGRAMS = empathy-call-chandler
72 empathy_call_chandler_SOURCES =                         \
73         empathy-call-chandler.c                         \
74         empathy-call-window.c empathy-call-window.h
75 service_DATA += org.gnome.Empathy.Call.service
76 chandler_DATA += empathy-call.chandler
77 else
78 EXTRA_DIST += empathy-call.chandler
79 endif
80