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