Merge remote-tracking branch 'gvdb/master'
[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         gcancellable.c          \
282         gcontenttype.c          \
283         gcontenttypeprivate.h   \
284         gcharsetconverter.c     \
285         gconverter.c            \
286         gconverterinputstream.c \
287         gconverteroutputstream.c        \
288         gcredentials.c          \
289         gdatainputstream.c      \
290         gdataoutputstream.c     \
291         gdrive.c                \
292         gdummyfile.h            \
293         gdummyfile.c            \
294         gdummyproxyresolver.c   \
295         gdummyproxyresolver.h   \
296         gdummytlsbackend.c      \
297         gdummytlsbackend.h      \
298         gemblem.h               \
299         gemblem.c               \
300         gemblemedicon.h         \
301         gemblemedicon.c         \
302         gfile.c                 \
303         gfileattribute.c        \
304         gfileattribute-priv.h   \
305         gfileenumerator.c       \
306         gfileicon.c             \
307         gfileinfo.c             \
308         gfileinfo-priv.h        \
309         gfileinputstream.c      \
310         gfilemonitor.c          \
311         gfilenamecompleter.c    \
312         gfileoutputstream.c     \
313         gfileiostream.c         \
314         gfilterinputstream.c    \
315         gfilteroutputstream.c   \
316         gicon.c                 \
317         ginetaddress.c          \
318         ginetsocketaddress.c    \
319         ginitable.c             \
320         ginputstream.c          \
321         gioenums.h              \
322         gioerror.c              \
323         giomodule.c             \
324         giomodule-priv.h        \
325         gioscheduler.c          \
326         giostream.c             \
327         gloadableicon.c         \
328         gmount.c                \
329         gmemoryinputstream.c    \
330         gmemoryoutputstream.c   \
331         gmountoperation.c       \
332         gnativevolumemonitor.c  \
333         gnativevolumemonitor.h  \
334         gnetworkaddress.c       \
335         gnetworkingprivate.h    \
336         gnetworkservice.c       \
337         goutputstream.c         \
338         gpermission.c           \
339         gpollableinputstream.c  \
340         gpollableoutputstream.c \
341         gpollfilemonitor.c      \
342         gpollfilemonitor.h      \
343         gproxyresolver.c        \
344         gresolver.c             \
345         gseekable.c             \
346         gsimpleasyncresult.c    \
347         gsimplepermission.c     \
348         gsocket.c               \
349         gsocketaddress.c        \
350         gsocketaddressenumerator.c \
351         gsocketclient.c         \
352         gsocketconnectable.c    \
353         gsocketconnection.c     \
354         gsocketcontrolmessage.c \
355         gsocketinputstream.c    \
356         gsocketinputstream.h    \
357         gsocketlistener.c       \
358         gsocketoutputstream.c   \
359         gsocketoutputstream.h   \
360         gproxy.c                \
361         gproxyaddress.c         \
362         gproxyaddressenumerator.c \
363         gsocketservice.c        \
364         gsrvtarget.c            \
365         gtcpconnection.c        \
366         gtcpwrapperconnection.c \
367         gthreadedsocketservice.c\
368         gthemedicon.c           \
369         gthreadedresolver.c     \
370         gthreadedresolver.h     \
371         gtlsbackend.c           \
372         gtlscertificate.c       \
373         gtlsclientconnection.c  \
374         gtlsconnection.c        \
375         gtlsdatabase.c          \
376         gtlsfiledatabase.c      \
377         gtlsinteraction.c       \
378         gtlspassword.c          \
379         gtlsserverconnection.c  \
380         gunionvolumemonitor.c   \
381         gunionvolumemonitor.h   \
382         gvfs.c                  \
383         gvolume.c               \
384         gvolumemonitor.c        \
385         gzlibcompressor.c       \
386         gzlibdecompressor.c     \
387         gmountprivate.h         \
388         gioenumtypes.h          \
389         gioenumtypes.c          \
390         $(appinfo_sources)      \
391         $(unix_sources)         \
392         $(win32_sources)        \
393         $(application_sources)  \
394         $(settings_sources)     \
395         $(gdbus_sources)        \
396         $(local_sources)        \
397         $(NULL)
398
399 EXTRA_DIST += strinfo.c
400
401 libgio_2_0_la_LIBADD = \
402         $(top_builddir)/glib/libglib-2.0.la             \
403         $(top_builddir)/gobject/libgobject-2.0.la       \
404         $(top_builddir)/gmodule/libgmodule-2.0.la       \
405         $(platform_libadd)                              \
406         $(ZLIB_LIBS)                                    \
407         $(SELINUX_LIBS)                                 \
408         $(GLIB_LIBS)                                    \
409         $(XATTR_LIBS)                                   \
410         $(NETWORK_LIBS)                                 \
411         $(NULL)
412
413 libgio_2_0_la_CPPFLAGS = $(ZLIB_CFLAGS) $(AM_CPPFLAGS)
414
415 if PLATFORM_WIN32
416 no_undefined = -no-undefined
417 endif
418
419 if OS_WIN32_AND_DLL_COMPILATION
420 export_symbols = -export-symbols gio.def
421 gio_def = gio.def
422
423 gio_win32_res = gio-win32-res.o
424 gio_win32_res_ldflag = -Wl,$(gio_win32_res)
425
426 install-def-file:
427         $(INSTALL) gio.def $(DESTDIR)$(libdir)/gio-2.0.def
428
429 uninstall-def-file:
430         -rm $(DESTDIR)$(libdir)/gio-2.0.def
431 else
432 install-def-file:
433 uninstall-def-file:
434
435 export_symbols = $(LIBTOOL_EXPORT_OPTIONS)
436 endif
437
438 install-data-local: install-ms-lib install-def-file
439         $(mkinstalldirs) $(DESTDIR)$(GIO_MODULE_DIR)
440
441 uninstall-local: uninstall-ms-lib uninstall-def-file
442
443 libgio_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
444         $(gio_win32_res_ldflag) \
445         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
446         -export-dynamic $(no_undefined) $(export_symbols)
447
448 libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
449
450 gio-win32-res.o: gio.rc
451         $(WINDRES) gio.rc $@
452
453 gio_headers =                   \
454         gappinfo.h              \
455         gasyncinitable.h        \
456         gasyncresult.h          \
457         gbufferedinputstream.h  \
458         gbufferedoutputstream.h \
459         gcancellable.h          \
460         gcontenttype.h          \
461         gcharsetconverter.h     \
462         gconverter.h            \
463         gconverterinputstream.h \
464         gconverteroutputstream.h        \
465         gdatainputstream.h      \
466         gdataoutputstream.h     \
467         gdrive.h                \
468         gemblem.h               \
469         gemblemedicon.h         \
470         gfile.h                 \
471         gfileattribute.h        \
472         gfileenumerator.h       \
473         gfileicon.h             \
474         gfileinfo.h             \
475         gfileinputstream.h      \
476         gfilemonitor.h          \
477         gfilenamecompleter.h    \
478         gfileoutputstream.h     \
479         gfileiostream.h         \
480         gfilterinputstream.h    \
481         gfilteroutputstream.h   \
482         gicon.h                 \
483         ginetaddress.h          \
484         ginetsocketaddress.h    \
485         ginputstream.h          \
486         ginitable.h             \
487         gio.h                   \
488         giotypes.h              \
489         gioenums.h              \
490         gioerror.h              \
491         giomodule.h             \
492         gioscheduler.h          \
493         giostream.h             \
494         gloadableicon.h         \
495         gmount.h                \
496         gmemoryinputstream.h    \
497         gmemoryoutputstream.h   \
498         gmountoperation.h       \
499         gnativevolumemonitor.h  \
500         gnetworkaddress.h       \
501         gnetworkservice.h       \
502         goutputstream.h         \
503         gpermission.h           \
504         gpollableinputstream.h  \
505         gpollableoutputstream.h \
506         gproxyaddress.h         \
507         gproxy.h                \
508         gproxyaddressenumerator.h \
509         gproxyresolver.h        \
510         gresolver.h             \
511         gseekable.h             \
512         gsimpleasyncresult.h    \
513         gsimplepermission.h     \
514         gsocket.h               \
515         gsocketaddress.h        \
516         gsocketaddressenumerator.h \
517         gsocketclient.h         \
518         gsocketconnectable.h    \
519         gsocketconnection.h     \
520         gsocketcontrolmessage.h \
521         gsocketlistener.h       \
522         gsocketservice.h        \
523         gsrvtarget.h            \
524         gtcpconnection.h        \
525         gtcpwrapperconnection.h \
526         gthreadedsocketservice.h\
527         gthemedicon.h           \
528         gtlsbackend.h           \
529         gtlscertificate.h       \
530         gtlsclientconnection.h  \
531         gtlsconnection.h        \
532         gtlsdatabase.h          \
533         gtlsfiledatabase.h      \
534         gtlsinteraction.h       \
535         gtlspassword.h          \
536         gtlsserverconnection.h  \
537         gvfs.h                  \
538         gvolume.h               \
539         gvolumemonitor.h        \
540         gzlibcompressor.h       \
541         gzlibdecompressor.h     \
542         $(application_headers)  \
543         $(settings_headers)     \
544         $(gdbus_headers)        \
545         $(NULL)
546
547 gioincludedir=$(includedir)/glib-2.0/gio/
548 gioinclude_HEADERS =            \
549         $(gio_headers)          \
550         gioenumtypes.h
551
552 # these sources (also mentioned above) are generated.
553 BUILT_SOURCES =                 \
554         gioenumtypes.h          \
555         gioenumtypes.c          \
556         $(NULL)
557
558 EXTRA_DIST +=                   \
559         gio.symbols             \
560         gioenumtypes.h.template \
561         gioenumtypes.c.template \
562         makefile.msc            \
563         abicheck.sh             \
564         gio.rc.in               \
565         gschema.dtd             \
566         $(NULL)
567
568 BUILT_EXTRA_DIST =              \
569         gio.rc
570
571 # This is read by gobject-introspection/misc/ and gtk-doc
572 gio-public-headers.txt: Makefile
573         echo $(gioinclude_HEADERS) $(giowin32include_HEADERS) $(giounixinclude_HEADERS) > $@.tmp && mv $@.tmp $@
574
575 CLEANFILES = gio-public-headers.txt
576
577 all-local: gio-public-headers.txt
578
579 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
580         $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
581           cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.h.template $(gio_headers) ) > \
582             gioenumtypes.h.tmp && mv gioenumtypes.h.tmp gioenumtypes.h
583
584 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
585         $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
586           cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.c.template $(gio_headers) ) > \
587             gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c
588
589 gio-2.0.lib: libgio-2.0.la gio.def
590         lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgio-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gio.def -out:$@
591
592 bin_PROGRAMS = gio-querymodules glib-compile-schemas gsettings
593
594 gio_querymodules_SOURCES = gio-querymodules.c
595 gio_querymodules_LDADD   = \
596         $(top_builddir)/glib/libglib-2.0.la             \
597         $(top_builddir)/gobject/libgobject-2.0.la       \
598         $(top_builddir)/gmodule/libgmodule-2.0.la       \
599         libgio-2.0.la                                   \
600         $(NULL)
601
602 glib_compile_schemas_LDADD = $(top_builddir)/glib/libglib-2.0.la
603 glib_compile_schemas_SOURCES = \
604         gvdb/gvdb-format.h              \
605         gvdb/gvdb-builder.h             \
606         gvdb/gvdb-builder.c             \
607         glib-compile-schemas.c
608
609 gsettings_LDADD = \
610         $(top_builddir)/glib/libglib-2.0.la             \
611         $(top_builddir)/gobject/libgobject-2.0.la       \
612         libgio-2.0.la
613 gsettings_SOURCES = gsettings-tool.c
614
615 schemadir = $(datadir)/glib-2.0/schemas
616 dist_schema_DATA = gschema.dtd
617
618 # ------------------------------------------------------------------------
619 # gdbus(1) tool
620
621 bin_PROGRAMS += gdbus
622 gdbus_SOURCES = gdbus-tool.c
623 gdbus_LDADD = libgio-2.0.la \
624         $(top_builddir)/glib/libglib-2.0.la             \
625         $(top_builddir)/gobject/libgobject-2.0.la
626
627 completiondir = $(sysconfdir)/bash_completion.d
628 completion_DATA = \
629         gdbus-bash-completion.sh                \
630         gsettings-bash-completion.sh
631 EXTRA_DIST += $(completion_DATA)
632
633 # ------------------------------------------------------------------------
634
635 dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/gio.vcproj ../build/win32/vs10/gio.vcxproj ../build/win32/vs10/gio.vcxproj.filters
636         files='$(BUILT_EXTRA_DIST)'; \
637         for f in $$files; do \
638           if test -f $$f; then d=.; else d=$(srcdir); fi; \
639           cp $$d/$$f $(distdir) || exit 1; done
640
641 ../build/win32/vs9/gio.vcproj: $(top_srcdir)/build/win32/vs9/gio.vcprojin
642         for F in `echo $(libgio_2_0_la_SOURCES) $(win32_actual_sources) $(win32_more_sources_for_vcproj) | tr '/' '\\'`; do \
643                 case $$F in \
644                 gunix*.c|gdesktopappinfo.c) ;; \
645                 *.c) echo '   <File RelativePath="..\..\..\gio\'$$F'" />' \
646                      ;; \
647                 esac; \
648         done | sort -u >libgio.sourcefiles
649         $(CPP) -P - <$(top_srcdir)/build/win32/vs9/gio.vcprojin >$@
650         rm libgio.sourcefiles
651
652 ../build/win32/vs10/gio.vcxproj: $(top_srcdir)/build/win32/vs10/gio.vcxprojin
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 '    <ClCompile Include="..\..\..\gio\'$$F'" />' \
657                      ;; \
658                 esac; \
659         done | sort -u >libgio.vs10.sourcefiles
660         $(CPP) -P - <$(top_srcdir)/build/win32/vs10/gio.vcxprojin >$@
661         rm libgio.vs10.sourcefiles
662
663 ../build/win32/vs10/gio.vcxproj.filters: $(top_srcdir)/build/win32/vs10/gio.vcxproj.filtersin
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'"><Filter>Source Files</Filter></ClCompile>' \
668                      ;; \
669                 esac; \
670         done | sort -u >libgio.vs10.sourcefiles.filters
671         $(CPP) -P - <$(top_srcdir)/build/win32/vs10/gio.vcxproj.filtersin >$@
672         rm libgio.vs10.sourcefiles.filters
673
674 if HAVE_GLIB_RUNTIME_LIBDIR
675 install-data-hook:
676         mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
677         mv $(DESTDIR)$(libdir)/libgio-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
678         mv $(DESTDIR)$(libdir)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
679         rm -f $(DESTDIR)$(libdir)/libgio-2.0.so
680         ln -s $(GLIB_RUNTIME_LIBDIR)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgio-2.0.so
681 endif