Mercurial > pidgin
annotate libgaim/Makefile.am @ 14441:b4a5b77e167e
[gaim-migrate @ 17155]
Minor cleanup and whitespace. And make some error messages a bit more
concise.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 04 Sep 2006 05:48:45 +0000 |
parents | 9c884b84afb9 |
children | f3d67de8aaf5 |
rev | line source |
---|---|
14192 | 1 EXTRA_DIST = \ |
2 dbus-analyze-functions.py \ | |
3 dbus-analyze-types.py \ | |
4 gaim-notifications-example \ | |
5 gaim-remote \ | |
6 gaim-send \ | |
7 gaim-send-async \ | |
8 Makefile.mingw \ | |
9 win_gaim.c \ | |
10 win32/IdleTracker/Makefile.mingw \ | |
11 win32/IdleTracker/idletrack.c \ | |
12 win32/IdleTracker/idletrack.h \ | |
13 win32/gaimrc.rc \ | |
14 win32/global.mak \ | |
15 win32/libc_interface.c \ | |
16 win32/libc_interface.h \ | |
17 win32/libc_internal.h \ | |
18 win32/resource.h \ | |
19 win32/untar.c \ | |
20 win32/untar.h \ | |
21 win32/wgaimerror.h \ | |
22 win32/win32dep.c \ | |
23 win32/win32dep.h \ | |
24 win32/wspell.c \ | |
25 win32/wspell.h \ | |
26 win32/nsis/gaim-header.bmp \ | |
27 win32/nsis/gaim-intro.bmp \ | |
28 win32/nsis/gaim-plugin.nsh \ | |
29 win32/nsis/langmacros.nsh \ | |
30 win32/nsis/translations/albanian.nsh \ | |
31 win32/nsis/translations/bulgarian.nsh \ | |
32 win32/nsis/translations/catalan.nsh \ | |
33 win32/nsis/translations/czech.nsh \ | |
34 win32/nsis/translations/danish.nsh \ | |
35 win32/nsis/translations/dutch.nsh \ | |
36 win32/nsis/translations/english.nsh \ | |
37 win32/nsis/translations/finnish.nsh \ | |
38 win32/nsis/translations/french.nsh \ | |
39 win32/nsis/translations/german.nsh \ | |
40 win32/nsis/translations/hebrew.nsh \ | |
41 win32/nsis/translations/hungarian.nsh \ | |
42 win32/nsis/translations/italian.nsh \ | |
43 win32/nsis/translations/japanese.nsh \ | |
44 win32/nsis/translations/korean.nsh \ | |
45 win32/nsis/translations/kurdish.nsh \ | |
46 win32/nsis/translations/lithuanian.nsh \ | |
47 win32/nsis/translations/norwegian.nsh \ | |
48 win32/nsis/translations/polish.nsh \ | |
49 win32/nsis/translations/portuguese.nsh \ | |
50 win32/nsis/translations/portuguese-br.nsh \ | |
51 win32/nsis/translations/romanian.nsh \ | |
52 win32/nsis/translations/russian.nsh \ | |
53 win32/nsis/translations/serbian-latin.nsh \ | |
54 win32/nsis/translations/simp-chinese.nsh \ | |
55 win32/nsis/translations/slovak.nsh \ | |
56 win32/nsis/translations/slovenian.nsh \ | |
57 win32/nsis/translations/spanish.nsh \ | |
58 win32/nsis/translations/swedish.nsh \ | |
59 win32/nsis/translations/trad-chinese.nsh \ | |
60 win32/nsis/translations/vietnamese.nsh | |
61 | |
62 SUBDIRS = plugins protocols | |
63 | |
64 gaim_coresources = \ | |
65 account.c \ | |
66 accountopt.c \ | |
67 blist.c \ | |
68 buddyicon.c \ | |
69 cipher.c \ | |
70 circbuffer.c \ | |
71 cmds.c \ | |
72 connection.c \ | |
73 conversation.c \ | |
74 core.c \ | |
75 debug.c \ | |
76 desktopitem.c \ | |
77 eventloop.c \ | |
78 ft.c \ | |
79 idle.c \ | |
80 imgstore.c \ | |
81 log.c \ | |
82 mime.c \ | |
83 network.c \ | |
84 ntlm.c \ | |
85 notify.c \ | |
86 plugin.c \ | |
87 pluginpref.c \ | |
88 pounce.c \ | |
89 prefix.c \ | |
90 prefs.c \ | |
91 privacy.c \ | |
92 proxy.c \ | |
93 prpl.c \ | |
94 request.c \ | |
95 roomlist.c \ | |
96 savedstatuses.c \ | |
97 server.c \ | |
98 signals.c \ | |
14194
ebe83aee29d2
[gaim-migrate @ 16866]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14192
diff
changeset
|
99 dnsquery.c \ |
14192 | 100 dnssrv.c\ |
101 status.c \ | |
102 stringref.c \ | |
103 stun.c \ | |
104 sound.c \ | |
105 sslconn.c \ | |
106 upnp.c \ | |
107 util.c \ | |
108 value.c \ | |
109 xmlnode.c \ | |
110 whiteboard.c | |
111 | |
112 gaim_coreheaders = \ | |
113 account.h \ | |
114 accountopt.h \ | |
115 blist.h \ | |
116 buddyicon.h \ | |
117 cipher.h \ | |
118 circbuffer.h \ | |
119 cmds.h \ | |
120 connection.h \ | |
121 conversation.h \ | |
122 core.h \ | |
123 dbus-maybe.h \ | |
124 debug.h \ | |
125 desktopitem.h \ | |
126 eventloop.h \ | |
127 ft.h \ | |
128 idle.h \ | |
129 imgstore.h \ | |
130 log.h \ | |
131 mime.h \ | |
132 network.h \ | |
133 notify.h \ | |
134 ntlm.h \ | |
135 plugin.h \ | |
136 pluginpref.h \ | |
137 pounce.h \ | |
138 prefs.h \ | |
139 privacy.h \ | |
140 proxy.h \ | |
141 prpl.h \ | |
142 request.h \ | |
143 roomlist.h \ | |
144 savedstatuses.h \ | |
145 server.h \ | |
146 signals.h \ | |
14194
ebe83aee29d2
[gaim-migrate @ 16866]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14192
diff
changeset
|
147 dnsquery.h \ |
14192 | 148 dnssrv.h \ |
149 status.h \ | |
150 stringref.h \ | |
151 stun.h \ | |
152 sound.h \ | |
153 sslconn.h \ | |
154 upnp.h \ | |
155 util.h \ | |
156 value.h \ | |
157 version.h \ | |
158 xmlnode.h \ | |
159 whiteboard.h | |
160 | |
161 if ENABLE_DBUS | |
162 | |
163 CLEANFILES = \ | |
164 dbus-bindings.c \ | |
165 dbus-client-binding.c \ | |
166 dbus-client-binding.h \ | |
167 dbus-types.c \ | |
168 dbus-types.h \ | |
169 gaim-client-bindings.c \ | |
170 gaim-client-bindings.h \ | |
171 gaim.service | |
172 | |
173 # gaim dbus server | |
174 | |
175 dbus_sources = dbus-server.c dbus-useful.c | |
176 dbus_headers = dbus-bindings.h dbus-gaim.h dbus-server.h dbus-useful.h dbus-define-api.h | |
177 | |
14352
9c884b84afb9
[gaim-migrate @ 17058]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14228
diff
changeset
|
178 dbus_exported = dbus-useful.h dbus-define-api.h account.h blist.h buddyicon.h connection.h conversation.h core.h log.h roomlist.h savedstatuses.h status.h server.h xmlnode.h |
14192 | 179 |
180 gaim_build_coreheaders = $(addprefix $(srcdir)/, $(gaim_coreheaders)) | |
181 dbus_build_exported = $(addprefix $(srcdir)/, $(dbus_exported)) | |
182 | |
183 dbus-types.c: dbus-analyze-types.py $(gaim_coreheaders) | |
184 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=GAIM_DBUS_DEFINE_TYPE\(%s\) > $@ | |
185 | |
186 dbus-types.h: dbus-analyze-types.py $(dbus_coreheaders) | |
187 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=GAIM_DBUS_DECLARE_TYPE\(%s\) > $@ | |
188 | |
189 dbus-bindings.c: dbus-analyze-functions.py $(dbus_exported) | |
190 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py > $@ | |
191 | |
192 dbus-server.$(OBJEXT): dbus-bindings.c dbus-types.c dbus-types.h | |
193 dbus-server.lo: dbus-bindings.c dbus-types.c dbus-types.h | |
194 $(libgaim_la_OBJECTS): dbus-types.h | |
195 | |
196 # libgaim-client | |
197 | |
198 libgaim_client_lib = libgaim-client.la | |
199 | |
200 libgaim_client_la_SOURCES = gaim-client.c gaim-client.h | |
201 | |
202 libgaim_client_la_LIBADD = $(DBUS_LIBS) | |
203 | |
204 gaim-client-bindings.c: dbus-analyze-functions.py $(dbus_exported) | |
205 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client > $@ | |
206 | |
207 gaim-client-bindings.h: dbus-analyze-types.py dbus-analyze-functions.py $(gaim_coreheaders) $(dbus_exported) | |
208 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --keyword=enum --verbatim > $@ | |
209 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client --headers >> $@ | |
210 | |
211 $(libgaim_client_la_OBJECTS): gaim-client-bindings.h gaim-client-bindings.c | |
212 | |
213 # gaim-client-example | |
214 | |
215 gaim_client_example_SOURCES = gaim-client-example.c | |
216 | |
217 gaim_client_example_DEPENDENCIES = @LIBOBJS@ libgaim-client.la | |
218 | |
219 gaim_client_example_LDADD = \ | |
220 @LIBOBJS@ \ | |
221 libgaim-client.la \ | |
222 $(GLIB_LIBS) \ | |
223 $(DBUS_LIBS) | |
224 | |
225 bin_PROGRAMS = gaim-client-example | |
226 | |
227 gaim-client-example.$(OBJEXT): gaim-client-bindings.h | |
228 | |
229 # scripts | |
230 | |
231 bin_SCRIPTS = gaim-remote gaim-send gaim-send-async | |
232 | |
233 exampledir = $(datadir)/doc/@PACKAGE@/examples | |
234 example_DATA = gaim-notifications-example | |
235 | |
236 endif | |
237 | |
238 lib_LTLIBRARIES = libgaim.la $(libgaim_client_lib) | |
239 | |
240 libgaim_la_SOURCES = \ | |
241 $(gaim_coresources) \ | |
242 $(dbus_sources) | |
243 | |
244 noinst_HEADERS= \ | |
245 internal.h \ | |
246 prefix.h | |
247 | |
248 libgaimincludedir=$(includedir)/gaim | |
249 libgaiminclude_HEADERS = \ | |
250 $(gaim_coreheaders) \ | |
251 $(dbus_headers) | |
252 | |
14228 | 253 libgaim_la_DEPENDENCIES = @LIBOBJS@ $(STATIC_LINK_LIBS) |
14192 | 254 libgaim_la_LDFLAGS = -export-dynamic |
255 libgaim_la_LIBADD = \ | |
256 @LIBOBJS@ \ | |
257 $(DBUS_LIBS) \ | |
258 $(GLIB_LIBS) \ | |
14217
28b1cebaa328
[gaim-migrate @ 16898]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14194
diff
changeset
|
259 $(LIBXML_LIBS) \ |
14192 | 260 $(STATIC_LINK_LIBS) \ |
261 $(INTLLIBS) \ | |
262 -lm | |
263 | |
264 AM_CPPFLAGS = \ | |
265 -DBR_PTHREADS=0 \ | |
266 -DDATADIR=\"$(datadir)\" \ | |
267 -DLIBDIR=\"$(libdir)/gaim/\" \ | |
268 -DLOCALEDIR=\"$(datadir)/locale\" \ | |
269 -DSYSCONFDIR=\"$(sysconfdir)\" \ | |
14217
28b1cebaa328
[gaim-migrate @ 16898]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14194
diff
changeset
|
270 $(GLIB_CFLAGS) \ |
14192 | 271 $(DEBUG_CFLAGS) \ |
272 $(DBUS_CFLAGS) \ | |
273 $(LIBXML_CFLAGS) |