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