1 include $(top_srcdir)/tools/shave.mk
7 $(LIBCHAMPLAIN_CFLAGS) \
12 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
13 $(top_builddir)/libempathy/libempathy.la \
14 $(top_builddir)/extensions/libemp-extensions.la \
24 empathy-tube-dispatch-enumtypes.h \
25 empathy-tube-dispatch-enumtypes.c
27 empathy_handwritten_source = \
29 empathy-about-dialog.c empathy-about-dialog.h \
30 empathy-accounts-dialog.c empathy-accounts-dialog.h \
31 empathy-call-window.c empathy-call-window.h \
32 empathy-call-window-fullscreen.c empathy-call-window-fullscreen.h \
33 empathy-chatrooms-window.c empathy-chatrooms-window.h \
34 empathy-debug-dialog.c empathy-debug-dialog.h \
35 empathy-chat-window.c empathy-chat-window.h \
36 empathy-event-manager.c empathy-event-manager.h \
37 empathy-ft-manager.c empathy-ft-manager.h \
38 empathy-import-dialog.c empathy-import-dialog.h \
39 empathy-import-pidgin.c empathy-import-pidgin.h \
40 empathy-main-window.c empathy-main-window.h \
41 empathy-misc.c empathy-misc.h \
42 empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h \
43 empathy-preferences.c empathy-preferences.h \
44 empathy-sidebar.c empathy-sidebar.h \
45 empathy-status-icon.c empathy-status-icon.h \
46 empathy-tube-dispatch.c empathy-tube-dispatch.h
49 $(empathy_handwritten_source) \
50 bacon-message-connection.c bacon-message-connection.h \
51 ephy-spinner.c ephy-spinner.h
53 nodist_empathy_SOURCES = $(BUILT_SOURCES)
55 empathy_logs_SOURCES = empathy-logs.c
58 $(empathy_handwritten_source) \
59 $(empathy_logs_SOURCES)
60 include $(top_srcdir)/tools/check-coding-style.mk
61 check-local: check-coding-style
63 uidir = $(datadir)/empathy
65 empathy-accounts-dialog.ui \
66 empathy-call-window.ui \
67 empathy-call-window-fullscreen.ui \
68 empathy-chatrooms-window.ui \
69 empathy-chat-window.ui \
70 empathy-ft-manager.ui \
71 empathy-import-dialog.ui \
72 empathy-main-window.ui \
73 empathy-new-chatroom-dialog.ui \
74 empathy-preferences.ui \
75 empathy-status-icon.ui
79 empathy-map-view.c empathy-map-view.h
88 # rules for making the glib enum objects
89 %-enumtypes.h: %.h Makefile.in
90 $(QUIET_GEN)glib-mkenums \
91 --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" \
92 --fprod "/* enumerations from \"@filename@\" */\n" \
93 --vhead "GType @enum_name@_get_type (void);\n#define $(shell echo $* | tr [:lower:]- [:upper:]_ | sed 's/_.*//')_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
94 --ftail "G_END_DECLS\n\n#endif /* __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__ */" \
97 %-enumtypes.c: %.h Makefile.in
98 $(QUIET_GEN)glib-mkenums \
99 --fhead "#include <$*.h>\n#include <$*-enumtypes.h>" \
100 --fprod "\n/* enumerations from \"@filename@\" */" \
101 --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[] = {" \
102 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@VALUENAME@\" }," \
103 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
110 CLEANFILES = $(BUILT_SOURCES)