]> git.0d.be Git - empathy.git/blob - src/Makefile.am
remove libebook support
[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         $(NULL)
18
19 LDADD =                                                         \
20         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
21         $(top_builddir)/libempathy/libempathy.la                \
22         $(top_builddir)/extensions/libemp-extensions.la         \
23         $(GCR_LIBS)                                             \
24         $(EMPATHY_LIBS)                                         \
25         $(LIBCHAMPLAIN_LIBS)                                    \
26         $(NULL)
27
28 noinst_LTLIBRARIES = libempathy-accounts-common.la
29
30 libempathy_accounts_common_la_SOURCES =                                 \
31         empathy-accounts-common.c empathy-accounts-common.h             \
32         empathy-accounts-dialog.c empathy-accounts-dialog.h             \
33         empathy-import-dialog.c empathy-import-dialog.h                 \
34         empathy-import-pidgin.c empathy-import-pidgin.h                 \
35         empathy-import-widget.c empathy-import-widget.h                 \
36         empathy-import-utils.c empathy-import-utils.h                   \
37         $(NULL)
38
39 libempathy_accounts_common_la_LIBADD =                                  \
40         $(top_builddir)/libempathy-gtk/libempathy-gtk.la                \
41         $(EMPATHY_LIBS)                                                 \
42         $(LIBCHAMPLAIN_LIBS)                                            \
43         $(NULL)
44
45 bin_PROGRAMS =                  \
46         empathy                 \
47         empathy-accounts        \
48         empathy-debugger        \
49         $(NULL)
50
51 libexec_PROGRAMS = \
52         empathy-auth-client \
53         empathy-call \
54         empathy-chat
55
56 empathy_accounts_SOURCES =                                              \
57         empathy-accounts.c empathy-accounts.h                           \
58         $(NULL)
59
60 empathy_accounts_CPPFLAGS =                                             \
61         $(AM_CPPFLAGS) \
62         $(CHEESE_CFLAGS) \
63         $(NULL)
64
65 empathy_accounts_LDADD =                                                \
66         $(LDADD)                                                        \
67         libempathy-accounts-common.la                                   \
68         $(NULL)
69
70 empathy_debugger_SOURCES =                                              \
71         empathy-debug-window.c empathy-debug-window.h                   \
72         empathy-debugger.c                                              \
73         $(NULL)
74
75 empathy_auth_client_SOURCES =                                           \
76         empathy-sanity-cleaning.c empathy-sanity-cleaning.h \
77         empathy-auth-client.c \
78         $(NULL)
79
80 empathy_chat_SOURCES =                                          \
81         empathy-about-dialog.c empathy-about-dialog.h                   \
82         empathy-chat-manager.c empathy-chat-manager.h           \
83         empathy-chat-window.c empathy-chat-window.h             \
84         empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
85         empathy-chat.c \
86         $(NULL)
87
88 empathy_call_SOURCES = \
89        empathy-call.c \
90        empathy-call-factory.c \
91        empathy-call-factory.h \
92        empathy-call-handler.c \
93        empathy-call-handler.h \
94        empathy-call-window.c \
95        empathy-call-window.h \
96        empathy-call-window-fullscreen.c \
97        empathy-call-window-fullscreen.h \
98        empathy-about-dialog.c \
99        empathy-about-dialog.h \
100        empathy-audio-sink.c \
101        empathy-audio-sink.h \
102        empathy-audio-src.c \
103        empathy-audio-src.h \
104        empathy-video-src.c \
105        empathy-video-src.h \
106        empathy-preferences.c \
107        empathy-preferences.h \
108        empathy-camera-menu.c \
109        empathy-camera-menu.h \
110        empathy-mic-menu.c \
111        empathy-mic-menu.h \
112        empathy-rounded-actor.c \
113        empathy-rounded-actor.h \
114        empathy-rounded-rectangle.c \
115        empathy-rounded-rectangle.h \
116        empathy-rounded-texture.c \
117        empathy-rounded-texture.h \
118        empathy-mic-monitor.c \
119        empathy-mic-monitor.h
120
121 empathy_call_CFLAGS = $(EMPATHY_CALL_CFLAGS)
122 empathy_call_LDFLAGS = $(EMPATHY_CALL_LIBS)
123
124 empathy_handwritten_source = \
125         empathy-about-dialog.c empathy-about-dialog.h                   \
126         empathy-chat-window.c empathy-chat-window.h                     \
127         empathy-chatrooms-window.c empathy-chatrooms-window.h           \
128         empathy-event-manager.c empathy-event-manager.h                 \
129         empathy-ft-manager.c empathy-ft-manager.h                       \
130         empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
131         empathy-roster-window.c empathy-roster-window.h                 \
132         empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h     \
133         empathy-notifications-approver.c empathy-notifications-approver.h \
134         empathy-call-observer.c empathy-call-observer.h                 \
135         empathy-preferences.c empathy-preferences.h                     \
136         empathy-status-icon.c empathy-status-icon.h                     \
137         empathy-chat-manager.c empathy-chat-manager.h                   \
138         empathy.c
139
140 empathy_SOURCES =                                                       \
141         $(empathy_handwritten_source)                                   \
142         $(NULL)
143
144 empathy_LDADD =                                                         \
145         libempathy-accounts-common.la                                   \
146         $(top_builddir)/libempathy-gtk/libempathy-gtk.la                \
147         $(top_builddir)/libempathy/libempathy.la                        \
148         $(top_builddir)/extensions/libemp-extensions.la                 \
149         $(EMPATHY_LIBS)                                                 \
150         $(LIBCHAMPLAIN_LIBS)                                            \
151         $(NULL)
152
153 check_c_sources = \
154     $(empathy_handwritten_source) \
155     $(empathy_logs_SOURCES) \
156     $(libempathy_accounts_common_la_SOURCES) \
157     $(empathy_accounts_SOURCES) \
158     $(empathy_debugger_SOURCES) \
159     $(empathy_auth_client_SOURCES) \
160     $(empathy_chat_SOURCES) \
161     $(empathy_call_SOURCES)
162
163 include $(top_srcdir)/tools/check-coding-style.mk
164 check-local: check-coding-style
165
166 uidir = $(datadir)/empathy
167 ui_DATA =                                       \
168         empathy-accounts-dialog.ui              \
169         empathy-call-window-fullscreen.ui       \
170         empathy-call-window.ui                  \
171         empathy-chat-window.ui                  \
172         empathy-chatrooms-window.ui             \
173         empathy-ft-manager.ui                   \
174         empathy-import-dialog.ui                \
175         empathy-roster-window.ui                        \
176         empathy-roster-window-menubar.ui                \
177         empathy-new-chatroom-dialog.ui          \
178         empathy-preferences.ui                  \
179         empathy-status-icon.ui
180
181 EXTRA_DIST =                    \
182         $(autostart_DATA)       \
183         $(ui_DATA)
184
185 dist_man_MANS =                 \
186         empathy.1 \
187         empathy-accounts.1
188