new GApplication implementation
[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         gapplication.h
143
144 application_sources = \
145         gactiongroup.c                          \
146         gsimpleactiongroup.c                    \
147         gaction.c                               \
148         gsimpleaction.c                         \
149         gapplicationimpl-dbus.c                 \
150         gapplication.c
151
152 local_sources = \
153         glocaldirectorymonitor.c        \
154         glocaldirectorymonitor.h        \
155         glocalfile.c                    \
156         glocalfile.h                    \
157         glocalfileenumerator.c          \
158         glocalfileenumerator.h          \
159         glocalfileinfo.c                \
160         glocalfileinfo.h                \
161         glocalfileinputstream.c         \
162         glocalfileinputstream.h         \
163         glocalfilemonitor.c             \
164         glocalfilemonitor.h             \
165         glocalfileoutputstream.c        \
166         glocalfileoutputstream.h        \
167         glocalfileiostream.c            \
168         glocalfileiostream.h            \
169         glocalvfs.c                     \
170         glocalvfs.h                     \
171         gsocks4proxy.c                  \
172         gsocks4proxy.h                  \
173         gsocks4aproxy.c                 \
174         gsocks4aproxy.h                 \
175         gsocks5proxy.c                  \
176         gsocks5proxy.h                  \
177         $(NULL)
178
179 platform_libadd =
180 platform_deps =
181 appinfo_sources =
182
183 if HAVE_INOTIFY
184 SUBDIRS += inotify
185 platform_libadd += inotify/libinotify.la
186 platform_deps += inotify/libinotify.la
187 endif
188
189 if HAVE_FEN
190 AM_CPPFLAGS += -DHAVE_FEN
191 SUBDIRS += fen
192 platform_libadd += fen/libfen.la
193 platform_deps += fen/libfen.la
194 endif
195
196 if OS_WIN32
197 SUBDIRS += win32
198 platform_libadd += win32/libgiowin32.la
199 platform_deps += win32/libgiowin32.la
200 endif
201
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         gemblem.h               \
308         gemblem.c               \
309         gemblemedicon.h         \
310         gemblemedicon.c         \
311         gfile.c                 \
312         gfileattribute.c        \
313         gfileattribute-priv.h   \
314         gfileenumerator.c       \
315         gfileicon.c             \
316         gfileinfo.c             \
317         gfileinfo-priv.h        \
318         gfileinputstream.c      \
319         gfilemonitor.c          \
320         gfilenamecompleter.c    \
321         gfileoutputstream.c     \
322         gfileiostream.c         \
323         gfilterinputstream.c    \
324         gfilteroutputstream.c   \
325         gicon.c                 \
326         ginetaddress.c          \
327         ginetsocketaddress.c    \
328         ginitable.c             \
329         ginputstream.c          \
330         gioenums.h              \
331         gioerror.c              \
332         giomodule.c             \
333         giomodule-priv.h        \
334         gioscheduler.c          \
335         giostream.c             \
336         gloadableicon.c         \
337         gmount.c                \
338         gmemoryinputstream.c    \
339         gmemoryoutputstream.c   \
340         gmountoperation.c       \
341         gnativevolumemonitor.c  \
342         gnativevolumemonitor.h  \
343         gnetworkaddress.c       \
344         gnetworkingprivate.h    \
345         gnetworkservice.c       \
346         goutputstream.c         \
347         gpermission.c           \
348         gpollfilemonitor.c      \
349         gpollfilemonitor.h      \
350         gproxyresolver.c        \
351         gresolver.c             \
352         gseekable.c             \
353         gsimpleasyncresult.c    \
354         gsimplepermission.c     \
355         gsocket.c               \
356         gsocketaddress.c        \
357         gsocketaddressenumerator.c \
358         gsocketclient.c         \
359         gsocketconnectable.c    \
360         gsocketconnection.c     \
361         gsocketcontrolmessage.c \
362         gsocketinputstream.c    \
363         gsocketinputstream.h    \
364         gsocketlistener.c       \
365         gsocketoutputstream.c   \
366         gsocketoutputstream.h   \
367         gproxy.c                \
368         gproxyaddress.c         \
369         gproxyaddressenumerator.c \
370         gproxyconnection.c      \
371         gproxyconnection.h      \
372         gsocketservice.c        \
373         gsrvtarget.c            \
374         gtcpconnection.c        \
375         gthreadedsocketservice.c\
376         gthemedicon.c           \
377         gthreadedresolver.c     \
378         gthreadedresolver.h     \
379         gunionvolumemonitor.c   \
380         gunionvolumemonitor.h   \
381         gvfs.c                  \
382         gvolume.c               \
383         gvolumemonitor.c        \
384         gzlibcompressor.c       \
385         gzlibdecompressor.c     \
386         gmountprivate.h         \
387         gioenumtypes.h          \
388         gioenumtypes.c          \
389         $(appinfo_sources)      \
390         $(unix_sources)         \
391         $(win32_sources)        \
392         $(application_sources)  \
393         $(settings_sources)     \
394         $(gdbus_sources)        \
395         $(local_sources)        \
396         $(marshal_sources)      \
397         $(NULL)
398
399 EXTRA_DIST += gnullapplication.c gdbusapplication.c strinfo.c
400
401 $(libgio_2_0_la_OBJECTS): $(marshal_sources)
402
403 libgio_2_0_la_LIBADD = \
404         $(top_builddir)/glib/libglib-2.0.la             \
405         $(top_builddir)/gobject/libgobject-2.0.la       \
406         $(top_builddir)/gmodule/libgmodule-2.0.la       \
407         $(platform_libadd)                              \
408         $(ZLIB_LIBS)                                    \
409         $(SELINUX_LIBS)                                 \
410         $(GLIB_LIBS)                                    \
411         $(XATTR_LIBS)                                   \
412         $(NULL)
413
414 if PLATFORM_WIN32
415 no_undefined = -no-undefined
416 endif
417
418 if OS_WIN32_AND_DLL_COMPILATION
419 export_symbols = -export-symbols gio.def
420 gio_def = gio.def
421
422 gio_win32_res = gio-win32-res.o
423 gio_win32_res_ldflag = -Wl,$(gio_win32_res)
424
425 install-def-file:
426         $(INSTALL) gio.def $(DESTDIR)$(libdir)/gio-2.0.def
427
428 uninstall-def-file:
429         -rm $(DESTDIR)$(libdir)/gio-2.0.def
430 else
431 install-def-file:
432 uninstall-def-file:
433
434 export_symbols = -export-symbols-regex '^g_.*'
435 endif
436
437 install-data-local: install-ms-lib install-def-file
438         $(mkinstalldirs) $(DESTDIR)$(GIO_MODULE_DIR)
439
440 uninstall-local: uninstall-ms-lib uninstall-def-file
441
442 libgio_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
443         $(gio_win32_res_ldflag) \
444         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
445         -export-dynamic $(no_undefined) $(export_symbols)
446
447 libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
448
449 gio-win32-res.o: gio.rc
450         $(WINDRES) gio.rc $@
451
452 gio_headers =                   \
453         gappinfo.h              \
454         gasyncinitable.h        \
455         gasyncresult.h          \
456         gbufferedinputstream.h  \
457         gbufferedoutputstream.h \
458         gcancellable.h          \
459         gcontenttype.h          \
460         gcharsetconverter.h     \
461         gconverter.h            \
462         gconverterinputstream.h \
463         gconverteroutputstream.h        \
464         gdatainputstream.h      \
465         gdataoutputstream.h     \
466         gdrive.h                \
467         gemblem.h               \
468         gemblemedicon.h         \
469         gfile.h                 \
470         gfileattribute.h        \
471         gfileenumerator.h       \
472         gfileicon.h             \
473         gfileinfo.h             \
474         gfileinputstream.h      \
475         gfilemonitor.h          \
476         gfilenamecompleter.h    \
477         gfileoutputstream.h     \
478         gfileiostream.h         \
479         gfilterinputstream.h    \
480         gfilteroutputstream.h   \
481         gicon.h                 \
482         ginetaddress.h          \
483         ginetsocketaddress.h    \
484         ginputstream.h          \
485         ginitable.h             \
486         gio.h                   \
487         giotypes.h              \
488         gioenums.h              \
489         gioerror.h              \
490         giomodule.h             \
491         gioscheduler.h          \
492         giostream.h             \
493         gloadableicon.h         \
494         gmount.h                \
495         gmemoryinputstream.h    \
496         gmemoryoutputstream.h   \
497         gmountoperation.h       \
498         gnativevolumemonitor.h  \
499         gnetworkaddress.h       \
500         gnetworkservice.h       \
501         goutputstream.h         \
502         gpermission.h           \
503         gproxyaddress.h         \
504         gproxy.h                \
505         gproxyaddressenumerator.h \
506         gproxyresolver.h        \
507         gresolver.h             \
508         gseekable.h             \
509         gsimpleasyncresult.h    \
510         gsimplepermission.h     \
511         gsocket.h               \
512         gsocketaddress.h        \
513         gsocketaddressenumerator.h \
514         gsocketclient.h         \
515         gsocketconnectable.h    \
516         gsocketconnection.h     \
517         gsocketcontrolmessage.h \
518         gsocketlistener.h       \
519         gsocketservice.h        \
520         gsrvtarget.h            \
521         gtcpconnection.h        \
522         gthreadedsocketservice.h\
523         gthemedicon.h           \
524         gvfs.h                  \
525         gvolume.h               \
526         gvolumemonitor.h        \
527         gzlibcompressor.h       \
528         gzlibdecompressor.h     \
529         $(application_headers)  \
530         $(settings_headers)     \
531         $(gdbus_headers)        \
532         $(NULL)
533
534 gioincludedir=$(includedir)/glib-2.0/gio/
535 gioinclude_HEADERS =            \
536         $(gio_headers)          \
537         gioenumtypes.h
538
539 # these sources (also mentioned above) are generated.
540 BUILT_SOURCES =                 \
541         gio-marshal.h           \
542         gio-marshal.c           \
543         gioenumtypes.h          \
544         gioenumtypes.c          \
545         $(NULL)
546
547 EXTRA_DIST +=                   \
548         gio-marshal.list        \
549         gio.symbols             \
550         gioenumtypes.h.template \
551         gioenumtypes.c.template \
552         makefile.msc            \
553         abicheck.sh             \
554         gio.rc.in               \
555         gschema.dtd             \
556         $(NULL)
557
558 BUILT_EXTRA_DIST =              \
559         gio.rc
560
561 CLEANFILES =                    \
562         $(marshal_sources)      \
563         $(NULL)
564
565 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
566         $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
567           cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.h.template $(gio_headers) ) > \
568             gioenumtypes.h.tmp && mv gioenumtypes.h.tmp gioenumtypes.h
569
570 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
571         $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
572           cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.c.template $(gio_headers) ) > \
573             gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c
574
575 gio-2.0.lib: libgio-2.0.la gio.def
576         lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgio-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gio.def -out:$@
577
578 bin_PROGRAMS = gio-querymodules glib-compile-schemas gsettings
579
580 gio_querymodules_SOURCES = gio-querymodules.c
581 gio_querymodules_LDADD   = \
582         $(top_builddir)/glib/libglib-2.0.la             \
583         $(top_builddir)/gobject/libgobject-2.0.la       \
584         $(top_builddir)/gmodule/libgmodule-2.0.la       \
585         libgio-2.0.la                                   \
586         $(NULL)
587
588 glib_compile_schemas_LDADD = $(top_builddir)/glib/libglib-2.0.la
589 glib_compile_schemas_SOURCES = \
590         gvdb/gvdb-format.h              \
591         gvdb/gvdb-builder.h             \
592         gvdb/gvdb-builder.c             \
593         glib-compile-schemas.c
594
595 gsettings_LDADD = \
596         $(top_builddir)/glib/libglib-2.0.la             \
597         $(top_builddir)/gobject/libgobject-2.0.la       \
598         libgio-2.0.la
599 gsettings_SOURCES = gsettings-tool.c
600
601 schemadir = $(datadir)/glib-2.0/schemas
602 dist_schema_DATA = gschema.dtd
603
604 # ------------------------------------------------------------------------
605 # gdbus(1) tool
606
607 bin_PROGRAMS += gdbus
608 gdbus_SOURCES = gdbus-tool.c
609 gdbus_LDADD = libgio-2.0.la \
610         $(top_builddir)/glib/libglib-2.0.la             \
611         $(top_builddir)/gobject/libgobject-2.0.la
612
613 completiondir = $(sysconfdir)/bash_completion.d
614 completion_SCRIPTS = \
615         gdbus-bash-completion.sh                \
616         gsettings-bash-completion.sh
617 EXTRA_DIST += $(completion_SCRIPTS)
618
619 # ------------------------------------------------------------------------
620
621 dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/gio.vcproj
622         files='$(BUILT_EXTRA_DIST)'; \
623         for f in $$files; do \
624           if test -f $$f; then d=.; else d=$(srcdir); fi; \
625           cp $$d/$$f $(distdir) || exit 1; done
626
627 ../build/win32/vs9/gio.vcproj: $(top_srcdir)/build/win32/vs9/gio.vcprojin
628         for F in `echo $(libgio_2_0_la_SOURCES) $(win32_actual_sources) $(win32_actual_more_sources_for_vcproj) | tr '/' '\\'`; do \
629                 case $$F in \
630                 gunix*.c|gdesktopappinfo.c) ;; \
631                 *.c) echo '   <File RelativePath="..\..\..\gio\'$$F'" />' \
632                      ;; \
633                 esac; \
634         done | sort -u >libgio.sourcefiles
635         $(CPP) -P - <$(top_srcdir)/build/win32/vs9/gio.vcprojin >$@
636         rm libgio.sourcefiles
637
638 if HAVE_GLIB_RUNTIME_LIBDIR
639 install-data-hook:
640         mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
641         mv $(DESTDIR)$(libdir)/libgio-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
642         mv $(DESTDIR)$(libdir)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
643         rm -f $(DESTDIR)$(libdir)/libgio-2.0.so
644         ln -s $(GLIB_RUNTIME_LIBDIR)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgio-2.0.so
645 endif