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