Mercurial > pidgin.yaz
annotate libgaim/Makefile.am @ 14514:bb99380c67c3
[gaim-migrate @ 17234]
Install gaim-notifications-example in the bin directory
instead of a docs directory. Is this a good idea? Maybe
we shouldn't install it anywhere (and let rpms and dpkgs
put it in the docs directory?)
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 11 Sep 2006 01:07:45 +0000 |
parents | 108ab3e74d51 |
children | 82b59abcaee4 |
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 win32/global.mak \ | |
10 win32/libc_interface.c \ | |
11 win32/libc_interface.h \ | |
12 win32/libc_internal.h \ | |
14467
fd45915c6988
[gaim-migrate @ 17183]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14452
diff
changeset
|
13 win32/libgaimrc.rc.in \ |
fd45915c6988
[gaim-migrate @ 17183]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14452
diff
changeset
|
14 win32/rules.mak \ |
fd45915c6988
[gaim-migrate @ 17183]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14452
diff
changeset
|
15 win32/targets.mak \ |
14192 | 16 win32/wgaimerror.h \ |
17 win32/win32dep.c \ | |
14452 | 18 win32/win32dep.h |
14192 | 19 |
20 SUBDIRS = plugins protocols | |
21 | |
22 gaim_coresources = \ | |
23 account.c \ | |
24 accountopt.c \ | |
25 blist.c \ | |
26 buddyicon.c \ | |
27 cipher.c \ | |
28 circbuffer.c \ | |
29 cmds.c \ | |
30 connection.c \ | |
31 conversation.c \ | |
32 core.c \ | |
33 debug.c \ | |
34 desktopitem.c \ | |
35 eventloop.c \ | |
36 ft.c \ | |
37 idle.c \ | |
38 imgstore.c \ | |
39 log.c \ | |
40 mime.c \ | |
41 network.c \ | |
42 ntlm.c \ | |
43 notify.c \ | |
44 plugin.c \ | |
45 pluginpref.c \ | |
46 pounce.c \ | |
47 prefix.c \ | |
48 prefs.c \ | |
49 privacy.c \ | |
50 proxy.c \ | |
51 prpl.c \ | |
52 request.c \ | |
53 roomlist.c \ | |
54 savedstatuses.c \ | |
55 server.c \ | |
56 signals.c \ | |
14194
ebe83aee29d2
[gaim-migrate @ 16866]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14192
diff
changeset
|
57 dnsquery.c \ |
14192 | 58 dnssrv.c\ |
59 status.c \ | |
60 stringref.c \ | |
61 stun.c \ | |
62 sound.c \ | |
63 sslconn.c \ | |
64 upnp.c \ | |
65 util.c \ | |
66 value.c \ | |
67 xmlnode.c \ | |
68 whiteboard.c | |
69 | |
70 gaim_coreheaders = \ | |
71 account.h \ | |
72 accountopt.h \ | |
73 blist.h \ | |
74 buddyicon.h \ | |
75 cipher.h \ | |
76 circbuffer.h \ | |
77 cmds.h \ | |
78 connection.h \ | |
79 conversation.h \ | |
80 core.h \ | |
81 dbus-maybe.h \ | |
82 debug.h \ | |
83 desktopitem.h \ | |
84 eventloop.h \ | |
85 ft.h \ | |
14507 | 86 gaim.h \ |
14192 | 87 idle.h \ |
88 imgstore.h \ | |
89 log.h \ | |
90 mime.h \ | |
91 network.h \ | |
92 notify.h \ | |
93 ntlm.h \ | |
94 plugin.h \ | |
95 pluginpref.h \ | |
96 pounce.h \ | |
97 prefs.h \ | |
98 privacy.h \ | |
99 proxy.h \ | |
100 prpl.h \ | |
101 request.h \ | |
102 roomlist.h \ | |
103 savedstatuses.h \ | |
104 server.h \ | |
105 signals.h \ | |
14194
ebe83aee29d2
[gaim-migrate @ 16866]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14192
diff
changeset
|
106 dnsquery.h \ |
14192 | 107 dnssrv.h \ |
108 status.h \ | |
109 stringref.h \ | |
110 stun.h \ | |
111 sound.h \ | |
112 sslconn.h \ | |
113 upnp.h \ | |
114 util.h \ | |
115 value.h \ | |
116 version.h \ | |
117 xmlnode.h \ | |
118 whiteboard.h | |
119 | |
120 if ENABLE_DBUS | |
121 | |
122 CLEANFILES = \ | |
123 dbus-bindings.c \ | |
124 dbus-client-binding.c \ | |
125 dbus-client-binding.h \ | |
126 dbus-types.c \ | |
127 dbus-types.h \ | |
128 gaim-client-bindings.c \ | |
129 gaim-client-bindings.h \ | |
130 gaim.service | |
131 | |
132 # gaim dbus server | |
133 | |
134 dbus_sources = dbus-server.c dbus-useful.c | |
135 dbus_headers = dbus-bindings.h dbus-gaim.h dbus-server.h dbus-useful.h dbus-define-api.h | |
136 | |
14352
9c884b84afb9
[gaim-migrate @ 17058]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14228
diff
changeset
|
137 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 | 138 |
139 gaim_build_coreheaders = $(addprefix $(srcdir)/, $(gaim_coreheaders)) | |
140 dbus_build_exported = $(addprefix $(srcdir)/, $(dbus_exported)) | |
141 | |
142 dbus-types.c: dbus-analyze-types.py $(gaim_coreheaders) | |
143 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=GAIM_DBUS_DEFINE_TYPE\(%s\) > $@ | |
144 | |
145 dbus-types.h: dbus-analyze-types.py $(dbus_coreheaders) | |
146 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=GAIM_DBUS_DECLARE_TYPE\(%s\) > $@ | |
147 | |
148 dbus-bindings.c: dbus-analyze-functions.py $(dbus_exported) | |
149 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py > $@ | |
150 | |
151 dbus-server.$(OBJEXT): dbus-bindings.c dbus-types.c dbus-types.h | |
152 dbus-server.lo: dbus-bindings.c dbus-types.c dbus-types.h | |
153 $(libgaim_la_OBJECTS): dbus-types.h | |
154 | |
155 # libgaim-client | |
156 | |
157 libgaim_client_lib = libgaim-client.la | |
158 | |
159 libgaim_client_la_SOURCES = gaim-client.c gaim-client.h | |
160 | |
161 libgaim_client_la_LIBADD = $(DBUS_LIBS) | |
162 | |
163 gaim-client-bindings.c: dbus-analyze-functions.py $(dbus_exported) | |
164 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client > $@ | |
165 | |
166 gaim-client-bindings.h: dbus-analyze-types.py dbus-analyze-functions.py $(gaim_coreheaders) $(dbus_exported) | |
167 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --keyword=enum --verbatim > $@ | |
168 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client --headers >> $@ | |
169 | |
170 $(libgaim_client_la_OBJECTS): gaim-client-bindings.h gaim-client-bindings.c | |
171 | |
172 # gaim-client-example | |
173 | |
174 gaim_client_example_SOURCES = gaim-client-example.c | |
175 | |
176 gaim_client_example_DEPENDENCIES = @LIBOBJS@ libgaim-client.la | |
177 | |
178 gaim_client_example_LDADD = \ | |
179 @LIBOBJS@ \ | |
180 libgaim-client.la \ | |
181 $(GLIB_LIBS) \ | |
182 $(DBUS_LIBS) | |
183 | |
184 bin_PROGRAMS = gaim-client-example | |
185 | |
186 gaim-client-example.$(OBJEXT): gaim-client-bindings.h | |
187 | |
188 # scripts | |
189 | |
14514 | 190 bin_SCRIPTS = gaim-notifications-example gaim-remote gaim-send gaim-send-async |
14192 | 191 |
192 endif | |
193 | |
194 lib_LTLIBRARIES = libgaim.la $(libgaim_client_lib) | |
195 | |
196 libgaim_la_SOURCES = \ | |
197 $(gaim_coresources) \ | |
198 $(dbus_sources) | |
199 | |
200 noinst_HEADERS= \ | |
201 internal.h \ | |
202 prefix.h | |
203 | |
204 libgaimincludedir=$(includedir)/gaim | |
205 libgaiminclude_HEADERS = \ | |
206 $(gaim_coreheaders) \ | |
207 $(dbus_headers) | |
208 | |
14228 | 209 libgaim_la_DEPENDENCIES = @LIBOBJS@ $(STATIC_LINK_LIBS) |
14192 | 210 libgaim_la_LDFLAGS = -export-dynamic |
211 libgaim_la_LIBADD = \ | |
212 @LIBOBJS@ \ | |
213 $(DBUS_LIBS) \ | |
214 $(GLIB_LIBS) \ | |
14217
28b1cebaa328
[gaim-migrate @ 16898]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14194
diff
changeset
|
215 $(LIBXML_LIBS) \ |
14192 | 216 $(STATIC_LINK_LIBS) \ |
217 $(INTLLIBS) \ | |
218 -lm | |
219 | |
220 AM_CPPFLAGS = \ | |
221 -DBR_PTHREADS=0 \ | |
222 -DDATADIR=\"$(datadir)\" \ | |
223 -DLIBDIR=\"$(libdir)/gaim/\" \ | |
224 -DLOCALEDIR=\"$(datadir)/locale\" \ | |
225 -DSYSCONFDIR=\"$(sysconfdir)\" \ | |
14217
28b1cebaa328
[gaim-migrate @ 16898]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14194
diff
changeset
|
226 $(GLIB_CFLAGS) \ |
14192 | 227 $(DEBUG_CFLAGS) \ |
228 $(DBUS_CFLAGS) \ | |
229 $(LIBXML_CFLAGS) |