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