1 include $(top_srcdir)/tools/flymake.mk
9 -DG_LOG_DOMAIN=\"empathy\" \
10 -DBIN_DIR=\"$(bindir)\" \
11 $(DISABLE_DEPRECATED) \
18 $(LIBCHAMPLAIN_CFLAGS) \
22 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
23 $(top_builddir)/libempathy/libempathy.la \
24 $(top_builddir)/extensions/libemp-extensions.la \
28 $(LIBCHAMPLAIN_LIBS) \
31 noinst_LTLIBRARIES = libempathy-accounts-common.la
33 libempathy_accounts_common_la_SOURCES = \
34 empathy-accounts-common.c empathy-accounts-common.h \
35 empathy-account-assistant.c empathy-account-assistant.h \
36 empathy-accounts-dialog.c empathy-accounts-dialog.h \
37 empathy-auto-salut-account-helper.c empathy-auto-salut-account-helper.h \
38 empathy-import-dialog.c empathy-import-dialog.h \
39 empathy-import-pidgin.c empathy-import-pidgin.h \
40 empathy-import-widget.c empathy-import-widget.h \
41 empathy-import-utils.c empathy-import-utils.h \
44 libempathy_accounts_common_la_LIBADD = \
45 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
48 $(LIBCHAMPLAIN_LIBS) \
67 empathy_accounts_SOURCES = \
68 empathy-accounts.c empathy-accounts.h \
71 empathy_accounts_LDADD = \
73 libempathy-accounts-common.la \
76 empathy_debugger_SOURCES = \
77 empathy-debug-window.c empathy-debug-window.h \
81 empathy_av_SOURCES = \
83 empathy-audio-sink.c \
84 empathy-audio-sink.h \
87 empathy-streamed-media-factory.c \
88 empathy-streamed-media-factory.h \
89 empathy-streamed-media-handler.c \
90 empathy-streamed-media-handler.h \
91 empathy-streamed-media-window-fullscreen.c \
92 empathy-streamed-media-window-fullscreen.h \
93 empathy-streamed-media-window.c \
94 empathy-streamed-media-window.h \
97 empathy-video-widget.c \
98 empathy-video-widget.h \
101 empathy-mic-monitor.c \
102 empathy-mic-monitor.h
105 nodist_empathy_av_SOURCES = $(BUILT_SOURCES)
107 empathy_av_CFLAGS = $(EMPATHY_AV_CFLAGS)
108 empathy_av_LDFLAGS = $(EMPATHY_AV_LIBS) $(LIBM)
110 empathy_auth_client_SOURCES = \
111 empathy-auth-client.c \
114 empathy_chat_SOURCES = \
115 empathy-about-dialog.c empathy-about-dialog.h \
116 empathy-chat-manager.c empathy-chat-manager.h \
117 empathy-chat-window.c empathy-chat-window.h \
118 empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
120 gedit-close-button.c gedit-close-button.h \
125 libexec_PROGRAMS += empathy-call
127 empathy_call_SOURCES = \
129 empathy-call-factory.c \
130 empathy-call-factory.h \
131 empathy-call-handler.c \
132 empathy-call-handler.h \
133 empathy-call-window.c \
134 empathy-call-window.h \
135 empathy-call-window-fullscreen.c \
136 empathy-call-window-fullscreen.h \
137 empathy-about-dialog.c \
138 empathy-about-dialog.h \
139 empathy-audio-sink.c \
140 empathy-audio-sink.h \
141 empathy-audio-src.c \
142 empathy-audio-src.h \
143 empathy-video-src.c \
144 empathy-video-src.h \
145 empathy-video-widget.c \
146 empathy-video-widget.h \
147 empathy-preferences.c \
148 empathy-preferences.h \
151 empathy-camera-menu.c \
152 empathy-camera-menu.h \
155 empathy-rounded-actor.c \
156 empathy-rounded-actor.h \
157 empathy-rounded-rectangle.c \
158 empathy-rounded-rectangle.h \
159 empathy-rounded-texture.c \
160 empathy-rounded-texture.h \
161 empathy-mic-monitor.c \
162 empathy-mic-monitor.h
164 nodist_empathy_call_SOURCES = $(BUILT_SOURCES)
166 empathy_call_CFLAGS = $(EMPATHY_CALL_CFLAGS)
167 empathy_call_LDFLAGS = $(EMPATHY_CALL_LIBS)
171 empathy_handwritten_source = \
172 empathy-about-dialog.c empathy-about-dialog.h \
173 empathy-chat-window.c empathy-chat-window.h \
174 empathy-chatrooms-window.c empathy-chatrooms-window.h \
175 empathy-event-manager.c empathy-event-manager.h \
176 empathy-ft-manager.c empathy-ft-manager.h \
177 empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
178 empathy-main-window.c empathy-main-window.h \
179 empathy-migrate-butterfly-logs.c empathy-migrate-butterfly-logs.h \
180 empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h \
181 empathy-notifications-approver.c empathy-notifications-approver.h \
182 empathy-call-observer.c empathy-call-observer.h \
183 empathy-preferences.c empathy-preferences.h \
184 empathy-status-icon.c empathy-status-icon.h \
185 empathy-chat-manager.c empathy-chat-manager.h \
186 gedit-close-button.c gedit-close-button.h \
190 $(empathy_handwritten_source) \
194 libempathy-accounts-common.la \
195 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
196 $(top_builddir)/libempathy/libempathy.la \
197 $(top_builddir)/extensions/libemp-extensions.la \
199 $(LIBCHAMPLAIN_LIBS) \
202 nodist_empathy_SOURCES = $(BUILT_SOURCES)
205 $(empathy_handwritten_source) \
206 $(empathy_logs_SOURCES) \
207 $(empathy_handwritten_av_source)
209 include $(top_srcdir)/tools/check-coding-style.mk
210 check-local: check-coding-style
212 uidir = $(datadir)/empathy
214 empathy-accounts-dialog.ui \
215 empathy-call-window-fullscreen.ui \
216 empathy-call-window.ui \
217 empathy-streamed-media-window.ui \
218 empathy-chat-window.ui \
219 empathy-chatrooms-window.ui \
220 empathy-ft-manager.ui \
221 empathy-import-dialog.ui \
222 empathy-main-window.ui \
223 empathy-main-window-menubar.ui \
224 empathy-new-chatroom-dialog.ui \
225 empathy-preferences.ui \
226 empathy-status-icon.ui
233 empathy_handwritten_source += \
250 src-marshal.list: $(empathy_SOURCES) $(empathy_call_SOURCES) Makefile.am
251 $(AM_V_GEN)( cd $(srcdir) && \
252 sed -n -e 's/.*src_marshal_\([[:upper:][:digit:]]*__[[:upper:][:digit:]_]*\).*/\1/p' \
253 $(empathy_SOURCES) $(empathy_av_SOURCES) $(empathy_call_SOURCES) ) \
254 | sed -e 's/__/:/' -e 'y/_/,/' | sort -u > $@.tmp
255 @if cmp -s $@.tmp $@; then \
261 %-marshal.h: %-marshal.list Makefile
262 $(AM_V_GEN)$(GLIB_GENMARSHAL) --header --prefix=_$(subst -,_,$*)_marshal $< > $*-marshal.h
264 %-marshal.c: %-marshal.list Makefile
265 $(AM_V_GEN)echo "#include \"src-marshal.h\"" > $@ && \
266 $(GLIB_GENMARSHAL) --body --prefix=_$(subst -,_,$*)_marshal $< >> $*-marshal.c
268 CLEANFILES = $(BUILT_SOURCES)