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