1 include $(top_srcdir)/tools/flymake.mk
8 -DG_LOG_DOMAIN=\"empathy\" \
9 -DBIN_DIR=\"$(bindir)\" \
10 $(DISABLE_DEPRECATED) \
17 $(LIBCHAMPLAIN_CFLAGS) \
22 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
23 $(top_builddir)/libempathy/libempathy.la \
24 $(top_builddir)/extensions/libemp-extensions.la \
27 $(LIBCHAMPLAIN_LIBS) \
30 noinst_LTLIBRARIES = libempathy-accounts-common.la
32 libempathy_accounts_common_la_SOURCES = \
33 empathy-accounts-common.c empathy-accounts-common.h \
34 empathy-account-assistant.c empathy-account-assistant.h \
35 empathy-accounts-dialog.c empathy-accounts-dialog.h \
36 empathy-auto-salut-account-helper.c empathy-auto-salut-account-helper.h \
37 empathy-import-dialog.c empathy-import-dialog.h \
38 empathy-import-pidgin.c empathy-import-pidgin.h \
39 empathy-import-widget.c empathy-import-widget.h \
40 empathy-import-utils.c empathy-import-utils.h \
43 libempathy_accounts_common_la_LIBADD = \
44 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
47 $(LIBCHAMPLAIN_LIBS) \
51 if HAVE_CONTROL_CENTER_EMBEDDING
52 ccmodulesdir = $(CONTROL_CENTER_EXTENSIONDIR)
53 ccmodules_LTLIBRARIES = libempathy-accounts-panel.la
55 libempathy_accounts_panel_la_SOURCES = \
56 empathy-accounts-module.c \
57 cc-empathy-accounts-panel.c \
58 cc-empathy-accounts-panel.h \
61 libempathy_accounts_panel_la_CPPFLAGS = \
63 $(CONTROL_CENTER_EMBEDDING_CFLAGS) \
64 -DLOCALEDIR=\""$(datadir)/locale"\" \
67 libempathy_accounts_panel_la_LDFLAGS = -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload)'
69 libempathy_accounts_panel_la_LIBADD = \
71 $(CONTROL_CENTER_EMBEDDING_LIBS) \
72 libempathy-accounts-common.la \
89 empathy_accounts_SOURCES = \
90 empathy-accounts.c empathy-accounts.h \
93 empathy_accounts_LDADD = \
95 libempathy-accounts-common.la \
98 empathy_debugger_SOURCES = \
99 empathy-debug-window.c empathy-debug-window.h \
103 empathy_handwritten_av_source = \
105 empathy-call-window-fullscreen.c empathy-call-window-fullscreen.h \
106 empathy-streamed-media-window.c empathy-streamed-media-window.h \
109 empathy_av_SOURCES = \
110 $(empathy_handwritten_av_source) \
111 ev-sidebar.c ev-sidebar.h \
114 empathy_auth_client_SOURCES = \
115 empathy-auth-client.c \
118 empathy_chat_SOURCES = \
119 empathy-about-dialog.c empathy-about-dialog.h \
120 empathy-chat-manager.c empathy-chat-manager.h \
121 empathy-chat-window.c empathy-chat-window.h \
122 empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
126 empathy_handwritten_source = \
127 empathy-about-dialog.c empathy-about-dialog.h \
128 empathy-chat-window.c empathy-chat-window.h \
129 empathy-chatrooms-window.c empathy-chatrooms-window.h \
130 empathy-event-manager.c empathy-event-manager.h \
131 empathy-ft-manager.c empathy-ft-manager.h \
132 empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
133 empathy-main-window.c empathy-main-window.h \
134 empathy-migrate-butterfly-logs.c empathy-migrate-butterfly-logs.h \
135 empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h \
136 empathy-notifications-approver.c empathy-notifications-approver.h \
137 empathy-preferences.c empathy-preferences.h \
138 empathy-status-icon.c empathy-status-icon.h \
139 empathy-chat-manager.c empathy-chat-manager.h \
143 $(empathy_handwritten_source) \
147 libempathy-accounts-common.la \
148 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
149 $(top_builddir)/libempathy/libempathy.la \
150 $(top_builddir)/extensions/libemp-extensions.la \
152 $(LIBCHAMPLAIN_LIBS) \
156 nodist_empathy_SOURCES = $(BUILT_SOURCES)
159 $(empathy_handwritten_source) \
160 $(empathy_logs_SOURCES) \
161 $(empathy_handwritten_av_source)
163 include $(top_srcdir)/tools/check-coding-style.mk
164 check-local: check-coding-style
166 uidir = $(datadir)/empathy
168 empathy-accounts-dialog.ui \
169 empathy-call-window-fullscreen.ui \
170 empathy-call-window.ui \
171 empathy-chat-window.ui \
172 empathy-chatrooms-window.ui \
173 empathy-ft-manager.ui \
174 empathy-import-dialog.ui \
175 empathy-main-window.ui \
176 empathy-new-chatroom-dialog.ui \
177 empathy-preferences.ui \
178 empathy-status-icon.ui
185 empathy_handwritten_source += \
198 if !HAVE_CONTROL_CENTER_EMBEDDING
199 EXTRA_DIST += $(libempathy_accounts_panel_la_SOURCES)
201 check_c_sources += $(libempathy_accounts_panel_la_SOURCES)
208 # rules for making the glib enum objects
209 %-enumtypes.h: %.h Makefile.in
210 $(AM_V_GEN)glib-mkenums \
211 --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" \
212 --fprod "/* enumerations from \"@filename@\" */\n" \
213 --vhead "GType @enum_name@_get_type (void);\n#define $(shell echo $* | tr [:lower:]- [:upper:]_ | sed 's/_.*//')_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
214 --ftail "G_END_DECLS\n\n#endif /* __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__ */" \
217 %-enumtypes.c: %.h Makefile.in
218 $(AM_V_GEN)glib-mkenums \
219 --fhead "#include <$*.h>\n#include <$*-enumtypes.h>" \
220 --fprod "\n/* enumerations from \"@filename@\" */" \
221 --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[] = {" \
222 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@VALUENAME@\" }," \
223 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
226 CLEANFILES = $(BUILT_SOURCES)