]> git.0d.be Git - empathy.git/blob - src/Makefile.am
remove empathy-auto-salut-account-helper
[empathy.git] / src / Makefile.am
1 include $(top_srcdir)/tools/flymake.mk
2
3 CPPFLAGS_COMMON =                                       \
4         $(YELL_CFLAGS)                                  \
5         $(EMPATHY_CFLAGS)                               \
6         $(EDS_CFLAGS)                                   \
7         $(ERROR_CFLAGS)                                 \
8         -I$(top_srcdir)                                 \
9         -DG_LOG_DOMAIN=\"empathy\"                      \
10         -DBIN_DIR=\"$(bindir)\"                         \
11         $(DISABLE_DEPRECATED)                           \
12         $(WARN_CFLAGS)                                  \
13         $(NULL)
14
15 AM_LDFLAGS = $(LIBM)
16 AM_CPPFLAGS =                                           \
17         $(CPPFLAGS_COMMON)                              \
18         $(LIBCHAMPLAIN_CFLAGS)                          \
19         $(NULL)
20
21 LDADD =                                                         \
22         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
23         $(top_builddir)/libempathy/libempathy.la                \
24         $(top_builddir)/extensions/libemp-extensions.la         \
25         $(GCR_LIBS)                                             \
26         $(EMPATHY_LIBS)                                         \
27         $(YELL_LIBS)                                            \
28         $(LIBCHAMPLAIN_LIBS)                                    \
29         $(NULL)
30
31 noinst_LTLIBRARIES = libempathy-accounts-common.la
32
33 libempathy_accounts_common_la_SOURCES =                                 \
34         empathy-accounts-common.c empathy-accounts-common.h             \
35         empathy-accounts-dialog.c empathy-accounts-dialog.h             \
36         empathy-import-dialog.c empathy-import-dialog.h                 \
37         empathy-import-pidgin.c empathy-import-pidgin.h                 \
38         empathy-import-widget.c empathy-import-widget.h                 \
39         empathy-import-utils.c empathy-import-utils.h                   \
40         $(NULL)
41
42 libempathy_accounts_common_la_LIBADD =                                  \
43         $(top_builddir)/libempathy-gtk/libempathy-gtk.la                \
44         $(EDS_LIBS)                                                     \
45         $(EMPATHY_LIBS)                                                 \
46         $(LIBCHAMPLAIN_LIBS)                                            \
47         $(NULL)
48
49 bin_PROGRAMS =                  \
50         empathy                 \
51         empathy-accounts        \
52         empathy-debugger        \
53         $(NULL)
54
55 libexec_PROGRAMS = \
56         empathy-auth-client \
57         empathy-av \
58         empathy-chat
59
60 empathy_accounts_SOURCES =                                              \
61         empathy-accounts.c empathy-accounts.h                           \
62         $(NULL)
63
64 empathy_accounts_LDADD =                                                \
65         $(LDADD)                                                        \
66         libempathy-accounts-common.la                                   \
67         $(NULL)
68
69 empathy_debugger_SOURCES =                                              \
70         empathy-debug-window.c empathy-debug-window.h                   \
71         empathy-debugger.c                                              \
72         $(NULL)
73
74 empathy_av_SOURCES = \
75         empathy-av.c \
76         empathy-audio-sink.c \
77         empathy-audio-sink.h \
78         empathy-audio-src.c \
79         empathy-audio-src.h \
80         empathy-streamed-media-factory.c \
81         empathy-streamed-media-factory.h \
82         empathy-streamed-media-handler.c \
83         empathy-streamed-media-handler.h \
84         empathy-streamed-media-window-fullscreen.c \
85         empathy-streamed-media-window-fullscreen.h \
86         empathy-streamed-media-window.c \
87         empathy-streamed-media-window.h \
88         empathy-video-src.c \
89         empathy-video-src.h \
90         empathy-video-widget.c \
91         empathy-video-widget.h \
92         ev-sidebar.c \
93         ev-sidebar.h \
94         empathy-mic-monitor.c \
95         empathy-mic-monitor.h
96         $(NULL)
97
98 empathy_av_CFLAGS = $(EMPATHY_AV_CFLAGS)
99 empathy_av_LDFLAGS = $(EMPATHY_AV_LIBS) $(LIBM)
100
101 empathy_auth_client_SOURCES =                                           \
102         empathy-auth-client.c \
103         $(NULL)
104
105 empathy_chat_SOURCES =                                          \
106         empathy-about-dialog.c empathy-about-dialog.h                   \
107         empathy-chat-manager.c empathy-chat-manager.h           \
108         empathy-chat-window.c empathy-chat-window.h             \
109         empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
110         empathy-chat.c \
111         gedit-close-button.c gedit-close-button.h \
112         $(NULL)
113
114 if HAVE_CALL
115
116 libexec_PROGRAMS += empathy-call
117
118 empathy_call_SOURCES = \
119        empathy-call.c \
120        empathy-call-factory.c \
121        empathy-call-factory.h \
122        empathy-call-handler.c \
123        empathy-call-handler.h \
124        empathy-call-window.c \
125        empathy-call-window.h \
126        empathy-call-window-fullscreen.c \
127        empathy-call-window-fullscreen.h \
128        empathy-about-dialog.c \
129        empathy-about-dialog.h \
130        empathy-audio-sink.c \
131        empathy-audio-sink.h \
132        empathy-audio-src.c \
133        empathy-audio-src.h \
134        empathy-video-src.c \
135        empathy-video-src.h \
136        empathy-video-widget.c \
137        empathy-video-widget.h \
138        empathy-preferences.c \
139        empathy-preferences.h \
140        ev-sidebar.c \
141        ev-sidebar.h \
142        empathy-camera-menu.c \
143        empathy-camera-menu.h \
144        empathy-mic-menu.c \
145        empathy-mic-menu.h \
146        empathy-rounded-actor.c \
147        empathy-rounded-actor.h \
148        empathy-rounded-rectangle.c \
149        empathy-rounded-rectangle.h \
150        empathy-rounded-texture.c \
151        empathy-rounded-texture.h \
152        empathy-mic-monitor.c \
153        empathy-mic-monitor.h
154
155 empathy_call_CFLAGS = $(EMPATHY_CALL_CFLAGS)
156 empathy_call_LDFLAGS = $(EMPATHY_CALL_LIBS)
157
158 endif
159
160 empathy_handwritten_source = \
161         empathy-about-dialog.c empathy-about-dialog.h                   \
162         empathy-chat-window.c empathy-chat-window.h                     \
163         empathy-chatrooms-window.c empathy-chatrooms-window.h           \
164         empathy-event-manager.c empathy-event-manager.h                 \
165         empathy-ft-manager.c empathy-ft-manager.h                       \
166         empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
167         empathy-roster-window.c empathy-roster-window.h                 \
168         empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h     \
169         empathy-notifications-approver.c empathy-notifications-approver.h \
170         empathy-call-observer.c empathy-call-observer.h                 \
171         empathy-preferences.c empathy-preferences.h                     \
172         empathy-status-icon.c empathy-status-icon.h                     \
173         empathy-chat-manager.c empathy-chat-manager.h                   \
174         gedit-close-button.c gedit-close-button.h \
175         empathy.c
176
177 empathy_SOURCES =                                                       \
178         $(empathy_handwritten_source)                                   \
179         $(NULL)
180
181 empathy_LDADD =                                                         \
182         libempathy-accounts-common.la                                   \
183         $(top_builddir)/libempathy-gtk/libempathy-gtk.la                \
184         $(top_builddir)/libempathy/libempathy.la                        \
185         $(top_builddir)/extensions/libemp-extensions.la                 \
186         $(EMPATHY_LIBS)                                                 \
187         $(LIBCHAMPLAIN_LIBS)                                            \
188         $(NULL)
189
190 check_c_sources = \
191     $(empathy_handwritten_source) \
192     $(empathy_logs_SOURCES) \
193     $(empathy_handwritten_av_source)
194
195 include $(top_srcdir)/tools/check-coding-style.mk
196 check-local: check-coding-style
197
198 uidir = $(datadir)/empathy
199 ui_DATA =                                       \
200         empathy-accounts-dialog.ui              \
201         empathy-call-window-fullscreen.ui       \
202         empathy-call-window.ui                  \
203         empathy-streamed-media-window.ui        \
204         empathy-chat-window.ui                  \
205         empathy-chatrooms-window.ui             \
206         empathy-ft-manager.ui                   \
207         empathy-import-dialog.ui                \
208         empathy-roster-window.ui                        \
209         empathy-roster-window-menubar.ui                \
210         empathy-new-chatroom-dialog.ui          \
211         empathy-preferences.ui                  \
212         empathy-status-icon.ui
213
214 EXTRA_DIST =                    \
215         $(autostart_DATA)       \
216         $(ui_DATA)
217
218 if HAVE_LIBCHAMPLAIN
219 empathy_handwritten_source +=                           \
220         empathy-map-view.c                      \
221         empathy-map-view.h
222
223 ui_DATA +=                                      \
224         empathy-map-view.ui
225 else
226 EXTRA_DIST +=                                   \
227         empathy-map-view.c                      \
228         empathy-map-view.h                      \
229         empathy-map-view.ui
230 endif
231
232 dist_man_MANS =                 \
233         empathy.1 \
234         empathy-accounts.1
235