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