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)
604 # We cannot build .m files because it would require adding AC_PROG_OBJC in
605 # configure.ac, and it cannot be added conditionally. That means we would always
606 # depend on an objective-c compiler even when not needed. To work around that
607 # limitation we rename .m files to .c and compile them separately with
608 # -xobjective-c into an intermediary library. Note that we cannot rename those
609 # files to .c directly in the source tree because Meson needs the .m extension.
610 # This must be done outside of "if OS_COCOA" block otherwise distcheck fails.
611 # See https://bugzilla.gnome.org/show_bug.cgi?id=672777.
613 gnextstepsettingsbackend.m \
616 gcocoanotificationbackend.m \
618 OBJC_C_FILES = $(OBJC_FILES:.m=.c)
619 BUILT_SOURCES += $(OBJC_C_FILES)
620 CLEANFILES += $(OBJC_C_FILES)
621 EXTRA_DIST += $(OBJC_FILES)
622 $(OBJC_C_FILES): %.c: %.m Makefile
626 libgio_objc_2_0_la_CFLAGS = $(libgio_2_0_la_CFLAGS) -xobjective-c
627 libgio_objc_2_0_la_CPPFLAGS = $(libgio_2_0_la_CPPFLAGS)
628 libgio_objc_2_0_la_LDFLAGS = $(libgio_2_0_la_LDFLAGS) -Wl,-framework,Foundation -Wl,-framework,AppKit
629 libgio_objc_2_0_la_SOURCES = \
630 gnextstepsettingsbackend.c \
635 libgio_objc_2_0_la_SOURCES += \
636 gcocoanotificationbackend.c
639 noinst_LTLIBRARIES += libgio-objc-2.0.la
640 libgio_2_0_la_LIBADD += libgio-objc-2.0.la
644 libgio_2_0_la_CFLAGS += $(LIBMOUNT_CFLAGS)
645 libgio_2_0_la_LIBADD += $(LIBMOUNT_LIBS)
648 EXTRA_libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
650 gio-win32-res.o: gio.rc
657 gbufferedinputstream.h \
658 gbufferedoutputstream.h \
662 gcharsetconverter.h \
664 gconverterinputstream.h \
665 gconverteroutputstream.h \
668 gdataoutputstream.h \
679 gfilenamecompleter.h \
680 gfileoutputstream.h \
682 gfilterinputstream.h \
683 gfilteroutputstream.h \
687 ginetsocketaddress.h \
700 gmemoryinputstream.h \
701 gmemoryoutputstream.h \
703 gnativevolumemonitor.h \
709 gpollableinputstream.h \
710 gpollableoutputstream.h \
714 gproxyaddressenumerator.h \
719 gsimpleasyncresult.h \
721 gsimplepermission.h \
724 gsocketaddressenumerator.h \
726 gsocketconnectable.h \
727 gsocketconnection.h \
728 gsocketcontrolmessage.h \
732 gsimpleproxyresolver.h \
735 gsubprocesslauncher.h \
737 gtcpwrapperconnection.h \
738 gthreadedsocketservice.h\
742 gtlsclientconnection.h \
748 gtlsserverconnection.h \
750 gdtlsclientconnection.h \
751 gdtlsserverconnection.h \
756 gzlibdecompressor.h \
759 $(application_headers) \
760 $(settings_headers) \
764 gioincludedir=$(includedir)/glib-2.0/gio/
765 gioinclude_HEADERS = \
769 nodist_gioinclude_HEADERS = \
773 # these sources (also mentioned above) are generated.
775 gconstructor_as_data.h \
778 gdbus-daemon-generated.c \
779 gdbus-daemon-generated.h \
785 gioenumtypes.h.template \
786 gioenumtypes.c.template \
789 gconstructor_as_data.h \
792 BUILT_EXTRA_DIST += \
795 # This is read by gobject-introspection/misc/ and gtk-doc
796 gio-public-headers.txt: Makefile
797 $(AM_V_GEN) echo $(gioinclude_HEADERS) $(giowin32include_HEADERS) $(giounixinclude_HEADERS) > $@.tmp && mv $@.tmp $@
799 CLEANFILES += gdbus-daemon-generated.c gdbus-daemon-generated.h gio-public-headers.txt gconstructor_as_data.h
806 all-local: gio-public-headers.txt
808 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
809 $(AM_V_GEN) $(top_builddir)/gobject/glib-mkenums --template $(filter %.template,$^) $(filter-out %.template,$^) > \
810 gioenumtypes.h.tmp && mv gioenumtypes.h.tmp gioenumtypes.h
812 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
813 $(AM_V_GEN) $(top_builddir)/gobject/glib-mkenums --template $(filter %.template,$^) $(filter-out %.template,$^) > \
814 gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c
816 gio.def: libgio-2.0.la
817 $(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
819 gio-2.0.lib: libgio-2.0.la gio.def
820 $(AM_V_GEN) lib.exe -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgio-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(builddir)/gio.def -out:$@
822 bin_PROGRAMS = gio-querymodules glib-compile-schemas glib-compile-resources gsettings
824 glib_compile_resources_LDADD = libgio-2.0.la \
825 $(top_builddir)/gobject/libgobject-2.0.la \
826 $(top_builddir)/gmodule/libgmodule-2.0.la \
827 $(top_builddir)/glib/libglib-2.0.la \
830 glib_compile_resources_SOURCES = \
832 gvdb/gvdb-builder.h \
833 gvdb/gvdb-builder.c \
834 glib-compile-resources.c
836 gio_querymodules_SOURCES = gio-querymodules.c giomodule-priv.c
837 gio_querymodules_LDADD = libgio-2.0.la \
838 $(top_builddir)/gobject/libgobject-2.0.la \
839 $(top_builddir)/gmodule/libgmodule-2.0.la \
840 $(top_builddir)/glib/libglib-2.0.la \
843 gconstructor_as_data.h: $(top_srcdir)/glib/gconstructor.h data-to-c.py
844 $(AM_V_GEN) $(srcdir)/data-to-c.py $(top_srcdir)/glib/gconstructor.h gconstructor_code $@
846 glib_compile_schemas_LDADD = $(top_builddir)/glib/libglib-2.0.la
847 glib_compile_schemas_SOURCES = \
848 gconstructor_as_data.h \
850 gvdb/gvdb-builder.h \
851 gvdb/gvdb-builder.c \
852 glib-compile-schemas.c
854 gsettings_LDADD = libgio-2.0.la \
855 $(top_builddir)/gobject/libgobject-2.0.la \
856 $(top_builddir)/gmodule/libgmodule-2.0.la \
857 $(top_builddir)/glib/libglib-2.0.la \
859 gsettings_SOURCES = gsettings-tool.c
861 schemadir = $(datadir)/glib-2.0/schemas
862 dist_schema_DATA = gschema.dtd
864 itsdir = $(datadir)/gettext/its
865 dist_its_DATA = gschema.loc gschema.its
867 # ------------------------------------------------------------------------
868 # SystemTap and dtrace
871 gio_probes.h: gio_probes.d
872 $(AM_V_GEN) $(DTRACE) -C -h -s $< -o $@.tmp
874 -e "s,define STAP_HAS_SEMAPHORES 1,undef STAP_HAS_SEMAPHORES," \
875 -e "s,define _SDT_HAS_SEMAPHORES 1,undef _SDT_HAS_SEMAPHORES," \
876 < $@.tmp > $@ && rm -f $@.tmp
878 gio_probes.lo: gio_probes.d
879 $(AM_V_GEN) $(LIBTOOL) --mode=compile $(AM_V_lt) --tag=CC $(DTRACE) -G -s $< -o $@
881 BUILT_SOURCES += gio_probes.h gio_probes.lo
882 CLEANFILES += gio_probes.h gio_probes.h.tmp
883 libgio_2_0_la_LIBADD += gio_probes.lo
886 tapsetdir = @ABS_TAPSET_DIR@
887 EXTRA_DIST += gio.stp.in
890 tapset_DATA = libgio-2.0.so.0.@LT_CURRENT@.@LT_REVISION@.stp
891 CLEANFILES += $(tapset_DATA)
893 $(tapset_DATA): gio.stp.in Makefile
895 -e 's|[@]ABS_GLIB_RUNTIME_LIBDIR[@]|$(ABS_GLIB_RUNTIME_LIBDIR)|g' \
896 -e 's|[@]LT_CURRENT[@]|$(LT_CURRENT)|g' \
897 -e 's|[@]LT_REVISION[@]|$(LT_REVISION)|g' \
901 # ------------------------------------------------------------------------
904 bin_PROGRAMS += gdbus
905 gdbus_SOURCES = gdbus-tool.c
906 gdbus_LDADD = libgio-2.0.la \
907 $(top_builddir)/gobject/libgobject-2.0.la \
908 $(top_builddir)/gmodule/libgmodule-2.0.la \
909 $(top_builddir)/glib/libglib-2.0.la \
914 # ------------------------------------------------------------------------
915 # gapplication(1) tool
916 bin_PROGRAMS += gapplication
917 gapplication_SOURCES = gapplication-tool.c
918 gapplication_LDADD = libgio-2.0.la \
919 $(top_builddir)/gobject/libgobject-2.0.la \
920 $(top_builddir)/gmodule/libgmodule-2.0.la \
921 $(top_builddir)/glib/libglib-2.0.la \
926 completiondir = $(datadir)/bash-completion/completions
928 completion/gapplication \
931 completion/gsettings \
933 EXTRA_DIST += $(completion_DATA)
935 # ------------------------------------------------------------------------
938 bin_PROGRAMS += gresource
939 gresource_SOURCES = gresource-tool.c
940 gresource_CPPFLAGS = $(LIBELF_CFLAGS) $(AM_CPPFLAGS)
941 gresource_LDADD = libgio-2.0.la \
942 $(top_builddir)/gobject/libgobject-2.0.la \
943 $(top_builddir)/gmodule/libgmodule-2.0.la \
944 $(top_builddir)/glib/libglib-2.0.la \
947 # ------------------------------------------------------------------------
971 gio_LDADD = libgio-2.0.la \
972 $(top_builddir)/gobject/libgobject-2.0.la \
973 $(top_builddir)/glib/libglib-2.0.la \
976 dist-hook: $(BUILT_EXTRA_DIST)
977 files='$(BUILT_EXTRA_DIST)'; \
978 for f in $$files; do \
979 if test -f $$f; then d=.; else d=$(srcdir); fi; \
980 cp $$d/$$f $(distdir) || exit 1; done
982 if HAVE_GLIB_RUNTIME_LIBDIR
983 ABS_GLIB_RUNTIME_LIBDIR = $(realpath $(libdir)/$(GLIB_RUNTIME_LIBDIR))
985 ABS_GLIB_RUNTIME_LIBDIR = $(libdir)
988 if HAVE_GLIB_RUNTIME_LIBDIR
990 mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
991 mv $(DESTDIR)$(libdir)/libgio-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
992 mv $(DESTDIR)$(libdir)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
993 rm -f $(DESTDIR)$(libdir)/libgio-2.0.so
994 ln -s $(GLIB_RUNTIME_LIBDIR)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgio-2.0.so