]> git.0d.be Git - empathy.git/blob - src/Makefile.am
Merge branch 'gnome-3-4'
[empathy.git] / src / Makefile.am
1 include $(top_srcdir)/tools/flymake.mk
2
3 CPPFLAGS_COMMON =                                       \
4         $(EMPATHY_CFLAGS)                               \
5         $(EDS_CFLAGS)                                   \
6         $(ERROR_CFLAGS)                                 \
7         -I$(top_srcdir)                                 \
8         -DG_LOG_DOMAIN=\"empathy\"                      \
9         -DBIN_DIR=\"$(bindir)\"                         \
10         $(DISABLE_DEPRECATED)                           \
11         $(WARN_CFLAGS)                                  \
12         $(NULL)
13
14 AM_LDFLAGS = $(LIBM)
15 AM_CPPFLAGS =                                           \
16         $(CPPFLAGS_COMMON)                              \
17         $(LIBCHAMPLAIN_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         $(NULL)
28
29 noinst_LTLIBRARIES = libempathy-accounts-common.la
30
31 libempathy_accounts_common_la_SOURCES =                                 \
32         empathy-accounts-common.c empathy-accounts-common.h             \
33         empathy-accounts-dialog.c empathy-accounts-dialog.h             \
34         empathy-import-dialog.c empathy-import-dialog.h                 \
35         empathy-import-pidgin.c empathy-import-pidgin.h                 \
36         empathy-import-widget.c empathy-import-widget.h                 \
37         empathy-import-utils.c empathy-import-utils.h                   \
38         $(NULL)
39
40 libempathy_accounts_common_la_LIBADD =                                  \
41         $(top_builddir)/libempathy-gtk/libempathy-gtk.la                \
42         $(EDS_LIBS)                                                     \
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         gedit-close-button.c gedit-close-button.h \
89         $(NULL)
90
91 empathy_call_SOURCES = \
92        empathy-call.c \
93        empathy-call-factory.c \
94        empathy-call-factory.h \
95        empathy-call-handler.c \
96        empathy-call-handler.h \
97        empathy-call-window.c \
98        empathy-call-window.h \
99        empathy-call-window-fullscreen.c \
100        empathy-call-window-fullscreen.h \
101        empathy-about-dialog.c \
102        empathy-about-dialog.h \
103        empathy-audio-sink.c \
104        empathy-audio-sink.h \
105        empathy-audio-src.c \
106        empathy-audio-src.h \
107        empathy-video-src.c \
108        empathy-video-src.h \
109        empathy-preferences.c \
110        empathy-preferences.h \
111        empathy-camera-menu.c \
112        empathy-camera-menu.h \
113        empathy-mic-menu.c \
114        empathy-mic-menu.h \
115        empathy-rounded-actor.c \
116        empathy-rounded-actor.h \
117        empathy-rounded-rectangle.c \
118        empathy-rounded-rectangle.h \
119        empathy-rounded-texture.c \
120        empathy-rounded-texture.h \
121        empathy-mic-monitor.c \
122        empathy-mic-monitor.h
123
124 empathy_call_CFLAGS = $(EMPATHY_CALL_CFLAGS)
125 empathy_call_LDFLAGS = $(EMPATHY_CALL_LIBS)
126
127 empathy_handwritten_source = \
128         empathy-about-dialog.c empathy-about-dialog.h                   \
129         empathy-chat-window.c empathy-chat-window.h                     \
130         empathy-chatrooms-window.c empathy-chatrooms-window.h           \
131         empathy-event-manager.c empathy-event-manager.h                 \
132         empathy-ft-manager.c empathy-ft-manager.h                       \
133         empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
134         empathy-roster-window.c empathy-roster-window.h                 \
135         empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h     \
136         empathy-notifications-approver.c empathy-notifications-approver.h \
137         empathy-call-observer.c empathy-call-observer.h                 \
138         empathy-preferences.c empathy-preferences.h                     \
139         empathy-status-icon.c empathy-status-icon.h                     \
140         empathy-chat-manager.c empathy-chat-manager.h                   \
141         gedit-close-button.c gedit-close-button.h \
142         empathy.c
143
144 empathy_SOURCES =                                                       \
145         $(empathy_handwritten_source)                                   \
146         $(NULL)
147
148 empathy_LDADD =                                                         \
149         libempathy-accounts-common.la                                   \
150         $(top_builddir)/libempathy-gtk/libempathy-gtk.la                \
151         $(top_builddir)/libempathy/libempathy.la                        \
152         $(top_builddir)/extensions/libemp-extensions.la                 \
153         $(EMPATHY_LIBS)                                                 \
154         $(LIBCHAMPLAIN_LIBS)                                            \
155         $(NULL)
156
157 check_c_sources = \
158     $(empathy_handwritten_source) \
159     $(empathy_logs_SOURCES) \
160     $(libempathy_accounts_common_la_SOURCES) \
161     $(empathy_accounts_SOURCES) \
162     $(empathy_debugger_SOURCES) \
163     $(empathy_auth_client_SOURCES) \
164     $(empathy_chat_SOURCES) \
165     $(empathy_call_SOURCES)
166
167 include $(top_srcdir)/tools/check-coding-style.mk
168 check-local: check-coding-style
169
170 uidir = $(datadir)/empathy
171 ui_DATA =                                       \
172         empathy-accounts-dialog.ui              \
173         empathy-call-window-fullscreen.ui       \
174         empathy-call-window.ui                  \
175         empathy-chat-window.ui                  \
176         empathy-chatrooms-window.ui             \
177         empathy-ft-manager.ui                   \
178         empathy-import-dialog.ui                \
179         empathy-roster-window.ui                        \
180         empathy-roster-window-menubar.ui                \
181         empathy-new-chatroom-dialog.ui          \
182         empathy-preferences.ui                  \
183         empathy-status-icon.ui
184
185 EXTRA_DIST =                    \
186         $(autostart_DATA)       \
187         $(ui_DATA)
188
189 dist_man_MANS =                 \
190         empathy.1 \
191         empathy-accounts.1
192