1
include $(top_srcdir)/tools/flymake.mk
10
-DG_LOG_DOMAIN=\"empathy\" \
11
-DBIN_DIR=\"$(bindir)\" \
12
$(DISABLE_DEPRECATED) \
21
$(LIBCHAMPLAIN_CFLAGS) \
26
$(top_builddir)/libempathy-gtk/libempathy-gtk.la \
27
$(top_builddir)/libempathy/libempathy.la \
28
$(top_builddir)/extensions/libemp-extensions.la \
34
$(LIBCHAMPLAIN_LIBS) \
37
noinst_LTLIBRARIES = libempathy-accounts-common.la
39
libempathy_accounts_common_la_SOURCES = \
40
empathy-accounts-common.c empathy-accounts-common.h \
41
empathy-account-assistant.c empathy-account-assistant.h \
42
empathy-accounts-dialog.c empathy-accounts-dialog.h \
43
empathy-auto-salut-account-helper.c empathy-auto-salut-account-helper.h \
44
empathy-import-dialog.c empathy-import-dialog.h \
45
empathy-import-pidgin.c empathy-import-pidgin.h \
46
empathy-import-widget.c empathy-import-widget.h \
47
empathy-import-utils.c empathy-import-utils.h \
50
libempathy_accounts_common_la_LIBADD = \
51
$(top_builddir)/libempathy-gtk/libempathy-gtk.la \
56
$(LIBCHAMPLAIN_LIBS) \
60
if HAVE_CONTROL_CENTER_EMBEDDING
61
ccmodulesdir = $(CONTROL_CENTER_EXTENSIONDIR)
62
ccmodules_LTLIBRARIES = libempathy-accounts-panel.la
64
libempathy_accounts_panel_la_SOURCES = \
65
empathy-accounts-module.c \
66
cc-empathy-accounts-panel.c \
67
cc-empathy-accounts-panel.h \
70
libempathy_accounts_panel_la_CPPFLAGS = \
72
$(CONTROL_CENTER_EMBEDDING_CFLAGS) \
73
-DLOCALEDIR=\""$(datadir)/locale"\" \
76
libempathy_accounts_panel_la_LDFLAGS = -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload)'
78
libempathy_accounts_panel_la_LIBADD = \
80
$(CONTROL_CENTER_EMBEDDING_LIBS) \
81
libempathy-accounts-common.la \
100
empathy_accounts_SOURCES = \
101
empathy-accounts.c empathy-accounts.h \
104
empathy_accounts_LDADD = \
106
libempathy-accounts-common.la \
109
empathy_debugger_SOURCES = \
110
empathy-debug-window.c empathy-debug-window.h \
114
empathy_av_SOURCES = \
116
empathy-audio-sink.c \
117
empathy-audio-sink.h \
118
empathy-audio-src.c \
119
empathy-audio-src.h \
120
empathy-streamed-media-factory.c \
121
empathy-streamed-media-factory.h \
122
empathy-streamed-media-handler.c \
123
empathy-streamed-media-handler.h \
124
empathy-streamed-media-window-fullscreen.c \
125
empathy-streamed-media-window-fullscreen.h \
126
empathy-streamed-media-window.c \
127
empathy-streamed-media-window.h \
130
empathy-video-src.c \
131
empathy-video-src.h \
132
empathy-video-widget.c \
133
empathy-video-widget.h
135
nodist_empathy_av_SOURCES = $(BUILT_SOURCES)
137
empathy_av_CFLAGS = $(EMPATHY_AV_CFLAGS)
138
empathy_av_LDFLAGS = $(EMPATHY_AV_LIBS)
140
empathy_auth_client_SOURCES = \
141
empathy-auth-client.c
145
libexec_PROGRAMS += empathy-call
147
empathy_call_SOURCES = \
149
empathy-call-factory.c \
150
empathy-call-factory.h \
151
empathy-call-handler.c \
152
empathy-call-handler.h \
153
empathy-call-window.c \
154
empathy-call-window.h \
155
empathy-call-window-fullscreen.c \
156
empathy-call-window-fullscreen.h \
157
empathy-audio-sink.c \
158
empathy-audio-sink.h \
159
empathy-audio-src.c \
160
empathy-audio-src.h \
161
empathy-video-src.c \
162
empathy-video-src.h \
163
empathy-video-widget.c \
164
empathy-video-widget.h \
168
nodist_empathy_call_SOURCES = $(BUILT_SOURCES)
170
empathy_call_CFLAGS = $(EMPATHY_CALL_CFLAGS)
171
empathy_call_LDFLAGS = $(EMPATHY_CALL_LIBS)
175
empathy_handwritten_source = \
176
empathy-about-dialog.c empathy-about-dialog.h \
177
empathy-chat-window.c empathy-chat-window.h \
178
empathy-chatrooms-window.c empathy-chatrooms-window.h \
179
empathy-event-manager.c empathy-event-manager.h \
180
empathy-ft-manager.c empathy-ft-manager.h \
181
empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
182
empathy-main-window.c empathy-main-window.h \
183
empathy-migrate-butterfly-logs.c empathy-migrate-butterfly-logs.h \
184
empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h \
185
empathy-call-observer.c empathy-call-observer.h \
186
empathy-preferences.c empathy-preferences.h \
187
empathy-status-icon.c empathy-status-icon.h \
188
empathy-chat-manager.c empathy-chat-manager.h \
192
$(empathy_handwritten_source) \
196
libempathy-accounts-common.la \
197
$(top_builddir)/libempathy-gtk/libempathy-gtk.la \
198
$(top_builddir)/libempathy/libempathy.la \
199
$(top_builddir)/extensions/libemp-extensions.la \
203
$(LIBCHAMPLAIN_LIBS) \
207
nodist_empathy_SOURCES = $(BUILT_SOURCES)
210
$(empathy_handwritten_source) \
211
$(empathy_logs_SOURCES) \
212
$(empathy_av_SOURCES)
214
include $(top_srcdir)/tools/check-coding-style.mk
215
check-local: check-coding-style
217
uidir = $(datadir)/empathy
219
empathy-accounts-dialog.ui \
220
empathy-call-window-fullscreen.ui \
221
empathy-call-window.ui \
222
empathy-chat-window.ui \
223
empathy-chatrooms-window.ui \
224
empathy-ft-manager.ui \
225
empathy-import-dialog.ui \
226
empathy-main-window.ui \
227
empathy-new-chatroom-dialog.ui \
228
empathy-preferences.ui \
229
empathy-status-icon.ui
236
empathy_handwritten_source += \
249
if !HAVE_CONTROL_CENTER_EMBEDDING
250
EXTRA_DIST += $(libempathy_accounts_panel_la_SOURCES)
252
check_c_sources += $(libempathy_accounts_panel_la_SOURCES)
259
src-marshal.list: $(empathy_SOURCES) Makefile.am
260
$(AM_V_GEN)( cd $(srcdir) && \
261
sed -n -e 's/.*src_marshal_\([[:upper:][:digit:]]*__[[:upper:][:digit:]_]*\).*/\1/p' \
262
$(empathy_SOURCES) $(empathy_av_SOURCES) ) \
263
| sed -e 's/__/:/' -e 'y/_/,/' | sort -u > $@.tmp
264
@if cmp -s $@.tmp $@; then \
270
%-marshal.h: %-marshal.list Makefile
271
$(AM_V_GEN)$(GLIB_GENMARSHAL) --header --prefix=_$(subst -,_,$*)_marshal $< > $*-marshal.h
273
%-marshal.c: %-marshal.list Makefile
274
$(AM_V_GEN)echo "#include \"src-marshal.h\"" > $@ && \
275
$(GLIB_GENMARSHAL) --body --prefix=_$(subst -,_,$*)_marshal $< >> $*-marshal.c
277
# rules for making the glib enum objects
278
%-enumtypes.h: %.h Makefile.in
279
$(AM_V_GEN)glib-mkenums \
280
--fhead "#ifndef __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__\n#define __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
281
--fprod "/* enumerations from \"@filename@\" */\n" \
282
--vhead "GType @enum_name@_get_type (void);\n#define $(shell echo $* | tr [:lower:]- [:upper:]_ | sed 's/_.*//')_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
283
--ftail "G_END_DECLS\n\n#endif /* __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__ */" \
286
%-enumtypes.c: %.h Makefile.in
287
$(AM_V_GEN)glib-mkenums \
288
--fhead "#include <$*.h>\n#include <$*-enumtypes.h>" \
289
--fprod "\n/* enumerations from \"@filename@\" */" \
290
--vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
291
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@VALUENAME@\" }," \
292
--vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
295
CLEANFILES = $(BUILT_SOURCES)