Add pollable input/output streams
[platform/upstream/glib.git] / gio / Makefile.am
1 include $(top_srcdir)/Makefile.decl
2
3 NULL =
4
5 SUBDIRS=
6
7 if OS_UNIX
8 SUBDIRS += libasyncns xdgmime
9 endif
10
11 if OS_WIN32_AND_DLL_COMPILATION
12 if MS_LIB_AVAILABLE
13 noinst_DATA = gio-2.0.lib
14
15 install_ms_lib_cmd = $(INSTALL) gio-2.0.lib $(DESTDIR)$(libdir)
16 uninstall_ms_lib_cmd = -rm $(DESTDIR)$(libdir)/gio-2.0.lib
17 endif
18 endif
19
20 install-ms-lib:
21         $(install_ms_lib_cmd)
22
23 uninstall-ms-lib:
24         $(uninstall_ms_lib_cmd)
25
26 gio.def: gio.symbols
27         $(AM_V_GEN) (echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DINCLUDE_INTERNAL_SYMBOLS -DG_OS_WIN32 -DALL_FILES - <$(srcdir)/gio.symbols | sed -e '/^$$/d' -e 's/^/     /' -e 's/G_GNUC_[^ ]*//g' | sort) > gio.def.tmp && \
28           mv gio.def.tmp gio.def
29
30 if OS_LINUX
31 if HAVE_GNUC_VISIBILITY
32 TESTS = abicheck.sh
33 endif
34 endif
35
36 if HAVE_THREADS
37 THREAD_FLAGS=-DG_THREADS_MANDATORY
38 endif
39
40 AM_CPPFLAGS = \
41         -DG_LOG_DOMAIN=\"GLib-GIO\"                     \
42         $(gmodule_INCLUDES)                             \
43         $(GLIB_DEBUG_FLAGS)                             \
44         $(THREAD_FLAGS)                                 \
45         -DG_DISABLE_DEPRECATED                          \
46         -DGIO_COMPILATION                               \
47         -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\"  
48
49 lib_LTLIBRARIES = libgio-2.0.la
50
51 marshal_sources = \
52         gio-marshal.h   \
53         gio-marshal.c   \
54         $(NULL)
55
56 if CROSS_COMPILING
57   glib_genmarshal=$(GLIB_GENMARSHAL)
58 else
59   glib_genmarshal=../gobject/glib-genmarshal
60 endif
61
62 gio-marshal.h: gio-marshal.list
63         $(AM_V_GEN) $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --header --internal > $@.tmp && \
64           mv $@.tmp $@
65
66 gio-marshal.c: gio-marshal.h gio-marshal.list
67         $(AM_V_GEN) (echo "#include \"gio-marshal.h\""; \
68         $(glib_genmarshal) --prefix=_gio_marshal $(srcdir)/gio-marshal.list --body --internal) > $@.tmp && \
69           mv $@.tmp $@
70
71 gdbus_headers =                         \
72         gdbusauthobserver.h             \
73         gcredentials.h                  \
74         gdbusutils.h                    \
75         gdbuserror.h                    \
76         gdbusaddress.h                  \
77         gdbusconnection.h               \
78         gdbusmessage.h                  \
79         gdbusnameowning.h               \
80         gdbusnamewatching.h             \
81         gdbusproxy.h                    \
82         gdbusintrospection.h            \
83         gdbusmethodinvocation.h         \
84         gdbusserver.h                   \
85         $(NULL)
86
87 gdbus_sources =                                                         \
88         gdbusutils.h                    gdbusutils.c                    \
89         gdbusaddress.h                  gdbusaddress.c                  \
90         gdbusauthobserver.h             gdbusauthobserver.c             \
91         gdbusauth.h                     gdbusauth.c                     \
92         gdbusauthmechanism.h            gdbusauthmechanism.c            \
93         gdbusauthmechanismanon.h        gdbusauthmechanismanon.c        \
94         gdbusauthmechanismexternal.h    gdbusauthmechanismexternal.c    \
95         gdbusauthmechanismsha1.h        gdbusauthmechanismsha1.c        \
96         gdbuserror.h                    gdbuserror.c                    \
97         gdbusconnection.h               gdbusconnection.c               \
98         gdbusmessage.h                  gdbusmessage.c                  \
99         gdbusnameowning.h               gdbusnameowning.c               \
100         gdbusnamewatching.h             gdbusnamewatching.c             \
101         gdbusproxy.h                    gdbusproxy.c                    \
102         gdbusprivate.h                  gdbusprivate.c                  \
103         gdbusintrospection.h            gdbusintrospection.c            \
104         gdbusmethodinvocation.h         gdbusmethodinvocation.c         \
105         gdbusserver.h                   gdbusserver.c                   \
106         $(NULL)
107
108 settings_headers = \
109         gsettingsbackend.h              \
110         gsettings.h
111
112 settings_sources = \
113         gvdb/gvdb-format.h              \
114         gvdb/gvdb-reader.h              \
115         gvdb/gvdb-reader.c              \
116         gdelayedsettingsbackend.h       \
117         gdelayedsettingsbackend.c       \
118         gkeyfilesettingsbackend.c       \
119         gmemorysettingsbackend.h        \
120         gmemorysettingsbackend.c        \
121         gnullsettingsbackend.h          \
122         gnullsettingsbackend.c          \
123         gsettingsbackendinternal.h      \
124         gsettingsbackend.c              \
125         gsettingsschema.h               \
126         gsettingsschema.c               \
127         gsettings-mapping.h             \
128         gsettings-mapping.c             \
129         gsettings.c
130
131 if OS_WIN32
132 settings_sources += \
133         gregistrysettingsbackend.h      \
134         gregistrysettingsbackend.c
135 endif
136
137 application_headers = \
138         gactiongroup.h                  \
139         gsimpleactiongroup.h            \
140         gaction.h                       \
141         gsimpleaction.h                 \
142         gapplicationcommandline.h       \
143         gapplication.h
144
145 application_sources = \
146         gactiongroup.c                          \
147         gsimpleactiongroup.c                    \
148         gaction.c                               \
149         gsimpleaction.c                         \
150         gapplicationcommandline.c               \
151         gapplicationimpl.h                      \
152         gapplicationimpl-dbus.c                 \
153         gapplication.c
154
155 local_sources = \
156         glocaldirectorymonitor.c        \
157         glocaldirectorymonitor.h        \
158         glocalfile.c                    \
159         glocalfile.h                    \
160         glocalfileenumerator.c          \
161         glocalfileenumerator.h          \
162         glocalfileinfo.c                \
163         glocalfileinfo.h                \
164         glocalfileinputstream.c         \
165         glocalfileinputstream.h         \
166         glocalfilemonitor.c             \
167         glocalfilemonitor.h             \
168         glocalfileoutputstream.c        \
169         glocalfileoutputstream.h        \
170         glocalfileiostream.c            \
171         glocalfileiostream.h            \
172         glocalvfs.c                     \
173         glocalvfs.h                     \
174         gsocks4proxy.c                  \
175         gsocks4proxy.h                  \
176         gsocks4aproxy.c                 \
177         gsocks4aproxy.h                 \
178         gsocks5proxy.c                  \
179         gsocks5proxy.h                  \
180         $(NULL)
181
182 platform_libadd =
183 platform_deps =
184 appinfo_sources =
185
186 if HAVE_INOTIFY
187 SUBDIRS += inotify
188 platform_libadd += inotify/libinotify.la
189 platform_deps += inotify/libinotify.la
190 endif
191
192 if HAVE_FEN
193 AM_CPPFLAGS += -DHAVE_FEN
194 SUBDIRS += fen
195 platform_libadd += fen/libfen.la
196 platform_deps += fen/libfen.la
197 endif
198
199 if OS_WIN32
200 SUBDIRS += win32
201 platform_libadd += win32/libgiowin32.la
202 platform_deps += win32/libgiowin32.la
203 endif
204
205
206 SUBDIRS += .
207
208 if HAVE_FAM
209 SUBDIRS += fam
210 endif
211
212 if OS_UNIX
213 appinfo_sources += gdesktopappinfo.c
214 platform_libadd += libasyncns/libasyncns.la xdgmime/libxdgmime.la
215 platform_deps += libasyncns/libasyncns.la xdgmime/libxdgmime.la
216 unix_sources = \
217         gfiledescriptorbased.c  \
218         gunixconnection.c       \
219         gunixcredentialsmessage.c       \
220         gunixfdlist.c           \
221         gunixfdmessage.c        \
222         gunixmount.c            \
223         gunixmount.h            \
224         gunixmounts.c           \
225         gunixresolver.c         \
226         gunixresolver.h         \
227         gunixsocketaddress.c    \
228         gunixvolume.c           \
229         gunixvolume.h           \
230         gunixvolumemonitor.c    \
231         gunixvolumemonitor.h    \
232         gunixinputstream.c      \
233         gunixoutputstream.c     \
234         $(NULL)
235
236
237 giounixincludedir=$(includedir)/gio-unix-2.0/gio
238 giounixinclude_HEADERS = \
239         gdesktopappinfo.h       \
240         gfiledescriptorbased.h  \
241         gunixconnection.h       \
242         gunixcredentialsmessage.h       \
243         gunixmounts.h           \
244         gunixfdlist.h           \
245         gunixfdmessage.h        \
246         gunixinputstream.h      \
247         gunixoutputstream.h     \
248         gunixsocketaddress.h    \
249         $(NULL)
250 endif
251
252 win32_actual_sources = \
253         gwin32mount.c \
254         gwin32mount.h \
255         gwin32resolver.c \
256         gwin32resolver.h \
257         gwin32volumemonitor.c \
258         gwin32volumemonitor.h \
259         gwin32inputstream.c \
260         gwin32outputstream.c \
261         gwin32outputstream.h \
262         $(NULL)
263
264 win32_more_sources_for_vcproj = \
265         gwin32appinfo.c \
266         win32/gwin32directorymonitor.c \
267         win32/gwinhttpfile.c \
268         win32/gwinhttpfileinputstream.c \
269         win32/gwinhttpfileoutputstream.c \
270         win32/gwinhttpvfs.c
271
272 if OS_WIN32
273 appinfo_sources += gwin32appinfo.c gwin32appinfo.h
274 platform_libadd += -lshlwapi -lws2_32 -ldnsapi
275 win32_sources = $(win32_actual_sources)
276
277 giowin32includedir=$(includedir)/gio-win32-2.0/gio
278 giowin32include_HEADERS = \
279         gwin32inputstream.h \
280         gwin32outputstream.h \
281         $(NULL)
282
283 endif
284
285 SUBDIRS += tests
286
287 libgio_2_0_la_SOURCES =         \
288         gappinfo.c              \
289         gasynchelper.c          \
290         gasynchelper.h          \
291         gasyncinitable.c        \
292         gasyncresult.c          \
293         gbufferedinputstream.c  \
294         gbufferedoutputstream.c \
295         gcancellable.c          \
296         gcontenttype.c          \
297         gcontenttypeprivate.h   \
298         gcharsetconverter.c     \
299         gconverter.c            \
300         gconverterinputstream.c \
301         gconverteroutputstream.c        \
302         gcredentials.c          \
303         gdatainputstream.c      \
304         gdataoutputstream.c     \
305         gdrive.c                \
306         gdummyfile.h            \
307         gdummyfile.c            \
308         gdummyproxyresolver.c   \
309         gdummyproxyresolver.h   \
310         gemblem.h               \
311         gemblem.c               \
312         gemblemedicon.h         \
313         gemblemedicon.c         \
314         gfile.c                 \
315         gfileattribute.c        \
316         gfileattribute-priv.h   \
317         gfileenumerator.c       \
318         gfileicon.c             \
319         gfileinfo.c             \
320         gfileinfo-priv.h        \
321         gfileinputstream.c      \
322         gfilemonitor.c          \
323         gfilenamecompleter.c    \
324         gfileoutputstream.c     \
325         gfileiostream.c         \
326         gfilterinputstream.c    \
327         gfilteroutputstream.c   \
328         gicon.c                 \
329         ginetaddress.c          \
330         ginetsocketaddress.c    \
331         ginitable.c             \
332         ginputstream.c          \
333         gioenums.h              \
334         gioerror.c              \
335         giomodule.c             \
336         giomodule-priv.h        \
337         gioscheduler.c          \
338         giostream.c             \
339         gloadableicon.c         \
340         gmount.c                \
341         gmemoryinputstream.c    \
342         gmemoryoutputstream.c   \
343         gmountoperation.c       \
344         gnativevolumemonitor.c  \
345         gnativevolumemonitor.h  \
346         gnetworkaddress.c       \
347         gnetworkingprivate.h    \
348         gnetworkservice.c       \
349         goutputstream.c         \
350         gperiodic.c             \
351         gpermission.c           \
352         gpollableinputstream.c  \
353         gpollableoutputstream.c \
354         gpollfilemonitor.c      \
355         gpollfilemonitor.h      \
356         gproxyresolver.c        \
357         gresolver.c             \
358         gseekable.c             \
359         gsimpleasyncresult.c    \
360         gsimplepermission.c     \
361         gsocket.c               \
362         gsocketaddress.c        \
363         gsocketaddressenumerator.c \
364         gsocketclient.c         \
365         gsocketconnectable.c    \
366         gsocketconnection.c     \
367         gsocketcontrolmessage.c \
368         gsocketinputstream.c    \
369         gsocketinputstream.h    \
370         gsocketlistener.c       \
371         gsocketoutputstream.c   \
372         gsocketoutputstream.h   \
373         gproxy.c                \
374         gproxyaddress.c         \
375         gproxyaddressenumerator.c \
376         gproxyconnection.c      \
377         gproxyconnection.h      \
378         gsocketservice.c        \
379         gsrvtarget.c            \
380         gtcpconnection.c        \
381         gthreadedsocketservice.c\
382         gthemedicon.c           \
383         gthreadedresolver.c     \
384         gthreadedresolver.h     \
385         gunionvolumemonitor.c   \
386         gunionvolumemonitor.h   \
387         gvfs.c                  \
388         gvolume.c               \
389         gvolumemonitor.c        \
390         gzlibcompressor.c       \
391         gzlibdecompressor.c     \
392         gmountprivate.h         \
393         gioenumtypes.h          \
394         gioenumtypes.c          \
395         $(appinfo_sources)      \
396         $(unix_sources)         \
397         $(win32_sources)        \
398         $(application_sources)  \
399         $(settings_sources)     \
400         $(gdbus_sources)        \
401         $(local_sources)        \
402         $(marshal_sources)      \
403         $(NULL)
404
405 EXTRA_DIST += strinfo.c
406
407 $(libgio_2_0_la_OBJECTS): $(marshal_sources)
408
409 libgio_2_0_la_LIBADD = \
410         $(top_builddir)/glib/libglib-2.0.la             \
411         $(top_builddir)/gobject/libgobject-2.0.la       \
412         $(top_builddir)/gmodule/libgmodule-2.0.la       \
413         $(platform_libadd)                              \
414         $(ZLIB_LIBS)                                    \
415         $(SELINUX_LIBS)                                 \
416         $(GLIB_LIBS)                                    \
417         $(XATTR_LIBS)                                   \
418         $(NULL)
419
420 if PLATFORM_WIN32
421 no_undefined = -no-undefined
422 endif
423
424 if OS_WIN32_AND_DLL_COMPILATION
425 export_symbols = -export-symbols gio.def
426 gio_def = gio.def
427
428 gio_win32_res = gio-win32-res.o
429 gio_win32_res_ldflag = -Wl,$(gio_win32_res)
430
431 install-def-file:
432         $(INSTALL) gio.def $(DESTDIR)$(libdir)/gio-2.0.def
433
434 uninstall-def-file:
435         -rm $(DESTDIR)$(libdir)/gio-2.0.def
436 else
437 install-def-file:
438 uninstall-def-file:
439
440 export_symbols = -export-symbols-regex '^g_.*'
441 endif
442
443 install-data-local: install-ms-lib install-def-file
444         $(mkinstalldirs) $(DESTDIR)$(GIO_MODULE_DIR)
445
446 uninstall-local: uninstall-ms-lib uninstall-def-file
447
448 libgio_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
449         $(gio_win32_res_ldflag) \
450         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
451         -export-dynamic $(no_undefined) $(export_symbols)
452
453 libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
454
455 gio-win32-res.o: gio.rc
456         $(WINDRES) gio.rc $@
457
458 gio_headers =                   \
459         gappinfo.h              \
460         gasyncinitable.h        \
461         gasyncresult.h          \
462         gbufferedinputstream.h  \
463         gbufferedoutputstream.h \
464         gcancellable.h          \
465         gcontenttype.h          \
466         gcharsetconverter.h     \
467         gconverter.h            \
468         gconverterinputstream.h \
469         gconverteroutputstream.h        \
470         gdatainputstream.h      \
471         gdataoutputstream.h     \
472         gdrive.h                \
473         gemblem.h               \
474         gemblemedicon.h         \
475         gfile.h                 \
476         gfileattribute.h        \
477         gfileenumerator.h       \
478         gfileicon.h             \
479         gfileinfo.h             \
480         gfileinputstream.h      \
481         gfilemonitor.h          \
482         gfilenamecompleter.h    \
483         gfileoutputstream.h     \
484         gfileiostream.h         \
485         gfilterinputstream.h    \
486         gfilteroutputstream.h   \
487         gicon.h                 \
488         ginetaddress.h          \
489         ginetsocketaddress.h    \
490         ginputstream.h          \
491         ginitable.h             \
492         gio.h                   \
493         giotypes.h              \
494         gioenums.h              \
495         gioerror.h              \
496         giomodule.h             \
497         gioscheduler.h          \
498         giostream.h             \
499         gloadableicon.h         \
500         gmount.h                \
501         gmemoryinputstream.h    \
502         gmemoryoutputstream.h   \
503         gmountoperation.h       \
504         gnativevolumemonitor.h  \
505         gnetworkaddress.h       \
506         gnetworkservice.h       \
507         goutputstream.h         \
508         gperiodic.h             \
509         gpermission.h           \
510         gpollableinputstream.h  \
511         gpollableoutputstream.h \
512         gproxyaddress.h         \
513         gproxy.h                \
514         gproxyaddressenumerator.h \
515         gproxyresolver.h        \
516         gresolver.h             \
517         gseekable.h             \
518         gsimpleasyncresult.h    \
519         gsimplepermission.h     \
520         gsocket.h               \
521         gsocketaddress.h        \
522         gsocketaddressenumerator.h \
523         gsocketclient.h         \
524         gsocketconnectable.h    \
525         gsocketconnection.h     \
526         gsocketcontrolmessage.h \
527         gsocketlistener.h       \
528         gsocketservice.h        \
529         gsrvtarget.h            \
530         gtcpconnection.h        \
531         gthreadedsocketservice.h\
532         gthemedicon.h           \
533         gvfs.h                  \
534         gvolume.h               \
535         gvolumemonitor.h        \
536         gzlibcompressor.h       \
537         gzlibdecompressor.h     \
538         $(application_headers)  \
539         $(settings_headers)     \
540         $(gdbus_headers)        \
541         $(NULL)
542
543 gioincludedir=$(includedir)/glib-2.0/gio/
544 gioinclude_HEADERS =            \
545         $(gio_headers)          \
546         gioenumtypes.h
547
548 # these sources (also mentioned above) are generated.
549 BUILT_SOURCES =                 \
550         gio-marshal.h           \
551         gio-marshal.c           \
552         gioenumtypes.h          \
553         gioenumtypes.c          \
554         $(NULL)
555
556 EXTRA_DIST +=                   \
557         gio-marshal.list        \
558         gio.symbols             \
559         gioenumtypes.h.template \
560         gioenumtypes.c.template \
561         makefile.msc            \
562         abicheck.sh             \
563         gio.rc.in               \
564         gschema.dtd             \
565         $(NULL)
566
567 BUILT_EXTRA_DIST =              \
568         gio.rc
569
570 CLEANFILES =                    \
571         $(marshal_sources)      \
572         $(NULL)
573
574 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
575         $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
576           cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.h.template $(gio_headers) ) > \
577             gioenumtypes.h.tmp && mv gioenumtypes.h.tmp gioenumtypes.h
578
579 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
580         $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
581           cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.c.template $(gio_headers) ) > \
582             gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c
583
584 gio-2.0.lib: libgio-2.0.la gio.def
585         lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgio-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gio.def -out:$@
586
587 bin_PROGRAMS = gio-querymodules glib-compile-schemas gsettings
588
589 gio_querymodules_SOURCES = gio-querymodules.c
590 gio_querymodules_LDADD   = \
591         $(top_builddir)/glib/libglib-2.0.la             \
592         $(top_builddir)/gobject/libgobject-2.0.la       \
593         $(top_builddir)/gmodule/libgmodule-2.0.la       \
594         libgio-2.0.la                                   \
595         $(NULL)
596
597 glib_compile_schemas_LDADD = $(top_builddir)/glib/libglib-2.0.la
598 glib_compile_schemas_SOURCES = \
599         gvdb/gvdb-format.h              \
600         gvdb/gvdb-builder.h             \
601         gvdb/gvdb-builder.c             \
602         glib-compile-schemas.c
603
604 gsettings_LDADD = \
605         $(top_builddir)/glib/libglib-2.0.la             \
606         $(top_builddir)/gobject/libgobject-2.0.la       \
607         libgio-2.0.la
608 gsettings_SOURCES = gsettings-tool.c
609
610 schemadir = $(datadir)/glib-2.0/schemas
611 dist_schema_DATA = gschema.dtd
612
613 # ------------------------------------------------------------------------
614 # gdbus(1) tool
615
616 bin_PROGRAMS += gdbus
617 gdbus_SOURCES = gdbus-tool.c
618 gdbus_LDADD = libgio-2.0.la \
619         $(top_builddir)/glib/libglib-2.0.la             \
620         $(top_builddir)/gobject/libgobject-2.0.la
621
622 completiondir = $(sysconfdir)/bash_completion.d
623 completion_SCRIPTS = \
624         gdbus-bash-completion.sh                \
625         gsettings-bash-completion.sh
626 EXTRA_DIST += $(completion_SCRIPTS)
627
628 # ------------------------------------------------------------------------
629
630 dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/gio.vcproj
631         files='$(BUILT_EXTRA_DIST)'; \
632         for f in $$files; do \
633           if test -f $$f; then d=.; else d=$(srcdir); fi; \
634           cp $$d/$$f $(distdir) || exit 1; done
635
636 ../build/win32/vs9/gio.vcproj: $(top_srcdir)/build/win32/vs9/gio.vcprojin
637         for F in `echo $(libgio_2_0_la_SOURCES) $(win32_actual_sources) $(win32_actual_more_sources_for_vcproj) | tr '/' '\\'`; do \
638                 case $$F in \
639                 gunix*.c|gdesktopappinfo.c) ;; \
640                 *.c) echo '   <File RelativePath="..\..\..\gio\'$$F'" />' \
641                      ;; \
642                 esac; \
643         done | sort -u >libgio.sourcefiles
644         $(CPP) -P - <$(top_srcdir)/build/win32/vs9/gio.vcprojin >$@
645         rm libgio.sourcefiles
646
647 if HAVE_GLIB_RUNTIME_LIBDIR
648 install-data-hook:
649         mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
650         mv $(DESTDIR)$(libdir)/libgio-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
651         mv $(DESTDIR)$(libdir)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
652         rm -f $(DESTDIR)$(libdir)/libgio-2.0.so
653         ln -s $(GLIB_RUNTIME_LIBDIR)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgio-2.0.so
654 endif