]> git.0d.be Git - empathy.git/blob - src/Makefile.am
Merge branch 'misc'
[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_LDADD =                                                \
63         $(LDADD)                                                        \
64         libempathy-accounts-common.la                                   \
65         $(NULL)
66
67 empathy_debugger_SOURCES =                                              \
68         empathy-debug-window.c empathy-debug-window.h                   \
69         empathy-debugger.c                                              \
70         $(NULL)
71
72 empathy_auth_client_SOURCES =                                           \
73         empathy-sanity-cleaning.c empathy-sanity-cleaning.h \
74         empathy-auth-client.c \
75         $(NULL)
76
77 empathy_chat_SOURCES =                                          \
78         empathy-about-dialog.c empathy-about-dialog.h                   \
79         empathy-chat-manager.c empathy-chat-manager.h           \
80         empathy-chat-window.c empathy-chat-window.h             \
81         empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
82         empathy-chat.c \
83         gedit-close-button.c gedit-close-button.h \
84         $(NULL)
85
86 empathy_call_SOURCES = \
87        empathy-call.c \
88        empathy-call-factory.c \
89        empathy-call-factory.h \
90        empathy-call-handler.c \
91        empathy-call-handler.h \
92        empathy-call-window.c \
93        empathy-call-window.h \
94        empathy-call-window-fullscreen.c \
95        empathy-call-window-fullscreen.h \
96        empathy-about-dialog.c \
97        empathy-about-dialog.h \
98        empathy-audio-sink.c \
99        empathy-audio-sink.h \
100        empathy-audio-src.c \
101        empathy-audio-src.h \
102        empathy-video-src.c \
103        empathy-video-src.h \
104        empathy-preferences.c \
105        empathy-preferences.h \
106        empathy-camera-menu.c \
107        empathy-camera-menu.h \
108        empathy-mic-menu.c \
109        empathy-mic-menu.h \
110        empathy-rounded-actor.c \
111        empathy-rounded-actor.h \
112        empathy-rounded-rectangle.c \
113        empathy-rounded-rectangle.h \
114        empathy-rounded-texture.c \
115        empathy-rounded-texture.h \
116        empathy-mic-monitor.c \
117        empathy-mic-monitor.h
118
119 empathy_call_CFLAGS = $(EMPATHY_CALL_CFLAGS)
120 empathy_call_LDFLAGS = $(EMPATHY_CALL_LIBS)
121
122 empathy_handwritten_source = \
123         empathy-about-dialog.c empathy-about-dialog.h                   \
124         empathy-chat-window.c empathy-chat-window.h                     \
125         empathy-chatrooms-window.c empathy-chatrooms-window.h           \
126         empathy-event-manager.c empathy-event-manager.h                 \
127         empathy-ft-manager.c empathy-ft-manager.h                       \
128         empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
129         empathy-roster-window.c empathy-roster-window.h                 \
130         empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h     \
131         empathy-notifications-approver.c empathy-notifications-approver.h \
132         empathy-call-observer.c empathy-call-observer.h                 \
133         empathy-preferences.c empathy-preferences.h                     \
134         empathy-status-icon.c empathy-status-icon.h                     \
135         empathy-chat-manager.c empathy-chat-manager.h                   \
136         gedit-close-button.c gedit-close-button.h \
137         empathy.c
138
139 empathy_SOURCES =                                                       \
140         $(empathy_handwritten_source)                                   \
141         $(NULL)
142
143 empathy_LDADD =                                                         \
144         libempathy-accounts-common.la                                   \
145         $(top_builddir)/libempathy-gtk/libempathy-gtk.la                \
146         $(top_builddir)/libempathy/libempathy.la                        \
147         $(top_builddir)/extensions/libemp-extensions.la                 \
148         $(EMPATHY_LIBS)                                                 \
149         $(LIBCHAMPLAIN_LIBS)                                            \
150         $(NULL)
151
152 check_c_sources = \
153     $(empathy_handwritten_source) \
154     $(empathy_logs_SOURCES) \
155     $(libempathy_accounts_common_la_SOURCES) \
156     $(empathy_accounts_SOURCES) \
157     $(empathy_debugger_SOURCES) \
158     $(empathy_auth_client_SOURCES) \
159     $(empathy_chat_SOURCES) \
160     $(empathy_call_SOURCES)
161
162 include $(top_srcdir)/tools/check-coding-style.mk
163 check-local: check-coding-style
164
165 uidir = $(datadir)/empathy
166 ui_DATA =                                       \
167         empathy-accounts-dialog.ui              \
168         empathy-call-window-fullscreen.ui       \
169         empathy-call-window.ui                  \
170         empathy-chat-window.ui                  \
171         empathy-chatrooms-window.ui             \
172         empathy-ft-manager.ui                   \
173         empathy-import-dialog.ui                \
174         empathy-roster-window.ui                        \
175         empathy-roster-window-menubar.ui                \
176         empathy-new-chatroom-dialog.ui          \
177         empathy-preferences.ui                  \
178         empathy-status-icon.ui
179
180 EXTRA_DIST =                    \
181         $(autostart_DATA)       \
182         $(ui_DATA)
183
184 dist_man_MANS =                 \
185         empathy.1 \
186         empathy-accounts.1
187