GInetAddressMask: new type for internet address range matching
[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         gsettings.h
101
102 settings_sources = \
103         gvdb/gvdb-format.h              \
104         gvdb/gvdb-reader.h              \
105         gvdb/gvdb-reader.c              \
106         gdelayedsettingsbackend.h       \
107         gdelayedsettingsbackend.c       \
108         gkeyfilesettingsbackend.c       \
109         gmemorysettingsbackend.c        \
110         gnullsettingsbackend.c          \
111         gsettingsbackendinternal.h      \
112         gsettingsbackend.c              \
113         gsettingsschema.h               \
114         gsettingsschema.c               \
115         gsettings-mapping.h             \
116         gsettings-mapping.c             \
117         gsettings.c
118
119 if OS_WIN32
120 settings_sources += \
121         gregistrysettingsbackend.h      \
122         gregistrysettingsbackend.c
123 endif
124
125 application_headers = \
126         gactiongroup.h                  \
127         gsimpleactiongroup.h            \
128         gaction.h                       \
129         gsimpleaction.h                 \
130         gapplicationcommandline.h       \
131         gapplication.h
132
133 application_sources = \
134         gactiongroup.c                          \
135         gsimpleactiongroup.c                    \
136         gaction.c                               \
137         gsimpleaction.c                         \
138         gapplicationcommandline.c               \
139         gapplicationimpl.h                      \
140         gapplicationimpl-dbus.c                 \
141         gapplication.c
142
143 local_sources = \
144         glocaldirectorymonitor.c        \
145         glocaldirectorymonitor.h        \
146         glocalfile.c                    \
147         glocalfile.h                    \
148         glocalfileenumerator.c          \
149         glocalfileenumerator.h          \
150         glocalfileinfo.c                \
151         glocalfileinfo.h                \
152         glocalfileinputstream.c         \
153         glocalfileinputstream.h         \
154         glocalfilemonitor.c             \
155         glocalfilemonitor.h             \
156         glocalfileoutputstream.c        \
157         glocalfileoutputstream.h        \
158         glocalfileiostream.c            \
159         glocalfileiostream.h            \
160         glocalvfs.c                     \
161         glocalvfs.h                     \
162         gsocks4proxy.c                  \
163         gsocks4proxy.h                  \
164         gsocks4aproxy.c                 \
165         gsocks4aproxy.h                 \
166         gsocks5proxy.c                  \
167         gsocks5proxy.h                  \
168         $(NULL)
169
170 platform_libadd =
171 platform_deps =
172 appinfo_sources =
173
174 if HAVE_INOTIFY
175 SUBDIRS += inotify
176 platform_libadd += inotify/libinotify.la
177 platform_deps += inotify/libinotify.la
178 endif
179
180 if HAVE_FEN
181 AM_CPPFLAGS += -DHAVE_FEN
182 SUBDIRS += fen
183 platform_libadd += fen/libfen.la
184 platform_deps += fen/libfen.la
185 endif
186
187 if OS_WIN32
188 SUBDIRS += win32
189 platform_libadd += win32/libgiowin32.la
190 platform_deps += win32/libgiowin32.la
191 endif
192
193 SUBDIRS += .
194
195 if HAVE_FAM
196 SUBDIRS += fam
197 endif
198
199 if OS_UNIX
200 appinfo_sources += gdesktopappinfo.c
201 platform_libadd += xdgmime/libxdgmime.la $(RESOLVER_LIBADD)
202 platform_deps += xdgmime/libxdgmime.la
203 unix_sources = \
204         gfiledescriptorbased.c  \
205         gunixconnection.c       \
206         gunixcredentialsmessage.c       \
207         gunixfdlist.c           \
208         gunixfdmessage.c        \
209         gunixmount.c            \
210         gunixmount.h            \
211         gunixmounts.c           \
212         gunixsocketaddress.c    \
213         gunixvolume.c           \
214         gunixvolume.h           \
215         gunixvolumemonitor.c    \
216         gunixvolumemonitor.h    \
217         gunixinputstream.c      \
218         gunixoutputstream.c     \
219         $(NULL)
220
221
222 giounixincludedir=$(includedir)/gio-unix-2.0/gio
223 giounixinclude_HEADERS = \
224         gdesktopappinfo.h       \
225         gfiledescriptorbased.h  \
226         gunixconnection.h       \
227         gunixcredentialsmessage.h       \
228         gunixmounts.h           \
229         gunixfdlist.h           \
230         gunixfdmessage.h        \
231         gunixinputstream.h      \
232         gunixoutputstream.h     \
233         gunixsocketaddress.h    \
234         $(NULL)
235 endif
236
237 win32_actual_sources = \
238         gwin32mount.c \
239         gwin32mount.h \
240         gwin32volumemonitor.c \
241         gwin32volumemonitor.h \
242         gwin32inputstream.c \
243         gwin32outputstream.c \
244         gwin32outputstream.h \
245         $(NULL)
246
247 win32_more_sources_for_vcproj = \
248         gwin32appinfo.c \
249         gregistrysettingsbackend.c \
250         win32/gwin32directorymonitor.c \
251         win32/gwinhttpfile.c \
252         win32/gwinhttpfileinputstream.c \
253         win32/gwinhttpfileoutputstream.c \
254         win32/gwinhttpvfs.c
255
256 if OS_WIN32
257 appinfo_sources += gwin32appinfo.c gwin32appinfo.h
258 platform_libadd += -lshlwapi -lws2_32 -ldnsapi
259 win32_sources = $(win32_actual_sources)
260
261 giowin32includedir=$(includedir)/gio-win32-2.0/gio
262 giowin32include_HEADERS = \
263         gwin32inputstream.h \
264         gwin32outputstream.h \
265         $(NULL)
266
267 endif
268
269 SUBDIRS += tests
270
271 libgio_2_0_la_SOURCES =         \
272         gappinfo.c              \
273         gasynchelper.c          \
274         gasynchelper.h          \
275         gasyncinitable.c        \
276         gasyncresult.c          \
277         gbufferedinputstream.c  \
278         gbufferedoutputstream.c \
279         gcancellable.c          \
280         gcontenttype.c          \
281         gcontenttypeprivate.h   \
282         gcharsetconverter.c     \
283         gconverter.c            \
284         gconverterinputstream.c \
285         gconverteroutputstream.c        \
286         gcredentials.c          \
287         gdatainputstream.c      \
288         gdataoutputstream.c     \
289         gdrive.c                \
290         gdummyfile.h            \
291         gdummyfile.c            \
292         gdummyproxyresolver.c   \
293         gdummyproxyresolver.h   \
294         gdummytlsbackend.c      \
295         gdummytlsbackend.h      \
296         gemblem.h               \
297         gemblem.c               \
298         gemblemedicon.h         \
299         gemblemedicon.c         \
300         gfile.c                 \
301         gfileattribute.c        \
302         gfileattribute-priv.h   \
303         gfileenumerator.c       \
304         gfileicon.c             \
305         gfileinfo.c             \
306         gfileinfo-priv.h        \
307         gfileinputstream.c      \
308         gfilemonitor.c          \
309         gfilenamecompleter.c    \
310         gfileoutputstream.c     \
311         gfileiostream.c         \
312         gfilterinputstream.c    \
313         gfilteroutputstream.c   \
314         gicon.c                 \
315         ginetaddress.c          \
316         ginetaddressmask.c      \
317         ginetsocketaddress.c    \
318         ginitable.c             \
319         ginputstream.c          \
320         gioenums.h              \
321         gioerror.c              \
322         giomodule.c             \
323         giomodule-priv.h        \
324         gioscheduler.c          \
325         giostream.c             \
326         gloadableicon.c         \
327         gmount.c                \
328         gmemoryinputstream.c    \
329         gmemoryoutputstream.c   \
330         gmountoperation.c       \
331         gnativevolumemonitor.c  \
332         gnativevolumemonitor.h  \
333         gnetworkaddress.c       \
334         gnetworkingprivate.h    \
335         gnetworkservice.c       \
336         goutputstream.c         \
337         gpermission.c           \
338         gpollableinputstream.c  \
339         gpollableoutputstream.c \
340         gpollfilemonitor.c      \
341         gpollfilemonitor.h      \
342         gproxyresolver.c        \
343         gresolver.c             \
344         gseekable.c             \
345         gsimpleasyncresult.c    \
346         gsimplepermission.c     \
347         gsocket.c               \
348         gsocketaddress.c        \
349         gsocketaddressenumerator.c \
350         gsocketclient.c         \
351         gsocketconnectable.c    \
352         gsocketconnection.c     \
353         gsocketcontrolmessage.c \
354         gsocketinputstream.c    \
355         gsocketinputstream.h    \
356         gsocketlistener.c       \
357         gsocketoutputstream.c   \
358         gsocketoutputstream.h   \
359         gproxy.c                \
360         gproxyaddress.c         \
361         gproxyaddressenumerator.c \
362         gsocketservice.c        \
363         gsrvtarget.c            \
364         gtcpconnection.c        \
365         gtcpwrapperconnection.c \
366         gthreadedsocketservice.c\
367         gthemedicon.c           \
368         gthreadedresolver.c     \
369         gthreadedresolver.h     \
370         gtlsbackend.c           \
371         gtlscertificate.c       \
372         gtlsclientconnection.c  \
373         gtlsconnection.c        \
374         gtlsdatabase.c          \
375         gtlsfiledatabase.c      \
376         gtlsinteraction.c       \
377         gtlspassword.c          \
378         gtlsserverconnection.c  \
379         gunionvolumemonitor.c   \
380         gunionvolumemonitor.h   \
381         gvfs.c                  \
382         gvolume.c               \
383         gvolumemonitor.c        \
384         gzlibcompressor.c       \
385         gzlibdecompressor.c     \
386         gmountprivate.h         \
387         gioenumtypes.h          \
388         gioenumtypes.c          \
389         $(appinfo_sources)      \
390         $(unix_sources)         \
391         $(win32_sources)        \
392         $(application_sources)  \
393         $(settings_sources)     \
394         $(gdbus_sources)        \
395         $(local_sources)        \
396         $(NULL)
397
398 EXTRA_DIST += strinfo.c
399
400 libgio_2_0_la_LIBADD = \
401         $(top_builddir)/glib/libglib-2.0.la             \
402         $(top_builddir)/gobject/libgobject-2.0.la       \
403         $(top_builddir)/gmodule/libgmodule-2.0.la       \
404         $(platform_libadd)                              \
405         $(ZLIB_LIBS)                                    \
406         $(SELINUX_LIBS)                                 \
407         $(GLIB_LIBS)                                    \
408         $(XATTR_LIBS)                                   \
409         $(NETWORK_LIBS)                                 \
410         $(NULL)
411
412 libgio_2_0_la_CPPFLAGS = $(ZLIB_CFLAGS) $(AM_CPPFLAGS)
413
414 if PLATFORM_WIN32
415 no_undefined = -no-undefined
416 endif
417
418 if OS_WIN32_AND_DLL_COMPILATION
419 export_symbols = -export-symbols gio.def
420 gio_def = gio.def
421
422 gio_win32_res = gio-win32-res.o
423 gio_win32_res_ldflag = -Wl,$(gio_win32_res)
424
425 install-def-file:
426         $(INSTALL) gio.def $(DESTDIR)$(libdir)/gio-2.0.def
427
428 uninstall-def-file:
429         -rm $(DESTDIR)$(libdir)/gio-2.0.def
430 else
431 install-def-file:
432 uninstall-def-file:
433
434 export_symbols = $(LIBTOOL_EXPORT_OPTIONS)
435 endif
436
437 install-data-local: install-ms-lib install-def-file
438         $(mkinstalldirs) $(DESTDIR)$(GIO_MODULE_DIR)
439
440 uninstall-local: uninstall-ms-lib uninstall-def-file
441
442 libgio_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
443         $(gio_win32_res_ldflag) \
444         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
445         -export-dynamic $(no_undefined) $(export_symbols)
446
447 libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
448
449 gio-win32-res.o: gio.rc
450         $(WINDRES) gio.rc $@
451
452 gio_headers =                   \
453         gappinfo.h              \
454         gasyncinitable.h        \
455         gasyncresult.h          \
456         gbufferedinputstream.h  \
457         gbufferedoutputstream.h \
458         gcancellable.h          \
459         gcontenttype.h          \
460         gcharsetconverter.h     \
461         gconverter.h            \
462         gconverterinputstream.h \
463         gconverteroutputstream.h        \
464         gdatainputstream.h      \
465         gdataoutputstream.h     \
466         gdrive.h                \
467         gemblem.h               \
468         gemblemedicon.h         \
469         gfile.h                 \
470         gfileattribute.h        \
471         gfileenumerator.h       \
472         gfileicon.h             \
473         gfileinfo.h             \
474         gfileinputstream.h      \
475         gfilemonitor.h          \
476         gfilenamecompleter.h    \
477         gfileoutputstream.h     \
478         gfileiostream.h         \
479         gfilterinputstream.h    \
480         gfilteroutputstream.h   \
481         gicon.h                 \
482         ginetaddress.h          \
483         ginetaddressmask.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