8 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
9 $(top_builddir)/libempathy/libempathy.la \
10 $(top_builddir)/extensions/libemp-extensions.la \
19 empathy-tube-dispatch-enumtypes.h \
20 empathy-tube-dispatch-enumtypes.c
23 bacon-message-connection.c bacon-message-connection.h \
25 empathy-about-dialog.c empathy-about-dialog.h \
26 empathy-accounts-dialog.c empathy-accounts-dialog.h \
27 empathy-call-window.c empathy-call-window.h \
28 empathy-chatrooms-window.c empathy-chatrooms-window.h \
29 empathy-chat-window.c empathy-chat-window.h \
30 empathy-event-manager.c empathy-event-manager.h \
31 empathy-ft-manager.c empathy-ft-manager.h \
32 empathy-import-dialog.c empathy-import-dialog.h \
33 empathy-import-pidgin.c empathy-import-pidgin.h \
34 empathy-main-window.c empathy-main-window.h \
35 empathy-misc.c empathy-misc.h \
36 empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h \
37 empathy-preferences.c empathy-preferences.h \
38 empathy-sidebar.c empathy-sidebar.h \
39 empathy-status-icon.c empathy-status-icon.h \
40 empathy-tube-dispatch.c empathy-tube-dispatch.h \
41 ephy-spinner.c ephy-spinner.h
43 nodist_empathy_SOURCES = $(BUILT_SOURCES)
45 empathy_logs_SOURCES = empathy-logs.c
47 uidir = $(datadir)/empathy
49 empathy-accounts-dialog.ui \
50 empathy-call-window.ui \
51 empathy-chatrooms-window.ui \
52 empathy-chat-window.ui \
53 empathy-ft-manager.ui \
54 empathy-import-dialog.ui \
55 empathy-main-window.ui \
56 empathy-new-chatroom-dialog.ui \
57 empathy-preferences.ui \
58 empathy-status-icon.ui
63 # rules for making the glib enum objects
64 %-enumtypes.h: %.h Makefile.in
66 --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" \
67 --fprod "/* enumerations from \"@filename@\" */\n" \
68 --vhead "GType @enum_name@_get_type (void);\n#define $(shell echo $* | tr [:lower:]- [:upper:]_ | sed 's/_.*//')_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
69 --ftail "G_END_DECLS\n\n#endif /* __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__ */" \
72 %-enumtypes.c: %.h Makefile.in
74 --fhead "#include <$*.h>\n#include <$*-enumtypes.h>" \
75 --fprod "\n/* enumerations from \"@filename@\" */" \
76 --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[] = {" \
77 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@VALUENAME@\" }," \
78 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
85 CLEANFILES = $(BUILT_SOURCES)