1 include $(top_srcdir)/glib.mk
3 SUBDIRS = gdbus-2.0/codegen
9 if OS_WIN32_AND_DLL_COMPILATION
11 noinst_DATA += gio-2.0.lib
13 install_ms_lib_cmd = $(INSTALL) gio-2.0.lib $(DESTDIR)$(libdir)
14 uninstall_ms_lib_cmd = -rm $(DESTDIR)$(libdir)/gio-2.0.lib
22 $(uninstall_ms_lib_cmd)
25 -DG_LOG_DOMAIN=\"GLib-GIO\" \
29 -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\"
31 AM_CFLAGS = $(GLIB_WARN_CFLAGS)
33 lib_LTLIBRARIES = libgio-2.0.la
46 gdbusintrospection.h \
47 gdbusmethodinvocation.h \
50 gdbusinterfaceskeleton.h \
52 gdbusobjectskeleton.h \
54 gdbusobjectmanager.h \
55 gdbusobjectmanagerclient.h \
56 gdbusobjectmanagerserver.h \
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 \
90 # These are not built into the library yet
91 EXTRA_DIST += gdbusdaemon.c gdbusdaemon.h dbus-daemon.xml
94 $(srcdir)/gdbus-2.0/codegen/gdbus-codegen.in \
95 $(srcdir)/gdbus-2.0/codegen/codegen_main.py \
96 $(srcdir)/gdbus-2.0/codegen/parser.py \
97 $(srcdir)/gdbus-2.0/codegen/codegen_docbook.py \
98 $(srcdir)/gdbus-2.0/codegen/codegen.py \
99 $(srcdir)/gdbus-2.0/codegen/__init__.py \
100 $(srcdir)/gdbus-2.0/codegen/dbustypes.py \
101 $(builddir)/gdbus-2.0/codegen/config.py \
102 $(srcdir)/gdbus-2.0/codegen/utils.py
104 gdbus-daemon-generated.h gdbus-daemon-generated.c: $(srcdir)/dbus-daemon.xml $(GDBUS_PYTHON_DEPS)
105 $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \
106 UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \
107 $(PYTHON) $(srcdir)/gdbus-2.0/codegen/gdbus-codegen.in \
108 --interface-prefix org. \
109 --generate-c-code gdbus-daemon-generated \
111 $(srcdir)/dbus-daemon.xml \
119 settings_base_sources = \
123 gdelayedsettingsbackend.h \
124 gdelayedsettingsbackend.c \
125 gkeyfilesettingsbackend.c \
126 gmemorysettingsbackend.c \
127 gnullsettingsbackend.c \
128 gsettingsbackendinternal.h \
131 gsettingsschema-internal.h \
133 gsettings-mapping.h \
134 gsettings-mapping.c \
137 settings_sources = $(settings_base_sources)
140 win32_settings_sources = \
141 gregistrysettingsbackend.h \
142 gregistrysettingsbackend.c
144 settings_sources += $(win32_settings_sources)
147 application_headers = \
149 gapplicationcommandline.h \
153 gsimpleactiongroup.h \
154 gremoteactiongroup.h \
155 gactiongroupexporter.h \
168 application_sources = \
170 gapplicationcommandline.c \
171 gapplicationimpl-dbus.c \
176 gsimpleactiongroup.c \
177 gremoteactiongroup.c \
178 gactiongroupexporter.c \
179 gdbusactiongroup-private.h \
189 gnotification-private.h \
190 gnotificationbackend.h \
192 gnotificationbackend.c \
200 glocalfileprivate.h \
201 glocalfileenumerator.c \
202 glocalfileenumerator.h \
205 glocalfileinputstream.c \
206 glocalfileinputstream.h \
207 glocalfilemonitor.c \
208 glocalfilemonitor.h \
209 glocalfileoutputstream.c \
210 glocalfileoutputstream.h \
211 glocalfileiostream.c \
212 glocalfileiostream.h \
229 contenttype_sources =
233 platform_libadd += inotify/libinotify.la
234 platform_deps += inotify/libinotify.la
239 platform_libadd += kqueue/libkqueue.la
240 platform_deps += kqueue/libkqueue.la
245 platform_libadd += win32/libgiowin32.la
246 platform_deps += win32/libgiowin32.la
256 platform_libadd += xdgmime/libxdgmime.la
257 platform_deps += xdgmime/libxdgmime.la
259 appinfo_headers += gdesktopappinfo.h
264 gfiledescriptorbased.c \
266 gunixcredentialsmessage.c \
272 gunixsocketaddress.c \
275 gunixvolumemonitor.c \
276 gunixvolumemonitor.h \
278 gunixoutputstream.c \
279 gcontenttypeprivate.h \
280 gfdonotificationbackend.c \
281 ggtknotificationbackend.c \
282 gportalnotificationbackend.c \
292 giounixincludedir=$(includedir)/gio-unix-2.0/gio
293 giounixinclude_HEADERS = \
294 gfiledescriptorbased.h \
296 gunixcredentialsmessage.h \
301 gunixoutputstream.h \
302 gunixsocketaddress.h \
308 gnetworkmonitornetlink.c \
309 gnetworkmonitornetlink.h \
310 gnetworkmonitornm.c \
311 gnetworkmonitornm.h \
316 gdbus_daemon_sources = \
319 gdbus-daemon-generated.c \
320 gdbus-daemon-generated.h \
323 win32_actual_sources = \
324 $(gdbus_daemon_sources) \
325 gwin32registrykey.c \
326 gwin32registrykey.h \
329 gwin32volumemonitor.c \
330 gwin32volumemonitor.h \
331 gwin32inputstream.c \
332 gwin32outputstream.c \
333 gwin32outputstream.h \
335 gwin32networkmonitor.c \
336 gwin32networkmonitor.h \
337 gwin32notificationbackend.c \
340 win32_more_sources_for_vcproj = \
342 gcontenttype-win32.c \
343 gregistrysettingsbackend.c \
344 win32/gwinhttpfile.c \
345 win32/gwinhttpfileinputstream.c \
346 win32/gwinhttpfileoutputstream.c \
347 win32/gwinhttpvfs.c \
348 win32/gwin32fsmonitorutils.c \
349 win32/gwin32filemonitor.c
352 appinfo_sources += gwin32appinfo.c gwin32appinfo.h
353 contenttype_sources += gcontenttype-win32.c
354 platform_libadd += -lshlwapi -lws2_32 -ldnsapi -liphlpapi
355 win32_sources = $(win32_actual_sources)
357 giowin32includedir=$(includedir)/gio-win32-2.0/gio
358 giowin32include_HEADERS = \
359 gwin32inputstream.h \
360 gwin32outputstream.h \
365 xdp_dbus_built_sources = xdp-dbus.c xdp-dbus.h
366 BUILT_SOURCES += $(xdp_dbus_built_sources)
367 CLEANFILES += $(xdp_dbus_built_sources)
369 portal_interfaces = \
370 org.freedesktop.portal.Documents.xml \
371 org.freedesktop.portal.OpenURI.xml \
372 org.freedesktop.portal.NetworkMonitor.xml \
373 org.freedesktop.portal.ProxyResolver.xml \
376 EXTRA_DIST += $(portal_interfaces)
378 $(xdp_dbus_built_sources) : $(portal_interfaces)
379 $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \
380 UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \
381 $(PYTHON) $(srcdir)/gdbus-2.0/codegen/gdbus-codegen.in \
382 --interface-prefix org.freedesktop.portal. \
384 --generate-c-code $(builddir)/xdp-dbus \
385 --annotate "org.freedesktop.portal.Documents.Add()" "org.gtk.GDBus.C.UnixFD" "true" \
386 --annotate "org.freedesktop.portal.Documents.AddNamed()" "org.gtk.GDBus.C.UnixFD" "true" \
387 --annotate "org.freedesktop.portal.Documents.AddFull()" "org.gtk.GDBus.C.UnixFD" "true" \
388 --annotate "org.freedesktop.portal.OpenURI.OpenFile()" "org.gtk.GDBus.C.UnixFD" "true" \
392 gnetworkmonitorportal.c \
393 gnetworkmonitorportal.h \
394 gproxyresolverportal.c \
395 gproxyresolverportal.h \
396 $(xdp_dbus_built_sources) \
401 contenttype_sources += gcontenttype.c
402 appinfo_sources += gdesktopappinfo.c
413 gbufferedinputstream.c \
414 gbufferedoutputstream.c \
417 gcharsetconverter.c \
418 gcontextspecificgroup.c \
419 gcontextspecificgroup.h \
421 gconverterinputstream.c \
422 gconverteroutputstream.c \
424 gcredentialsprivate.h \
427 gdataoutputstream.c \
431 gdummyproxyresolver.c \
432 gdummyproxyresolver.h \
441 gfileattribute-priv.h \
448 gfilenamecompleter.c \
449 gfileoutputstream.c \
451 gfilterinputstream.c \
452 gfilteroutputstream.c \
456 ginetsocketaddress.c \
472 gmemoryinputstream.c \
473 gmemoryoutputstream.c \
475 gnativevolumemonitor.c \
476 gnativevolumemonitor.h \
477 gnativesocketaddress.c \
478 gnativesocketaddress.h \
481 gnetworkingprivate.h \
483 gnetworkmonitorbase.c \
484 gnetworkmonitorbase.h \
488 gpollableinputstream.c \
489 gpollableoutputstream.c \
495 gproxyaddressenumerator.c \
502 gsimpleasyncresult.c \
504 gsimplepermission.c \
507 gsocketaddressenumerator.c \
509 gsocketconnectable.c \
510 gsocketconnection.c \
511 gsocketcontrolmessage.c \
512 gsocketinputstream.c \
513 gsocketinputstream.h \
515 gsocketoutputstream.c \
516 gsocketoutputstream.h \
517 gsubprocesslauncher.c \
519 gsubprocesslauncher-private.h \
522 gsimpleproxyresolver.c \
525 gtcpwrapperconnection.c \
526 gthreadedsocketservice.c\
528 gthreadedresolver.c \
529 gthreadedresolver.h \
532 gtlsclientconnection.c \
538 gtlsserverconnection.c \
540 gdtlsclientconnection.c \
541 gdtlsserverconnection.c \
542 gunionvolumemonitor.c \
543 gunionvolumemonitor.h \
548 gzlibdecompressor.c \
554 $(application_sources) \
559 libgio_2_0_la_SOURCES = \
560 $(gio_base_sources) \
562 $(contenttype_sources) \
565 $(settings_sources) \
568 EXTRA_DIST += strinfo.c
570 libgio_2_0_la_LIBADD = \
571 $(top_builddir)/gobject/libgobject-2.0.la \
572 $(top_builddir)/gmodule/libgmodule-2.0.la \
573 $(top_builddir)/glib/libglib-2.0.la \
582 libgio_2_0_la_CPPFLAGS = $(ZLIB_CFLAGS) $(AM_CPPFLAGS)
585 no_undefined = -no-undefined
588 if OS_WIN32_AND_DLL_COMPILATION
589 gio_win32_res = gio-win32-res.o
590 gio_win32_res_ldflag = -Wl,$(gio_win32_res)
593 install-data-local: install-ms-lib
594 $(mkinstalldirs) $(DESTDIR)$(GIO_MODULE_DIR)
596 uninstall-local: uninstall-ms-lib
598 libgio_2_0_la_CFLAGS = $(AM_CFLAGS) $(GLIB_HIDDEN_VISIBILITY_CFLAGS)
599 libgio_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
600 $(gio_win32_res_ldflag) \
601 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
602 -export-dynamic $(no_undefined)
605 # Let's avoid polluting the CFLAGS of libgio with -xobjective-c
606 # We cannot simply rename the ObjC files to .m because it plays
607 # tricks with Automake. For further reference, see:
608 # https://bugzilla.gnome.org/show_bug.cgi?id=672777
609 libgio_objc_2_0_la_CFLAGS = $(libgio_2_0_la_CFLAGS) -xobjective-c
610 libgio_objc_2_0_la_CPPFLAGS = $(libgio_2_0_la_CPPFLAGS)
611 libgio_objc_2_0_la_LDFLAGS = $(libgio_2_0_la_LDFLAGS) -Wl,-framework,Foundation -Wl,-framework,AppKit
612 libgio_objc_2_0_la_SOURCES = \
613 gnextstepsettingsbackend.c \
618 libgio_objc_2_0_la_SOURCES += \
619 gcocoanotificationbackend.c
622 noinst_LTLIBRARIES += libgio-objc-2.0.la
623 libgio_2_0_la_LIBADD += libgio-objc-2.0.la
627 libgio_2_0_la_CFLAGS += $(LIBMOUNT_CFLAGS)
628 libgio_2_0_la_LIBADD += $(LIBMOUNT_LIBS)
631 EXTRA_libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
633 gio-win32-res.o: gio.rc
640 gbufferedinputstream.h \
641 gbufferedoutputstream.h \
645 gcharsetconverter.h \
647 gconverterinputstream.h \
648 gconverteroutputstream.h \
651 gdataoutputstream.h \
662 gfilenamecompleter.h \
663 gfileoutputstream.h \
665 gfilterinputstream.h \
666 gfilteroutputstream.h \
670 ginetsocketaddress.h \
683 gmemoryinputstream.h \
684 gmemoryoutputstream.h \
686 gnativevolumemonitor.h \
692 gpollableinputstream.h \
693 gpollableoutputstream.h \
697 gproxyaddressenumerator.h \
702 gsimpleasyncresult.h \
704 gsimplepermission.h \
707 gsocketaddressenumerator.h \
709 gsocketconnectable.h \
710 gsocketconnection.h \
711 gsocketcontrolmessage.h \
715 gsimpleproxyresolver.h \
718 gsubprocesslauncher.h \
720 gtcpwrapperconnection.h \
721 gthreadedsocketservice.h\
725 gtlsclientconnection.h \
731 gtlsserverconnection.h \
733 gdtlsclientconnection.h \
734 gdtlsserverconnection.h \
739 gzlibdecompressor.h \
742 $(application_headers) \
743 $(settings_headers) \
747 gioincludedir=$(includedir)/glib-2.0/gio/
748 gioinclude_HEADERS = \
752 nodist_gioinclude_HEADERS = \
756 # these sources (also mentioned above) are generated.
758 gconstructor_as_data.h \
761 gdbus-daemon-generated.c \
762 gdbus-daemon-generated.h \
768 gioenumtypes.h.template \
769 gioenumtypes.c.template \
772 gconstructor_as_data.h \
773 gnetworking.h.win32 \
776 BUILT_EXTRA_DIST += \
779 # This is read by gobject-introspection/misc/ and gtk-doc
780 gio-public-headers.txt: Makefile
781 $(AM_V_GEN) echo $(gioinclude_HEADERS) $(giowin32include_HEADERS) $(giounixinclude_HEADERS) > $@.tmp && mv $@.tmp $@
783 CLEANFILES += gdbus-daemon-generated.c gdbus-daemon-generated.h gio-public-headers.txt gconstructor_as_data.h
790 all-local: gio-public-headers.txt
792 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
793 $(AM_V_GEN) $(top_builddir)/gobject/glib-mkenums --template $(filter %.template,$^) $(filter-out %.template,$^) > \
794 gioenumtypes.h.tmp && mv gioenumtypes.h.tmp gioenumtypes.h
796 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
797 $(AM_V_GEN) $(top_builddir)/gobject/glib-mkenums --template $(filter %.template,$^) $(filter-out %.template,$^) > \
798 gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c
800 gio.def: libgio-2.0.la
801 $(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
803 gio-2.0.lib: libgio-2.0.la gio.def
804 $(AM_V_GEN) lib.exe -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgio-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(builddir)/gio.def -out:$@
806 bin_PROGRAMS = gio-querymodules glib-compile-schemas glib-compile-resources gsettings
808 glib_compile_resources_LDADD = libgio-2.0.la \
809 $(top_builddir)/gobject/libgobject-2.0.la \
810 $(top_builddir)/gmodule/libgmodule-2.0.la \
811 $(top_builddir)/glib/libglib-2.0.la \
814 glib_compile_resources_SOURCES = \
816 gvdb/gvdb-builder.h \
817 gvdb/gvdb-builder.c \
818 glib-compile-resources.c
820 gio_querymodules_SOURCES = gio-querymodules.c giomodule-priv.c
821 gio_querymodules_LDADD = libgio-2.0.la \
822 $(top_builddir)/gobject/libgobject-2.0.la \
823 $(top_builddir)/gmodule/libgmodule-2.0.la \
824 $(top_builddir)/glib/libglib-2.0.la \
827 gconstructor_as_data.h: $(top_srcdir)/glib/gconstructor.h data-to-c.py
828 $(AM_V_GEN) $(srcdir)/data-to-c.py $(top_srcdir)/glib/gconstructor.h gconstructor_code $@
830 glib_compile_schemas_LDADD = $(top_builddir)/glib/libglib-2.0.la
831 glib_compile_schemas_SOURCES = \
832 gconstructor_as_data.h \
834 gvdb/gvdb-builder.h \
835 gvdb/gvdb-builder.c \
836 glib-compile-schemas.c
838 gsettings_LDADD = libgio-2.0.la \
839 $(top_builddir)/gobject/libgobject-2.0.la \
840 $(top_builddir)/gmodule/libgmodule-2.0.la \
841 $(top_builddir)/glib/libglib-2.0.la \
843 gsettings_SOURCES = gsettings-tool.c
845 schemadir = $(datadir)/glib-2.0/schemas
846 dist_schema_DATA = gschema.dtd
848 itsdir = $(datadir)/gettext/its
849 dist_its_DATA = gschema.loc gschema.its
851 # ------------------------------------------------------------------------
852 # SystemTap and dtrace
855 gio_probes.h: gio_probes.d
856 $(AM_V_GEN) $(DTRACE) -C -h -s $< -o $@.tmp
858 -e "s,define STAP_HAS_SEMAPHORES 1,undef STAP_HAS_SEMAPHORES," \
859 -e "s,define _SDT_HAS_SEMAPHORES 1,undef _SDT_HAS_SEMAPHORES," \
860 < $@.tmp > $@ && rm -f $@.tmp
862 gio_probes.lo: gio_probes.d
863 $(AM_V_GEN) $(LIBTOOL) --mode=compile $(AM_V_lt) --tag=CC $(DTRACE) -G -s $< -o $@
865 BUILT_SOURCES += gio_probes.h gio_probes.lo
866 CLEANFILES += gio_probes.h gio_probes.h.tmp
867 libgio_2_0_la_LIBADD += gio_probes.lo
870 tapsetdir = @ABS_TAPSET_DIR@
871 EXTRA_DIST += gio.stp.in
874 tapset_DATA = libgio-2.0.so.0.@LT_CURRENT@.@LT_REVISION@.stp
875 CLEANFILES += $(tapset_DATA)
877 $(tapset_DATA): gio.stp.in Makefile
879 -e 's|[@]ABS_GLIB_RUNTIME_LIBDIR[@]|$(ABS_GLIB_RUNTIME_LIBDIR)|g' \
880 -e 's|[@]LT_CURRENT[@]|$(LT_CURRENT)|g' \
881 -e 's|[@]LT_REVISION[@]|$(LT_REVISION)|g' \
885 # ------------------------------------------------------------------------
888 bin_PROGRAMS += gdbus
889 gdbus_SOURCES = gdbus-tool.c
890 gdbus_LDADD = libgio-2.0.la \
891 $(top_builddir)/gobject/libgobject-2.0.la \
892 $(top_builddir)/gmodule/libgmodule-2.0.la \
893 $(top_builddir)/glib/libglib-2.0.la \
898 # ------------------------------------------------------------------------
899 # gapplication(1) tool
900 bin_PROGRAMS += gapplication
901 gapplication_SOURCES = gapplication-tool.c
902 gapplication_LDADD = libgio-2.0.la \
903 $(top_builddir)/gobject/libgobject-2.0.la \
904 $(top_builddir)/gmodule/libgmodule-2.0.la \
905 $(top_builddir)/glib/libglib-2.0.la \
910 completiondir = $(datadir)/bash-completion/completions
912 completion/gapplication \
914 completion/gsettings \
916 EXTRA_DIST += $(completion_DATA)
918 # ------------------------------------------------------------------------
921 bin_PROGRAMS += gresource
922 gresource_SOURCES = gresource-tool.c
923 gresource_CPPFLAGS = $(LIBELF_CFLAGS) $(AM_CPPFLAGS)
924 gresource_LDADD = libgio-2.0.la \
925 $(top_builddir)/gobject/libgobject-2.0.la \
926 $(top_builddir)/gmodule/libgmodule-2.0.la \
927 $(top_builddir)/glib/libglib-2.0.la \
930 # ------------------------------------------------------------------------
954 gio_LDADD = libgio-2.0.la \
955 $(top_builddir)/gobject/libgobject-2.0.la \
956 $(top_builddir)/glib/libglib-2.0.la \
959 # ------------------------------------------------------------------------
960 # ------ MSVC Project File Generation ------
961 # ------------------------------------------------------------------------
963 MSVCPROJS = gio glib-compile-resources glib-compile-schemas gio-tool
966 $(gio_base_sources) \
967 $(win32_actual_sources) \
968 $(win32_more_sources_for_vcproj) \
969 $(settings_base_sources) \
970 $(win32_settings_sources)
974 gio_HEADERS_DIR = $(includedir)/glib-2.0/gio
975 gio_HEADERS_INST = $(gioinclude_HEADERS) $(nodist_gioinclude_HEADERS)
976 gio_HEADERS_EXCLUDES = dummy
978 glib_compile_resources_FILES = $(glib_compile_resources_SOURCES)
979 glib_compile_resources_EXCLUDES = dummy
981 glib_compile_schemas_FILES = $(glib_compile_schemas_SOURCES)
982 glib_compile_schemas_EXCLUDES = dummy
984 gio_tool_FILES = $(gio_SOURCES)
985 gio_tool_EXCLUDES = dummy
987 include $(top_srcdir)/win32/Makefile.msvcproj
990 $(BUILT_EXTRA_DIST) \
991 $(top_builddir)/win32/vs9/gio.vcproj \
992 $(top_builddir)/win32/vs9/gio.headers \
993 $(top_builddir)/win32/vs9/glib-compile-schemas.vcproj \
994 $(top_builddir)/win32/vs9/glib-compile-resources.vcproj \
995 $(top_builddir)/win32/vs9/gio-tool.vcproj
996 files='$(BUILT_EXTRA_DIST)'; \
997 for f in $$files; do \
998 if test -f $$f; then d=.; else d=$(srcdir); fi; \
999 cp $$d/$$f $(distdir) || exit 1; done
1001 if HAVE_GLIB_RUNTIME_LIBDIR
1002 ABS_GLIB_RUNTIME_LIBDIR = $(realpath $(libdir)/$(GLIB_RUNTIME_LIBDIR))
1004 ABS_GLIB_RUNTIME_LIBDIR = $(libdir)
1007 if HAVE_GLIB_RUNTIME_LIBDIR
1009 mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
1010 mv $(DESTDIR)$(libdir)/libgio-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
1011 mv $(DESTDIR)$(libdir)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
1012 rm -f $(DESTDIR)$(libdir)/libgio-2.0.so
1013 ln -s $(GLIB_RUNTIME_LIBDIR)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgio-2.0.so