1 include $(top_srcdir)/glib.mk
3 SUBDIRS = gdbus-2.0/codegen
11 if OS_WIN32_AND_DLL_COMPILATION
13 noinst_DATA += gio-2.0.lib
15 install_ms_lib_cmd = $(INSTALL) gio-2.0.lib $(DESTDIR)$(libdir)
16 uninstall_ms_lib_cmd = -rm $(DESTDIR)$(libdir)/gio-2.0.lib
24 $(uninstall_ms_lib_cmd)
27 -DG_LOG_DOMAIN=\"GLib-GIO\" \
31 -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\"
33 AM_CFLAGS = $(GLIB_WARN_CFLAGS)
35 lib_LTLIBRARIES = libgio-2.0.la
48 gdbusintrospection.h \
49 gdbusmethodinvocation.h \
52 gdbusinterfaceskeleton.h \
54 gdbusobjectskeleton.h \
56 gdbusobjectmanager.h \
57 gdbusobjectmanagerclient.h \
58 gdbusobjectmanagerserver.h \
63 gdbusutils.h gdbusutils.c \
64 gdbusaddress.h gdbusaddress.c \
65 gdbusauthobserver.h gdbusauthobserver.c \
66 gdbusauth.h gdbusauth.c \
67 gdbusauthmechanism.h gdbusauthmechanism.c \
68 gdbusauthmechanismanon.h gdbusauthmechanismanon.c \
69 gdbusauthmechanismexternal.h gdbusauthmechanismexternal.c \
70 gdbusauthmechanismsha1.h gdbusauthmechanismsha1.c \
71 gdbuserror.h gdbuserror.c \
72 gdbusconnection.h gdbusconnection.c \
73 gdbusmessage.h gdbusmessage.c \
74 gdbusnameowning.h gdbusnameowning.c \
75 gdbusnamewatching.h gdbusnamewatching.c \
76 gdbusproxy.h gdbusproxy.c \
77 gdbusprivate.h gdbusprivate.c \
78 gdbusintrospection.h gdbusintrospection.c \
79 gdbusmethodinvocation.h gdbusmethodinvocation.c \
80 gdbusserver.h gdbusserver.c \
81 gdbusinterface.h gdbusinterface.c \
82 gdbusinterfaceskeleton.h gdbusinterfaceskeleton.c \
83 gdbusobject.h gdbusobject.c \
84 gdbusobjectskeleton.h gdbusobjectskeleton.c \
85 gdbusobjectproxy.h gdbusobjectproxy.c \
86 gdbusobjectmanager.h gdbusobjectmanager.c \
87 gdbusobjectmanagerclient.h gdbusobjectmanagerclient.c \
88 gdbusobjectmanagerserver.h gdbusobjectmanagerserver.c \
89 gtestdbus.h gtestdbus.c \
92 # These are not built into the library yet
93 EXTRA_DIST += gdbusdaemon.c gdbusdaemon.h dbus-daemon.xml
95 gdbus-daemon-generated.h gdbus-daemon-generated.c: $(srcdir)/dbus-daemon.xml $(srcdir)/gdbus-2.0/codegen/gdbus-codegen.in
96 $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \
97 UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \
98 $(PYTHON) $(srcdir)/gdbus-2.0/codegen/gdbus-codegen.in \
99 --interface-prefix org. \
100 --generate-c-code gdbus-daemon-generated \
102 $(srcdir)/dbus-daemon.xml \
110 settings_base_sources = \
114 gdelayedsettingsbackend.h \
115 gdelayedsettingsbackend.c \
116 gkeyfilesettingsbackend.c \
117 gmemorysettingsbackend.c \
118 gnullsettingsbackend.c \
119 gsettingsbackendinternal.h \
122 gsettingsschema-internal.h \
124 gsettings-mapping.h \
125 gsettings-mapping.c \
128 settings_sources = $(settings_base_sources)
131 win32_settings_sources = \
132 gregistrysettingsbackend.h \
133 gregistrysettingsbackend.c
135 settings_sources += $(win32_settings_sources)
139 cocoa_settings_sources = \
140 gnextstepsettingsbackend.c
142 settings_sources += $(cocoa_settings_sources)
145 application_headers = \
147 gapplicationcommandline.h \
151 gsimpleactiongroup.h \
152 gremoteactiongroup.h \
153 gactiongroupexporter.h \
166 application_sources = \
168 gapplicationcommandline.c \
169 gapplicationimpl-dbus.c \
174 gsimpleactiongroup.c \
175 gremoteactiongroup.c \
176 gactiongroupexporter.c \
177 gdbusactiongroup-private.h \
187 gnotification-private.h \
188 gnotificationbackend.h \
190 gnotificationbackend.c \
198 glocalfileprivate.h \
199 glocalfileenumerator.c \
200 glocalfileenumerator.h \
203 glocalfileinputstream.c \
204 glocalfileinputstream.h \
205 glocalfilemonitor.c \
206 glocalfilemonitor.h \
207 glocalfileoutputstream.c \
208 glocalfileoutputstream.h \
209 glocalfileiostream.c \
210 glocalfileiostream.h \
227 contenttype_sources =
231 platform_libadd += inotify/libinotify.la
232 platform_deps += inotify/libinotify.la
237 platform_libadd += kqueue/libkqueue.la
238 platform_deps += kqueue/libkqueue.la
243 platform_libadd += win32/libgiowin32.la
244 platform_deps += win32/libgiowin32.la
255 platform_libadd += xdgmime/libxdgmime.la
256 platform_deps += xdgmime/libxdgmime.la
258 appinfo_headers += gdesktopappinfo.h
263 gfiledescriptorbased.c \
265 gunixcredentialsmessage.c \
271 gunixsocketaddress.c \
274 gunixvolumemonitor.c \
275 gunixvolumemonitor.h \
277 gunixoutputstream.c \
278 gcontenttypeprivate.h \
279 gfdonotificationbackend.c \
280 ggtknotificationbackend.c \
281 gportalnotificationbackend.c \
291 unix_sources += gcocoanotificationbackend.c
295 giounixincludedir=$(includedir)/gio-unix-2.0/gio
296 giounixinclude_HEADERS = \
297 gfiledescriptorbased.h \
299 gunixcredentialsmessage.h \
304 gunixoutputstream.h \
305 gunixsocketaddress.h \
311 gnetworkmonitornetlink.c \
312 gnetworkmonitornetlink.h \
313 gnetworkmonitornm.c \
314 gnetworkmonitornm.h \
319 gdbus_daemon_sources = \
322 gdbus-daemon-generated.c \
323 gdbus-daemon-generated.h \
326 win32_actual_sources = \
327 $(gdbus_daemon_sources) \
328 gwin32registrykey.c \
329 gwin32registrykey.h \
332 gwin32volumemonitor.c \
333 gwin32volumemonitor.h \
334 gwin32inputstream.c \
335 gwin32outputstream.c \
336 gwin32outputstream.h \
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.NetworkMonitor.xml \
372 org.freedesktop.portal.ProxyResolver.xml \
375 EXTRA_DIST += $(portal_interfaces)
377 $(xdp_dbus_built_sources) : $(portal_interfaces)
378 $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \
379 UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \
380 $(PYTHON) $(srcdir)/gdbus-2.0/codegen/gdbus-codegen.in \
381 --interface-prefix org.freedesktop.portal. \
383 --generate-c-code $(builddir)/xdp-dbus \
384 --annotate "org.freedesktop.portal.Documents.Add()" "org.gtk.GDBus.C.UnixFD" "true" \
385 --annotate "org.freedesktop.portal.Documents.AddNamed()" "org.gtk.GDBus.C.UnixFD" "true" \
386 --annotate "org.freedesktop.portal.Documents.AddFull()" "org.gtk.GDBus.C.UnixFD" "true" \
390 gnetworkmonitorportal.c \
391 gnetworkmonitorportal.h \
392 gproxyresolverportal.c \
393 gproxyresolverportal.h \
394 $(xdp_dbus_built_sources) \
398 contenttype_sources += gosxcontenttype.c
399 appinfo_sources += gosxappinfo.c gosxappinfo.h
404 contenttype_sources += gcontenttype.c
405 appinfo_sources += gdesktopappinfo.c
416 gbufferedinputstream.c \
417 gbufferedoutputstream.c \
420 gcharsetconverter.c \
421 gcontextspecificgroup.c \
422 gcontextspecificgroup.h \
424 gconverterinputstream.c \
425 gconverteroutputstream.c \
427 gcredentialsprivate.h \
430 gdataoutputstream.c \
434 gdummyproxyresolver.c \
435 gdummyproxyresolver.h \
444 gfileattribute-priv.h \
451 gfilenamecompleter.c \
452 gfileoutputstream.c \
454 gfilterinputstream.c \
455 gfilteroutputstream.c \
459 ginetsocketaddress.c \
474 gmemoryinputstream.c \
475 gmemoryoutputstream.c \
477 gnativevolumemonitor.c \
478 gnativevolumemonitor.h \
479 gnativesocketaddress.c \
480 gnativesocketaddress.h \
483 gnetworkingprivate.h \
485 gnetworkmonitorbase.c \
486 gnetworkmonitorbase.h \
490 gpollableinputstream.c \
491 gpollableoutputstream.c \
497 gproxyaddressenumerator.c \
504 gsimpleasyncresult.c \
506 gsimplepermission.c \
509 gsocketaddressenumerator.c \
511 gsocketconnectable.c \
512 gsocketconnection.c \
513 gsocketcontrolmessage.c \
514 gsocketinputstream.c \
515 gsocketinputstream.h \
517 gsocketoutputstream.c \
518 gsocketoutputstream.h \
519 gsubprocesslauncher.c \
521 gsubprocesslauncher-private.h \
524 gsimpleproxyresolver.c \
527 gtcpwrapperconnection.c \
528 gthreadedsocketservice.c\
530 gthreadedresolver.c \
531 gthreadedresolver.h \
534 gtlsclientconnection.c \
540 gtlsserverconnection.c \
542 gdtlsclientconnection.c \
543 gdtlsserverconnection.c \
544 gunionvolumemonitor.c \
545 gunionvolumemonitor.h \
550 gzlibdecompressor.c \
556 $(application_sources) \
561 libgio_2_0_la_SOURCES = \
562 $(gio_base_sources) \
564 $(contenttype_sources) \
567 $(settings_sources) \
570 EXTRA_DIST += strinfo.c
572 libgio_2_0_la_LIBADD = \
573 $(top_builddir)/gobject/libgobject-2.0.la \
574 $(top_builddir)/gmodule/libgmodule-2.0.la \
575 $(top_builddir)/glib/libglib-2.0.la \
584 libgio_2_0_la_CPPFLAGS = $(ZLIB_CFLAGS) $(AM_CPPFLAGS)
587 no_undefined = -no-undefined
590 if OS_WIN32_AND_DLL_COMPILATION
591 gio_win32_res = gio-win32-res.o
592 gio_win32_res_ldflag = -Wl,$(gio_win32_res)
595 install-data-local: install-ms-lib
596 $(mkinstalldirs) $(DESTDIR)$(GIO_MODULE_DIR)
598 uninstall-local: uninstall-ms-lib
600 libgio_2_0_la_CFLAGS = $(AM_CFLAGS) $(GLIB_HIDDEN_VISIBILITY_CFLAGS)
601 libgio_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
602 $(gio_win32_res_ldflag) \
603 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
604 -export-dynamic $(no_undefined)
607 # This is dumb. The ObjC source file should be properly named .m
608 libgio_2_0_la_CFLAGS += -xobjective-c
609 libgio_2_0_la_LDFLAGS += -Wl,-framework,Foundation -Wl,-framework,AppKit
613 libgio_2_0_la_CFLAGS += $(LIBMOUNT_CFLAGS)
614 libgio_2_0_la_LIBADD += $(LIBMOUNT_LIBS)
617 libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
619 gio-win32-res.o: gio.rc
626 gbufferedinputstream.h \
627 gbufferedoutputstream.h \
631 gcharsetconverter.h \
633 gconverterinputstream.h \
634 gconverteroutputstream.h \
637 gdataoutputstream.h \
648 gfilenamecompleter.h \
649 gfileoutputstream.h \
651 gfilterinputstream.h \
652 gfilteroutputstream.h \
656 ginetsocketaddress.h \
669 gmemoryinputstream.h \
670 gmemoryoutputstream.h \
672 gnativevolumemonitor.h \
678 gpollableinputstream.h \
679 gpollableoutputstream.h \
683 gproxyaddressenumerator.h \
688 gsimpleasyncresult.h \
690 gsimplepermission.h \
693 gsocketaddressenumerator.h \
695 gsocketconnectable.h \
696 gsocketconnection.h \
697 gsocketcontrolmessage.h \
701 gsimpleproxyresolver.h \
704 gsubprocesslauncher.h \
706 gtcpwrapperconnection.h \
707 gthreadedsocketservice.h\
711 gtlsclientconnection.h \
717 gtlsserverconnection.h \
719 gdtlsclientconnection.h \
720 gdtlsserverconnection.h \
725 gzlibdecompressor.h \
728 $(application_headers) \
729 $(settings_headers) \
733 gioincludedir=$(includedir)/glib-2.0/gio/
734 gioinclude_HEADERS = \
738 nodist_gioinclude_HEADERS = \
742 # these sources (also mentioned above) are generated.
744 gconstructor_as_data.h \
747 gdbus-daemon-generated.c \
748 gdbus-daemon-generated.h \
754 gioenumtypes.h.template \
755 gioenumtypes.c.template \
759 gconstructor_as_data.h \
760 gnetworking.h.win32 \
763 BUILT_EXTRA_DIST += \
766 # This is read by gobject-introspection/misc/ and gtk-doc
767 gio-public-headers.txt: Makefile
768 $(AM_V_GEN) echo $(gioinclude_HEADERS) $(giowin32include_HEADERS) $(giounixinclude_HEADERS) > $@.tmp && mv $@.tmp $@
770 CLEANFILES += gdbus-daemon-generated.c gdbus-daemon-generated.h gio-public-headers.txt gconstructor_as_data.h
777 all-local: gio-public-headers.txt
779 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
780 $(AM_V_GEN) $(top_builddir)/gobject/glib-mkenums --template $(filter %.template,$^) $(filter-out %.template,$^) > \
781 gioenumtypes.h.tmp && mv gioenumtypes.h.tmp gioenumtypes.h
783 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
784 $(AM_V_GEN) $(top_builddir)/gobject/glib-mkenums --template $(filter %.template,$^) $(filter-out %.template,$^) > \
785 gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c
787 gio.def: libgio-2.0.la
788 $(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
790 gio-2.0.lib: libgio-2.0.la gio.def
791 $(AM_V_GEN) lib.exe -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgio-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(builddir)/gio.def -out:$@
793 bin_PROGRAMS = gio-querymodules glib-compile-schemas glib-compile-resources gsettings
795 glib_compile_resources_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 \
801 glib_compile_resources_SOURCES = \
803 gvdb/gvdb-builder.h \
804 gvdb/gvdb-builder.c \
805 glib-compile-resources.c
807 gio_querymodules_SOURCES = gio-querymodules.c
808 gio_querymodules_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 gconstructor_as_data.h: $(top_srcdir)/glib/gconstructor.h data-to-c.pl
815 $(AM_V_GEN) $(srcdir)/data-to-c.pl $(top_srcdir)/glib/gconstructor.h gconstructor_code > $@.tmp && mv $@.tmp $@
817 glib_compile_schemas_LDADD = $(top_builddir)/glib/libglib-2.0.la
818 glib_compile_schemas_SOURCES = \
819 gconstructor_as_data.h \
821 gvdb/gvdb-builder.h \
822 gvdb/gvdb-builder.c \
823 glib-compile-schemas.c
825 gsettings_LDADD = libgio-2.0.la \
826 $(top_builddir)/gobject/libgobject-2.0.la \
827 $(top_builddir)/gmodule/libgmodule-2.0.la \
828 $(top_builddir)/glib/libglib-2.0.la \
830 gsettings_SOURCES = gsettings-tool.c
832 schemadir = $(datadir)/glib-2.0/schemas
833 dist_schema_DATA = gschema.dtd
835 itsdir = $(datadir)/gettext/its
836 dist_its_DATA = gschema.loc gschema.its
838 # ------------------------------------------------------------------------
839 # SystemTap and dtrace
842 gio_probes.h: gio_probes.d
843 $(AM_V_GEN) $(DTRACE) -C -h -s $< -o $@.tmp
845 -e "s,define STAP_HAS_SEMAPHORES 1,undef STAP_HAS_SEMAPHORES," \
846 -e "s,define _SDT_HAS_SEMAPHORES 1,undef _SDT_HAS_SEMAPHORES," \
847 < $@.tmp > $@ && rm -f $@.tmp
849 gio_probes.lo: gio_probes.d
850 $(AM_V_GEN) $(LIBTOOL) --mode=compile $(AM_V_lt) --tag=CC $(DTRACE) -G -s $< -o $@
852 BUILT_SOURCES += gio_probes.h gio_probes.lo
853 CLEANFILES += gio_probes.h gio_probes.h.tmp
854 libgio_2_0_la_LIBADD += gio_probes.lo
857 tapsetdir = @ABS_TAPSET_DIR@
858 EXTRA_DIST += gio.stp.in
861 tapset_DATA = libgio-2.0.so.0.@LT_CURRENT@.@LT_REVISION@.stp
862 CLEANFILES += $(tapset_DATA)
864 $(tapset_DATA): gio.stp.in Makefile
866 -e 's|[@]ABS_GLIB_RUNTIME_LIBDIR[@]|$(ABS_GLIB_RUNTIME_LIBDIR)|g' \
867 -e 's|[@]LT_CURRENT[@]|$(LT_CURRENT)|g' \
868 -e 's|[@]LT_REVISION[@]|$(LT_REVISION)|g' \
872 # ------------------------------------------------------------------------
875 bin_PROGRAMS += gdbus
876 gdbus_SOURCES = gdbus-tool.c
877 gdbus_LDADD = libgio-2.0.la \
878 $(top_builddir)/gobject/libgobject-2.0.la \
879 $(top_builddir)/gmodule/libgmodule-2.0.la \
880 $(top_builddir)/glib/libglib-2.0.la \
885 # ------------------------------------------------------------------------
886 # gapplication(1) tool
887 bin_PROGRAMS += gapplication
888 gapplication_SOURCES = gapplication-tool.c
889 gapplication_LDADD = libgio-2.0.la \
890 $(top_builddir)/gobject/libgobject-2.0.la \
891 $(top_builddir)/gmodule/libgmodule-2.0.la \
892 $(top_builddir)/glib/libglib-2.0.la \
897 completiondir = $(datadir)/bash-completion/completions
899 completion/gapplication \
901 completion/gsettings \
903 EXTRA_DIST += $(completion_DATA)
905 # ------------------------------------------------------------------------
908 bin_PROGRAMS += gresource
909 gresource_SOURCES = gresource-tool.c
910 gresource_CPPFLAGS = $(LIBELF_CFLAGS) $(AM_CPPFLAGS)
911 gresource_LDADD = libgio-2.0.la \
912 $(top_builddir)/gobject/libgobject-2.0.la \
913 $(top_builddir)/gmodule/libgmodule-2.0.la \
914 $(top_builddir)/glib/libglib-2.0.la \
917 # ------------------------------------------------------------------------
941 gio_LDADD = libgio-2.0.la \
942 $(top_builddir)/gobject/libgobject-2.0.la \
943 $(top_builddir)/glib/libglib-2.0.la \
946 # ------------------------------------------------------------------------
947 # ------ MSVC Project File Generation ------
948 # ------------------------------------------------------------------------
950 MSVCPROJS = gio glib-compile-resources glib-compile-schemas gio-tool
953 $(gio_base_sources) \
954 $(win32_actual_sources) \
955 $(win32_more_sources_for_vcproj) \
956 $(settings_base_sources) \
957 $(win32_settings_sources)
961 gio_HEADERS_DIR = $(includedir)/glib-2.0/gio
962 gio_HEADERS_INST = $(gioinclude_HEADERS) $(nodist_gioinclude_HEADERS)
963 gio_HEADERS_EXCLUDES = dummy
965 glib_compile_resources_FILES = $(glib_compile_resources_SOURCES)
966 glib_compile_resources_EXCLUDES = dummy
968 glib_compile_schemas_FILES = $(glib_compile_schemas_SOURCES)
969 glib_compile_schemas_EXCLUDES = dummy
971 gio_tool_FILES = $(gio_SOURCES)
972 gio_tool_EXCLUDES = dummy
974 include $(top_srcdir)/win32/Makefile.msvcproj
977 $(BUILT_EXTRA_DIST) \
978 $(top_builddir)/win32/vs9/gio.vcproj \
979 $(top_builddir)/win32/vs9/gio.headers \
980 $(top_builddir)/win32/vs9/glib-compile-schemas.vcproj \
981 $(top_builddir)/win32/vs9/glib-compile-resources.vcproj \
982 $(top_builddir)/win32/vs9/gio-tool.vcproj
983 files='$(BUILT_EXTRA_DIST)'; \
984 for f in $$files; do \
985 if test -f $$f; then d=.; else d=$(srcdir); fi; \
986 cp $$d/$$f $(distdir) || exit 1; done
988 if HAVE_GLIB_RUNTIME_LIBDIR
989 ABS_GLIB_RUNTIME_LIBDIR = $(realpath $(libdir)/$(GLIB_RUNTIME_LIBDIR))
991 ABS_GLIB_RUNTIME_LIBDIR = $(libdir)
994 if HAVE_GLIB_RUNTIME_LIBDIR
996 mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
997 mv $(DESTDIR)$(libdir)/libgio-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
998 mv $(DESTDIR)$(libdir)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
999 rm -f $(DESTDIR)$(libdir)/libgio-2.0.so
1000 ln -s $(GLIB_RUNTIME_LIBDIR)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgio-2.0.so