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