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