Mercurial > pidgin.yaz
annotate libgaim/Makefile.am @ 14520:82b59abcaee4
[gaim-migrate @ 17240]
SF Patch #1492561 from Lars T. Mikkelsen
"This patch adds gaim-url-handler, a URL handler for
most protocols in Gaim. The gaim-url-handler is similar
to (and based on) gaim-remote, however, it uses the
native URL format of each protocol.
Furthermore, the patch includes a GConf schema, which
allows Gnome applications to use the URL handler."
With this and gaim-send/gaim-send-async, we should be able to drop gaim-remote.
Please let me know if you object, or I'll remove gaim-remote shortly.
For the record, I know this doesn't support 100% of the ChatZilla IRC URL spec,
and I haven't investigated the XMPP URL spec beyond a casual first look. We
can tweak these things later -- I figured it was important to get the bulk of
the code in place.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 11 Sep 2006 02:30:59 +0000 |
parents | bb99380c67c3 |
children | 565f90ad0c84 |
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 \ | |
14452 | 19 win32/win32dep.h |
14192 | 20 |
14520
82b59abcaee4
[gaim-migrate @ 17240]
Richard Laager <rlaager@wiktel.com>
parents:
14514
diff
changeset
|
21 if USE_GCONFTOOL |
82b59abcaee4
[gaim-migrate @ 17240]
Richard Laager <rlaager@wiktel.com>
parents:
14514
diff
changeset
|
22 GCONF_DIR=gconf |
82b59abcaee4
[gaim-migrate @ 17240]
Richard Laager <rlaager@wiktel.com>
parents:
14514
diff
changeset
|
23 endif |
82b59abcaee4
[gaim-migrate @ 17240]
Richard Laager <rlaager@wiktel.com>
parents:
14514
diff
changeset
|
24 |
82b59abcaee4
[gaim-migrate @ 17240]
Richard Laager <rlaager@wiktel.com>
parents:
14514
diff
changeset
|
25 SUBDIRS = $(GCONF_DIR) plugins protocols |
14192 | 26 |
27 gaim_coresources = \ | |
28 account.c \ | |
29 accountopt.c \ | |
30 blist.c \ | |
31 buddyicon.c \ | |
32 cipher.c \ | |
33 circbuffer.c \ | |
34 cmds.c \ | |
35 connection.c \ | |
36 conversation.c \ | |
37 core.c \ | |
38 debug.c \ | |
39 desktopitem.c \ | |
40 eventloop.c \ | |
41 ft.c \ | |
42 idle.c \ | |
43 imgstore.c \ | |
44 log.c \ | |
45 mime.c \ | |
46 network.c \ | |
47 ntlm.c \ | |
48 notify.c \ | |
49 plugin.c \ | |
50 pluginpref.c \ | |
51 pounce.c \ | |
52 prefix.c \ | |
53 prefs.c \ | |
54 privacy.c \ | |
55 proxy.c \ | |
56 prpl.c \ | |
57 request.c \ | |
58 roomlist.c \ | |
59 savedstatuses.c \ | |
60 server.c \ | |
61 signals.c \ | |
14194
ebe83aee29d2
[gaim-migrate @ 16866]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14192
diff
changeset
|
62 dnsquery.c \ |
14192 | 63 dnssrv.c\ |
64 status.c \ | |
65 stringref.c \ | |
66 stun.c \ | |
67 sound.c \ | |
68 sslconn.c \ | |
69 upnp.c \ | |
70 util.c \ | |
71 value.c \ | |
72 xmlnode.c \ | |
73 whiteboard.c | |
74 | |
75 gaim_coreheaders = \ | |
76 account.h \ | |
77 accountopt.h \ | |
78 blist.h \ | |
79 buddyicon.h \ | |
80 cipher.h \ | |
81 circbuffer.h \ | |
82 cmds.h \ | |
83 connection.h \ | |
84 conversation.h \ | |
85 core.h \ | |
86 dbus-maybe.h \ | |
87 debug.h \ | |
88 desktopitem.h \ | |
89 eventloop.h \ | |
90 ft.h \ | |
14507 | 91 gaim.h \ |
14192 | 92 idle.h \ |
93 imgstore.h \ | |
94 log.h \ | |
95 mime.h \ | |
96 network.h \ | |
97 notify.h \ | |
98 ntlm.h \ | |
99 plugin.h \ | |
100 pluginpref.h \ | |
101 pounce.h \ | |
102 prefs.h \ | |
103 privacy.h \ | |
104 proxy.h \ | |
105 prpl.h \ | |
106 request.h \ | |
107 roomlist.h \ | |
108 savedstatuses.h \ | |
109 server.h \ | |
110 signals.h \ | |
14194
ebe83aee29d2
[gaim-migrate @ 16866]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14192
diff
changeset
|
111 dnsquery.h \ |
14192 | 112 dnssrv.h \ |
113 status.h \ | |
114 stringref.h \ | |
115 stun.h \ | |
116 sound.h \ | |
117 sslconn.h \ | |
118 upnp.h \ | |
119 util.h \ | |
120 value.h \ | |
121 version.h \ | |
122 xmlnode.h \ | |
123 whiteboard.h | |
124 | |
125 if ENABLE_DBUS | |
126 | |
127 CLEANFILES = \ | |
128 dbus-bindings.c \ | |
129 dbus-client-binding.c \ | |
130 dbus-client-binding.h \ | |
131 dbus-types.c \ | |
132 dbus-types.h \ | |
133 gaim-client-bindings.c \ | |
134 gaim-client-bindings.h \ | |
135 gaim.service | |
136 | |
137 # gaim dbus server | |
138 | |
139 dbus_sources = dbus-server.c dbus-useful.c | |
140 dbus_headers = dbus-bindings.h dbus-gaim.h dbus-server.h dbus-useful.h dbus-define-api.h | |
141 | |
14352
9c884b84afb9
[gaim-migrate @ 17058]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14228
diff
changeset
|
142 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 | 143 |
144 gaim_build_coreheaders = $(addprefix $(srcdir)/, $(gaim_coreheaders)) | |
145 dbus_build_exported = $(addprefix $(srcdir)/, $(dbus_exported)) | |
146 | |
147 dbus-types.c: dbus-analyze-types.py $(gaim_coreheaders) | |
148 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=GAIM_DBUS_DEFINE_TYPE\(%s\) > $@ | |
149 | |
150 dbus-types.h: dbus-analyze-types.py $(dbus_coreheaders) | |
151 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=GAIM_DBUS_DECLARE_TYPE\(%s\) > $@ | |
152 | |
153 dbus-bindings.c: dbus-analyze-functions.py $(dbus_exported) | |
154 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py > $@ | |
155 | |
156 dbus-server.$(OBJEXT): dbus-bindings.c dbus-types.c dbus-types.h | |
157 dbus-server.lo: dbus-bindings.c dbus-types.c dbus-types.h | |
158 $(libgaim_la_OBJECTS): dbus-types.h | |
159 | |
160 # libgaim-client | |
161 | |
162 libgaim_client_lib = libgaim-client.la | |
163 | |
164 libgaim_client_la_SOURCES = gaim-client.c gaim-client.h | |
165 | |
166 libgaim_client_la_LIBADD = $(DBUS_LIBS) | |
167 | |
168 gaim-client-bindings.c: dbus-analyze-functions.py $(dbus_exported) | |
169 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client > $@ | |
170 | |
171 gaim-client-bindings.h: dbus-analyze-types.py dbus-analyze-functions.py $(gaim_coreheaders) $(dbus_exported) | |
172 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --keyword=enum --verbatim > $@ | |
173 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client --headers >> $@ | |
174 | |
175 $(libgaim_client_la_OBJECTS): gaim-client-bindings.h gaim-client-bindings.c | |
176 | |
177 # gaim-client-example | |
178 | |
179 gaim_client_example_SOURCES = gaim-client-example.c | |
180 | |
181 gaim_client_example_DEPENDENCIES = @LIBOBJS@ libgaim-client.la | |
182 | |
183 gaim_client_example_LDADD = \ | |
184 @LIBOBJS@ \ | |
185 libgaim-client.la \ | |
186 $(GLIB_LIBS) \ | |
187 $(DBUS_LIBS) | |
188 | |
189 bin_PROGRAMS = gaim-client-example | |
190 | |
191 gaim-client-example.$(OBJEXT): gaim-client-bindings.h | |
192 | |
193 # scripts | |
194 | |
14520
82b59abcaee4
[gaim-migrate @ 17240]
Richard Laager <rlaager@wiktel.com>
parents:
14514
diff
changeset
|
195 bin_SCRIPTS = gaim-notifications-example gaim-remote gaim-send gaim-send-async gaim-url-handler |
14192 | 196 |
197 endif | |
198 | |
199 lib_LTLIBRARIES = libgaim.la $(libgaim_client_lib) | |
200 | |
201 libgaim_la_SOURCES = \ | |
202 $(gaim_coresources) \ | |
203 $(dbus_sources) | |
204 | |
205 noinst_HEADERS= \ | |
206 internal.h \ | |
207 prefix.h | |
208 | |
209 libgaimincludedir=$(includedir)/gaim | |
210 libgaiminclude_HEADERS = \ | |
211 $(gaim_coreheaders) \ | |
212 $(dbus_headers) | |
213 | |
14228 | 214 libgaim_la_DEPENDENCIES = @LIBOBJS@ $(STATIC_LINK_LIBS) |
14192 | 215 libgaim_la_LDFLAGS = -export-dynamic |
216 libgaim_la_LIBADD = \ | |
217 @LIBOBJS@ \ | |
218 $(DBUS_LIBS) \ | |
219 $(GLIB_LIBS) \ | |
14217
28b1cebaa328
[gaim-migrate @ 16898]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14194
diff
changeset
|
220 $(LIBXML_LIBS) \ |
14192 | 221 $(STATIC_LINK_LIBS) \ |
222 $(INTLLIBS) \ | |
223 -lm | |
224 | |
225 AM_CPPFLAGS = \ | |
226 -DBR_PTHREADS=0 \ | |
227 -DDATADIR=\"$(datadir)\" \ | |
228 -DLIBDIR=\"$(libdir)/gaim/\" \ | |
229 -DLOCALEDIR=\"$(datadir)/locale\" \ | |
230 -DSYSCONFDIR=\"$(sysconfdir)\" \ | |
14217
28b1cebaa328
[gaim-migrate @ 16898]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14194
diff
changeset
|
231 $(GLIB_CFLAGS) \ |
14192 | 232 $(DEBUG_CFLAGS) \ |
233 $(DBUS_CFLAGS) \ | |
234 $(LIBXML_CFLAGS) |