Add GMenu markup
[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         gdbusactiongroup.h              \
133         gactiongroupexporter.h          \
134         gapplicationcommandline.h       \
135         gapplication.h                  \
136         gmenumodel.h                    \
137         gmenu.h                         \
138         gmenumarkup.h                   \
139         $(NULL)
140
141 application_sources = \
142         gactiongroup.c                          \
143         gsimpleactiongroup.c                    \
144         gaction.c                               \
145         gsimpleaction.c                         \
146         gdbusactiongroup.c                      \
147         gactiongroupexporter.c                  \
148         gapplicationcommandline.c               \
149         gapplicationimpl.h                      \
150         gapplicationimpl-dbus.c                 \
151         gapplication.c                          \
152         gmenumodel.c                            \
153         gmenu.c                                 \
154         gmenumarkup.c                           \
155         $(NULL)
156
157 local_sources = \
158         glocaldirectorymonitor.c        \
159         glocaldirectorymonitor.h        \
160         glocalfile.c                    \
161         glocalfile.h                    \
162         glocalfileenumerator.c          \
163         glocalfileenumerator.h          \
164         glocalfileinfo.c                \
165         glocalfileinfo.h                \
166         glocalfileinputstream.c         \
167         glocalfileinputstream.h         \
168         glocalfilemonitor.c             \
169         glocalfilemonitor.h             \
170         glocalfileoutputstream.c        \
171         glocalfileoutputstream.h        \
172         glocalfileiostream.c            \
173         glocalfileiostream.h            \
174         glocalvfs.c                     \
175         glocalvfs.h                     \
176         gsocks4proxy.c                  \
177         gsocks4proxy.h                  \
178         gsocks4aproxy.c                 \
179         gsocks4aproxy.h                 \
180         gsocks5proxy.c                  \
181         gsocks5proxy.h                  \
182         $(NULL)
183
184 platform_libadd =
185 platform_deps =
186 appinfo_sources =
187
188 if HAVE_INOTIFY
189 SUBDIRS += inotify
190 platform_libadd += inotify/libinotify.la
191 platform_deps += inotify/libinotify.la
192 endif
193
194 if HAVE_FEN
195 AM_CPPFLAGS += -DHAVE_FEN
196 SUBDIRS += fen
197 platform_libadd += fen/libfen.la
198 platform_deps += fen/libfen.la
199 endif
200
201 if OS_WIN32
202 SUBDIRS += win32
203 platform_libadd += win32/libgiowin32.la
204 platform_deps += win32/libgiowin32.la
205 endif
206
207 SUBDIRS += .
208
209 if HAVE_FAM
210 SUBDIRS += fam
211 endif
212
213 if OS_UNIX
214 appinfo_sources += gdesktopappinfo.c
215 platform_libadd += xdgmime/libxdgmime.la $(RESOLVER_LIBADD)
216 platform_deps += xdgmime/libxdgmime.la
217 unix_sources = \
218         gfiledescriptorbased.c  \
219         gunixconnection.c       \
220         gunixcredentialsmessage.c       \
221         gunixfdlist.c           \
222         gunixfdmessage.c        \
223         gunixmount.c            \
224         gunixmount.h            \
225         gunixmounts.c           \
226         gunixsocketaddress.c    \
227         gunixvolume.c           \
228         gunixvolume.h           \
229         gunixvolumemonitor.c    \
230         gunixvolumemonitor.h    \
231         gunixinputstream.c      \
232         gunixoutputstream.c     \
233         $(NULL)
234
235
236 giounixincludedir=$(includedir)/gio-unix-2.0/gio
237 giounixinclude_HEADERS = \
238         gdesktopappinfo.h       \
239         gfiledescriptorbased.h  \
240         gunixconnection.h       \
241         gunixcredentialsmessage.h       \
242         gunixmounts.h           \
243         gunixfdlist.h           \
244         gunixfdmessage.h        \
245         gunixinputstream.h      \
246         gunixoutputstream.h     \
247         gunixsocketaddress.h    \
248         $(NULL)
249
250 if HAVE_NETLINK
251 unix_sources +=                  \
252         gnetworkmonitornetlink.c \
253         gnetworkmonitornetlink.h \
254         $(NULL)
255 endif
256 endif
257
258 win32_actual_sources = \
259         gwin32mount.c \
260         gwin32mount.h \
261         gwin32volumemonitor.c \
262         gwin32volumemonitor.h \
263         gwin32inputstream.c \
264         gwin32outputstream.c \
265         gwin32outputstream.h \
266         $(NULL)
267
268 win32_more_sources_for_vcproj = \
269         gwin32appinfo.c \
270         gregistrysettingsbackend.c \
271         win32/gwin32directorymonitor.c \
272         win32/gwinhttpfile.c \
273         win32/gwinhttpfileinputstream.c \
274         win32/gwinhttpfileoutputstream.c \
275         win32/gwinhttpvfs.c
276
277 if OS_WIN32
278 appinfo_sources += gwin32appinfo.c gwin32appinfo.h
279 platform_libadd += -lshlwapi -lws2_32 -ldnsapi
280 win32_sources = $(win32_actual_sources)
281
282 giowin32includedir=$(includedir)/gio-win32-2.0/gio
283 giowin32include_HEADERS = \
284         gwin32inputstream.h \
285         gwin32outputstream.h \
286         $(NULL)
287
288 endif
289
290 SUBDIRS += tests
291
292 libgio_2_0_la_SOURCES =         \
293         gappinfo.c              \
294         gasynchelper.c          \
295         gasynchelper.h          \
296         gasyncinitable.c        \
297         gasyncresult.c          \
298         gbufferedinputstream.c  \
299         gbufferedoutputstream.c \
300         gcancellable.c          \
301         gcontenttype.c          \
302         gcontenttypeprivate.h   \
303         gcharsetconverter.c     \
304         gconverter.c            \
305         gconverterinputstream.c \
306         gconverteroutputstream.c        \
307         gcredentials.c          \
308         gdatainputstream.c      \
309         gdataoutputstream.c     \
310         gdrive.c                \
311         gdummyfile.h            \
312         gdummyfile.c            \
313         gdummyproxyresolver.c   \
314         gdummyproxyresolver.h   \
315         gdummytlsbackend.c      \
316         gdummytlsbackend.h      \
317         gemblem.h               \
318         gemblem.c               \
319         gemblemedicon.h         \
320         gemblemedicon.c         \
321         gfile.c                 \
322         gfileattribute.c        \
323         gfileattribute-priv.h   \
324         gfileenumerator.c       \
325         gfileicon.c             \
326         gfileinfo.c             \
327         gfileinfo-priv.h        \
328         gfileinputstream.c      \
329         gfilemonitor.c          \
330         gfilenamecompleter.c    \
331         gfileoutputstream.c     \
332         gfileiostream.c         \
333         gfilterinputstream.c    \
334         gfilteroutputstream.c   \
335         gicon.c                 \
336         ginetaddress.c          \
337         ginetaddressmask.c      \
338         ginetsocketaddress.c    \
339         ginitable.c             \
340         ginputstream.c          \
341         gioenums.h              \
342         gioerror.c              \
343         giomodule.c             \
344         giomodule-priv.h        \
345         gioscheduler.c          \
346         giostream.c             \
347         gloadableicon.c         \
348         gmount.c                \
349         gmemoryinputstream.c    \
350         gmemoryoutputstream.c   \
351         gmountoperation.c       \
352         gnativevolumemonitor.c  \
353         gnativevolumemonitor.h  \
354         gnetworkaddress.c       \
355         gnetworkingprivate.h    \
356         gnetworkmonitor.c       \
357         gnetworkmonitorbase.c   \
358         gnetworkmonitorbase.h   \
359         gnetworkservice.c       \
360         goutputstream.c         \
361         gpermission.c           \
362         gpollableinputstream.c  \
363         gpollableoutputstream.c \
364         gpollfilemonitor.c      \
365         gpollfilemonitor.h      \
366         gproxyresolver.c        \
367         gresolver.c             \
368         gseekable.c             \
369         gsimpleasyncresult.c    \
370         gsimplepermission.c     \
371         gsocket.c               \
372         gsocketaddress.c        \
373         gsocketaddressenumerator.c \
374         gsocketclient.c         \
375         gsocketconnectable.c    \
376         gsocketconnection.c     \
377         gsocketcontrolmessage.c \
378         gsocketinputstream.c    \
379         gsocketinputstream.h    \
380         gsocketlistener.c       \
381         gsocketoutputstream.c   \
382         gsocketoutputstream.h   \
383         gproxy.c                \
384         gproxyaddress.c         \
385         gproxyaddressenumerator.c \
386         gsocketservice.c        \
387         gsrvtarget.c            \
388         gtcpconnection.c        \
389         gtcpwrapperconnection.c \
390         gthreadedsocketservice.c\
391         gthemedicon.c           \
392         gthreadedresolver.c     \
393         gthreadedresolver.h     \
394         gtlsbackend.c           \
395         gtlscertificate.c       \
396         gtlsclientconnection.c  \
397         gtlsconnection.c        \
398         gtlsdatabase.c          \
399         gtlsfiledatabase.c      \
400         gtlsinteraction.c       \
401         gtlspassword.c          \
402         gtlsserverconnection.c  \
403         gunionvolumemonitor.c   \
404         gunionvolumemonitor.h   \
405         gvfs.c                  \
406         gvolume.c               \
407         gvolumemonitor.c        \
408         gzlibcompressor.c       \
409         gzlibdecompressor.c     \
410         gmountprivate.h         \
411         gioenumtypes.h          \
412         gioenumtypes.c          \
413         $(appinfo_sources)      \
414         $(unix_sources)         \
415         $(win32_sources)        \
416         $(application_sources)  \
417         $(settings_sources)     \
418         $(gdbus_sources)        \
419         $(local_sources)        \
420         $(NULL)
421
422 EXTRA_DIST += strinfo.c
423
424 libgio_2_0_la_LIBADD = \
425         $(top_builddir)/glib/libglib-2.0.la             \
426         $(top_builddir)/gobject/libgobject-2.0.la       \
427         $(top_builddir)/gmodule/libgmodule-2.0.la       \
428         $(platform_libadd)                              \
429         $(ZLIB_LIBS)                                    \
430         $(SELINUX_LIBS)                                 \
431         $(GLIB_LIBS)                                    \
432         $(XATTR_LIBS)                                   \
433         $(NETWORK_LIBS)                                 \
434         $(NULL)
435
436 libgio_2_0_la_CPPFLAGS = $(ZLIB_CFLAGS) $(AM_CPPFLAGS)
437
438 if PLATFORM_WIN32
439 no_undefined = -no-undefined
440 endif
441
442 if OS_WIN32_AND_DLL_COMPILATION
443 export_symbols = -export-symbols gio.def
444 gio_def = gio.def
445
446 gio_win32_res = gio-win32-res.o
447 gio_win32_res_ldflag = -Wl,$(gio_win32_res)
448
449 install-def-file:
450         $(INSTALL) gio.def $(DESTDIR)$(libdir)/gio-2.0.def
451
452 uninstall-def-file:
453         -rm $(DESTDIR)$(libdir)/gio-2.0.def
454 else
455 install-def-file:
456 uninstall-def-file:
457
458 export_symbols = $(LIBTOOL_EXPORT_OPTIONS)
459 endif
460
461 install-data-local: install-ms-lib install-def-file
462         $(mkinstalldirs) $(DESTDIR)$(GIO_MODULE_DIR)
463
464 uninstall-local: uninstall-ms-lib uninstall-def-file
465
466 libgio_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
467         $(gio_win32_res_ldflag) \
468         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
469         -export-dynamic $(no_undefined) $(export_symbols)
470
471 libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
472
473 gio-win32-res.o: gio.rc
474         $(WINDRES) gio.rc $@
475
476 gio_headers =                   \
477         gappinfo.h              \
478         gasyncinitable.h        \
479         gasyncresult.h          \
480         gbufferedinputstream.h  \
481         gbufferedoutputstream.h \
482         gcancellable.h          \
483         gcontenttype.h          \
484         gcharsetconverter.h     \
485         gconverter.h            \
486         gconverterinputstream.h \
487         gconverteroutputstream.h        \
488         gdatainputstream.h      \
489         gdataoutputstream.h     \
490         gdrive.h                \
491         gemblem.h               \
492         gemblemedicon.h         \
493         gfile.h                 \
494         gfileattribute.h        \
495         gfileenumerator.h       \
496         gfileicon.h             \
497         gfileinfo.h             \
498         gfileinputstream.h      \
499         gfilemonitor.h          \
500         gfilenamecompleter.h    \
501         gfileoutputstream.h     \
502         gfileiostream.h         \
503         gfilterinputstream.h    \
504         gfilteroutputstream.h   \
505         gicon.h                 \
506         ginetaddress.h          \
507         ginetaddressmask.h      \
508         ginetsocketaddress.h    \
509         ginputstream.h          \
510         ginitable.h             \
511         gio.h                   \
512         giotypes.h              \
513         gioenums.h              \
514         gioerror.h              \
515         giomodule.h             \
516         gioscheduler.h          \
517         giostream.h             \
518         gloadableicon.h         \
519         gmount.h                \
520         gmemoryinputstream.h    \
521         gmemoryoutputstream.h   \
522         gmountoperation.h       \
523         gnativevolumemonitor.h  \
524         gnetworkaddress.h       \
525         gnetworkmonitor.h       \
526         gnetworkservice.h       \
527         goutputstream.h         \
528         gpermission.h           \
529         gpollableinputstream.h  \
530         gpollableoutputstream.h \
531         gproxyaddress.h         \
532         gproxy.h                \
533         gproxyaddressenumerator.h \
534         gproxyresolver.h        \
535         gresolver.h             \
536         gseekable.h             \
537         gsimpleasyncresult.h    \
538         gsimplepermission.h     \
539         gsocket.h               \
540         gsocketaddress.h        \
541         gsocketaddressenumerator.h \
542         gsocketclient.h         \
543         gsocketconnectable.h    \
544         gsocketconnection.h     \
545         gsocketcontrolmessage.h \
546         gsocketlistener.h       \
547         gsocketservice.h        \
548         gsrvtarget.h            \
549         gtcpconnection.h        \
550         gtcpwrapperconnection.h \
551         gthreadedsocketservice.h\
552         gthemedicon.h           \
553         gtlsbackend.h           \
554         gtlscertificate.h       \
555         gtlsclientconnection.h  \
556         gtlsconnection.h        \
557         gtlsdatabase.h          \
558         gtlsfiledatabase.h      \
559         gtlsinteraction.h       \
560         gtlspassword.h          \
561         gtlsserverconnection.h  \
562         gvfs.h                  \
563         gvolume.h               \
564         gvolumemonitor.h        \
565         gzlibcompressor.h       \
566         gzlibdecompressor.h     \
567         $(application_headers)  \
568         $(settings_headers)     \
569         $(gdbus_headers)        \
570         $(NULL)
571
572 gioincludedir=$(includedir)/glib-2.0/gio/
573 gioinclude_HEADERS =            \
574         $(gio_headers)          \
575         gioenumtypes.h
576
577 # these sources (also mentioned above) are generated.
578 BUILT_SOURCES =                 \
579         gioenumtypes.h          \
580         gioenumtypes.c          \
581         $(NULL)
582
583 EXTRA_DIST +=                   \
584         gio.symbols             \
585         gioenumtypes.h.template \
586         gioenumtypes.c.template \
587         makefile.msc            \
588         abicheck.sh             \
589         gio.rc.in               \
590         gschema.dtd             \
591         menumarkup.xml          \
592         menumarkup2.xml         \
593         menumarkup.dtd          \
594         $(NULL)
595
596 BUILT_EXTRA_DIST =              \
597         gio.rc
598
599 # This is read by gobject-introspection/misc/ and gtk-doc
600 gio-public-headers.txt: Makefile
601         echo $(gioinclude_HEADERS) $(giowin32include_HEADERS) $(giounixinclude_HEADERS) > $@.tmp && mv $@.tmp $@
602
603 CLEANFILES = gio-public-headers.txt
604
605 all-local: gio-public-headers.txt
606
607 gioenumtypes.h: $(gio_headers) gioenumtypes.h.template
608         $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
609           cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.h.template $(gio_headers) ) > \
610             gioenumtypes.h.tmp && mv gioenumtypes.h.tmp gioenumtypes.h
611
612 gioenumtypes.c: $(gio_headers) gioenumtypes.c.template
613         $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
614           cd $(srcdir) && $$top_builddir/gobject/glib-mkenums --template gioenumtypes.c.template $(gio_headers) ) > \
615             gioenumtypes.c.tmp && mv gioenumtypes.c.tmp gioenumtypes.c
616
617 gio-2.0.lib: libgio-2.0.la gio.def
618         lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgio-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gio.def -out:$@
619
620 bin_PROGRAMS = gio-querymodules glib-compile-schemas gsettings
621
622 gio_querymodules_SOURCES = gio-querymodules.c
623 gio_querymodules_LDADD   = \
624         $(top_builddir)/glib/libglib-2.0.la             \
625         $(top_builddir)/gobject/libgobject-2.0.la       \
626         $(top_builddir)/gmodule/libgmodule-2.0.la       \
627         libgio-2.0.la                                   \
628         $(NULL)
629
630 glib_compile_schemas_LDADD = $(top_builddir)/glib/libglib-2.0.la
631 glib_compile_schemas_SOURCES = \
632         gvdb/gvdb-format.h              \
633         gvdb/gvdb-builder.h             \
634         gvdb/gvdb-builder.c             \
635         glib-compile-schemas.c
636
637 gsettings_LDADD = \
638         $(top_builddir)/glib/libglib-2.0.la             \
639         $(top_builddir)/gobject/libgobject-2.0.la       \
640         libgio-2.0.la
641 gsettings_SOURCES = gsettings-tool.c
642
643 schemadir = $(datadir)/glib-2.0/schemas
644 dist_schema_DATA = gschema.dtd
645
646 # ------------------------------------------------------------------------
647 # gdbus(1) tool
648
649 bin_PROGRAMS += gdbus
650 gdbus_SOURCES = gdbus-tool.c
651 gdbus_LDADD = libgio-2.0.la \
652         $(top_builddir)/glib/libglib-2.0.la             \
653         $(top_builddir)/gobject/libgobject-2.0.la
654
655 completiondir = $(sysconfdir)/bash_completion.d
656 completion_DATA = \
657         gdbus-bash-completion.sh                \
658         gsettings-bash-completion.sh
659 EXTRA_DIST += $(completion_DATA)
660
661 # ------------------------------------------------------------------------
662
663 dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/gio.vcproj ../build/win32/vs10/gio.vcxproj ../build/win32/vs10/gio.vcxproj.filters
664         files='$(BUILT_EXTRA_DIST)'; \
665         for f in $$files; do \
666           if test -f $$f; then d=.; else d=$(srcdir); fi; \
667           cp $$d/$$f $(distdir) || exit 1; done
668
669 ../build/win32/vs9/gio.vcproj: $(top_srcdir)/build/win32/vs9/gio.vcprojin
670         for F in `echo $(libgio_2_0_la_SOURCES) $(win32_actual_sources) $(win32_more_sources_for_vcproj) | tr '/' '\\'`; do \
671                 case $$F in \
672                 gunix*.c|gdesktopappinfo.c|gnetworkmonitornetlink.c) ;; \
673                 *.c) echo '   <File RelativePath="..\..\..\gio\'$$F'" />' \
674                      ;; \
675                 esac; \
676         done | sort -u >libgio.sourcefiles
677         $(CPP) -P - <$(top_srcdir)/build/win32/vs9/gio.vcprojin >$@
678         rm libgio.sourcefiles
679
680 ../build/win32/vs10/gio.vcxproj: $(top_srcdir)/build/win32/vs10/gio.vcxprojin
681         for F in `echo $(libgio_2_0_la_SOURCES) $(win32_actual_sources) $(win32_more_sources_for_vcproj) | tr '/' '\\'`; do \
682                 case $$F in \
683                 gunix*.c|gdesktopappinfo.c|gnetworkmonitornetlink.c) ;; \
684                 *.c) echo '    <ClCompile Include="..\..\..\gio\'$$F'" />' \
685                      ;; \
686                 esac; \
687         done | sort -u >libgio.vs10.sourcefiles
688         $(CPP) -P - <$(top_srcdir)/build/win32/vs10/gio.vcxprojin >$@
689         rm libgio.vs10.sourcefiles
690
691 ../build/win32/vs10/gio.vcxproj.filters: $(top_srcdir)/build/win32/vs10/gio.vcxproj.filtersin
692         for F in `echo $(libgio_2_0_la_SOURCES) $(win32_actual_sources) $(win32_more_sources_for_vcproj) | tr '/' '\\'`; do \
693                 case $$F in \
694                 gunix*.c|gdesktopappinfo.c|gnetworkmonitornetlink.c) ;; \
695                 *.c) echo '    <ClCompile Include="..\..\..\gio\'$$F'"><Filter>Source Files</Filter></ClCompile>' \
696                      ;; \
697                 esac; \
698         done | sort -u >libgio.vs10.sourcefiles.filters
699         $(CPP) -P - <$(top_srcdir)/build/win32/vs10/gio.vcxproj.filtersin >$@
700         rm libgio.vs10.sourcefiles.filters
701
702 if HAVE_GLIB_RUNTIME_LIBDIR
703 install-data-hook:
704         mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
705         mv $(DESTDIR)$(libdir)/libgio-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
706         mv $(DESTDIR)$(libdir)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
707         rm -f $(DESTDIR)$(libdir)/libgio-2.0.so
708         ln -s $(GLIB_RUNTIME_LIBDIR)/libgio-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgio-2.0.so
709 endif