add GNetworkMonitor, for... monitoring the network
[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         gsettings.h
101
102 settings_sources = \
103         gvdb/gvdb-format.h              \
104         gvdb/gvdb-reader.h              \
105         gvdb/gvdb-reader.c              \
106         gdelayedsettingsbackend.h       \
107         gdelayedsettingsbackend.c       \
108         gkeyfilesettingsbackend.c       \
109         gmemorysettingsbackend.c        \
110         gnullsettingsbackend.c          \
111         gsettingsbackendinternal.h      \
112         gsettingsbackend.c              \
113         gsettingsschema.h               \
114         gsettingsschema.c               \
115         gsettings-mapping.h             \
116         gsettings-mapping.c             \
117         gsettings.c
118
119 if OS_WIN32
120 settings_sources += \
121         gregistrysettingsbackend.h      \
122         gregistrysettingsbackend.c
123 endif
124
125 application_headers = \
126         gactiongroup.h                  \
127         gsimpleactiongroup.h            \
128         gaction.h                       \
129         gsimpleaction.h                 \
130         gapplicationcommandline.h       \
131         gapplication.h
132
133 application_sources = \
134         gactiongroup.c                          \
135         gsimpleactiongroup.c                    \
136         gaction.c                               \
137         gsimpleaction.c                         \
138         gapplicationcommandline.c               \
139         gapplicationimpl.h                      \
140         gapplicationimpl-dbus.c                 \
141         gapplication.c
142
143 local_sources = \
144         glocaldirectorymonitor.c        \
145         glocaldirectorymonitor.h        \
146         glocalfile.c                    \
147         glocalfile.h                    \
148         glocalfileenumerator.c          \
149         glocalfileenumerator.h          \
150         glocalfileinfo.c                \
151         glocalfileinfo.h                \
152         glocalfileinputstream.c         \
153         glocalfileinputstream.h         \
154         glocalfilemonitor.c             \
155         glocalfilemonitor.h             \
156         glocalfileoutputstream.c        \
157         glocalfileoutputstream.h        \
158         glocalfileiostream.c            \
159         glocalfileiostream.h            \
160         glocalvfs.c                     \
161         glocalvfs.h                     \
162         gsocks4proxy.c                  \
163         gsocks4proxy.h                  \
164         gsocks4aproxy.c                 \
165         gsocks4aproxy.h                 \
166         gsocks5proxy.c                  \
167         gsocks5proxy.h                  \
168         $(NULL)
169
170 platform_libadd =
171 platform_deps =
172 appinfo_sources =
173
174 if HAVE_INOTIFY
175 SUBDIRS += inotify
176 platform_libadd += inotify/libinotify.la
177 platform_deps += inotify/libinotify.la
178 endif
179
180 if HAVE_FEN
181 AM_CPPFLAGS += -DHAVE_FEN
182 SUBDIRS += fen
183 platform_libadd += fen/libfen.la
184 platform_deps += fen/libfen.la
185 endif
186
187 if OS_WIN32
188 SUBDIRS += win32
189 platform_libadd += win32/libgiowin32.la
190 platform_deps += win32/libgiowin32.la
191 endif
192
193 SUBDIRS += .
194
195 if HAVE_FAM
196 SUBDIRS += fam
197 endif
198
199 if OS_UNIX
200 appinfo_sources += gdesktopappinfo.c
201 platform_libadd += xdgmime/libxdgmime.la $(RESOLVER_LIBADD)
202 platform_deps += xdgmime/libxdgmime.la
203 unix_sources = \
204         gfiledescriptorbased.c  \
205         gunixconnection.c       \
206         gunixcredentialsmessage.c       \
207         gunixfdlist.c           \
208         gunixfdmessage.c        \
209         gunixmount.c            \
210         gunixmount.h            \
211         gunixmounts.c           \
212         gunixsocketaddress.c    \
213         gunixvolume.c           \
214         gunixvolume.h           \
215         gunixvolumemonitor.c    \
216         gunixvolumemonitor.h    \
217         gunixinputstream.c      \
218         gunixoutputstream.c     \
219         $(NULL)
220
221
222 giounixincludedir=$(includedir)/gio-unix-2.0/gio
223 giounixinclude_HEADERS = \
224         gdesktopappinfo.h       \
225         gfiledescriptorbased.h  \
226         gunixconnection.h       \
227         gunixcredentialsmessage.h       \
228         gunixmounts.h           \
229         gunixfdlist.h           \
230         gunixfdmessage.h        \
231         gunixinputstream.h      \
232         gunixoutputstream.h     \
233         gunixsocketaddress.h    \
234         $(NULL)
235
236 if HAVE_NETLINK
237 unix_sources +=                  \
238         gnetworkmonitornetlink.c \
239         gnetworkmonitornetlink.h \
240         $(NULL)
241 endif
242 endif
243
244 win32_actual_sources = \
245         gwin32mount.c \
246         gwin32mount.h \
247         gwin32volumemonitor.c \
248         gwin32volumemonitor.h \
249         gwin32inputstream.c \
250         gwin32outputstream.c \
251         gwin32outputstream.h \
252         $(NULL)
253
254 win32_more_sources_for_vcproj = \
255         gwin32appinfo.c \
256         gregistrysettingsbackend.c \
257         win32/gwin32directorymonitor.c \
258         win32/gwinhttpfile.c \
259         win32/gwinhttpfileinputstream.c \
260         win32/gwinhttpfileoutputstream.c \
261         win32/gwinhttpvfs.c
262
263 if OS_WIN32
264 appinfo_sources += gwin32appinfo.c gwin32appinfo.h
265 platform_libadd += -lshlwapi -lws2_32 -ldnsapi
266 win32_sources = $(win32_actual_sources)
267
268 giowin32includedir=$(includedir)/gio-win32-2.0/gio
269 giowin32include_HEADERS = \
270         gwin32inputstream.h \
271         gwin32outputstream.h \
272         $(NULL)
273
274 endif
275
276 SUBDIRS += tests
277
278 libgio_2_0_la_SOURCES =         \
279         gappinfo.c              \
280         gasynchelper.c          \
281         gasynchelper.h          \
282         gasyncinitable.c        \
283         gasyncresult.c          \
284         gbufferedinputstream.c  \
285         gbufferedoutputstream.c \
286         gcancellable.c          \
287         gcontenttype.c          \
288         gcontenttypeprivate.h   \
289         gcharsetconverter.c     \
290         gconverter.c            \
291         gconverterinputstream.c \
292         gconverteroutputstream.c        \
293         gcredentials.c          \
294         gdatainputstream.c      \
295         gdataoutputstream.c     \
296         gdrive.c                \
297         gdummyfile.h            \
298         gdummyfile.c            \
299         gdummyproxyresolver.c   \
300         gdummyproxyresolver.h   \
301         gdummytlsbackend.c      \
302         gdummytlsbackend.h      \
303         gemblem.h               \
304         gemblem.c               \
305         gemblemedicon.h         \
306         gemblemedicon.c         \
307         gfile.c                 \
308         gfileattribute.c        \
309         gfileattribute-priv.h   \
310         gfileenumerator.c       \
311         gfileicon.c             \
312         gfileinfo.c             \
313         gfileinfo-priv.h        \
314         gfileinputstream.c      \
315         gfilemonitor.c          \
316         gfilenamecompleter.c    \
317         gfileoutputstream.c     \
318         gfileiostream.c         \
319         gfilterinputstream.c    \
320         gfilteroutputstream.c   \
321         gicon.c                 \
322         ginetaddress.c          \
323         ginetaddressmask.c      \
324         ginetsocketaddress.c    \
325         ginitable.c             \
326         ginputstream.c          \
327         gioenums.h              \
328         gioerror.c              \
329         giomodule.c             \
330         giomodule-priv.h        \
331         gioscheduler.c          \
332         giostream.c             \
333         gloadableicon.c         \
334         gmount.c                \
335         gmemoryinputstream.c    \
336         gmemoryoutputstream.c   \
337         gmountoperation.c       \
338         gnativevolumemonitor.c  \
339         gnativevolumemonitor.h  \
340         gnetworkaddress.c       \
341         gnetworkingprivate.h    \
342         gnetworkmonitor.c       \
343         gnetworkmonitorbase.c   \
344         gnetworkmonitorbase.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         ginetaddressmask.h      \
494         ginetsocketaddress.h    \
495         ginputstream.h          \
496         ginitable.h             \
497         gio.h                   \
498         giotypes.h              \
499         gioenums.h              \
500         gioerror.h              \
501         giomodule.h             \
502         gioscheduler.h          \
503         giostream.h             \
504         gloadableicon.h         \
505         gmount.h                \
506         gmemoryinputstream.h    \
507         gmemoryoutputstream.h   \
508         gmountoperation.h       \
509         gnativevolumemonitor.h  \
510         gnetworkaddress.h       \
511         gnetworkmonitor.h       \
512         gnetworkservice.h       \
513         goutputstream.h         \
514         gpermission.h           \
515         gpollableinputstream.h  \
516         gpollableoutputstream.h \
517         gproxyaddress.h         \
518         gproxy.h                \
519         gproxyaddressenumerator.h \
520         gproxyresolver.h        \
521         gresolver.h             \
522         gseekable.h             \
523         gsimpleasyncresult.h    \
524         gsimplepermission.h     \
525         gsocket.h               \
526         gsocketaddress.h        \
527         gsocketaddressenumerator.h \
528         gsocketclient.h         \
529         gsocketconnectable.h    \
530         gsocketconnection.h     \
531         gsocketcontrolmessage.h \
532         gsocketlistener.h       \
533         gsocketservice.h        \
534         gsrvtarget.h            \
535         gtcpconnection.h        \
536         gtcpwrapperconnection.h \
537         gthreadedsocketservice.h\
538         gthemedicon.h           \
539         gtlsbackend.h           \
540         gtlscertificate.h       \
541         gtlsclientconnection.h  \
542         gtlsconnection.h        \
543         gtlsdatabase.h          \
544         gtlsfiledatabase.h      \
545         gtlsinteraction.h       \
546         gtlspassword.h          \
547         gtlsserverconnection.h  \
548         gvfs.h                  \
549         gvolume.h               \
550         gvolumemonitor.h        \
551         gzlibcompressor.h       \
552         gzlibdecompressor.h     \
553         $(application_headers)  \
554         $(settings_headers)     \
555         $(gdbus_headers)        \
556         $(NULL)
557
558 gioincludedir=$(includedir)/glib-2.0/gio/
559 gioinclude_HEADERS =            \
560         $(gio_headers)          \
561         gioenumtypes.h
562
563 # these sources (also mentioned above) are generated.
564 BUILT_SOURCES =                 \
565         gioenumtypes.h          \
566         gioenumtypes.c          \
567         $(NULL)
568
569 EXTRA_DIST +=                   \
570         gio.symbols             \
571         gioenumtypes.h.template \
572         gioenumtypes.c.template \
573         makefile.msc            \
574         abicheck.sh             \
575         gio.rc.in               \
576         gschema.dtd             \
577         $(NULL)
578
579 BUILT_EXTRA_DIST =              \
580         gio.rc
581
582 # This is read by gobject-introspection/misc/ and gtk-doc
583 gio-public-headers.txt: Makefile
584         echo $(gioinclude_HEADERS) $(giowin32include_HEADERS) $(giounixinclude_HEADERS) > $@.tmp && mv $@.tmp $@
585
586 CLEANFILES = gio-public-headers.txt
587
588 all-local: gio-public-headers.txt
589
590 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
591         $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
592           cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.h.template $(gio_headers) ) > \
593             gioenumtypes.h.tmp && mv gioenumtypes.h.tmp gioenumtypes.h
594
595 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
596         $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
597           cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.c.template $(gio_headers) ) > \
598             gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c
599
600 gio-2.0.lib: libgio-2.0.la gio.def
601         lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgio-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gio.def -out:$@
602
603 bin_PROGRAMS = gio-querymodules glib-compile-schemas gsettings
604
605 gio_querymodules_SOURCES = gio-querymodules.c
606 gio_querymodules_LDADD   = \
607         $(top_builddir)/glib/libglib-2.0.la             \
608         $(top_builddir)/gobject/libgobject-2.0.la       \
609         $(top_builddir)/gmodule/libgmodule-2.0.la       \
610         libgio-2.0.la                                   \
611         $(NULL)
612
613 glib_compile_schemas_LDADD = $(top_builddir)/glib/libglib-2.0.la
614 glib_compile_schemas_SOURCES = \
615         gvdb/gvdb-format.h              \
616         gvdb/gvdb-builder.h             \
617         gvdb/gvdb-builder.c             \
618         glib-compile-schemas.c
619
620 gsettings_LDADD = \
621         $(top_builddir)/glib/libglib-2.0.la             \
622         $(top_builddir)/gobject/libgobject-2.0.la       \
623         libgio-2.0.la
624 gsettings_SOURCES = gsettings-tool.c
625
626 schemadir = $(datadir)/glib-2.0/schemas
627 dist_schema_DATA = gschema.dtd
628
629 # ------------------------------------------------------------------------
630 # gdbus(1) tool
631
632 bin_PROGRAMS += gdbus
633 gdbus_SOURCES = gdbus-tool.c
634 gdbus_LDADD = libgio-2.0.la \
635         $(top_builddir)/glib/libglib-2.0.la             \
636         $(top_builddir)/gobject/libgobject-2.0.la
637
638 completiondir = $(sysconfdir)/bash_completion.d
639 completion_DATA = \
640         gdbus-bash-completion.sh                \
641         gsettings-bash-completion.sh
642 EXTRA_DIST += $(completion_DATA)
643
644 # ------------------------------------------------------------------------
645
646 dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/gio.vcproj ../build/win32/vs10/gio.vcxproj ../build/win32/vs10/gio.vcxproj.filters
647         files='$(BUILT_EXTRA_DIST)'; \
648         for f in $$files; do \
649           if test -f $$f; then d=.; else d=$(srcdir); fi; \
650           cp $$d/$$f $(distdir) || exit 1; done
651
652 ../build/win32/vs9/gio.vcproj: $(top_srcdir)/build/win32/vs9/gio.vcprojin
653         for F in `echo $(libgio_2_0_la_SOURCES) $(win32_actual_sources) $(win32_more_sources_for_vcproj) | tr '/' '\\'`; do \
654                 case $$F in \
655                 gunix*.c|gdesktopappinfo.c) ;; \
656                 *.c) echo '   <File RelativePath="..\..\..\gio\'$$F'" />' \
657                      ;; \
658                 esac; \
659         done | sort -u >libgio.sourcefiles
660         $(CPP) -P - <$(top_srcdir)/build/win32/vs9/gio.vcprojin >$@
661         rm libgio.sourcefiles
662
663 ../build/win32/vs10/gio.vcxproj: $(top_srcdir)/build/win32/vs10/gio.vcxprojin
664         for F in `echo $(libgio_2_0_la_SOURCES) $(win32_actual_sources) $(win32_more_sources_for_vcproj) | tr '/' '\\'`; do \
665                 case $$F in \
666                 gunix*.c|gdesktopappinfo.c) ;; \
667                 *.c) echo '    <ClCompile Include="..\..\..\gio\'$$F'" />' \
668                      ;; \
669                 esac; \
670         done | sort -u >libgio.vs10.sourcefiles
671         $(CPP) -P - <$(top_srcdir)/build/win32/vs10/gio.vcxprojin >$@
672         rm libgio.vs10.sourcefiles
673
674 ../build/win32/vs10/gio.vcxproj.filters: $(top_srcdir)/build/win32/vs10/gio.vcxproj.filtersin
675         for F in `echo $(libgio_2_0_la_SOURCES) $(win32_actual_sources) $(win32_more_sources_for_vcproj) | tr '/' '\\'`; do \
676                 case $$F in \
677                 gunix*.c|gdesktopappinfo.c) ;; \
678                 *.c) echo '    <ClCompile Include="..\..\..\gio\'$$F'"><Filter>Source Files</Filter></ClCompile>' \
679                      ;; \
680                 esac; \
681         done | sort -u >libgio.vs10.sourcefiles.filters
682         $(CPP) -P - <$(top_srcdir)/build/win32/vs10/gio.vcxproj.filtersin >$@
683         rm libgio.vs10.sourcefiles.filters
684
685 if HAVE_GLIB_RUNTIME_LIBDIR
686 install-data-hook:
687         mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
688         mv $(DESTDIR)$(libdir)/libgio-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
689         mv $(DESTDIR)$(libdir)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
690         rm -f $(DESTDIR)$(libdir)/libgio-2.0.so
691         ln -s $(GLIB_RUNTIME_LIBDIR)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgio-2.0.so
692 endif