1 # Makefile.in generated by automake 1.11.3 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # GLIB - Library of useful C routines
20 # -*- mode: makefile -*-
22 ####################################
23 # Everything below here is generic #
24 ####################################
26 pkgdatadir = $(datadir)/@PACKAGE@
27 pkgincludedir = $(includedir)/@PACKAGE@
28 pkglibdir = $(libdir)/@PACKAGE@
29 pkglibexecdir = $(libexecdir)/@PACKAGE@
30 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
31 install_sh_DATA = $(install_sh) -c -m 644
32 install_sh_PROGRAM = $(install_sh) -c
33 install_sh_SCRIPT = $(install_sh) -c
34 INSTALL_HEADER = $(INSTALL_DATA)
35 transform = $(program_transform_name)
42 build_triplet = @build@
44 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
45 $(srcdir)/version.xml.in $(top_srcdir)/Makefile.decl \
46 $(top_srcdir)/gtk-doc.make
47 subdir = docs/reference/gio
48 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
49 am__aclocal_m4_deps = $(top_srcdir)/m4macros/gtk-doc.m4 \
50 $(top_srcdir)/m4macros/libtool.m4 \
51 $(top_srcdir)/m4macros/ltoptions.m4 \
52 $(top_srcdir)/m4macros/ltsugar.m4 \
53 $(top_srcdir)/m4macros/ltversion.m4 \
54 $(top_srcdir)/m4macros/lt~obsolete.m4 \
55 $(top_srcdir)/acinclude.m4 $(top_srcdir)/acglib.m4 \
56 $(top_srcdir)/glib/libcharset/codeset.m4 \
57 $(top_srcdir)/glib/libcharset/glibc21.m4 \
58 $(top_srcdir)/m4macros/glib-gettext.m4 \
59 $(top_srcdir)/configure.ac
60 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
62 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
63 CONFIG_HEADER = $(top_builddir)/config.h
64 CONFIG_CLEAN_FILES = version.xml
65 CONFIG_CLEAN_VPATH_FILES =
66 AM_V_GEN = $(am__v_GEN_@AM_V@)
67 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
68 am__v_GEN_0 = @echo " GEN " $@;
69 AM_V_at = $(am__v_at_@AM_V@)
70 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
74 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
75 html-recursive info-recursive install-data-recursive \
76 install-dvi-recursive install-exec-recursive \
77 install-html-recursive install-info-recursive \
78 install-pdf-recursive install-ps-recursive install-recursive \
79 installcheck-recursive installdirs-recursive pdf-recursive \
80 ps-recursive uninstall-recursive
81 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
82 am__vpath_adj = case $$p in \
83 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
86 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
88 am__nobase_strip_setup = \
89 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
91 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
92 am__nobase_list = $(am__nobase_strip_setup); \
93 for p in $$list; do echo "$$p $$p"; done | \
94 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
95 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
96 if (++n[$$2] == $(am__install_max)) \
97 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
98 END { for (dir in files) print dir, files[dir] }'
100 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
101 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
102 am__uninstall_files_from_dir = { \
104 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
105 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
106 $(am__cd) "$$dir" && rm -f $$files; }; \
108 man1dir = $(mandir)/man1
109 am__installdirs = "$(DESTDIR)$(man1dir)"
112 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
113 distclean-recursive maintainer-clean-recursive
114 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
115 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
119 DIST_SUBDIRS = $(SUBDIRS)
120 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
123 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
124 sed_rest='s,^[^/]*/*,,'; \
125 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
126 sed_butlast='s,/*[^/]*$$,,'; \
127 while test -n "$$dir1"; do \
128 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
129 if test "$$first" != "."; then \
130 if test "$$first" = ".."; then \
131 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
132 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
134 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
135 if test "$$first2" = "$$first"; then \
136 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
140 dir0="$$dir0"/"$$first"; \
143 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
146 ABS_GLIB_RUNTIME_LIBDIR = @ABS_GLIB_RUNTIME_LIBDIR@
147 ABS_TAPSET_DIR = @ABS_TAPSET_DIR@
151 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
154 AUTOCONF = @AUTOCONF@
155 AUTOHEADER = @AUTOHEADER@
156 AUTOMAKE = @AUTOMAKE@
158 CATALOGS = @CATALOGS@
159 CATOBJEXT = @CATOBJEXT@
161 CCDEPMODE = @CCDEPMODE@
163 CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@
165 CPPFLAGS = @CPPFLAGS@
168 CXXDEPMODE = @CXXDEPMODE@
169 CXXFLAGS = @CXXFLAGS@
170 CYGPATH_W = @CYGPATH_W@
171 DATADIRNAME = @DATADIRNAME@
172 DBUS1_CFLAGS = @DBUS1_CFLAGS@
173 DBUS1_LIBS = @DBUS1_LIBS@
177 DSYMUTIL = @DSYMUTIL@
185 FAM_LIBS = @FAM_LIBS@
187 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
189 GIO_MODULE_DIR = @GIO_MODULE_DIR@
191 GLIB_BINARY_AGE = @GLIB_BINARY_AGE@
192 GLIB_COMPILE_RESOURCES = @GLIB_COMPILE_RESOURCES@
193 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
194 GLIB_DEBUG_FLAGS = @GLIB_DEBUG_FLAGS@
195 GLIB_EXTRA_CFLAGS = @GLIB_EXTRA_CFLAGS@
196 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
197 GLIB_INTERFACE_AGE = @GLIB_INTERFACE_AGE@
198 GLIB_LINK_FLAGS = @GLIB_LINK_FLAGS@
199 GLIB_MAJOR_VERSION = @GLIB_MAJOR_VERSION@
200 GLIB_MICRO_VERSION = @GLIB_MICRO_VERSION@
201 GLIB_MINOR_VERSION = @GLIB_MINOR_VERSION@
202 GLIB_RUNTIME_LIBDIR = @GLIB_RUNTIME_LIBDIR@
203 GLIB_VERSION = @GLIB_VERSION@
204 GLIB_WIN32_STATIC_COMPILATION_DEFINE = @GLIB_WIN32_STATIC_COMPILATION_DEFINE@
205 GMOFILES = @GMOFILES@
209 GTHREAD_COMPILE_IMPL_DEFINES = @GTHREAD_COMPILE_IMPL_DEFINES@
210 GTKDOC_CHECK = @GTKDOC_CHECK@
211 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
212 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
213 GTKDOC_MKPDF = @GTKDOC_MKPDF@
214 GTKDOC_REBASE = @GTKDOC_REBASE@
215 G_LIBS_EXTRA = @G_LIBS_EXTRA@
216 G_MODULE_BROKEN_RTLD_GLOBAL = @G_MODULE_BROKEN_RTLD_GLOBAL@
217 G_MODULE_HAVE_DLERROR = @G_MODULE_HAVE_DLERROR@
218 G_MODULE_IMPL = @G_MODULE_IMPL@
219 G_MODULE_LDFLAGS = @G_MODULE_LDFLAGS@
220 G_MODULE_LIBS = @G_MODULE_LIBS@
221 G_MODULE_LIBS_EXTRA = @G_MODULE_LIBS_EXTRA@
222 G_MODULE_NEED_USCORE = @G_MODULE_NEED_USCORE@
223 G_MODULE_PLUGIN_LIBS = @G_MODULE_PLUGIN_LIBS@
224 G_MODULE_SUPPORTED = @G_MODULE_SUPPORTED@
225 G_THREAD_CFLAGS = @G_THREAD_CFLAGS@
226 G_THREAD_LIBS = @G_THREAD_LIBS@
227 G_THREAD_LIBS_EXTRA = @G_THREAD_LIBS_EXTRA@
228 G_THREAD_LIBS_FOR_GTHREAD = @G_THREAD_LIBS_FOR_GTHREAD@
229 HTML_DIR = @HTML_DIR@
230 ICONV_LIBS = @ICONV_LIBS@
233 INSTALL_DATA = @INSTALL_DATA@
234 INSTALL_PROGRAM = @INSTALL_PROGRAM@
235 INSTALL_SCRIPT = @INSTALL_SCRIPT@
236 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
237 INSTOBJEXT = @INSTOBJEXT@
238 INTLLIBS = @INTLLIBS@
241 LIBELF_CFLAGS = @LIBELF_CFLAGS@
242 LIBELF_LIBS = @LIBELF_LIBS@
243 LIBFFI_CFLAGS = @LIBFFI_CFLAGS@
244 LIBFFI_LIBS = @LIBFFI_LIBS@
248 LIBTOOL_EXPORT_OPTIONS = @LIBTOOL_EXPORT_OPTIONS@
249 LIB_EXE_MACHINE_FLAG = @LIB_EXE_MACHINE_FLAG@
252 LTLIBOBJS = @LTLIBOBJS@
254 LTP_GENHTML = @LTP_GENHTML@
256 LT_CURRENT = @LT_CURRENT@
257 LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@
258 LT_RELEASE = @LT_RELEASE@
259 LT_REVISION = @LT_REVISION@
261 MAKEINFO = @MAKEINFO@
262 MANIFEST_TOOL = @MANIFEST_TOOL@
264 MKINSTALLDIRS = @MKINSTALLDIRS@
266 MSGFMT_OPTS = @MSGFMT_OPTS@
267 NETWORK_LIBS = @NETWORK_LIBS@
275 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
276 PACKAGE_NAME = @PACKAGE_NAME@
277 PACKAGE_STRING = @PACKAGE_STRING@
278 PACKAGE_TARNAME = @PACKAGE_TARNAME@
279 PACKAGE_URL = @PACKAGE_URL@
280 PACKAGE_VERSION = @PACKAGE_VERSION@
281 PATH_SEPARATOR = @PATH_SEPARATOR@
282 PCRE_CFLAGS = @PCRE_CFLAGS@
283 PCRE_LIBS = @PCRE_LIBS@
284 PCRE_REQUIRES = @PCRE_REQUIRES@
285 PCRE_WARN_CFLAGS = @PCRE_WARN_CFLAGS@
287 PERL_PATH = @PERL_PATH@
288 PKG_CONFIG = @PKG_CONFIG@
289 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
290 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
291 PLATFORMDEP = @PLATFORMDEP@
294 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
295 PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
297 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
298 PYTHON_PLATFORM = @PYTHON_PLATFORM@
299 PYTHON_PREFIX = @PYTHON_PREFIX@
300 PYTHON_VERSION = @PYTHON_VERSION@
304 SELINUX_LIBS = @SELINUX_LIBS@
305 SET_MAKE = @SET_MAKE@
312 XATTR_LIBS = @XATTR_LIBS@
313 XGETTEXT = @XGETTEXT@
314 XMLCATALOG = @XMLCATALOG@
315 XML_CATALOG_FILE = @XML_CATALOG_FILE@
316 XSLTPROC = @XSLTPROC@
317 ZLIB_CFLAGS = @ZLIB_CFLAGS@
318 ZLIB_LIBS = @ZLIB_LIBS@
319 abs_builddir = @abs_builddir@
320 abs_srcdir = @abs_srcdir@
321 abs_top_builddir = @abs_top_builddir@
322 abs_top_srcdir = @abs_top_srcdir@
323 ac_ct_AR = @ac_ct_AR@
324 ac_ct_CC = @ac_ct_CC@
325 ac_ct_CXX = @ac_ct_CXX@
326 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
327 am__include = @am__include@
328 am__leading_dot = @am__leading_dot@
329 am__quote = @am__quote@
331 am__untar = @am__untar@
334 build_alias = @build_alias@
335 build_cpu = @build_cpu@
336 build_os = @build_os@
337 build_vendor = @build_vendor@
338 builddir = @builddir@
339 config_h_INCLUDES = @config_h_INCLUDES@
341 datarootdir = @datarootdir@
344 exec_prefix = @exec_prefix@
345 gio_INCLUDES = @gio_INCLUDES@
346 glib_INCLUDES = @glib_INCLUDES@
347 gmodule_INCLUDES = @gmodule_INCLUDES@
348 gobject_INCLUDES = @gobject_INCLUDES@
349 gthread_INCLUDES = @gthread_INCLUDES@
351 host_alias = @host_alias@
352 host_cpu = @host_cpu@
354 host_vendor = @host_vendor@
356 includedir = @includedir@
358 install_sh = @install_sh@
360 libexecdir = @libexecdir@
361 localedir = @localedir@
362 localstatedir = @localstatedir@
365 ms_librarian = @ms_librarian@
366 oldincludedir = @oldincludedir@
368 pkgpyexecdir = @pkgpyexecdir@
369 pkgpythondir = @pkgpythondir@
371 program_transform_name = @program_transform_name@
373 pyexecdir = @pyexecdir@
374 pythondir = @pythondir@
376 sharedstatedir = @sharedstatedir@
378 sysconfdir = @sysconfdir@
379 target_alias = @target_alias@
380 top_build_prefix = @top_build_prefix@
381 top_builddir = @top_builddir@
382 top_srcdir = @top_srcdir@
384 #GTESTER = gtester # for non-GLIB packages
385 GTESTER = $(top_builddir)/glib/gtester # for the GLIB package
386 GTESTER_REPORT = $(top_builddir)/glib/gtester-report # for the GLIB package
387 EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) version.xml.in $(man_MANS)
390 SUBDIRS = gdbus-object-manager-example
392 # The name of the module.
395 # The top-level SGML file.
396 DOC_MAIN_SGML_FILE = gio-docs.xml
398 # Extra options to supply to gtkdoc-scan
399 SCAN_OPTIONS = --deprecated-guards="G_DISABLE_DEPRECATED" \
400 --ignore-decorators="G_GNUC_WARN_UNUSED_RESULT"
403 # The directory containing the source code. Relative to $(srcdir)
404 DOC_SOURCE_DIR = $(top_srcdir)/gio
405 BUILT_HFILES = gioenumtypes.h
406 HFILE_GLOB = $(top_srcdir)/gio/*.h
407 CFILE_GLOB = $(top_srcdir)/gio/*.c
420 gcontenttypeprivate.h \
422 gdbusauthmechanismanon.h \
423 gdbusauthmechanismexternal.h \
424 gdbusauthmechanism.h \
425 gdbusauthmechanismsha1.h \
427 gdelayedsettingsbackend.h \
429 gdummyproxyresolver.h \
431 gfileattribute-priv.h \
434 glocaldirectorymonitor.h \
435 glocalfileenumerator.h \
438 glocalfileinputstream.h \
439 glocalfileiostream.h \
440 glocalfilemonitor.h \
441 glocalfileoutputstream.h \
444 gnativevolumemonitor.h \
445 gnetworkingprivate.h \
446 gnetworkmonitorbase.h \
447 gnetworkmonitornetlink.h \
449 gregistrysettingsbackend.h \
450 gsettingsbackendinternal.h \
451 gsettings-mapping.h \
452 gsettingsschema-internal.h \
453 gsocketinputstream.h \
454 gsocketoutputstream.h \
458 gthreadedresolver.h \
459 gunionvolumemonitor.h \
463 gunixvolumemonitor.h \
467 gwin32volumemonitor.h
470 # CFLAGS and LDFLAGS for compiling scan program. Only needed
471 # if $(DOC_MODULE).types is non-empty.
477 $(top_builddir)/glib/libglib-2.0.la \
478 $(top_builddir)/gobject/libgobject-2.0.la \
479 $(top_builddir)/gmodule/libgmodule-2.0.la \
480 $(top_builddir)/gio/libgio-2.0.la \
484 # Extra options to supply to gtkdoc-mkdb
485 MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
486 --ignore-files='libasyncns tests'
489 # Images to copy into HTML directory
498 migrating-posix.xml \
499 migrating-gnome-vfs.xml \
500 migrating-gconf.xml \
501 migrating-gdbus.xml \
502 gio-querymodules.xml \
503 glib-compile-schemas.xml\
504 glib-compile-resources.xml \
511 expand_content_files = \
513 migrating-posix.xml \
514 migrating-gnome-vfs.xml \
515 migrating-gconf.xml \
516 migrating-gdbus.xml \
525 # Extra options to supply to gtkdoc-fixref
526 FIXXREF_OPTIONS = --extra-dir=$(srcdir)/../glib/html --extra-dir=$(srcdir)/../gobject/html
527 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
528 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
529 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
530 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
531 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
532 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
534 # We set GPATH here; this gives us semantics for GNU make
535 # which are more like other make's VPATH, when it comes to
536 # whether a source that is a target of one rule is then
537 # searched for in VPATH/GPATH.
540 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
543 $(DOC_MAIN_SGML_FILE) \
544 $(DOC_MODULE)-sections.txt \
545 $(DOC_MODULE)-overrides.txt
547 DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \
548 html-build.stamp pdf-build.stamp \
549 sgml.stamp html.stamp pdf.stamp
553 $(DOC_MODULE).hierarchy \
554 $(DOC_MODULE).interfaces \
555 $(DOC_MODULE).prerequisites \
556 $(DOC_MODULE).signals
559 $(DOC_MODULE)-undocumented.txt \
560 $(DOC_MODULE)-undeclared.txt \
561 $(DOC_MODULE)-unused.txt
563 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
564 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
565 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
566 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
567 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
570 glib-compile-schemas.1 \
571 glib-compile-resources.1 \
577 MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
582 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(top_srcdir)/gtk-doc.make $(am__configure_deps)
584 case '$(am__configure_deps)' in \
586 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
587 && { if test -f $@; then exit 0; else break; fi; }; \
591 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/reference/gio/Makefile'; \
592 $(am__cd) $(top_srcdir) && \
593 $(AUTOMAKE) --gnu docs/reference/gio/Makefile
595 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
598 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
600 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
601 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
603 $(top_srcdir)/Makefile.decl $(top_srcdir)/gtk-doc.make:
605 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
606 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
608 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
609 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
610 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
611 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
612 $(am__aclocal_m4_deps):
613 version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in
614 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
621 install-man1: $(man_MANS)
623 test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
624 @list=''; test -n "$(man1dir)" || exit 0; \
625 { for i in $$list; do echo "$$i"; done; \
626 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
627 sed -n '/\.1[a-z]*$$/p'; \
628 } | while read p; do \
629 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
630 echo "$$d$$p"; echo "$$p"; \
632 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
633 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
634 sed 'N;N;s,\n, ,g' | { \
635 list=; while read file base inst; do \
636 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
637 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
638 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
641 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
642 while read files; do \
643 test -z "$$files" || { \
644 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
645 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
650 @list=''; test -n "$(man1dir)" || exit 0; \
651 files=`{ for i in $$list; do echo "$$i"; done; \
652 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
653 sed -n '/\.1[a-z]*$$/p'; \
654 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
655 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
656 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
658 # This directory's subdirectories are mostly independent; you can cd
659 # into them and run `make' without going through this Makefile.
660 # To change the values of `make' variables: instead of editing Makefiles,
661 # (1) if the variable is set in `config.status', edit `config.status'
662 # (which will cause the Makefiles to be regenerated when you run `make');
663 # (2) otherwise, pass the desired values on the `make' command line.
664 $(RECURSIVE_TARGETS):
665 @fail= failcom='exit 1'; \
666 for f in x $$MAKEFLAGS; do \
669 *k*) failcom='fail=yes';; \
673 target=`echo $@ | sed s/-recursive//`; \
674 list='$(SUBDIRS)'; for subdir in $$list; do \
675 echo "Making $$target in $$subdir"; \
676 if test "$$subdir" = "."; then \
678 local_target="$$target-am"; \
680 local_target="$$target"; \
682 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
685 if test "$$dot_seen" = "no"; then \
686 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
689 $(RECURSIVE_CLEAN_TARGETS):
690 @fail= failcom='exit 1'; \
691 for f in x $$MAKEFLAGS; do \
694 *k*) failcom='fail=yes';; \
699 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
700 *) list='$(SUBDIRS)' ;; \
702 rev=''; for subdir in $$list; do \
703 if test "$$subdir" = "."; then :; else \
704 rev="$$subdir $$rev"; \
708 target=`echo $@ | sed s/-recursive//`; \
709 for subdir in $$rev; do \
710 echo "Making $$target in $$subdir"; \
711 if test "$$subdir" = "."; then \
712 local_target="$$target-am"; \
714 local_target="$$target"; \
716 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
718 done && test -z "$$fail"
720 list='$(SUBDIRS)'; for subdir in $$list; do \
721 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
724 list='$(SUBDIRS)'; for subdir in $$list; do \
725 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
728 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
729 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
730 unique=`for i in $$list; do \
731 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
733 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
734 END { if (nonempty) { for (i in files) print i; }; }'`; \
738 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
739 $(TAGS_FILES) $(LISP)
742 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
743 include_option=--etags-include; \
746 include_option=--include; \
749 list='$(SUBDIRS)'; for subdir in $$list; do \
750 if test "$$subdir" = .; then :; else \
751 test ! -f $$subdir/TAGS || \
752 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
755 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
756 unique=`for i in $$list; do \
757 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
759 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
760 END { if (nonempty) { for (i in files) print i; }; }'`; \
762 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
763 test -n "$$unique" || unique=$$empty_fix; \
764 if test $$# -gt 0; then \
765 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
768 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
773 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
774 $(TAGS_FILES) $(LISP)
775 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
776 unique=`for i in $$list; do \
777 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
779 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
780 END { if (nonempty) { for (i in files) print i; }; }'`; \
781 test -z "$(CTAGS_ARGS)$$unique" \
782 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
786 here=`$(am__cd) $(top_builddir) && pwd` \
787 && $(am__cd) $(top_srcdir) \
788 && gtags -i $(GTAGS_ARGS) "$$here"
791 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
793 distdir: $(DISTFILES)
794 @list='$(MANS)'; if test -n "$$list"; then \
795 list=`for p in $$list; do \
796 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
797 if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
798 if test -n "$$list" && \
799 grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
800 echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
801 grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
802 echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
803 echo " typically \`make maintainer-clean' will remove them" >&2; \
807 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
808 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
809 list='$(DISTFILES)'; \
810 dist_files=`for file in $$list; do echo $$file; done | \
811 sed -e "s|^$$srcdirstrip/||;t" \
812 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
813 case $$dist_files in \
814 */*) $(MKDIR_P) `echo "$$dist_files" | \
815 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
818 for file in $$dist_files; do \
819 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
820 if test -d $$d/$$file; then \
821 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
822 if test -d "$(distdir)/$$file"; then \
823 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
825 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
826 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
827 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
829 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
831 test -f "$(distdir)/$$file" \
832 || cp -p $$d/$$file "$(distdir)/$$file" \
836 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
837 if test "$$subdir" = .; then :; else \
838 test -d "$(distdir)/$$subdir" \
839 || $(MKDIR_P) "$(distdir)/$$subdir" \
843 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
844 if test "$$subdir" = .; then :; else \
845 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
847 new_distdir=$$reldir; \
848 dir1=$$subdir; dir2="$(top_distdir)"; \
850 new_top_distdir=$$reldir; \
851 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
852 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
853 ($(am__cd) $$subdir && \
854 $(MAKE) $(AM_MAKEFLAGS) \
855 top_distdir="$$new_top_distdir" \
856 distdir="$$new_distdir" \
857 am__remove_distdir=: \
858 am__skip_length_check=: \
859 am__skip_mode_fix=: \
864 $(MAKE) $(AM_MAKEFLAGS) \
865 top_distdir="$(top_distdir)" distdir="$(distdir)" \
868 $(MAKE) $(AM_MAKEFLAGS) check-local
869 check: check-recursive
870 all-am: Makefile $(MANS) all-local
871 installdirs: installdirs-recursive
873 for dir in "$(DESTDIR)$(man1dir)"; do \
874 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
876 install: install-recursive
877 install-exec: install-exec-recursive
878 install-data: install-data-recursive
879 uninstall: uninstall-recursive
882 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
884 installcheck: installcheck-recursive
886 if test -z '$(STRIP)'; then \
887 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
888 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
891 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
892 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
893 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
898 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
901 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
902 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
904 maintainer-clean-generic:
905 @echo "This command is intended for maintainers to use"
906 @echo "it deletes files that may require special tools to rebuild."
907 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
908 clean: clean-recursive
910 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
912 distclean: distclean-recursive
914 distclean-am: clean-am distclean-generic distclean-local \
929 install-data-am: install-data-local install-man
931 install-dvi: install-dvi-recursive
937 install-html: install-html-recursive
941 install-info: install-info-recursive
945 install-man: install-man1
947 install-pdf: install-pdf-recursive
951 install-ps: install-ps-recursive
957 maintainer-clean: maintainer-clean-recursive
959 maintainer-clean-am: distclean-am maintainer-clean-generic \
960 maintainer-clean-local
962 mostlyclean: mostlyclean-recursive
964 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
974 uninstall-am: uninstall-local uninstall-man
976 uninstall-man: uninstall-man1
978 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
979 ctags-recursive install-am install-strip tags-recursive
981 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
982 all all-am all-local check check-am check-local clean \
983 clean-generic clean-libtool clean-local ctags ctags-recursive \
984 dist-hook distclean distclean-generic distclean-libtool \
985 distclean-local distclean-tags distdir dvi dvi-am html html-am \
986 info info-am install install-am install-data install-data-am \
987 install-data-local install-dvi install-dvi-am install-exec \
988 install-exec-am install-html install-html-am install-info \
989 install-info-am install-man install-man1 install-pdf \
990 install-pdf-am install-ps install-ps-am install-strip \
991 installcheck installcheck-am installdirs installdirs-am \
992 maintainer-clean maintainer-clean-generic \
993 maintainer-clean-local mostlyclean mostlyclean-generic \
994 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
995 uninstall uninstall-am uninstall-local uninstall-man \
1001 # test: run all tests in cwd and subdirs
1002 test: test-nonrecursive
1003 @OS_UNIX_TRUE@ @ for subdir in $(SUBDIRS) . ; do \
1004 @OS_UNIX_TRUE@ test "$$subdir" = "." -o "$$subdir" = "po" || \
1005 @OS_UNIX_TRUE@ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
1008 # test-nonrecursive: run tests only in cwd
1009 @OS_UNIX_TRUE@test-nonrecursive: ${TEST_PROGS}
1010 @OS_UNIX_TRUE@ @test -z "${TEST_PROGS}" || G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256)) ${GTESTER} --verbose ${TEST_PROGS}
1011 @OS_UNIX_FALSE@test-nonrecursive:
1013 # test-report: run tests in subdirs and generate report
1014 # perf-report: run tests in subdirs with -m perf and generate report
1015 # full-report: like test-report: with -m perf and -m slow
1016 test-report perf-report full-report: ${TEST_PROGS}
1017 @test -z "${TEST_PROGS}" || { \
1019 test-report) test_options="-k";; \
1020 perf-report) test_options="-k -m=perf";; \
1021 full-report) test_options="-k -m=perf -m=slow";; \
1023 if test -z "$$GTESTER_LOGDIR" ; then \
1024 ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \
1025 elif test -n "${TEST_PROGS}" ; then \
1026 ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \
1029 @ ignore_logdir=true ; \
1030 if test -z "$$GTESTER_LOGDIR" ; then \
1031 GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \
1032 ignore_logdir=false ; \
1034 if test -d "$(top_srcdir)/.git" ; then \
1035 REVISION=`git describe` ; \
1037 REVISION=$(VERSION) ; \
1039 for subdir in $(SUBDIRS) . ; do \
1040 test "$$subdir" = "." -o "$$subdir" = "po" || \
1041 ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
1043 $$ignore_logdir || { \
1044 echo '<?xml version="1.0"?>' > $@.xml ; \
1045 echo '<report-collection>' >> $@.xml ; \
1046 echo '<info>' >> $@.xml ; \
1047 echo ' <package>$(PACKAGE)</package>' >> $@.xml ; \
1048 echo ' <version>$(VERSION)</version>' >> $@.xml ; \
1049 echo " <revision>$$REVISION</revision>" >> $@.xml ; \
1050 echo '</info>' >> $@.xml ; \
1051 for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \
1052 sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \
1055 echo '</report-collection>' >> $@.xml ; \
1056 rm -rf "$$GTESTER_LOGDIR"/ ; \
1057 ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
1059 .PHONY: test test-report perf-report full-report test-nonrecursive
1061 .PHONY: lcov genlcov lcov-clean
1062 # use recursive makes in order to ignore errors during check
1064 -$(MAKE) $(AM_MAKEFLAGS) -k check
1065 $(MAKE) $(AM_MAKEFLAGS) genlcov
1067 # we have to massage the lcov.info file slightly to hide the effect of libtool
1068 # placing the objects files in the .libs/ directory separate from the *.c
1069 # we also have to delete tests/.libs/libmoduletestplugin_*.gcda
1071 rm -f $(top_builddir)/tests/.libs/libmoduletestplugin_*.gcda
1072 $(LTP) --directory $(top_builddir) --capture --output-file glib-lcov.info --test-name GLIB_PERF --no-checksum --compat-libtool
1073 LANG=C $(LTP_GENHTML) --prefix $(top_builddir) --output-directory glib-lcov --title "GLib Code Coverage" --legend --show-details glib-lcov.info
1074 @echo "file://$(abs_top_builddir)/glib-lcov/index.html"
1077 -$(LTP) --directory $(top_builddir) -z
1078 -rm -rf glib-lcov.info glib-lcov
1079 -find -name '*.gcda' -print | xargs rm
1081 # run tests in cwd as part of make check
1082 check-local: test-nonrecursive
1084 @ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
1085 @ENABLE_GTK_DOC_FALSE@all-local:
1087 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
1089 $(REPORT_FILES): sgml-build.stamp
1094 -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
1095 echo ' DOC Preparing build'; \
1096 files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
1097 if test "x$$files" != "x" ; then \
1098 for file in $$files ; do \
1099 test -f $(abs_srcdir)/$$file && \
1100 cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \
1104 @touch setup-build.stamp
1108 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
1109 @echo ' DOC Scanning header files'
1111 for i in $(DOC_SOURCE_DIR) ; do \
1112 _source_dir="$${_source_dir} --source-dir=$$i" ; \
1114 gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
1115 @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
1116 echo " DOC Introspecting gobjects"; \
1117 scanobj_options=""; \
1118 gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \
1119 if test "$(?)" = "0"; then \
1120 if test "x$(V)" = "x1"; then \
1121 scanobj_options="--verbose"; \
1124 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
1125 gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
1127 for i in $(SCANOBJ_FILES) ; do \
1128 test -f $$i || touch $$i ; \
1131 @touch scan-build.stamp
1133 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
1138 sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files)
1139 @echo ' DOC Building XML'
1141 for i in $(DOC_SOURCE_DIR) ; do \
1142 _source_dir="$${_source_dir} --source-dir=$$i" ; \
1144 gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS)
1145 @touch sgml-build.stamp
1147 sgml.stamp: sgml-build.stamp
1152 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
1153 @echo ' DOC Building HTML'
1156 @mkhtml_options=""; \
1157 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \
1158 if test "$(?)" = "0"; then \
1159 if test "x$(V)" = "x1"; then \
1160 mkhtml_options="$$mkhtml_options --verbose"; \
1163 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
1164 if test "$(?)" = "0"; then \
1165 mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
1167 cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
1168 -@test "x$(HTML_IMAGES)" = "x" || \
1169 for file in $(HTML_IMAGES) ; do \
1170 if test -f $(abs_srcdir)/$$file ; then \
1171 cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
1173 if test -f $(abs_builddir)/$$file ; then \
1174 cp $(abs_builddir)/$$file $(abs_builddir)/html; \
1177 @echo ' DOC Fixing cross-references'
1178 @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
1179 @touch html-build.stamp
1183 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
1184 @echo ' DOC Building PDF'
1185 @rm -f $(DOC_MODULE).pdf
1186 @mkpdf_options=""; \
1187 gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \
1188 if test "$(?)" = "0"; then \
1189 if test "x$(V)" = "x1"; then \
1190 mkpdf_options="$$mkpdf_options --verbose"; \
1193 if test "x$(HTML_IMAGES)" != "x"; then \
1194 for img in $(HTML_IMAGES); do \
1195 part=`dirname $$img`; \
1196 echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
1197 if test $$? != 0; then \
1198 mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
1202 gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
1203 @touch pdf-build.stamp
1212 @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
1213 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
1214 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
1215 rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
1218 maintainer-clean-local: clean
1222 @installfiles=`echo $(builddir)/html/*`; \
1223 if test "$$installfiles" = '$(builddir)/html/*'; \
1224 then echo 1>&2 'Nothing to install' ; \
1226 if test -n "$(DOC_MODULE_VERSION)"; then \
1227 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
1229 installdir="$(DESTDIR)$(TARGET_DIR)"; \
1231 $(mkinstalldirs) $${installdir} ; \
1232 for i in $$installfiles; do \
1233 echo ' $(INSTALL_DATA) '$$i ; \
1234 $(INSTALL_DATA) $$i $${installdir}; \
1236 if test -n "$(DOC_MODULE_VERSION)"; then \
1237 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
1238 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
1240 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
1244 @if test -n "$(DOC_MODULE_VERSION)"; then \
1245 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
1247 installdir="$(DESTDIR)$(TARGET_DIR)"; \
1249 rm -rf $${installdir}
1252 # Require gtk-doc when making dist
1254 @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
1255 @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
1256 @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist"
1257 @ENABLE_GTK_DOC_FALSE@ @false
1259 dist-hook: dist-check-gtkdoc dist-hook-local
1260 @mkdir $(distdir)/html
1261 @cp ./html/* $(distdir)/html
1262 @-cp ./$(DOC_MODULE).pdf $(distdir)/
1263 @-cp ./$(DOC_MODULE).types $(distdir)/
1264 @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
1265 @cd $(distdir) && rm -f $(DISTCLEANFILES)
1266 @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
1268 .PHONY : dist-hook-local docs
1270 @ENABLE_MAN_TRUE@.xml.1:
1271 @ENABLE_MAN_TRUE@ @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1273 @ENABLE_MAN_TRUE@dist-local-check-mans-enabled:
1274 @ENABLE_MAN_TRUE@ if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
1276 @ENABLE_MAN_FALSE@$(man_MANS):
1277 @ENABLE_MAN_FALSE@ echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
1278 @ENABLE_MAN_FALSE@ echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
1280 @ENABLE_MAN_FALSE@dist-local-check-mans-enabled:
1281 @ENABLE_MAN_FALSE@ echo "*** --enable-man must be used in order to make dist"
1282 @ENABLE_MAN_FALSE@ false
1284 dist-hook-local: dist-local-check-mans-enabled all-local
1286 gio-docs-clean: clean
1287 cd $(srcdir) && rm -rf xml html
1289 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1290 # Otherwise a system limit (for SysV at least) may be exceeded.