Mercurial > pidgin
annotate libgaim/Makefile.am @ 15284:e8f8749e6182
[gaim-migrate @ 18074]
Fix a crash when adding a buddy to the deny list on a Google Talk account when that buddy doesnot have a resource name, and changed a printf() to a gaim_debug().
committer: Tailor Script <tailor@pidgin.im>
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Thu, 04 Jan 2007 23:38:43 +0000 |
parents | ba149ceb20b7 |
children |
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 \ | |
14520
82b59abcaee4
[gaim-migrate @ 17240]
Richard Laager <rlaager@wiktel.com>
parents:
14514
diff
changeset
|
8 gaim-url-handler \ |
14192 | 9 Makefile.mingw \ |
10 win32/global.mak \ | |
11 win32/libc_interface.c \ | |
12 win32/libc_interface.h \ | |
13 win32/libc_internal.h \ | |
14467
fd45915c6988
[gaim-migrate @ 17183]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14452
diff
changeset
|
14 win32/libgaimrc.rc.in \ |
fd45915c6988
[gaim-migrate @ 17183]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14452
diff
changeset
|
15 win32/rules.mak \ |
fd45915c6988
[gaim-migrate @ 17183]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14452
diff
changeset
|
16 win32/targets.mak \ |
14192 | 17 win32/wgaimerror.h \ |
18 win32/win32dep.c \ | |
14730
5b389aacc06b
[gaim-migrate @ 17486]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14696
diff
changeset
|
19 win32/giowin32.c \ |
14452 | 20 win32/win32dep.h |
14192 | 21 |
14520
82b59abcaee4
[gaim-migrate @ 17240]
Richard Laager <rlaager@wiktel.com>
parents:
14514
diff
changeset
|
22 if USE_GCONFTOOL |
82b59abcaee4
[gaim-migrate @ 17240]
Richard Laager <rlaager@wiktel.com>
parents:
14514
diff
changeset
|
23 GCONF_DIR=gconf |
82b59abcaee4
[gaim-migrate @ 17240]
Richard Laager <rlaager@wiktel.com>
parents:
14514
diff
changeset
|
24 endif |
82b59abcaee4
[gaim-migrate @ 17240]
Richard Laager <rlaager@wiktel.com>
parents:
14514
diff
changeset
|
25 |
15040 | 26 SUBDIRS = $(GCONF_DIR) plugins protocols tests |
14192 | 27 |
28 gaim_coresources = \ | |
29 account.c \ | |
30 accountopt.c \ | |
31 blist.c \ | |
32 buddyicon.c \ | |
33 cipher.c \ | |
34 circbuffer.c \ | |
35 cmds.c \ | |
36 connection.c \ | |
37 conversation.c \ | |
38 core.c \ | |
39 debug.c \ | |
40 desktopitem.c \ | |
41 eventloop.c \ | |
42 ft.c \ | |
43 idle.c \ | |
44 imgstore.c \ | |
45 log.c \ | |
46 mime.c \ | |
47 network.c \ | |
48 ntlm.c \ | |
49 notify.c \ | |
50 plugin.c \ | |
51 pluginpref.c \ | |
52 pounce.c \ | |
53 prefix.c \ | |
54 prefs.c \ | |
55 privacy.c \ | |
56 proxy.c \ | |
57 prpl.c \ | |
58 request.c \ | |
59 roomlist.c \ | |
60 savedstatuses.c \ | |
61 server.c \ | |
62 signals.c \ | |
14194
ebe83aee29d2
[gaim-migrate @ 16866]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14192
diff
changeset
|
63 dnsquery.c \ |
14192 | 64 dnssrv.c\ |
65 status.c \ | |
66 stringref.c \ | |
67 stun.c \ | |
68 sound.c \ | |
69 sslconn.c \ | |
70 upnp.c \ | |
71 util.c \ | |
72 value.c \ | |
73 xmlnode.c \ | |
74 whiteboard.c | |
75 | |
76 gaim_coreheaders = \ | |
77 account.h \ | |
78 accountopt.h \ | |
79 blist.h \ | |
80 buddyicon.h \ | |
81 cipher.h \ | |
82 circbuffer.h \ | |
83 cmds.h \ | |
84 connection.h \ | |
85 conversation.h \ | |
86 core.h \ | |
87 dbus-maybe.h \ | |
88 debug.h \ | |
89 desktopitem.h \ | |
90 eventloop.h \ | |
91 ft.h \ | |
14507 | 92 gaim.h \ |
14192 | 93 idle.h \ |
94 imgstore.h \ | |
95 log.h \ | |
96 mime.h \ | |
97 network.h \ | |
98 notify.h \ | |
99 ntlm.h \ | |
100 plugin.h \ | |
101 pluginpref.h \ | |
102 pounce.h \ | |
103 prefs.h \ | |
104 privacy.h \ | |
105 proxy.h \ | |
106 prpl.h \ | |
107 request.h \ | |
108 roomlist.h \ | |
109 savedstatuses.h \ | |
110 server.h \ | |
111 signals.h \ | |
14194
ebe83aee29d2
[gaim-migrate @ 16866]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14192
diff
changeset
|
112 dnsquery.h \ |
14192 | 113 dnssrv.h \ |
114 status.h \ | |
115 stringref.h \ | |
116 stun.h \ | |
117 sound.h \ | |
118 sslconn.h \ | |
119 upnp.h \ | |
120 util.h \ | |
121 value.h \ | |
122 version.h \ | |
123 xmlnode.h \ | |
124 whiteboard.h | |
125 | |
126 if ENABLE_DBUS | |
127 | |
128 CLEANFILES = \ | |
129 dbus-bindings.c \ | |
130 dbus-client-binding.c \ | |
131 dbus-client-binding.h \ | |
132 dbus-types.c \ | |
133 dbus-types.h \ | |
134 gaim-client-bindings.c \ | |
135 gaim-client-bindings.h \ | |
136 gaim.service | |
137 | |
138 # gaim dbus server | |
139 | |
140 dbus_sources = dbus-server.c dbus-useful.c | |
141 dbus_headers = dbus-bindings.h dbus-gaim.h dbus-server.h dbus-useful.h dbus-define-api.h | |
142 | |
15006
3f639d4991cb
[gaim-migrate @ 17787]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14730
diff
changeset
|
143 dbus_exported = dbus-useful.h dbus-define-api.h account.h blist.h buddyicon.h \ |
3f639d4991cb
[gaim-migrate @ 17787]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14730
diff
changeset
|
144 connection.h conversation.h core.h log.h prefs.h roomlist.h \ |
3f639d4991cb
[gaim-migrate @ 17787]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14730
diff
changeset
|
145 savedstatuses.h status.h server.h xmlnode.h |
14192 | 146 |
147 gaim_build_coreheaders = $(addprefix $(srcdir)/, $(gaim_coreheaders)) | |
148 dbus_build_exported = $(addprefix $(srcdir)/, $(dbus_exported)) | |
149 | |
150 dbus-types.c: dbus-analyze-types.py $(gaim_coreheaders) | |
151 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=GAIM_DBUS_DEFINE_TYPE\(%s\) > $@ | |
152 | |
153 dbus-types.h: dbus-analyze-types.py $(dbus_coreheaders) | |
154 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=GAIM_DBUS_DECLARE_TYPE\(%s\) > $@ | |
155 | |
156 dbus-bindings.c: dbus-analyze-functions.py $(dbus_exported) | |
157 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py > $@ | |
158 | |
159 dbus-server.$(OBJEXT): dbus-bindings.c dbus-types.c dbus-types.h | |
160 dbus-server.lo: dbus-bindings.c dbus-types.c dbus-types.h | |
161 $(libgaim_la_OBJECTS): dbus-types.h | |
162 | |
163 # libgaim-client | |
164 | |
165 libgaim_client_lib = libgaim-client.la | |
166 | |
167 libgaim_client_la_SOURCES = gaim-client.c gaim-client.h | |
168 | |
169 libgaim_client_la_LIBADD = $(DBUS_LIBS) | |
170 | |
171 gaim-client-bindings.c: dbus-analyze-functions.py $(dbus_exported) | |
172 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client > $@ | |
173 | |
174 gaim-client-bindings.h: dbus-analyze-types.py dbus-analyze-functions.py $(gaim_coreheaders) $(dbus_exported) | |
175 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --keyword=enum --verbatim > $@ | |
176 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client --headers >> $@ | |
177 | |
178 $(libgaim_client_la_OBJECTS): gaim-client-bindings.h gaim-client-bindings.c | |
179 | |
180 # gaim-client-example | |
181 | |
182 gaim_client_example_SOURCES = gaim-client-example.c | |
183 | |
15010
4ae3c761455b
[gaim-migrate @ 17791]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15006
diff
changeset
|
184 gaim_client_example_DEPENDENCIES = libgaim-client.la |
14192 | 185 |
186 gaim_client_example_LDADD = \ | |
187 libgaim-client.la \ | |
188 $(GLIB_LIBS) \ | |
189 $(DBUS_LIBS) | |
190 | |
191 bin_PROGRAMS = gaim-client-example | |
192 | |
193 gaim-client-example.$(OBJEXT): gaim-client-bindings.h | |
194 | |
195 # scripts | |
196 | |
14524 | 197 bin_SCRIPTS = gaim-remote gaim-send gaim-send-async gaim-url-handler |
14192 | 198 |
199 endif | |
200 | |
201 lib_LTLIBRARIES = libgaim.la $(libgaim_client_lib) | |
202 | |
203 libgaim_la_SOURCES = \ | |
204 $(gaim_coresources) \ | |
205 $(dbus_sources) | |
206 | |
207 noinst_HEADERS= \ | |
208 internal.h \ | |
209 prefix.h | |
210 | |
211 libgaimincludedir=$(includedir)/gaim | |
212 libgaiminclude_HEADERS = \ | |
213 $(gaim_coreheaders) \ | |
214 $(dbus_headers) | |
215 | |
15010
4ae3c761455b
[gaim-migrate @ 17791]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15006
diff
changeset
|
216 libgaim_la_DEPENDENCIES = $(STATIC_LINK_LIBS) |
14192 | 217 libgaim_la_LDFLAGS = -export-dynamic |
218 libgaim_la_LIBADD = \ | |
219 $(DBUS_LIBS) \ | |
220 $(GLIB_LIBS) \ | |
14217
28b1cebaa328
[gaim-migrate @ 16898]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14194
diff
changeset
|
221 $(LIBXML_LIBS) \ |
14696 | 222 $(LIBNM_LIBS) \ |
14192 | 223 $(STATIC_LINK_LIBS) \ |
224 $(INTLLIBS) \ | |
225 -lm | |
226 | |
227 AM_CPPFLAGS = \ | |
228 -DBR_PTHREADS=0 \ | |
229 -DDATADIR=\"$(datadir)\" \ | |
230 -DLIBDIR=\"$(libdir)/gaim/\" \ | |
231 -DLOCALEDIR=\"$(datadir)/locale\" \ | |
232 -DSYSCONFDIR=\"$(sysconfdir)\" \ | |
14217
28b1cebaa328
[gaim-migrate @ 16898]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14194
diff
changeset
|
233 $(GLIB_CFLAGS) \ |
14192 | 234 $(DEBUG_CFLAGS) \ |
235 $(DBUS_CFLAGS) \ | |
14696 | 236 $(LIBXML_CFLAGS) \ |
237 $(LIBNM_CFLAGS) |