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