1 include $(top_srcdir)/tools/flymake.mk
6 -DG_LOG_DOMAIN=\"empathy\" \
9 $(LIBCHAMPLAIN_CFLAGS) \
10 $(DISABLE_DEPRECATED) \
15 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
16 $(top_builddir)/libempathy/libempathy.la \
17 $(top_builddir)/extensions/libemp-extensions.la \
20 $(LIBCHAMPLAIN_LIBS) \
28 empathy_handwritten_source = \
29 empathy-about-dialog.c empathy-about-dialog.h \
30 empathy-account-assistant.c empathy-account-assistant.h \
31 empathy-accounts-dialog.c empathy-accounts-dialog.h \
32 empathy-auto-salut-account-helper.c empathy-auto-salut-account-helper.h \
33 empathy-call-window-fullscreen.c empathy-call-window-fullscreen.h \
34 empathy-call-window.c empathy-call-window.h \
35 empathy-chat-window.c empathy-chat-window.h \
36 empathy-chatrooms-window.c empathy-chatrooms-window.h \
37 empathy-debug-window.c empathy-debug-window.h \
38 empathy-event-manager.c empathy-event-manager.h \
39 empathy-ft-manager.c empathy-ft-manager.h \
40 empathy-import-dialog.c empathy-import-dialog.h \
41 empathy-import-mc4-accounts.c empathy-import-mc4-accounts.h \
42 empathy-import-pidgin.c empathy-import-pidgin.h \
43 empathy-import-utils.c empathy-import-utils.h \
44 empathy-import-widget.c empathy-import-widget.h \
45 empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
46 empathy-main-window.c empathy-main-window.h \
47 empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h \
48 empathy-preferences.c empathy-preferences.h \
49 empathy-sidebar.c empathy-sidebar.h \
50 empathy-status-icon.c empathy-status-icon.h \
54 $(empathy_handwritten_source) \
55 ephy-spinner.c ephy-spinner.h
57 nodist_empathy_SOURCES = $(BUILT_SOURCES)
60 $(empathy_handwritten_source) \
61 $(empathy_logs_SOURCES)
62 include $(top_srcdir)/tools/check-coding-style.mk
63 check-local: check-coding-style
65 uidir = $(datadir)/empathy
67 empathy-accounts-dialog.ui \
68 empathy-call-window-fullscreen.ui \
69 empathy-call-window.ui \
70 empathy-chat-window.ui \
71 empathy-chatrooms-window.ui \
72 empathy-ft-manager.ui \
73 empathy-import-dialog.ui \
74 empathy-main-window.ui \
75 empathy-new-chatroom-dialog.ui \
76 empathy-preferences.ui \
77 empathy-status-icon.ui
84 empathy_handwritten_source += \
100 # rules for making the glib enum objects
101 %-enumtypes.h: %.h Makefile.in
102 $(AM_V_GEN)glib-mkenums \
103 --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" \
104 --fprod "/* enumerations from \"@filename@\" */\n" \
105 --vhead "GType @enum_name@_get_type (void);\n#define $(shell echo $* | tr [:lower:]- [:upper:]_ | sed 's/_.*//')_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
106 --ftail "G_END_DECLS\n\n#endif /* __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__ */" \
109 %-enumtypes.c: %.h Makefile.in
110 $(AM_V_GEN)glib-mkenums \
111 --fhead "#include <$*.h>\n#include <$*-enumtypes.h>" \
112 --fprod "\n/* enumerations from \"@filename@\" */" \
113 --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[] = {" \
114 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@VALUENAME@\" }," \
115 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
118 CLEANFILES = $(BUILT_SOURCES)