gio/Makefile.am
[platform/upstream/glib.git] / gio / Makefile.am
1 include $(top_srcdir)/Makefile.decl
2
3 NULL =
4
5 SUBDIRS = gdbus-2.0/codegen
6
7 if OS_UNIX
8 SUBDIRS += xdgmime
9 endif
10
11 if OS_WIN32_AND_DLL_COMPILATION
12 if MS_LIB_AVAILABLE
13 noinst_DATA = gio-2.0.lib
14
15 install_ms_lib_cmd = $(INSTALL) gio-2.0.lib $(DESTDIR)$(libdir)
16 uninstall_ms_lib_cmd = -rm $(DESTDIR)$(libdir)/gio-2.0.lib
17 endif
18 endif
19
20 install-ms-lib:
21         $(install_ms_lib_cmd)
22
23 uninstall-ms-lib:
24         $(uninstall_ms_lib_cmd)
25
26 gio.def: gio.symbols
27         $(AM_V_GEN) (echo EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DINCLUDE_INTERNAL_SYMBOLS -DG_OS_WIN32 -DALL_FILES - <$(srcdir)/gio.symbols | sed -e '/^$$/d' -e 's/^/        /' -e 's/G_GNUC_[^ ]*//g' | sort) > gio.def.tmp && \
28           mv gio.def.tmp gio.def
29
30 if OS_LINUX
31 if HAVE_GNUC_VISIBILITY
32 TESTS = abicheck.sh
33 endif
34 endif
35
36 AM_CPPFLAGS = \
37         -DG_LOG_DOMAIN=\"GLib-GIO\"                     \
38         $(gmodule_INCLUDES)                             \
39         $(GLIB_DEBUG_FLAGS)                             \
40         -DGIO_COMPILATION                               \
41         -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\"  
42
43 lib_LTLIBRARIES = libgio-2.0.la
44
45 gdbus_headers =                         \
46         gdbusauthobserver.h             \
47         gcredentials.h                  \
48         gdbusutils.h                    \
49         gdbuserror.h                    \
50         gdbusaddress.h                  \
51         gdbusconnection.h               \
52         gdbusmessage.h                  \
53         gdbusnameowning.h               \
54         gdbusnamewatching.h             \
55         gdbusproxy.h                    \
56         gdbusintrospection.h            \
57         gdbusmethodinvocation.h         \
58         gdbusserver.h                   \
59         gdbusinterface.h                \
60         gdbusinterfaceskeleton.h        \
61         gdbusobject.h                   \
62         gdbusobjectskeleton.h           \
63         gdbusobjectproxy.h              \
64         gdbusobjectmanager.h            \
65         gdbusobjectmanagerclient.h      \
66         gdbusobjectmanagerserver.h      \
67         $(NULL)
68
69 gdbus_sources =                                                         \
70         gdbusutils.h                    gdbusutils.c                    \
71         gdbusaddress.h                  gdbusaddress.c                  \
72         gdbusauthobserver.h             gdbusauthobserver.c             \
73         gdbusauth.h                     gdbusauth.c                     \
74         gdbusauthmechanism.h            gdbusauthmechanism.c            \
75         gdbusauthmechanismanon.h        gdbusauthmechanismanon.c        \
76         gdbusauthmechanismexternal.h    gdbusauthmechanismexternal.c    \
77         gdbusauthmechanismsha1.h        gdbusauthmechanismsha1.c        \
78         gdbuserror.h                    gdbuserror.c                    \
79         gdbusconnection.h               gdbusconnection.c               \
80         gdbusmessage.h                  gdbusmessage.c                  \
81         gdbusnameowning.h               gdbusnameowning.c               \
82         gdbusnamewatching.h             gdbusnamewatching.c             \
83         gdbusproxy.h                    gdbusproxy.c                    \
84         gdbusprivate.h                  gdbusprivate.c                  \
85         gdbusintrospection.h            gdbusintrospection.c            \
86         gdbusmethodinvocation.h         gdbusmethodinvocation.c         \
87         gdbusserver.h                   gdbusserver.c                   \
88         gdbusinterface.h                gdbusinterface.c                \
89         gdbusinterfaceskeleton.h        gdbusinterfaceskeleton.c        \
90         gdbusobject.h                   gdbusobject.c                   \
91         gdbusobjectskeleton.h           gdbusobjectskeleton.c           \
92         gdbusobjectproxy.h              gdbusobjectproxy.c              \
93         gdbusobjectmanager.h            gdbusobjectmanager.c            \
94         gdbusobjectmanagerclient.h      gdbusobjectmanagerclient.c      \
95         gdbusobjectmanagerserver.h      gdbusobjectmanagerserver.c      \
96         $(NULL)
97
98 settings_headers = \
99         gsettingsbackend.h              \
100         gsettingsschema.h               \
101         gsettings.h
102
103 settings_sources = \
104         gvdb/gvdb-format.h              \
105         gvdb/gvdb-reader.h              \
106         gvdb/gvdb-reader.c              \
107         gdelayedsettingsbackend.h       \
108         gdelayedsettingsbackend.c       \
109         gkeyfilesettingsbackend.c       \
110         gmemorysettingsbackend.c        \
111         gnullsettingsbackend.c          \
112         gsettingsbackendinternal.h      \
113         gsettingsbackend.c              \
114         gsettingsschema.h               \
115         gsettingsschema-internal.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
238 if HAVE_NETLINK
239 unix_sources +=                  \
240         gnetworkmonitornetlink.c \
241         gnetworkmonitornetlink.h \
242         $(NULL)
243 endif
244 endif
245
246 win32_actual_sources = \
247         gwin32mount.c \
248         gwin32mount.h \
249         gwin32volumemonitor.c \
250         gwin32volumemonitor.h \
251         gwin32inputstream.c \
252         gwin32outputstream.c \
253         gwin32outputstream.h \
254         $(NULL)
255
256 win32_more_sources_for_vcproj = \
257         gwin32appinfo.c \
258         gregistrysettingsbackend.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         ginetaddressmask.c      \
326         ginetsocketaddress.c    \
327         ginitable.c             \
328         ginputstream.c          \
329         gioenums.h              \
330         gioerror.c              \
331         giomodule.c             \
332         giomodule-priv.h        \
333         gioscheduler.c          \
334         giostream.c             \
335         gloadableicon.c         \
336         gmount.c                \
337         gmemoryinputstream.c    \
338         gmemoryoutputstream.c   \
339         gmountoperation.c       \
340         gnativevolumemonitor.c  \
341         gnativevolumemonitor.h  \
342         gnetworkaddress.c       \
343         gnetworkingprivate.h    \
344         gnetworkmonitor.c       \
345         gnetworkmonitorbase.c   \
346         gnetworkmonitorbase.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         gtlsbackend.c           \
383         gtlscertificate.c       \
384         gtlsclientconnection.c  \
385         gtlsconnection.c        \
386         gtlsdatabase.c          \
387         gtlsfiledatabase.c      \
388         gtlsinteraction.c       \
389         gtlspassword.c          \
390         gtlsserverconnection.c  \
391         gunionvolumemonitor.c   \
392         gunionvolumemonitor.h   \
393         gvfs.c                  \
394         gvolume.c               \
395         gvolumemonitor.c        \
396         gzlibcompressor.c       \
397         gzlibdecompressor.c     \
398         gmountprivate.h         \
399         gioenumtypes.h          \
400         gioenumtypes.c          \
401         $(appinfo_sources)      \
402         $(unix_sources)         \
403         $(win32_sources)        \
404         $(application_sources)  \
405         $(settings_sources)     \
406         $(gdbus_sources)        \
407         $(local_sources)        \
408         $(NULL)
409
410 EXTRA_DIST += strinfo.c
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         $(NETWORK_LIBS)                                 \
422         $(NULL)
423
424 libgio_2_0_la_CPPFLAGS = $(ZLIB_CFLAGS) $(AM_CPPFLAGS)
425
426 if PLATFORM_WIN32
427 no_undefined = -no-undefined
428 endif
429
430 if OS_WIN32_AND_DLL_COMPILATION
431 export_symbols = -export-symbols gio.def
432 gio_def = gio.def
433
434 gio_win32_res = gio-win32-res.o
435 gio_win32_res_ldflag = -Wl,$(gio_win32_res)
436
437 install-def-file:
438         $(INSTALL) gio.def $(DESTDIR)$(libdir)/gio-2.0.def
439
440 uninstall-def-file:
441         -rm $(DESTDIR)$(libdir)/gio-2.0.def
442 else
443 install-def-file:
444 uninstall-def-file:
445
446 export_symbols = $(LIBTOOL_EXPORT_OPTIONS)
447 endif
448
449 install-data-local: install-ms-lib install-def-file
450         $(mkinstalldirs) $(DESTDIR)$(GIO_MODULE_DIR)
451
452 uninstall-local: uninstall-ms-lib uninstall-def-file
453
454 libgio_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
455         $(gio_win32_res_ldflag) \
456         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
457         -export-dynamic $(no_undefined) $(export_symbols)
458
459 libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
460
461 gio-win32-res.o: gio.rc
462         $(WINDRES) gio.rc $@
463
464 gio_headers =                   \
465         gappinfo.h              \
466         gasyncinitable.h        \
467         gasyncresult.h          \
468         gbufferedinputstream.h  \
469         gbufferedoutputstream.h \
470         gcancellable.h          \
471         gcontenttype.h          \
472         gcharsetconverter.h     \
473         gconverter.h            \
474         gconverterinputstream.h \
475         gconverteroutputstream.h        \
476         gdatainputstream.h      \
477         gdataoutputstream.h     \
478         gdrive.h                \
479         gemblem.h               \
480         gemblemedicon.h         \
481         gfile.h                 \
482         gfileattribute.h        \
483         gfileenumerator.h       \
484         gfileicon.h             \
485         gfileinfo.h             \
486         gfileinputstream.h      \
487         gfilemonitor.h          \
488         gfilenamecompleter.h    \
489         gfileoutputstream.h     \
490         gfileiostream.h         \
491         gfilterinputstream.h    \
492         gfilteroutputstream.h   \
493         gicon.h                 \
494         ginetaddress.h          \
495         ginetaddressmask.h      \
496         ginetsocketaddress.h    \
497         ginputstream.h          \
498         ginitable.h             \
499         gio.h                   \
500         giotypes.h              \
501         gioenums.h              \
502         gioerror.h              \
503         giomodule.h             \
504         gioscheduler.h          \
505         giostream.h             \
506         gloadableicon.h         \
507         gmount.h                \
508         gmemoryinputstream.h    \
509         gmemoryoutputstream.h   \
510         gmountoperation.h       \
511         gnativevolumemonitor.h  \
512         gnetworkaddress.h       \
513         gnetworkmonitor.h       \
514         gnetworkservice.h       \
515         goutputstream.h         \
516         gpermission.h           \
517         gpollableinputstream.h  \
518         gpollableoutputstream.h \
519         gproxyaddress.h         \
520         gproxy.h                \
521         gproxyaddressenumerator.h \
522         gproxyresolver.h        \
523         gresolver.h             \
524         gseekable.h             \
525         gsimpleasyncresult.h    \
526         gsimplepermission.h     \
527         gsocket.h               \
528         gsocketaddress.h        \
529         gsocketaddressenumerator.h \
530         gsocketclient.h         \
531         gsocketconnectable.h    \
532         gsocketconnection.h     \
533         gsocketcontrolmessage.h \
534         gsocketlistener.h       \
535         gsocketservice.h        \
536         gsrvtarget.h            \
537         gtcpconnection.h        \
538         gtcpwrapperconnection.h \
539         gthreadedsocketservice.h\
540         gthemedicon.h           \
541         gtlsbackend.h           \
542         gtlscertificate.h       \
543         gtlsclientconnection.h  \
544         gtlsconnection.h        \
545         gtlsdatabase.h          \
546         gtlsfiledatabase.h      \
547         gtlsinteraction.h       \
548         gtlspassword.h          \
549         gtlsserverconnection.h  \
550         gvfs.h                  \
551         gvolume.h               \
552         gvolumemonitor.h        \
553         gzlibcompressor.h       \
554         gzlibdecompressor.h     \
555         $(application_headers)  \
556         $(settings_headers)     \
557         $(gdbus_headers)        \
558         $(NULL)
559
560 gioincludedir=$(includedir)/glib-2.0/gio/
561 gioinclude_HEADERS =            \
562         $(gio_headers)          \
563         gioenumtypes.h
564
565 # these sources (also mentioned above) are generated.
566 BUILT_SOURCES =                 \
567         gioenumtypes.h          \
568         gioenumtypes.c          \
569         $(NULL)
570
571 EXTRA_DIST +=                   \
572         gio.symbols             \
573         gioenumtypes.h.template \
574         gioenumtypes.c.template \
575         makefile.msc            \
576         abicheck.sh             \
577         gio.rc.in               \
578         gschema.dtd             \
579         $(NULL)
580
581 BUILT_EXTRA_DIST =              \
582         gio.rc
583
584 # This is read by gobject-introspection/misc/ and gtk-doc
585 gio-public-headers.txt: Makefile
586         echo $(gioinclude_HEADERS) $(giowin32include_HEADERS) $(giounixinclude_HEADERS) > $@.tmp && mv $@.tmp $@
587
588 CLEANFILES = gio-public-headers.txt
589
590 all-local: gio-public-headers.txt
591
592 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
593         $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
594           cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.h.template $(gio_headers) ) > \
595             gioenumtypes.h.tmp && mv gioenumtypes.h.tmp gioenumtypes.h
596
597 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
598         $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
599           cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.c.template $(gio_headers) ) > \
600             gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c
601
602 gio-2.0.lib: libgio-2.0.la gio.def
603         lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgio-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gio.def -out:$@
604
605 bin_PROGRAMS = gio-querymodules glib-compile-schemas gsettings
606
607 gio_querymodules_SOURCES = gio-querymodules.c
608 gio_querymodules_LDADD   = \
609         $(top_builddir)/glib/libglib-2.0.la             \
610         $(top_builddir)/gobject/libgobject-2.0.la       \
611         $(top_builddir)/gmodule/libgmodule-2.0.la       \
612         libgio-2.0.la                                   \
613         $(NULL)
614
615 glib_compile_schemas_LDADD = $(top_builddir)/glib/libglib-2.0.la
616 glib_compile_schemas_SOURCES = \
617         gvdb/gvdb-format.h              \
618         gvdb/gvdb-builder.h             \
619         gvdb/gvdb-builder.c             \
620         glib-compile-schemas.c
621
622 gsettings_LDADD = \
623         $(top_builddir)/glib/libglib-2.0.la             \
624         $(top_builddir)/gobject/libgobject-2.0.la       \
625         libgio-2.0.la
626 gsettings_SOURCES = gsettings-tool.c
627
628 schemadir = $(datadir)/glib-2.0/schemas
629 dist_schema_DATA = gschema.dtd
630
631 # ------------------------------------------------------------------------
632 # gdbus(1) tool
633
634 bin_PROGRAMS += gdbus
635 gdbus_SOURCES = gdbus-tool.c
636 gdbus_LDADD = libgio-2.0.la \
637         $(top_builddir)/glib/libglib-2.0.la             \
638         $(top_builddir)/gobject/libgobject-2.0.la
639
640 completiondir = $(sysconfdir)/bash_completion.d
641 completion_DATA = \
642         gdbus-bash-completion.sh                \
643         gsettings-bash-completion.sh
644 EXTRA_DIST += $(completion_DATA)
645
646 # ------------------------------------------------------------------------
647
648 dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/gio.vcproj ../build/win32/vs10/gio.vcxproj ../build/win32/vs10/gio.vcxproj.filters
649         files='$(BUILT_EXTRA_DIST)'; \
650         for f in $$files; do \
651           if test -f $$f; then d=.; else d=$(srcdir); fi; \
652           cp $$d/$$f $(distdir) || exit 1; done
653
654 ../build/win32/vs9/gio.vcproj: $(top_srcdir)/build/win32/vs9/gio.vcprojin
655         for F in `echo $(libgio_2_0_la_SOURCES) $(win32_actual_sources) $(win32_more_sources_for_vcproj) | tr '/' '\\'`; do \
656                 case $$F in \
657                 gunix*.c|gdesktopappinfo.c|gnetworkmonitornetlink.c) ;; \
658                 *.c) echo '   <File RelativePath="..\..\..\gio\'$$F'" />' \
659                      ;; \
660                 esac; \
661         done | sort -u >libgio.sourcefiles
662         $(CPP) -P - <$(top_srcdir)/build/win32/vs9/gio.vcprojin >$@
663         rm libgio.sourcefiles
664
665 ../build/win32/vs10/gio.vcxproj: $(top_srcdir)/build/win32/vs10/gio.vcxprojin
666         for F in `echo $(libgio_2_0_la_SOURCES) $(win32_actual_sources) $(win32_more_sources_for_vcproj) | tr '/' '\\'`; do \
667                 case $$F in \
668                 gunix*.c|gdesktopappinfo.c|gnetworkmonitornetlink.c) ;; \
669                 *.c) echo '    <ClCompile Include="..\..\..\gio\'$$F'" />' \
670                      ;; \
671                 esac; \
672         done | sort -u >libgio.vs10.sourcefiles
673         $(CPP) -P - <$(top_srcdir)/build/win32/vs10/gio.vcxprojin >$@
674         rm libgio.vs10.sourcefiles
675
676 ../build/win32/vs10/gio.vcxproj.filters: $(top_srcdir)/build/win32/vs10/gio.vcxproj.filtersin
677         for F in `echo $(libgio_2_0_la_SOURCES) $(win32_actual_sources) $(win32_more_sources_for_vcproj) | tr '/' '\\'`; do \
678                 case $$F in \
679                 gunix*.c|gdesktopappinfo.c|gnetworkmonitornetlink.c) ;; \
680                 *.c) echo '    <ClCompile Include="..\..\..\gio\'$$F'"><Filter>Source Files</Filter></ClCompile>' \
681                      ;; \
682                 esac; \
683         done | sort -u >libgio.vs10.sourcefiles.filters
684         $(CPP) -P - <$(top_srcdir)/build/win32/vs10/gio.vcxproj.filtersin >$@
685         rm libgio.vs10.sourcefiles.filters
686
687 if HAVE_GLIB_RUNTIME_LIBDIR
688 install-data-hook:
689         mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
690         mv $(DESTDIR)$(libdir)/libgio-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
691         mv $(DESTDIR)$(libdir)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
692         rm -f $(DESTDIR)$(libdir)/libgio-2.0.so
693         ln -s $(GLIB_RUNTIME_LIBDIR)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgio-2.0.so
694 endif