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