]> git.0d.be Git - empathy.git/blob - src/Makefile.am
UOA: Do not segfault when "Done" or "Cancel" button clicked but widget is not ready yet
[empathy.git] / src / Makefile.am
1 include $(top_srcdir)/tools/flymake.mk
2
3 CPPFLAGS_COMMON =                                       \
4         $(EMPATHY_CFLAGS)                               \
5         $(ERROR_CFLAGS)                                 \
6         -I$(top_srcdir)                                 \
7         -DG_LOG_DOMAIN=\"empathy\"                      \
8         -DBIN_DIR=\"$(bindir)\"                         \
9         $(DISABLE_DEPRECATED)                           \
10         $(WARN_CFLAGS)                                  \
11         $(NULL)
12
13 AM_LDFLAGS = $(LIBM)
14 AM_CPPFLAGS =                                           \
15         $(CPPFLAGS_COMMON)                              \
16         $(LIBCHAMPLAIN_CFLAGS)                          \
17         $(UOA_CFLAGS)                                   \
18         $(NULL)
19
20 LDADD =                                                         \
21         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
22         $(top_builddir)/libempathy/libempathy.la                \
23         $(top_builddir)/extensions/libemp-extensions.la         \
24         $(GCR_LIBS)                                             \
25         $(EMPATHY_LIBS)                                         \
26         $(LIBCHAMPLAIN_LIBS)                                    \
27         $(UOA_LIBS)                                             \
28         $(NULL)
29
30 noinst_LTLIBRARIES = libempathy-accounts-common.la
31
32 libempathy_accounts_common_la_SOURCES =                                 \
33         empathy-accounts-common.c empathy-accounts-common.h             \
34         empathy-accounts-dialog.c empathy-accounts-dialog.h             \
35         empathy-import-dialog.c empathy-import-dialog.h                 \
36         empathy-import-pidgin.c empathy-import-pidgin.h                 \
37         empathy-import-widget.c empathy-import-widget.h                 \
38         empathy-import-utils.c empathy-import-utils.h                   \
39         $(NULL)
40
41 libempathy_accounts_common_la_LIBADD =                                  \
42         $(top_builddir)/libempathy-gtk/libempathy-gtk.la                \
43         $(EMPATHY_LIBS)                                                 \
44         $(LIBCHAMPLAIN_LIBS)                                            \
45         $(NULL)
46
47 bin_PROGRAMS =                  \
48         empathy                 \
49         empathy-accounts        \
50         empathy-debugger        \
51         $(NULL)
52
53 libexec_PROGRAMS = \
54         empathy-auth-client \
55         empathy-call \
56         empathy-chat
57
58 empathy_accounts_SOURCES =                                              \
59         empathy-accounts.c empathy-accounts.h                           \
60         $(NULL)
61
62 empathy_accounts_CPPFLAGS =                                             \
63         $(AM_CPPFLAGS) \
64         $(CHEESE_CFLAGS) \
65         $(NULL)
66
67 empathy_accounts_LDADD =                                                \
68         $(LDADD)                                                        \
69         libempathy-accounts-common.la                                   \
70         $(NULL)
71
72 empathy_debugger_SOURCES =                                              \
73         empathy-debug-window.c empathy-debug-window.h                   \
74         empathy-debugger.c                                              \
75         $(NULL)
76
77 empathy_auth_client_SOURCES =                                           \
78         empathy-sanity-cleaning.c empathy-sanity-cleaning.h \
79         empathy-auth-client.c \
80         $(NULL)
81
82 empathy_chat_SOURCES =                                          \
83         empathy-about-dialog.c empathy-about-dialog.h                   \
84         empathy-chat-manager.c empathy-chat-manager.h           \
85         empathy-chat-window.c empathy-chat-window.h             \
86         empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
87         empathy-chat.c \
88         $(NULL)
89
90 nodist_empathy_chat_SOURCES = \
91         empathy-chat-resources.c \
92         empathy-chat-resources.h \
93         $(NULL)
94
95 empathy_call_SOURCES = \
96        empathy-call.c \
97        empathy-call-factory.c \
98        empathy-call-factory.h \
99        empathy-call-handler.c \
100        empathy-call-handler.h \
101        empathy-call-window.c \
102        empathy-call-window.h \
103        empathy-call-window-fullscreen.c \
104        empathy-call-window-fullscreen.h \
105        empathy-about-dialog.c \
106        empathy-about-dialog.h \
107        empathy-audio-sink.c \
108        empathy-audio-sink.h \
109        empathy-audio-src.c \
110        empathy-audio-src.h \
111        empathy-audio-utils.c \
112        empathy-audio-utils.h \
113        empathy-video-src.c \
114        empathy-video-src.h \
115        empathy-preferences.c \
116        empathy-preferences.h \
117        empathy-camera-menu.c \
118        empathy-camera-menu.h \
119        empathy-mic-menu.c \
120        empathy-mic-menu.h \
121        empathy-rounded-actor.c \
122        empathy-rounded-actor.h \
123        empathy-rounded-rectangle.c \
124        empathy-rounded-rectangle.h \
125        empathy-rounded-texture.c \
126        empathy-rounded-texture.h \
127        empathy-mic-monitor.c \
128        empathy-mic-monitor.h
129
130 empathy_call_CFLAGS = $(EMPATHY_CALL_CFLAGS) -DGST_USE_UNSTABLE_API
131 empathy_call_LDFLAGS = $(EMPATHY_CALL_LIBS)
132
133 empathy_handwritten_source = \
134         empathy-about-dialog.c empathy-about-dialog.h                   \
135         empathy-chat-window.c empathy-chat-window.h                     \
136         empathy-chatrooms-window.c empathy-chatrooms-window.h           \
137         empathy-event-manager.c empathy-event-manager.h                 \
138         empathy-ft-manager.c empathy-ft-manager.h                       \
139         empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
140         empathy-roster-window.c empathy-roster-window.h                 \
141         empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h     \
142         empathy-notifications-approver.c empathy-notifications-approver.h \
143         empathy-call-observer.c empathy-call-observer.h                 \
144         empathy-preferences.c empathy-preferences.h                     \
145         empathy-status-icon.c empathy-status-icon.h                     \
146         empathy-chat-manager.c empathy-chat-manager.h                   \
147         empathy.c
148
149 empathy_SOURCES =                                                       \
150         $(empathy_handwritten_source)                                   \
151         $(NULL)
152
153 empathy_LDADD =                                                         \
154         libempathy-accounts-common.la                                   \
155         $(top_builddir)/libempathy-gtk/libempathy-gtk.la                \
156         $(top_builddir)/libempathy/libempathy.la                        \
157         $(top_builddir)/extensions/libemp-extensions.la                 \
158         $(EMPATHY_LIBS)                                                 \
159         $(LIBCHAMPLAIN_LIBS)                                            \
160         $(NULL)
161
162 check_c_sources = \
163     $(empathy_handwritten_source) \
164     $(empathy_logs_SOURCES) \
165     $(libempathy_accounts_common_la_SOURCES) \
166     $(empathy_accounts_SOURCES) \
167     $(empathy_debugger_SOURCES) \
168     $(empathy_auth_client_SOURCES) \
169     $(empathy_chat_SOURCES) \
170     $(empathy_call_SOURCES)
171
172 include $(top_srcdir)/tools/check-coding-style.mk
173 check-local: check-coding-style
174
175 uidir = $(datadir)/empathy
176 ui_DATA =                                       \
177         empathy-accounts-dialog.ui              \
178         empathy-call-window-fullscreen.ui       \
179         empathy-call-window.ui                  \
180         empathy-chat-window.ui                  \
181         empathy-chatrooms-window.ui             \
182         empathy-ft-manager.ui                   \
183         empathy-import-dialog.ui                \
184         empathy-roster-window.ui                        \
185         empathy-roster-window-menubar.ui                \
186         empathy-new-chatroom-dialog.ui          \
187         empathy-preferences.ui                  \
188         empathy-status-icon.ui
189
190 EXTRA_DIST =                    \
191         $(autostart_DATA)       \
192         $(ui_DATA)              \
193         empathy-chat.js         \
194         empathy-chat.gresource.xml
195
196 dist_man_MANS =                 \
197         empathy.1 \
198         empathy-accounts.1
199
200 BUILT_SOURCES = \
201         $(nodist_empathy_chat_SOURCES) \
202         $(NULL)
203
204 CLEANFILES = $(BUILT_SOURCES)
205
206 empathy-chat-resources.c: empathy-chat.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies $(srcdir)/empathy-chat.gresource.xml)
207         $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ \
208                 --sourcedir=$(srcdir) \
209                 --generate-source \
210                 $<
211
212 empathy-chat-resources.h: empathy-chat.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies $(srcdir)/empathy-chat.gresource.xml)
213         $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ \
214                 --sourcedir=$(srcdir) \
215                 --generate-header \
216                 $<