1 include $(top_srcdir)/tools/flymake.mk
7 -DG_LOG_DOMAIN=\"empathy\" \
8 -DBIN_DIR=\"$(bindir)\" \
9 $(DISABLE_DEPRECATED) \
18 $(LIBCHAMPLAIN_CFLAGS) \
23 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
24 $(top_builddir)/libempathy/libempathy.la \
25 $(top_builddir)/extensions/libemp-extensions.la \
29 $(LIBCHAMPLAIN_LIBS) \
32 noinst_LTLIBRARIES = libempathy-accounts-common.la
34 libempathy_accounts_common_la_SOURCES = \
35 empathy-accounts-common.c empathy-accounts-common.h \
36 empathy-account-assistant.c empathy-account-assistant.h \
37 empathy-accounts-dialog.c empathy-accounts-dialog.h \
38 empathy-auto-salut-account-helper.c empathy-auto-salut-account-helper.h \
39 empathy-import-dialog.c empathy-import-dialog.h \
40 empathy-import-mc4-accounts.c empathy-import-mc4-accounts.h \
41 empathy-import-pidgin.c empathy-import-pidgin.h \
42 empathy-import-widget.c empathy-import-widget.h \
43 empathy-import-utils.c empathy-import-utils.h \
44 ephy-spinner.c ephy-spinner.h \
47 libempathy_accounts_common_la_LIBADD = \
48 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
51 $(LIBCHAMPLAIN_LIBS) \
55 if HAVE_CONTROL_CENTER_EMBEDDING
56 ccmodulesdir = $(CONTROL_CENTER_EXTENSIONDIR)
57 ccmodules_LTLIBRARIES = libempathy-accounts-panel.la
59 libempathy_accounts_panel_la_SOURCES = \
60 empathy-accounts-module.c \
61 cc-empathy-accounts-page.c \
62 cc-empathy-accounts-page.h \
63 cc-empathy-accounts-panel.c \
64 cc-empathy-accounts-panel.h \
67 libempathy_accounts_panel_la_CPPFLAGS = \
69 $(CONTROL_CENTER_EMBEDDING_CFLAGS) \
72 libempathy_accounts_panel_la_LDFLAGS = -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload)'
74 libempathy_accounts_panel_la_LIBADD = \
76 $(CONTROL_CENTER_EMBEDDING_LIBS) \
77 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_source = \
104 empathy-about-dialog.c empathy-about-dialog.h \
105 empathy-call-window-fullscreen.c empathy-call-window-fullscreen.h \
106 empathy-call-window.c empathy-call-window.h \
107 empathy-chat-window.c empathy-chat-window.h \
108 empathy-chatrooms-window.c empathy-chatrooms-window.h \
109 empathy-event-manager.c empathy-event-manager.h \
110 empathy-ft-manager.c empathy-ft-manager.h \
111 empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
112 empathy-main-window.c empathy-main-window.h \
113 empathy-migrate-butterfly-logs.c empathy-migrate-butterfly-logs.h \
114 empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h \
115 empathy-preferences.c empathy-preferences.h \
116 empathy-sidebar.c empathy-sidebar.h \
117 empathy-status-icon.c empathy-status-icon.h \
121 $(empathy_handwritten_source) \
125 libempathy-accounts-common.la \
126 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
127 $(top_builddir)/libempathy/libempathy.la \
128 $(top_builddir)/extensions/libemp-extensions.la \
131 $(LIBCHAMPLAIN_LIBS) \
135 nodist_empathy_SOURCES = $(BUILT_SOURCES)
138 $(empathy_handwritten_source) \
139 $(empathy_logs_SOURCES)
141 include $(top_srcdir)/tools/check-coding-style.mk
142 check-local: check-coding-style
144 uidir = $(datadir)/empathy
146 empathy-accounts-dialog.ui \
147 empathy-call-window-fullscreen.ui \
148 empathy-call-window.ui \
149 empathy-chat-window.ui \
150 empathy-chatrooms-window.ui \
151 empathy-ft-manager.ui \
152 empathy-import-dialog.ui \
153 empathy-main-window.ui \
154 empathy-new-chatroom-dialog.ui \
155 empathy-preferences.ui \
156 empathy-status-icon.ui
163 empathy_handwritten_source += \
176 if !HAVE_CONTROL_CENTER_EMBEDDING
177 EXTRA_DIST += $(libempathy_accounts_panel_la_SOURCES)
179 check_c_sources += $(libempathy_accounts_panel_la_SOURCES)
185 # rules for making the glib enum objects
186 %-enumtypes.h: %.h Makefile.in
187 $(AM_V_GEN)glib-mkenums \
188 --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" \
189 --fprod "/* enumerations from \"@filename@\" */\n" \
190 --vhead "GType @enum_name@_get_type (void);\n#define $(shell echo $* | tr [:lower:]- [:upper:]_ | sed 's/_.*//')_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
191 --ftail "G_END_DECLS\n\n#endif /* __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__ */" \
194 %-enumtypes.c: %.h Makefile.in
195 $(AM_V_GEN)glib-mkenums \
196 --fhead "#include <$*.h>\n#include <$*-enumtypes.h>" \
197 --fprod "\n/* enumerations from \"@filename@\" */" \
198 --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[] = {" \
199 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@VALUENAME@\" }," \
200 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
203 CLEANFILES = $(BUILT_SOURCES)