]> git.0d.be Git - empathy.git/blob - src/Makefile.am
Put in new VOIP UI
[empathy.git] / src / Makefile.am
1 AM_CPPFLAGS =                                           \
2         -I$(top_srcdir)                                 \
3         $(EMPATHY_CFLAGS)                               \
4         $(LIBNOTIFY_CFLAGS)                             \
5         $(WARN_CFLAGS)
6
7 LDADD =                                                         \
8         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
9         $(top_builddir)/libempathy/libempathy.la                \
10         $(top_builddir)/extensions/libemp-extensions.la         \
11         $(LIBNOTIFY_LIBS)                                       \
12         $(EMPATHY_LIBS)
13
14 bin_PROGRAMS =                  \
15         empathy                 \
16         empathy-logs
17
18 BUILT_SOURCES= \
19         empathy-tube-dispatch-enumtypes.h \
20         empathy-tube-dispatch-enumtypes.c
21
22 empathy_SOURCES =                                                       \
23         bacon-message-connection.c bacon-message-connection.h           \
24         empathy.c                                                       \
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
42
43 nodist_empathy_SOURCES = $(BUILT_SOURCES)
44
45 empathy_logs_SOURCES = empathy-logs.c
46
47 gladedir = $(datadir)/empathy
48 glade_DATA =                                    \
49         empathy-accounts-dialog.glade           \
50         empathy-call-window.glade               \
51         empathy-chatrooms-window.glade          \
52         empathy-chat-window.glade               \
53         empathy-ft-manager.glade                \
54         empathy-import-dialog.glade             \
55         empathy-main-window.glade               \
56         empathy-new-chatroom-dialog.glade       \
57         empathy-preferences.glade               \
58         empathy-status-icon.glade
59
60 dist_man_MANS =                 \
61         empathy.1
62
63 # rules for making the glib enum objects
64 %-enumtypes.h: %.h Makefile.in
65         glib-mkenums \
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__ */" \
70         $< > $@
71
72 %-enumtypes.c: %.h Makefile.in
73         glib-mkenums \
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" \
79         $< > $@
80
81 EXTRA_DIST =                    \
82         $(autostart_DATA)       \
83         $(glade_DATA)
84
85 CLEANFILES = $(BUILT_SOURCES)
86