Mercurial > pidgin.yaz
annotate libgaim/Makefile.am @ 14946:51b7d367a693
[gaim-migrate @ 17717]
Credit is a good thing
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 10 Nov 2006 04:54:11 +0000 |
parents | 5b389aacc06b |
children | 3f639d4991cb |
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 |
82b59abcaee4
[gaim-migrate @ 17240]
Richard Laager <rlaager@wiktel.com>
parents:
14514
diff
changeset
|
26 SUBDIRS = $(GCONF_DIR) plugins protocols |
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 | |
14352
9c884b84afb9
[gaim-migrate @ 17058]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14228
diff
changeset
|
143 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 | 144 |
145 gaim_build_coreheaders = $(addprefix $(srcdir)/, $(gaim_coreheaders)) | |
146 dbus_build_exported = $(addprefix $(srcdir)/, $(dbus_exported)) | |
147 | |
148 dbus-types.c: dbus-analyze-types.py $(gaim_coreheaders) | |
149 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=GAIM_DBUS_DEFINE_TYPE\(%s\) > $@ | |
150 | |
151 dbus-types.h: dbus-analyze-types.py $(dbus_coreheaders) | |
152 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=GAIM_DBUS_DECLARE_TYPE\(%s\) > $@ | |
153 | |
154 dbus-bindings.c: dbus-analyze-functions.py $(dbus_exported) | |
155 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py > $@ | |
156 | |
157 dbus-server.$(OBJEXT): dbus-bindings.c dbus-types.c dbus-types.h | |
158 dbus-server.lo: dbus-bindings.c dbus-types.c dbus-types.h | |
159 $(libgaim_la_OBJECTS): dbus-types.h | |
160 | |
161 # libgaim-client | |
162 | |
163 libgaim_client_lib = libgaim-client.la | |
164 | |
165 libgaim_client_la_SOURCES = gaim-client.c gaim-client.h | |
166 | |
167 libgaim_client_la_LIBADD = $(DBUS_LIBS) | |
168 | |
169 gaim-client-bindings.c: dbus-analyze-functions.py $(dbus_exported) | |
170 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client > $@ | |
171 | |
172 gaim-client-bindings.h: dbus-analyze-types.py dbus-analyze-functions.py $(gaim_coreheaders) $(dbus_exported) | |
173 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --keyword=enum --verbatim > $@ | |
174 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client --headers >> $@ | |
175 | |
176 $(libgaim_client_la_OBJECTS): gaim-client-bindings.h gaim-client-bindings.c | |
177 | |
178 # gaim-client-example | |
179 | |
180 gaim_client_example_SOURCES = gaim-client-example.c | |
181 | |
182 gaim_client_example_DEPENDENCIES = @LIBOBJS@ libgaim-client.la | |
183 | |
184 gaim_client_example_LDADD = \ | |
185 @LIBOBJS@ \ | |
186 libgaim-client.la \ | |
187 $(GLIB_LIBS) \ | |
188 $(DBUS_LIBS) | |
189 | |
190 bin_PROGRAMS = gaim-client-example | |
191 | |
192 gaim-client-example.$(OBJEXT): gaim-client-bindings.h | |
193 | |
194 # scripts | |
195 | |
14524 | 196 bin_SCRIPTS = gaim-remote gaim-send gaim-send-async gaim-url-handler |
14192 | 197 |
198 endif | |
199 | |
200 lib_LTLIBRARIES = libgaim.la $(libgaim_client_lib) | |
201 | |
202 libgaim_la_SOURCES = \ | |
203 $(gaim_coresources) \ | |
204 $(dbus_sources) | |
205 | |
206 noinst_HEADERS= \ | |
207 internal.h \ | |
208 prefix.h | |
209 | |
210 libgaimincludedir=$(includedir)/gaim | |
211 libgaiminclude_HEADERS = \ | |
212 $(gaim_coreheaders) \ | |
213 $(dbus_headers) | |
214 | |
14228 | 215 libgaim_la_DEPENDENCIES = @LIBOBJS@ $(STATIC_LINK_LIBS) |
14192 | 216 libgaim_la_LDFLAGS = -export-dynamic |
217 libgaim_la_LIBADD = \ | |
218 @LIBOBJS@ \ | |
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) |