1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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)/acinclude.m4 \
50 $(top_srcdir)/acglib.m4 \
51 $(top_srcdir)/glib/libcharset/codeset.m4 \
52 $(top_srcdir)/glib/libcharset/glibc21.m4 \
53 $(top_srcdir)/m4macros/glib-gettext.m4 \
54 $(top_srcdir)/configure.in
55 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
57 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
58 CONFIG_HEADER = $(top_builddir)/config.h
59 CONFIG_CLEAN_FILES = version.xml
60 CONFIG_CLEAN_VPATH_FILES =
61 AM_V_GEN = $(am__v_GEN_$(V))
62 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
63 am__v_GEN_0 = @echo " GEN " $@;
64 AM_V_at = $(am__v_at_$(V))
65 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
69 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
70 ABS_GLIB_RUNTIME_LIBDIR = @ABS_GLIB_RUNTIME_LIBDIR@
74 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
78 AUTOHEADER = @AUTOHEADER@
82 CATOBJEXT = @CATOBJEXT@
84 CCDEPMODE = @CCDEPMODE@
86 CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@
91 CXXDEPMODE = @CXXDEPMODE@
93 CYGPATH_W = @CYGPATH_W@
94 DATADIRNAME = @DATADIRNAME@
97 DISABLE_MEM_POOLS = @DISABLE_MEM_POOLS@
106 FAM_LIBS = @FAM_LIBS@
108 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
110 GIO_MODULE_DIR = @GIO_MODULE_DIR@
112 GLIB_BINARY_AGE = @GLIB_BINARY_AGE@
113 GLIB_DEBUG_FLAGS = @GLIB_DEBUG_FLAGS@
114 GLIB_EXTRA_CFLAGS = @GLIB_EXTRA_CFLAGS@
115 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
116 GLIB_INTERFACE_AGE = @GLIB_INTERFACE_AGE@
117 GLIB_MAJOR_VERSION = @GLIB_MAJOR_VERSION@
118 GLIB_MICRO_VERSION = @GLIB_MICRO_VERSION@
119 GLIB_MINOR_VERSION = @GLIB_MINOR_VERSION@
120 GLIB_RUNTIME_LIBDIR = @GLIB_RUNTIME_LIBDIR@
121 GLIB_VERSION = @GLIB_VERSION@
122 GLIB_WIN32_STATIC_COMPILATION_DEFINE = @GLIB_WIN32_STATIC_COMPILATION_DEFINE@
123 GMOFILES = @GMOFILES@
127 GTHREAD_COMPILE_IMPL_DEFINES = @GTHREAD_COMPILE_IMPL_DEFINES@
128 GTKDOC_CHECK = @GTKDOC_CHECK@
129 GTKDOC_MKPDF = @GTKDOC_MKPDF@
130 GTKDOC_REBASE = @GTKDOC_REBASE@
131 G_LIBS_EXTRA = @G_LIBS_EXTRA@
132 G_MODULE_BROKEN_RTLD_GLOBAL = @G_MODULE_BROKEN_RTLD_GLOBAL@
133 G_MODULE_HAVE_DLERROR = @G_MODULE_HAVE_DLERROR@
134 G_MODULE_IMPL = @G_MODULE_IMPL@
135 G_MODULE_LDFLAGS = @G_MODULE_LDFLAGS@
136 G_MODULE_LIBS = @G_MODULE_LIBS@
137 G_MODULE_LIBS_EXTRA = @G_MODULE_LIBS_EXTRA@
138 G_MODULE_NEED_USCORE = @G_MODULE_NEED_USCORE@
139 G_MODULE_PLUGIN_LIBS = @G_MODULE_PLUGIN_LIBS@
140 G_MODULE_SUPPORTED = @G_MODULE_SUPPORTED@
141 G_THREAD_CFLAGS = @G_THREAD_CFLAGS@
142 G_THREAD_LIBS = @G_THREAD_LIBS@
143 G_THREAD_LIBS_EXTRA = @G_THREAD_LIBS_EXTRA@
144 G_THREAD_LIBS_FOR_GTHREAD = @G_THREAD_LIBS_FOR_GTHREAD@
145 HTML_DIR = @HTML_DIR@
146 ICONV_LIBS = @ICONV_LIBS@
149 INSTALL_DATA = @INSTALL_DATA@
150 INSTALL_PROGRAM = @INSTALL_PROGRAM@
151 INSTALL_SCRIPT = @INSTALL_SCRIPT@
152 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
153 INSTOBJEXT = @INSTOBJEXT@
154 INTLLIBS = @INTLLIBS@
157 LIBASYNCNS_LIBADD = @LIBASYNCNS_LIBADD@
161 LIBTOOL_EXPORT_OPTIONS = @LIBTOOL_EXPORT_OPTIONS@
162 LIB_EXE_MACHINE_FLAG = @LIB_EXE_MACHINE_FLAG@
165 LTLIBOBJS = @LTLIBOBJS@
167 LT_CURRENT = @LT_CURRENT@
168 LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@
169 LT_RELEASE = @LT_RELEASE@
170 LT_REVISION = @LT_REVISION@
172 MAKEINFO = @MAKEINFO@
174 MKINSTALLDIRS = @MKINSTALLDIRS@
176 MSGFMT_OPTS = @MSGFMT_OPTS@
184 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
185 PACKAGE_NAME = @PACKAGE_NAME@
186 PACKAGE_STRING = @PACKAGE_STRING@
187 PACKAGE_TARNAME = @PACKAGE_TARNAME@
188 PACKAGE_URL = @PACKAGE_URL@
189 PACKAGE_VERSION = @PACKAGE_VERSION@
190 PATH_SEPARATOR = @PATH_SEPARATOR@
191 PCRE_CFLAGS = @PCRE_CFLAGS@
192 PCRE_LIBS = @PCRE_LIBS@
193 PCRE_REQUIRES = @PCRE_REQUIRES@
194 PCRE_WARN_CFLAGS = @PCRE_WARN_CFLAGS@
196 PERL_PATH = @PERL_PATH@
197 PKG_CONFIG = @PKG_CONFIG@
198 PLATFORMDEP = @PLATFORMDEP@
201 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
202 PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
204 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
205 PYTHON_PLATFORM = @PYTHON_PLATFORM@
206 PYTHON_PREFIX = @PYTHON_PREFIX@
207 PYTHON_VERSION = @PYTHON_VERSION@
211 SELINUX_LIBS = @SELINUX_LIBS@
212 SET_MAKE = @SET_MAKE@
218 XATTR_LIBS = @XATTR_LIBS@
219 XGETTEXT = @XGETTEXT@
220 XMLCATALOG = @XMLCATALOG@
221 XML_CATALOG_FILE = @XML_CATALOG_FILE@
222 XSLTPROC = @XSLTPROC@
223 ZLIB_LIBS = @ZLIB_LIBS@
224 abs_builddir = @abs_builddir@
225 abs_srcdir = @abs_srcdir@
226 abs_top_builddir = @abs_top_builddir@
227 abs_top_srcdir = @abs_top_srcdir@
228 ac_ct_CC = @ac_ct_CC@
229 ac_ct_CXX = @ac_ct_CXX@
230 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
231 am__include = @am__include@
232 am__leading_dot = @am__leading_dot@
233 am__quote = @am__quote@
235 am__untar = @am__untar@
238 build_alias = @build_alias@
239 build_cpu = @build_cpu@
240 build_os = @build_os@
241 build_vendor = @build_vendor@
242 builddir = @builddir@
244 datarootdir = @datarootdir@
247 exec_prefix = @exec_prefix@
249 host_alias = @host_alias@
250 host_cpu = @host_cpu@
252 host_vendor = @host_vendor@
254 includedir = @includedir@
256 install_sh = @install_sh@
258 libexecdir = @libexecdir@
259 localedir = @localedir@
260 localstatedir = @localstatedir@
264 ms_librarian = @ms_librarian@
265 oldincludedir = @oldincludedir@
267 pkgpyexecdir = @pkgpyexecdir@
268 pkgpythondir = @pkgpythondir@
270 program_transform_name = @program_transform_name@
272 pyexecdir = @pyexecdir@
273 pythondir = @pythondir@
275 sharedstatedir = @sharedstatedir@
277 sysconfdir = @sysconfdir@
278 target_alias = @target_alias@
279 top_build_prefix = @top_build_prefix@
280 top_builddir = @top_builddir@
281 top_srcdir = @top_srcdir@
283 #GTESTER = gtester # for non-GLIB packages
284 GTESTER = $(top_builddir)/glib/gtester # for the GLIB package
285 GTESTER_REPORT = $(top_builddir)/glib/gtester-report # for the GLIB package
286 EXTRA_DIST = $(content_files) $(HTML_IMAGES) $(DOC_MAIN_SGML_FILE) \
287 $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt \
292 # The name of the module.
295 # The top-level SGML file.
296 DOC_MAIN_SGML_FILE = gio-docs.xml
298 # Extra options to supply to gtkdoc-scan
299 SCAN_OPTIONS = --deprecated-guards="G_DISABLE_DEPRECATED"
301 # The directory containing the source code. Relative to $(srcdir)
302 DOC_SOURCE_DIR = $(top_srcdir)/gio
303 HFILE_GLOB = $(top_srcdir)/gio/*.h
304 CFILE_GLOB = $(top_srcdir)/gio/*.c
315 gcontenttypeprivate.h \
317 gfamdirectorymonitor.h \
319 gfileattribute-priv.h \
321 ginotifydirectorymonitor.h \
322 ginotifyfilemonitor.h \
329 glocaldirectorymonitor.h \
331 glocalfileenumerator.h \
333 glocalfileinputstream.h \
334 glocalfilemonitor.h \
335 glocalfileoutputstream.h \
337 gnativevolumemonitor.h \
338 gnetworkingprivate.h \
340 gthreadedresolver.h \
341 gunionvolumemonitor.h \
355 local_inotify_syscalls.h \
368 # CFLAGS and LDFLAGS for compiling scan program. Only needed
369 # if $(DOC_MODULE).types is non-empty.
373 -I$(top_srcdir)/glib \
374 -I$(top_srcdir)/gobject \
375 -I$(top_srcdir)/gio \
377 -I$(top_builddir)/glib \
378 -I$(top_builddir)/gobject \
379 -I$(top_builddir)/gio \
383 $(top_builddir)/glib/libglib-2.0.la \
384 $(top_builddir)/gobject/libgobject-2.0.la \
385 $(top_builddir)/gmodule/libgmodule-2.0.la \
386 $(top_builddir)/gio/libgio-2.0.la \
390 # Extra options to supply to gtkdoc-mkdb
391 MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
392 --ignore-files=libasyncns
395 # Images to copy into HTML directory
404 expand_content_files = \
412 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
413 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
414 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
415 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
416 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
417 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
419 # We set GPATH here; this gives us semantics for GNU make
420 # which are more like other make's VPATH, when it comes to
421 # whether a source that is a target of one rule is then
422 # searched for in VPATH/GPATH.
425 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
426 DOC_STAMPS = scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \
428 $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp \
433 $(DOC_MODULE).hierarchy \
434 $(DOC_MODULE).interfaces \
435 $(DOC_MODULE).prerequisites \
436 $(DOC_MODULE).signals
439 $(DOC_MODULE)-undocumented.txt \
440 $(DOC_MODULE)-undeclared.txt \
441 $(DOC_MODULE)-unused.txt
443 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
444 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
445 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
446 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
447 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
451 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(top_srcdir)/gtk-doc.make $(am__configure_deps)
453 case '$(am__configure_deps)' in \
455 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
456 && { if test -f $@; then exit 0; else break; fi; }; \
460 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/reference/gio/Makefile'; \
461 $(am__cd) $(top_srcdir) && \
462 $(AUTOMAKE) --gnu docs/reference/gio/Makefile
464 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
467 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
469 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
470 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
473 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
474 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
476 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
477 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
478 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
479 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
480 $(am__aclocal_m4_deps):
481 version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in
482 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
496 distdir: $(DISTFILES)
497 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
498 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
499 list='$(DISTFILES)'; \
500 dist_files=`for file in $$list; do echo $$file; done | \
501 sed -e "s|^$$srcdirstrip/||;t" \
502 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
503 case $$dist_files in \
504 */*) $(MKDIR_P) `echo "$$dist_files" | \
505 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
508 for file in $$dist_files; do \
509 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
510 if test -d $$d/$$file; then \
511 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
512 if test -d "$(distdir)/$$file"; then \
513 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
515 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
516 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
517 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
519 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
521 test -f "$(distdir)/$$file" \
522 || cp -p $$d/$$file "$(distdir)/$$file" \
526 $(MAKE) $(AM_MAKEFLAGS) \
527 top_distdir="$(top_distdir)" distdir="$(distdir)" \
530 $(MAKE) $(AM_MAKEFLAGS) check-local
532 all-am: Makefile all-local
535 install-exec: install-exec-am
536 install-data: install-data-am
537 uninstall: uninstall-am
540 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
542 installcheck: installcheck-am
544 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
545 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
546 `test -z '$(STRIP)' || \
547 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
551 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
554 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
555 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
557 maintainer-clean-generic:
558 @echo "This command is intended for maintainers to use"
559 @echo "it deletes files that may require special tools to rebuild."
562 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
564 distclean: distclean-am
566 distclean-am: clean-am distclean-generic distclean-local
580 install-data-am: install-data-local
582 install-dvi: install-dvi-am
588 install-html: install-html-am
592 install-info: install-info-am
598 install-pdf: install-pdf-am
602 install-ps: install-ps-am
608 maintainer-clean: maintainer-clean-am
610 maintainer-clean-am: distclean-am maintainer-clean-generic \
611 maintainer-clean-local
613 mostlyclean: mostlyclean-am
615 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
625 uninstall-am: uninstall-local
627 .MAKE: check-am install-am install-strip
629 .PHONY: all all-am all-local check check-am check-local clean \
630 clean-generic clean-libtool clean-local dist-hook distclean \
631 distclean-generic distclean-libtool distclean-local distdir \
632 dvi dvi-am html html-am info info-am install install-am \
633 install-data install-data-am install-data-local install-dvi \
634 install-dvi-am install-exec install-exec-am install-html \
635 install-html-am install-info install-info-am install-man \
636 install-pdf install-pdf-am install-ps install-ps-am \
637 install-strip installcheck installcheck-am installdirs \
638 maintainer-clean maintainer-clean-generic \
639 maintainer-clean-local mostlyclean mostlyclean-generic \
640 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
646 # test: run all tests in cwd and subdirs
648 @OS_UNIX_TRUE@ @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS}
649 @OS_UNIX_TRUE@ @ for subdir in $(SUBDIRS) . ; do \
650 @OS_UNIX_TRUE@ test "$$subdir" = "." -o "$$subdir" = "po" || \
651 @OS_UNIX_TRUE@ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
654 # test-report: run tests in subdirs and generate report
655 # perf-report: run tests in subdirs with -m perf and generate report
656 # full-report: like test-report: with -m perf and -m slow
657 test-report perf-report full-report: ${TEST_PROGS}
658 @test -z "${TEST_PROGS}" || { \
660 test-report) test_options="-k";; \
661 perf-report) test_options="-k -m=perf";; \
662 full-report) test_options="-k -m=perf -m=slow";; \
664 if test -z "$$GTESTER_LOGDIR" ; then \
665 ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \
666 elif test -n "${TEST_PROGS}" ; then \
667 ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \
670 @ ignore_logdir=true ; \
671 if test -z "$$GTESTER_LOGDIR" ; then \
672 GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \
673 ignore_logdir=false ; \
675 for subdir in $(SUBDIRS) . ; do \
676 test "$$subdir" = "." -o "$$subdir" = "po" || \
677 ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
679 $$ignore_logdir || { \
680 echo '<?xml version="1.0"?>' > $@.xml ; \
681 echo '<report-collection>' >> $@.xml ; \
682 for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \
683 sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \
686 echo '</report-collection>' >> $@.xml ; \
687 rm -rf "$$GTESTER_LOGDIR"/ ; \
688 ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
690 .PHONY: test test-report perf-report full-report
691 # run make test as part of make check
694 @ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
695 @ENABLE_GTK_DOC_FALSE@all-local:
697 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
699 $(REPORT_FILES): sgml-build.stamp
703 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
704 @echo 'gtk-doc: Scanning header files'
705 @-chmod -R u+w $(srcdir)
707 gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)
708 @if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \
709 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
712 for i in $(SCANOBJ_FILES) ; do \
713 test -f $$i || touch $$i ; \
716 @touch scan-build.stamp
718 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
723 tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
724 @echo 'gtk-doc: Rebuilding template files'
725 @-chmod -R u+w $(srcdir)
726 @cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
727 @touch tmpl-build.stamp
729 tmpl.stamp: tmpl-build.stamp
732 $(srcdir)/tmpl/*.sgml:
737 sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
738 @echo 'gtk-doc: Building XML'
739 @-chmod -R u+w $(srcdir)
741 gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS)
742 @touch sgml-build.stamp
744 sgml.stamp: sgml-build.stamp
749 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
750 @echo 'gtk-doc: Building HTML'
751 @-chmod -R u+w $(srcdir)
752 @rm -rf $(srcdir)/html
753 @mkdir $(srcdir)/html
754 @mkhtml_options=""; \
755 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
756 if test "$(?)" = "0"; then \
757 mkhtml_options=--path="$(srcdir)"; \
759 cd $(srcdir)/html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
760 @test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html )
761 @echo 'gtk-doc: Fixing cross-references'
762 @cd $(srcdir) && gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
763 @touch html-build.stamp
767 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
768 @echo 'gtk-doc: Building PDF'
769 @-chmod -R u+w $(srcdir)
770 @rm -rf $(srcdir)/$(DOC_MODULE).pdf
772 if test "x$(HTML_IMAGES)" != "x"; then \
773 for img in $(HTML_IMAGES); do \
774 part=`dirname $$img`; \
775 echo $$mkpdf_imgdirs | grep >/dev/null "\-\-imgdir=$$part "; \
776 if test $$? != 0; then \
777 mkpdf_imgdirs="$$mkpdf_imgdirs --imgdir=$$part"; \
781 cd $(srcdir) && gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
782 @touch pdf-build.stamp
792 rm -rf xml $(REPORT_FILES) $(DOC_MODULE).pdf \
793 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
795 maintainer-clean-local: clean
796 cd $(srcdir) && rm -rf xml html
799 @installfiles=`echo $(srcdir)/html/*`; \
800 if test "$$installfiles" = '$(srcdir)/html/*'; \
801 then echo '-- Nothing to install' ; \
803 if test -n "$(DOC_MODULE_VERSION)"; then \
804 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
806 installdir="$(DESTDIR)$(TARGET_DIR)"; \
808 $(mkinstalldirs) $${installdir} ; \
809 for i in $$installfiles; do \
810 echo '-- Installing '$$i ; \
811 $(INSTALL_DATA) $$i $${installdir}; \
813 if test -n "$(DOC_MODULE_VERSION)"; then \
814 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
815 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
816 mv -f $${installdir}/$(DOC_MODULE).devhelp \
817 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
819 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
823 @if test -n "$(DOC_MODULE_VERSION)"; then \
824 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
826 installdir="$(DESTDIR)$(TARGET_DIR)"; \
828 rm -rf $${installdir}
831 # Require gtk-doc when making dist
833 @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
834 @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
835 @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist"
836 @ENABLE_GTK_DOC_FALSE@ @false
838 dist-hook: dist-check-gtkdoc dist-hook-local
839 mkdir $(distdir)/tmpl
840 mkdir $(distdir)/html
841 -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
842 cp $(srcdir)/html/* $(distdir)/html
843 -cp $(srcdir)/$(DOC_MODULE).pdf $(distdir)/
844 -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
845 -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
846 cd $(distdir) && rm -f $(DISTCLEANFILES)
847 $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
849 .PHONY : dist-hook-local docs
851 # Tell versions [3.59,3.63) of GNU make to not export all variables.
852 # Otherwise a system limit (for SysV at least) may be exceeded.