nexmon – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | include $(top_srcdir)/glib.mk |
2 | |||
3 | SUBDIRS = gdbus-2.0/codegen |
||
4 | |||
5 | if OS_UNIX |
||
6 | SUBDIRS += xdgmime |
||
7 | endif |
||
8 | |||
9 | if OS_WIN32_AND_DLL_COMPILATION |
||
10 | if MS_LIB_AVAILABLE |
||
11 | noinst_DATA += gio-2.0.lib |
||
12 | |||
13 | install_ms_lib_cmd = $(INSTALL) gio-2.0.lib $(DESTDIR)$(libdir) |
||
14 | uninstall_ms_lib_cmd = -rm $(DESTDIR)$(libdir)/gio-2.0.lib |
||
15 | endif |
||
16 | endif |
||
17 | |||
18 | install-ms-lib: |
||
19 | $(install_ms_lib_cmd) |
||
20 | |||
21 | uninstall-ms-lib: |
||
22 | $(uninstall_ms_lib_cmd) |
||
23 | |||
24 | AM_CPPFLAGS = \ |
||
25 | -DG_LOG_DOMAIN=\"GLib-GIO\" \ |
||
26 | $(gmodule_INCLUDES) \ |
||
27 | $(GLIB_DEBUG_FLAGS) \ |
||
28 | -DGIO_COMPILATION \ |
||
29 | -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" |
||
30 | |||
31 | AM_CFLAGS = $(GLIB_WARN_CFLAGS) |
||
32 | |||
33 | lib_LTLIBRARIES = libgio-2.0.la |
||
34 | |||
35 | gdbus_headers = \ |
||
36 | gdbusauthobserver.h \ |
||
37 | gcredentials.h \ |
||
38 | gdbusutils.h \ |
||
39 | gdbuserror.h \ |
||
40 | gdbusaddress.h \ |
||
41 | gdbusconnection.h \ |
||
42 | gdbusmessage.h \ |
||
43 | gdbusnameowning.h \ |
||
44 | gdbusnamewatching.h \ |
||
45 | gdbusproxy.h \ |
||
46 | gdbusintrospection.h \ |
||
47 | gdbusmethodinvocation.h \ |
||
48 | gdbusserver.h \ |
||
49 | gdbusinterface.h \ |
||
50 | gdbusinterfaceskeleton.h \ |
||
51 | gdbusobject.h \ |
||
52 | gdbusobjectskeleton.h \ |
||
53 | gdbusobjectproxy.h \ |
||
54 | gdbusobjectmanager.h \ |
||
55 | gdbusobjectmanagerclient.h \ |
||
56 | gdbusobjectmanagerserver.h \ |
||
57 | gtestdbus.h \ |
||
58 | $(NULL) |
||
59 | |||
60 | gdbus_sources = \ |
||
61 | gdbusutils.h gdbusutils.c \ |
||
62 | gdbusaddress.h gdbusaddress.c \ |
||
63 | gdbusauthobserver.h gdbusauthobserver.c \ |
||
64 | gdbusauth.h gdbusauth.c \ |
||
65 | gdbusauthmechanism.h gdbusauthmechanism.c \ |
||
66 | gdbusauthmechanismanon.h gdbusauthmechanismanon.c \ |
||
67 | gdbusauthmechanismexternal.h gdbusauthmechanismexternal.c \ |
||
68 | gdbusauthmechanismsha1.h gdbusauthmechanismsha1.c \ |
||
69 | gdbuserror.h gdbuserror.c \ |
||
70 | gdbusconnection.h gdbusconnection.c \ |
||
71 | gdbusmessage.h gdbusmessage.c \ |
||
72 | gdbusnameowning.h gdbusnameowning.c \ |
||
73 | gdbusnamewatching.h gdbusnamewatching.c \ |
||
74 | gdbusproxy.h gdbusproxy.c \ |
||
75 | gdbusprivate.h gdbusprivate.c \ |
||
76 | gdbusintrospection.h gdbusintrospection.c \ |
||
77 | gdbusmethodinvocation.h gdbusmethodinvocation.c \ |
||
78 | gdbusserver.h gdbusserver.c \ |
||
79 | gdbusinterface.h gdbusinterface.c \ |
||
80 | gdbusinterfaceskeleton.h gdbusinterfaceskeleton.c \ |
||
81 | gdbusobject.h gdbusobject.c \ |
||
82 | gdbusobjectskeleton.h gdbusobjectskeleton.c \ |
||
83 | gdbusobjectproxy.h gdbusobjectproxy.c \ |
||
84 | gdbusobjectmanager.h gdbusobjectmanager.c \ |
||
85 | gdbusobjectmanagerclient.h gdbusobjectmanagerclient.c \ |
||
86 | gdbusobjectmanagerserver.h gdbusobjectmanagerserver.c \ |
||
87 | gtestdbus.h gtestdbus.c \ |
||
88 | $(NULL) |
||
89 | |||
90 | # These are not built into the library yet |
||
91 | EXTRA_DIST += gdbusdaemon.c gdbusdaemon.h dbus-daemon.xml |
||
92 | |||
93 | gdbus-daemon-generated.h gdbus-daemon-generated.c: $(srcdir)/dbus-daemon.xml $(srcdir)/gdbus-2.0/codegen/gdbus-codegen.in |
||
94 | $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \ |
||
95 | UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \ |
||
96 | $(PYTHON) $(srcdir)/gdbus-2.0/codegen/gdbus-codegen.in \ |
||
97 | --interface-prefix org. \ |
||
98 | --generate-c-code gdbus-daemon-generated \ |
||
99 | --c-namespace _G \ |
||
100 | $(srcdir)/dbus-daemon.xml \ |
||
101 | $(NULL) |
||
102 | |||
103 | settings_headers = \ |
||
104 | gsettingsbackend.h \ |
||
105 | gsettingsschema.h \ |
||
106 | gsettings.h |
||
107 | |||
108 | settings_sources = \ |
||
109 | gvdb/gvdb-format.h \ |
||
110 | gvdb/gvdb-reader.h \ |
||
111 | gvdb/gvdb-reader.c \ |
||
112 | gdelayedsettingsbackend.h \ |
||
113 | gdelayedsettingsbackend.c \ |
||
114 | gkeyfilesettingsbackend.c \ |
||
115 | gmemorysettingsbackend.c \ |
||
116 | gnullsettingsbackend.c \ |
||
117 | gsettingsbackendinternal.h \ |
||
118 | gsettingsbackend.c \ |
||
119 | gsettingsschema.h \ |
||
120 | gsettingsschema-internal.h \ |
||
121 | gsettingsschema.c \ |
||
122 | gsettings-mapping.h \ |
||
123 | gsettings-mapping.c \ |
||
124 | gsettings.c |
||
125 | |||
126 | if OS_WIN32 |
||
127 | settings_sources += \ |
||
128 | gregistrysettingsbackend.h \ |
||
129 | gregistrysettingsbackend.c |
||
130 | endif |
||
131 | |||
132 | if OS_COCOA |
||
133 | settings_sources += \ |
||
134 | gnextstepsettingsbackend.c |
||
135 | endif |
||
136 | |||
137 | application_headers = \ |
||
138 | gapplication.h \ |
||
139 | gapplicationcommandline.h \ |
||
140 | \ |
||
141 | gactiongroup.h \ |
||
142 | gactionmap.h \ |
||
143 | gsimpleactiongroup.h \ |
||
144 | gremoteactiongroup.h \ |
||
145 | gactiongroupexporter.h \ |
||
146 | gdbusactiongroup.h \ |
||
147 | gaction.h \ |
||
148 | gpropertyaction.h \ |
||
149 | gsimpleaction.h \ |
||
150 | \ |
||
151 | gmenumodel.h \ |
||
152 | gmenu.h \ |
||
153 | gmenuexporter.h \ |
||
154 | gdbusmenumodel.h \ |
||
155 | gnotification.h \ |
||
156 | $(NULL) |
||
157 | |||
158 | application_sources = \ |
||
159 | gapplication.c \ |
||
160 | gapplicationcommandline.c \ |
||
161 | gapplicationimpl-dbus.c \ |
||
162 | gapplicationimpl.h \ |
||
163 | \ |
||
164 | gactiongroup.c \ |
||
165 | gactionmap.c \ |
||
166 | gsimpleactiongroup.c \ |
||
167 | gremoteactiongroup.c \ |
||
168 | gactiongroupexporter.c \ |
||
169 | gdbusactiongroup-private.h \ |
||
170 | gdbusactiongroup.c \ |
||
171 | gaction.c \ |
||
172 | gpropertyaction.c \ |
||
173 | gsimpleaction.c \ |
||
174 | \ |
||
175 | gmenumodel.c \ |
||
176 | gmenu.c \ |
||
177 | gmenuexporter.c \ |
||
178 | gdbusmenumodel.c \ |
||
179 | gnotification-private.h \ |
||
180 | gnotificationbackend.h \ |
||
181 | gnotification.c \ |
||
182 | gnotificationbackend.c \ |
||
183 | $(NULL) |
||
184 | |||
185 | local_sources = \ |
||
186 | ghttpproxy.c \ |
||
187 | ghttpproxy.h \ |
||
188 | glocalfile.c \ |
||
189 | glocalfile.h \ |
||
190 | glocalfileenumerator.c \ |
||
191 | glocalfileenumerator.h \ |
||
192 | glocalfileinfo.c \ |
||
193 | glocalfileinfo.h \ |
||
194 | glocalfileinputstream.c \ |
||
195 | glocalfileinputstream.h \ |
||
196 | glocalfilemonitor.c \ |
||
197 | glocalfilemonitor.h \ |
||
198 | glocalfileoutputstream.c \ |
||
199 | glocalfileoutputstream.h \ |
||
200 | glocalfileiostream.c \ |
||
201 | glocalfileiostream.h \ |
||
202 | glocalvfs.c \ |
||
203 | glocalvfs.h \ |
||
204 | gsocks4proxy.c \ |
||
205 | gsocks4proxy.h \ |
||
206 | gsocks4aproxy.c \ |
||
207 | gsocks4aproxy.h \ |
||
208 | gsocks5proxy.c \ |
||
209 | gsocks5proxy.h \ |
||
210 | thumbnail-verify.h \ |
||
211 | thumbnail-verify.c \ |
||
212 | $(NULL) |
||
213 | |||
214 | platform_libadd = |
||
215 | platform_deps = |
||
216 | appinfo_sources = |
||
217 | |||
218 | if HAVE_INOTIFY |
||
219 | SUBDIRS += inotify |
||
220 | platform_libadd += inotify/libinotify.la |
||
221 | platform_deps += inotify/libinotify.la |
||
222 | endif |
||
223 | |||
224 | if HAVE_KQUEUE |
||
225 | SUBDIRS += kqueue |
||
226 | platform_libadd += kqueue/libkqueue.la |
||
227 | platform_deps += kqueue/libkqueue.la |
||
228 | endif |
||
229 | |||
230 | if OS_WIN32 |
||
231 | SUBDIRS += win32 |
||
232 | platform_libadd += win32/libgiowin32.la |
||
233 | platform_deps += win32/libgiowin32.la |
||
234 | endif |
||
235 | |||
236 | SUBDIRS += . tests |
||
237 | |||
238 | if HAVE_FAM |
||
239 | SUBDIRS += fam |
||
240 | endif |
||
241 | |||
242 | if OS_UNIX |
||
243 | appinfo_sources += gdesktopappinfo.c |
||
244 | platform_libadd += xdgmime/libxdgmime.la |
||
245 | platform_deps += xdgmime/libxdgmime.la |
||
246 | unix_sources = \ |
||
247 | gfiledescriptorbased.c \ |
||
248 | gunixconnection.c \ |
||
249 | gunixcredentialsmessage.c \ |
||
250 | gunixfdlist.c \ |
||
251 | gunixfdmessage.c \ |
||
252 | gunixmount.c \ |
||
253 | gunixmount.h \ |
||
254 | gunixmounts.c \ |
||
255 | gunixsocketaddress.c \ |
||
256 | gunixvolume.c \ |
||
257 | gunixvolume.h \ |
||
258 | gunixvolumemonitor.c \ |
||
259 | gunixvolumemonitor.h \ |
||
260 | gunixinputstream.c \ |
||
261 | gunixoutputstream.c \ |
||
262 | gcontenttype.c \ |
||
263 | gcontenttypeprivate.h \ |
||
264 | gfdonotificationbackend.c \ |
||
265 | ggtknotificationbackend.c \ |
||
266 | $(NULL) |
||
267 | |||
268 | if OS_COCOA |
||
269 | unix_sources += gcocoanotificationbackend.c |
||
270 | endif |
||
271 | |||
272 | giounixincludedir=$(includedir)/gio-unix-2.0/gio |
||
273 | giounixinclude_HEADERS = \ |
||
274 | gdesktopappinfo.h \ |
||
275 | gfiledescriptorbased.h \ |
||
276 | gunixconnection.h \ |
||
277 | gunixcredentialsmessage.h \ |
||
278 | gunixmounts.h \ |
||
279 | gunixfdlist.h \ |
||
280 | gunixfdmessage.h \ |
||
281 | gunixinputstream.h \ |
||
282 | gunixoutputstream.h \ |
||
283 | gunixsocketaddress.h \ |
||
284 | $(NULL) |
||
285 | |||
286 | if HAVE_NETLINK |
||
287 | unix_sources += \ |
||
288 | gnetworkmonitornetlink.c \ |
||
289 | gnetworkmonitornetlink.h \ |
||
290 | gnetworkmonitornm.c \ |
||
291 | gnetworkmonitornm.h \ |
||
292 | $(NULL) |
||
293 | endif |
||
294 | endif |
||
295 | |||
296 | gdbus_daemon_sources = \ |
||
297 | gdbusdaemon.c \ |
||
298 | gdbusdaemon.h \ |
||
299 | gdbus-daemon-generated.c \ |
||
300 | gdbus-daemon-generated.h \ |
||
301 | $(NULL) |
||
302 | |||
303 | win32_actual_sources = \ |
||
304 | $(gdbus_daemon_sources) \ |
||
305 | gwin32registrykey.c \ |
||
306 | gwin32registrykey.h \ |
||
307 | gcontenttype-win32.c \ |
||
308 | gwin32mount.c \ |
||
309 | gwin32mount.h \ |
||
310 | gwin32volumemonitor.c \ |
||
311 | gwin32volumemonitor.h \ |
||
312 | gwin32inputstream.c \ |
||
313 | gwin32outputstream.c \ |
||
314 | gwin32outputstream.h \ |
||
315 | gwin32networking.h \ |
||
316 | $(NULL) |
||
317 | |||
318 | win32_more_sources_for_vcproj = \ |
||
319 | gwin32appinfo.c \ |
||
320 | gregistrysettingsbackend.c \ |
||
321 | win32/gwinhttpfile.c \ |
||
322 | win32/gwinhttpfileinputstream.c \ |
||
323 | win32/gwinhttpfileoutputstream.c \ |
||
324 | win32/gwinhttpvfs.c \ |
||
325 | win32/gwin32fsmonitorutils.c \ |
||
326 | win32/gwin32filemonitor.c |
||
327 | |||
328 | if OS_WIN32 |
||
329 | appinfo_sources += gwin32appinfo.c gwin32appinfo.h |
||
330 | platform_libadd += -lshlwapi -lws2_32 -ldnsapi -liphlpapi |
||
331 | win32_sources = $(win32_actual_sources) |
||
332 | |||
333 | giowin32includedir=$(includedir)/gio-win32-2.0/gio |
||
334 | giowin32include_HEADERS = \ |
||
335 | gwin32inputstream.h \ |
||
336 | gwin32outputstream.h \ |
||
337 | $(NULL) |
||
338 | |||
339 | endif |
||
340 | |||
341 | libgio_2_0_la_SOURCES = \ |
||
342 | gappinfo.c \ |
||
343 | gappinfoprivate.h \ |
||
344 | gasynchelper.c \ |
||
345 | gasynchelper.h \ |
||
346 | gasyncinitable.c \ |
||
347 | gasyncresult.c \ |
||
348 | gbufferedinputstream.c \ |
||
349 | gbufferedoutputstream.c \ |
||
350 | gbytesicon.c \ |
||
351 | gcancellable.c \ |
||
352 | gcharsetconverter.c \ |
||
353 | gcontextspecificgroup.c \ |
||
354 | gcontextspecificgroup.h \ |
||
355 | gconverter.c \ |
||
356 | gconverterinputstream.c \ |
||
357 | gconverteroutputstream.c \ |
||
358 | gcredentials.c \ |
||
359 | gcredentialsprivate.h \ |
||
360 | gdatagrambased.c \ |
||
361 | gdatainputstream.c \ |
||
362 | gdataoutputstream.c \ |
||
363 | gdrive.c \ |
||
364 | gdummyfile.h \ |
||
365 | gdummyfile.c \ |
||
366 | gdummyproxyresolver.c \ |
||
367 | gdummyproxyresolver.h \ |
||
368 | gdummytlsbackend.c \ |
||
369 | gdummytlsbackend.h \ |
||
370 | gemblem.h \ |
||
371 | gemblem.c \ |
||
372 | gemblemedicon.h \ |
||
373 | gemblemedicon.c \ |
||
374 | gfile.c \ |
||
375 | gfileattribute.c \ |
||
376 | gfileattribute-priv.h \ |
||
377 | gfileenumerator.c \ |
||
378 | gfileicon.c \ |
||
379 | gfileinfo.c \ |
||
380 | gfileinfo-priv.h \ |
||
381 | gfileinputstream.c \ |
||
382 | gfilemonitor.c \ |
||
383 | gfilenamecompleter.c \ |
||
384 | gfileoutputstream.c \ |
||
385 | gfileiostream.c \ |
||
386 | gfilterinputstream.c \ |
||
387 | gfilteroutputstream.c \ |
||
388 | gicon.c \ |
||
389 | ginetaddress.c \ |
||
390 | ginetaddressmask.c \ |
||
391 | ginetsocketaddress.c \ |
||
392 | ginitable.c \ |
||
393 | ginputstream.c \ |
||
394 | gioenums.h \ |
||
395 | gioerror.c \ |
||
396 | giomodule.c \ |
||
397 | giomodule-priv.h \ |
||
398 | gioscheduler.c \ |
||
399 | giostream.c \ |
||
400 | gioprivate.h \ |
||
401 | giowin32-priv.h \ |
||
402 | gloadableicon.c \ |
||
403 | gmount.c \ |
||
404 | gmemoryinputstream.c \ |
||
405 | gmemoryoutputstream.c \ |
||
406 | gmountoperation.c \ |
||
407 | gnativevolumemonitor.c \ |
||
408 | gnativevolumemonitor.h \ |
||
409 | gnativesocketaddress.c \ |
||
410 | gnativesocketaddress.h \ |
||
411 | gnetworkaddress.c \ |
||
412 | gnetworking.c \ |
||
413 | gnetworkingprivate.h \ |
||
414 | gnetworkmonitor.c \ |
||
415 | gnetworkmonitorbase.c \ |
||
416 | gnetworkmonitorbase.h \ |
||
417 | gnetworkservice.c \ |
||
418 | goutputstream.c \ |
||
419 | gpermission.c \ |
||
420 | gpollableinputstream.c \ |
||
421 | gpollableoutputstream.c \ |
||
422 | gpollableutils.c \ |
||
423 | gpollfilemonitor.c \ |
||
424 | gpollfilemonitor.h \ |
||
425 | gproxy.c \ |
||
426 | gproxyaddress.c \ |
||
427 | gproxyaddressenumerator.c \ |
||
428 | gproxyresolver.c \ |
||
429 | gresolver.c \ |
||
430 | gresource.c \ |
||
431 | gresourcefile.c \ |
||
432 | gresourcefile.h \ |
||
433 | gseekable.c \ |
||
434 | gsimpleasyncresult.c \ |
||
435 | gsimpleiostream.c \ |
||
436 | gsimplepermission.c \ |
||
437 | gsocket.c \ |
||
438 | gsocketaddress.c \ |
||
439 | gsocketaddressenumerator.c \ |
||
440 | gsocketclient.c \ |
||
441 | gsocketconnectable.c \ |
||
442 | gsocketconnection.c \ |
||
443 | gsocketcontrolmessage.c \ |
||
444 | gsocketinputstream.c \ |
||
445 | gsocketinputstream.h \ |
||
446 | gsocketlistener.c \ |
||
447 | gsocketoutputstream.c \ |
||
448 | gsocketoutputstream.h \ |
||
449 | gsubprocesslauncher.c \ |
||
450 | gsubprocess.c \ |
||
451 | gsubprocesslauncher-private.h \ |
||
452 | gsocketservice.c \ |
||
453 | gsrvtarget.c \ |
||
454 | gsimpleproxyresolver.c \ |
||
455 | gtask.c \ |
||
456 | gtcpconnection.c \ |
||
457 | gtcpwrapperconnection.c \ |
||
458 | gthreadedsocketservice.c\ |
||
459 | gthemedicon.c \ |
||
460 | gthreadedresolver.c \ |
||
461 | gthreadedresolver.h \ |
||
462 | gtlsbackend.c \ |
||
463 | gtlscertificate.c \ |
||
464 | gtlsclientconnection.c \ |
||
465 | gtlsconnection.c \ |
||
466 | gtlsdatabase.c \ |
||
467 | gtlsfiledatabase.c \ |
||
468 | gtlsinteraction.c \ |
||
469 | gtlspassword.c \ |
||
470 | gtlsserverconnection.c \ |
||
471 | gdtlsconnection.c \ |
||
472 | gdtlsclientconnection.c \ |
||
473 | gdtlsserverconnection.c \ |
||
474 | gunionvolumemonitor.c \ |
||
475 | gunionvolumemonitor.h \ |
||
476 | gvfs.c \ |
||
477 | gvolume.c \ |
||
478 | gvolumemonitor.c \ |
||
479 | gzlibcompressor.c \ |
||
480 | gzlibdecompressor.c \ |
||
481 | gmountprivate.h \ |
||
482 | gioenumtypes.h \ |
||
483 | gioenumtypes.c \ |
||
484 | glistmodel.c \ |
||
485 | gliststore.c \ |
||
486 | $(appinfo_sources) \ |
||
487 | $(unix_sources) \ |
||
488 | $(win32_sources) \ |
||
489 | $(application_sources) \ |
||
490 | $(settings_sources) \ |
||
491 | $(gdbus_sources) \ |
||
492 | $(local_sources) \ |
||
493 | $(NULL) |
||
494 | |||
495 | EXTRA_DIST += strinfo.c |
||
496 | |||
497 | libgio_2_0_la_LIBADD = \ |
||
498 | $(top_builddir)/gobject/libgobject-2.0.la \ |
||
499 | $(top_builddir)/gmodule/libgmodule-2.0.la \ |
||
500 | $(top_builddir)/glib/libglib-2.0.la \ |
||
501 | $(platform_libadd) \ |
||
502 | $(ZLIB_LIBS) \ |
||
503 | $(SELINUX_LIBS) \ |
||
504 | $(GLIB_LIBS) \ |
||
505 | $(XATTR_LIBS) \ |
||
506 | $(NETWORK_LIBS) \ |
||
507 | $(NULL) |
||
508 | |||
509 | libgio_2_0_la_CPPFLAGS = $(ZLIB_CFLAGS) $(AM_CPPFLAGS) |
||
510 | |||
511 | if PLATFORM_WIN32 |
||
512 | no_undefined = -no-undefined |
||
513 | endif |
||
514 | |||
515 | if OS_WIN32_AND_DLL_COMPILATION |
||
516 | gio_win32_res = gio-win32-res.o |
||
517 | gio_win32_res_ldflag = -Wl,$(gio_win32_res) |
||
518 | endif |
||
519 | |||
520 | install-data-local: install-ms-lib |
||
521 | $(mkinstalldirs) $(DESTDIR)$(GIO_MODULE_DIR) |
||
522 | |||
523 | uninstall-local: uninstall-ms-lib |
||
524 | |||
525 | libgio_2_0_la_CFLAGS = $(AM_CFLAGS) $(GLIB_HIDDEN_VISIBILITY_CFLAGS) |
||
526 | libgio_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \ |
||
527 | $(gio_win32_res_ldflag) \ |
||
528 | -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ |
||
529 | -export-dynamic $(no_undefined) |
||
530 | |||
531 | if OS_COCOA |
||
532 | # This is dumb. The ObjC source file should be properly named .m |
||
533 | libgio_2_0_la_CFLAGS += -xobjective-c |
||
534 | libgio_2_0_la_LDFLAGS += -Wl,-framework,Foundation -Wl,-framework,AppKit |
||
535 | endif |
||
536 | |||
537 | libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps) |
||
538 | |||
539 | gio-win32-res.o: gio.rc |
||
540 | $(WINDRES) gio.rc $@ |
||
541 | |||
542 | gio_headers = \ |
||
543 | gappinfo.h \ |
||
544 | gasyncinitable.h \ |
||
545 | gasyncresult.h \ |
||
546 | gbufferedinputstream.h \ |
||
547 | gbufferedoutputstream.h \ |
||
548 | gbytesicon.h \ |
||
549 | gcancellable.h \ |
||
550 | gcontenttype.h \ |
||
551 | gcharsetconverter.h \ |
||
552 | gconverter.h \ |
||
553 | gconverterinputstream.h \ |
||
554 | gconverteroutputstream.h \ |
||
555 | gdatagrambased.h \ |
||
556 | gdatainputstream.h \ |
||
557 | gdataoutputstream.h \ |
||
558 | gdrive.h \ |
||
559 | gemblem.h \ |
||
560 | gemblemedicon.h \ |
||
561 | gfile.h \ |
||
562 | gfileattribute.h \ |
||
563 | gfileenumerator.h \ |
||
564 | gfileicon.h \ |
||
565 | gfileinfo.h \ |
||
566 | gfileinputstream.h \ |
||
567 | gfilemonitor.h \ |
||
568 | gfilenamecompleter.h \ |
||
569 | gfileoutputstream.h \ |
||
570 | gfileiostream.h \ |
||
571 | gfilterinputstream.h \ |
||
572 | gfilteroutputstream.h \ |
||
573 | gicon.h \ |
||
574 | ginetaddress.h \ |
||
575 | ginetaddressmask.h \ |
||
576 | ginetsocketaddress.h \ |
||
577 | ginputstream.h \ |
||
578 | ginitable.h \ |
||
579 | gio.h \ |
||
580 | gio-autocleanups.h \ |
||
581 | giotypes.h \ |
||
582 | gioenums.h \ |
||
583 | gioerror.h \ |
||
584 | giomodule.h \ |
||
585 | gioscheduler.h \ |
||
586 | giostream.h \ |
||
587 | gloadableicon.h \ |
||
588 | gmount.h \ |
||
589 | gmemoryinputstream.h \ |
||
590 | gmemoryoutputstream.h \ |
||
591 | gmountoperation.h \ |
||
592 | gnativevolumemonitor.h \ |
||
593 | gnetworkaddress.h \ |
||
594 | gnetworkmonitor.h \ |
||
595 | gnetworkservice.h \ |
||
596 | goutputstream.h \ |
||
597 | gpermission.h \ |
||
598 | gpollableinputstream.h \ |
||
599 | gpollableoutputstream.h \ |
||
600 | gpollableutils.h \ |
||
601 | gproxyaddress.h \ |
||
602 | gproxy.h \ |
||
603 | gproxyaddressenumerator.h \ |
||
604 | gproxyresolver.h \ |
||
605 | gresolver.h \ |
||
606 | gresource.h \ |
||
607 | gseekable.h \ |
||
608 | gsimpleasyncresult.h \ |
||
609 | gsimpleiostream.h \ |
||
610 | gsimplepermission.h \ |
||
611 | gsocket.h \ |
||
612 | gsocketaddress.h \ |
||
613 | gsocketaddressenumerator.h \ |
||
614 | gsocketclient.h \ |
||
615 | gsocketconnectable.h \ |
||
616 | gsocketconnection.h \ |
||
617 | gsocketcontrolmessage.h \ |
||
618 | gsocketlistener.h \ |
||
619 | gsocketservice.h \ |
||
620 | gsrvtarget.h \ |
||
621 | gsimpleproxyresolver.h \ |
||
622 | gtask.h \ |
||
623 | gsubprocess.h \ |
||
624 | gsubprocesslauncher.h \ |
||
625 | gtcpconnection.h \ |
||
626 | gtcpwrapperconnection.h \ |
||
627 | gthreadedsocketservice.h\ |
||
628 | gthemedicon.h \ |
||
629 | gtlsbackend.h \ |
||
630 | gtlscertificate.h \ |
||
631 | gtlsclientconnection.h \ |
||
632 | gtlsconnection.h \ |
||
633 | gtlsdatabase.h \ |
||
634 | gtlsfiledatabase.h \ |
||
635 | gtlsinteraction.h \ |
||
636 | gtlspassword.h \ |
||
637 | gtlsserverconnection.h \ |
||
638 | gdtlsconnection.h \ |
||
639 | gdtlsclientconnection.h \ |
||
640 | gdtlsserverconnection.h \ |
||
641 | gvfs.h \ |
||
642 | gvolume.h \ |
||
643 | gvolumemonitor.h \ |
||
644 | gzlibcompressor.h \ |
||
645 | gzlibdecompressor.h \ |
||
646 | glistmodel.h \ |
||
647 | gliststore.h \ |
||
648 | $(application_headers) \ |
||
649 | $(settings_headers) \ |
||
650 | $(gdbus_headers) \ |
||
651 | $(NULL) |
||
652 | |||
653 | gioincludedir=$(includedir)/glib-2.0/gio/ |
||
654 | gioinclude_HEADERS = \ |
||
655 | $(gio_headers) \ |
||
656 | gioenumtypes.h |
||
657 | |||
658 | nodist_gioinclude_HEADERS = \ |
||
659 | gnetworking.h \ |
||
660 | $(NULL) |
||
661 | |||
662 | # these sources (also mentioned above) are generated. |
||
663 | BUILT_SOURCES += \ |
||
664 | gconstructor_as_data.h \ |
||
665 | gioenumtypes.h \ |
||
666 | gioenumtypes.c \ |
||
667 | gdbus-daemon-generated.c \ |
||
668 | gdbus-daemon-generated.h \ |
||
669 | gnetworking.h \ |
||
670 | $(NULL) |
||
671 | |||
672 | EXTRA_DIST += \ |
||
673 | data-to-c.pl \ |
||
674 | gioenumtypes.h.template \ |
||
675 | gioenumtypes.c.template \ |
||
676 | makefile.msc \ |
||
677 | gio.rc.in \ |
||
678 | gschema.dtd \ |
||
679 | gconstructor_as_data.h \ |
||
680 | gnetworking.h.win32 \ |
||
681 | $(NULL) |
||
682 | |||
683 | BUILT_EXTRA_DIST += \ |
||
684 | gio.rc |
||
685 | |||
686 | # This is read by gobject-introspection/misc/ and gtk-doc |
||
687 | gio-public-headers.txt: Makefile |
||
688 | $(AM_V_GEN) echo $(gioinclude_HEADERS) $(giowin32include_HEADERS) $(giounixinclude_HEADERS) > $@.tmp && mv $@.tmp $@ |
||
689 | |||
690 | CLEANFILES += gdbus-daemon-generated.c gdbus-daemon-generated.h gio-public-headers.txt gconstructor_as_data.h |
||
691 | |||
692 | |||
693 | DISTCLEANFILES += \ |
||
694 | gioenumtypes.h \ |
||
695 | gioenumtypes.c |
||
696 | |||
697 | all-local: gio-public-headers.txt |
||
698 | |||
699 | gioenumtypes.h: $(gio_headers) gioenumtypes.h.template |
||
700 | $(AM_V_GEN) $(top_builddir)/gobject/glib-mkenums --template $(filter %.template,$^) $(filter-out %.template,$^) > \ |
||
701 | gioenumtypes.h.tmp && mv gioenumtypes.h.tmp gioenumtypes.h |
||
702 | |||
703 | gioenumtypes.c: $(gio_headers) gioenumtypes.c.template |
||
704 | $(AM_V_GEN) $(top_builddir)/gobject/glib-mkenums --template $(filter %.template,$^) $(filter-out %.template,$^) > \ |
||
705 | gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c |
||
706 | |||
707 | gio.def: libgio-2.0.la |
||
708 | $(AM_V_GEN) dumpbin.exe -exports .libs/libgio-2.0-0.dll | awk 'BEGIN { print "EXPORTS" } / +[[:digit:]]+ +[[:xdigit:]]+ +[[:xdigit:]]+/{ print $$4 }' > gio.def.tmp && mv gio.def.tmp gio.def |
||
709 | |||
710 | gio-2.0.lib: libgio-2.0.la gio.def |
||
711 | $(AM_V_GEN) lib.exe -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgio-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(builddir)/gio.def -out:$@ |
||
712 | |||
713 | bin_PROGRAMS = gio-querymodules glib-compile-schemas glib-compile-resources gsettings |
||
714 | |||
715 | glib_compile_resources_LDADD = libgio-2.0.la \ |
||
716 | $(top_builddir)/gobject/libgobject-2.0.la \ |
||
717 | $(top_builddir)/gmodule/libgmodule-2.0.la \ |
||
718 | $(top_builddir)/glib/libglib-2.0.la \ |
||
719 | $(NULL) |
||
720 | |||
721 | glib_compile_resources_SOURCES = \ |
||
722 | gvdb/gvdb-format.h \ |
||
723 | gvdb/gvdb-builder.h \ |
||
724 | gvdb/gvdb-builder.c \ |
||
725 | glib-compile-resources.c |
||
726 | |||
727 | gio_querymodules_SOURCES = gio-querymodules.c |
||
728 | gio_querymodules_LDADD = libgio-2.0.la \ |
||
729 | $(top_builddir)/gobject/libgobject-2.0.la \ |
||
730 | $(top_builddir)/gmodule/libgmodule-2.0.la \ |
||
731 | $(top_builddir)/glib/libglib-2.0.la \ |
||
732 | $(NULL) |
||
733 | |||
734 | gconstructor_as_data.h: $(top_srcdir)/glib/gconstructor.h data-to-c.pl |
||
735 | $(AM_V_GEN) $(srcdir)/data-to-c.pl $(top_srcdir)/glib/gconstructor.h gconstructor_code > $@.tmp && mv $@.tmp $@ |
||
736 | |||
737 | glib_compile_schemas_LDADD = $(top_builddir)/glib/libglib-2.0.la |
||
738 | glib_compile_schemas_SOURCES = \ |
||
739 | gconstructor_as_data.h \ |
||
740 | gvdb/gvdb-format.h \ |
||
741 | gvdb/gvdb-builder.h \ |
||
742 | gvdb/gvdb-builder.c \ |
||
743 | glib-compile-schemas.c |
||
744 | |||
745 | gsettings_LDADD = libgio-2.0.la \ |
||
746 | $(top_builddir)/gobject/libgobject-2.0.la \ |
||
747 | $(top_builddir)/gmodule/libgmodule-2.0.la \ |
||
748 | $(top_builddir)/glib/libglib-2.0.la \ |
||
749 | $(NULL) |
||
750 | gsettings_SOURCES = gsettings-tool.c |
||
751 | |||
752 | schemadir = $(datadir)/glib-2.0/schemas |
||
753 | dist_schema_DATA = gschema.dtd |
||
754 | |||
755 | itsdir = $(datadir)/gettext/its |
||
756 | dist_its_DATA = gschema.loc gschema.its |
||
757 | |||
758 | # ------------------------------------------------------------------------ |
||
759 | # gdbus(1) tool |
||
760 | |||
761 | bin_PROGRAMS += gdbus |
||
762 | gdbus_SOURCES = gdbus-tool.c |
||
763 | gdbus_LDADD = libgio-2.0.la \ |
||
764 | $(top_builddir)/gobject/libgobject-2.0.la \ |
||
765 | $(top_builddir)/gmodule/libgmodule-2.0.la \ |
||
766 | $(top_builddir)/glib/libglib-2.0.la \ |
||
767 | $(NULL) |
||
768 | |||
769 | if OS_UNIX |
||
770 | # ------------------------------------------------------------------------ |
||
771 | # gapplication(1) tool |
||
772 | bin_PROGRAMS += gapplication |
||
773 | gapplication_SOURCES = gapplication-tool.c |
||
774 | gapplication_LDADD = libgio-2.0.la \ |
||
775 | $(top_builddir)/gobject/libgobject-2.0.la \ |
||
776 | $(top_builddir)/gmodule/libgmodule-2.0.la \ |
||
777 | $(top_builddir)/glib/libglib-2.0.la \ |
||
778 | $(NULL) |
||
779 | endif |
||
780 | |||
781 | completiondir = $(datadir)/bash-completion/completions |
||
782 | completion_DATA = \ |
||
783 | completion/gapplication \ |
||
784 | completion/gdbus \ |
||
785 | completion/gsettings \ |
||
786 | completion/gresource |
||
787 | EXTRA_DIST += $(completion_DATA) |
||
788 | |||
789 | # ------------------------------------------------------------------------ |
||
790 | # gresource tool |
||
791 | |||
792 | bin_PROGRAMS += gresource |
||
793 | gresource_SOURCES = gresource-tool.c |
||
794 | gresource_CPPFLAGS = $(LIBELF_CFLAGS) $(AM_CPPFLAGS) |
||
795 | gresource_LDADD = libgio-2.0.la \ |
||
796 | $(top_builddir)/gobject/libgobject-2.0.la \ |
||
797 | $(top_builddir)/gmodule/libgmodule-2.0.la \ |
||
798 | $(top_builddir)/glib/libglib-2.0.la \ |
||
799 | $(LIBELF_LIBS) |
||
800 | |||
801 | # ------------------------------------------------------------------------ |
||
802 | # ------ MSVC Project File Generation ------ |
||
803 | MSVCPROJS = gio glib-compile-resources glib-compile-schemas |
||
804 | |||
805 | gio_FILES = $(libgio_2_0_la_SOURCES) $(win32_actual_sources) $(win32_more_sources_for_vcproj) |
||
806 | gio_EXCLUDES = gunix*.c|gdesktopappinfo.c|gnetworkmonitornetlink.c|gcontenttype.c|gnetworkmonitornm.c |
||
807 | |||
808 | gio_HEADERS_DIR = $(includedir)/glib-2.0/gio |
||
809 | gio_HEADERS_INST = $(gioinclude_HEADERS) $(nodist_gioinclude_HEADERS) |
||
810 | gio_HEADERS_EXCLUDES = dummy |
||
811 | |||
812 | glib_compile_resources_FILES = $(glib_compile_resources_SOURCES) |
||
813 | glib_compile_resources_EXCLUDES = dummy |
||
814 | |||
815 | glib_compile_schemas_FILES = $(glib_compile_schemas_SOURCES) |
||
816 | glib_compile_schemas_EXCLUDES = dummy |
||
817 | |||
818 | include $(top_srcdir)/build/Makefile.msvcproj |
||
819 | |||
820 | dist-hook: \ |
||
821 | $(BUILT_EXTRA_DIST) \ |
||
822 | $(top_builddir)/build/win32/vs9/gio.vcproj \ |
||
823 | $(top_builddir)/build/win32/vs9/gio.headers \ |
||
824 | $(top_builddir)/build/win32/vs9/glib-compile-schemas.vcproj \ |
||
825 | $(top_builddir)/build/win32/vs9/glib-compile-resources.vcproj |
||
826 | files='$(BUILT_EXTRA_DIST)'; \ |
||
827 | for f in $$files; do \ |
||
828 | if test -f $$f; then d=.; else d=$(srcdir); fi; \ |
||
829 | cp $$d/$$f $(distdir) || exit 1; done |
||
830 | |||
831 | if HAVE_GLIB_RUNTIME_LIBDIR |
||
832 | ABS_GLIB_RUNTIME_LIBDIR = $(realpath $(libdir)/$(GLIB_RUNTIME_LIBDIR)) |
||
833 | else |
||
834 | ABS_GLIB_RUNTIME_LIBDIR = $(libdir) |
||
835 | endif |
||
836 | |||
837 | if HAVE_GLIB_RUNTIME_LIBDIR |
||
838 | install-data-hook: |
||
839 | mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR) |
||
840 | mv $(DESTDIR)$(libdir)/libgio-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR) |
||
841 | mv $(DESTDIR)$(libdir)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR) |
||
842 | rm -f $(DESTDIR)$(libdir)/libgio-2.0.so |
||
843 | ln -s $(GLIB_RUNTIME_LIBDIR)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgio-2.0.so |
||
844 | endif |