1 # Makefile.in generated by automake 1.15 from Makefile.am.
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 # -*- mode: makefile -*-
19 ####################################
20 # Everything below here is generic #
21 ####################################
24 if test -z '$(MAKELEVEL)'; then \
26 elif test -n '$(MAKE_HOST)'; then \
28 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
34 am__make_running_with_option = \
35 case $${target_option-} in \
37 *) echo "am__make_running_with_option: internal error: invalid" \
38 "target option '$${target_option-}' specified" >&2; \
42 sane_makeflags=$$MAKEFLAGS; \
43 if $(am__is_gnu_make); then \
44 sane_makeflags=$$MFLAGS; \
49 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
50 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
56 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
58 for flg in $$sane_makeflags; do \
59 test $$skip_next = yes && { skip_next=no; continue; }; \
62 -*I) strip_trailopt 'I'; skip_next=yes;; \
63 -*I?*) strip_trailopt 'I';; \
64 -*O) strip_trailopt 'O'; skip_next=yes;; \
65 -*O?*) strip_trailopt 'O';; \
66 -*l) strip_trailopt 'l'; skip_next=yes;; \
67 -*l?*) strip_trailopt 'l';; \
68 -[dEDm]) skip_next=yes;; \
69 -[JT]) skip_next=yes;; \
72 *$$target_option*) has_opt=yes; break;; \
76 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
77 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
78 pkgdatadir = $(datadir)/@PACKAGE@
79 pkgincludedir = $(includedir)/@PACKAGE@
80 pkglibdir = $(libdir)/@PACKAGE@
81 pkglibexecdir = $(libexecdir)/@PACKAGE@
82 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
83 install_sh_DATA = $(install_sh) -c -m 644
84 install_sh_PROGRAM = $(install_sh) -c
85 install_sh_SCRIPT = $(install_sh) -c
86 INSTALL_HEADER = $(INSTALL_DATA)
87 transform = $(program_transform_name)
94 build_triplet = @build@
96 @ENABLE_MAN_TRUE@am__append_1 = \
97 @ENABLE_MAN_TRUE@ json-glib-format.1 \
98 @ENABLE_MAN_TRUE@ json-glib-validate.1
100 subdir = doc/reference
101 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
102 am__aclocal_m4_deps = \
103 $(top_srcdir)/build/autotools/as-compiler-flag.m4 \
104 $(top_srcdir)/build/autotools/as-linguas.m4 \
105 $(top_srcdir)/build/autotools/gettext.m4 \
106 $(top_srcdir)/build/autotools/glibtests.m4 \
107 $(top_srcdir)/build/autotools/gtk-doc.m4 \
108 $(top_srcdir)/build/autotools/iconv.m4 \
109 $(top_srcdir)/build/autotools/intlmacosx.m4 \
110 $(top_srcdir)/build/autotools/introspection.m4 \
111 $(top_srcdir)/build/autotools/jh-catalog.m4 \
112 $(top_srcdir)/build/autotools/lib-ld.m4 \
113 $(top_srcdir)/build/autotools/lib-link.m4 \
114 $(top_srcdir)/build/autotools/lib-prefix.m4 \
115 $(top_srcdir)/build/autotools/libtool.m4 \
116 $(top_srcdir)/build/autotools/ltoptions.m4 \
117 $(top_srcdir)/build/autotools/ltsugar.m4 \
118 $(top_srcdir)/build/autotools/ltversion.m4 \
119 $(top_srcdir)/build/autotools/lt~obsolete.m4 \
120 $(top_srcdir)/build/autotools/nls.m4 \
121 $(top_srcdir)/build/autotools/po.m4 \
122 $(top_srcdir)/build/autotools/progtest.m4 \
123 $(top_srcdir)/configure.ac
124 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
126 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
127 mkinstalldirs = $(install_sh) -d
128 CONFIG_HEADER = $(top_builddir)/config.h
129 CONFIG_CLEAN_FILES = version.xml
130 CONFIG_CLEAN_VPATH_FILES =
131 AM_V_P = $(am__v_P_@AM_V@)
132 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
135 AM_V_GEN = $(am__v_GEN_@AM_V@)
136 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
137 am__v_GEN_0 = @echo " GEN " $@;
139 AM_V_at = $(am__v_at_@AM_V@)
140 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
145 am__can_run_installinfo = \
146 case $$AM_UPDATE_INFO_DIR in \
148 *) (install-info --version) >/dev/null 2>&1;; \
150 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
151 am__vpath_adj = case $$p in \
152 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
155 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
157 am__nobase_strip_setup = \
158 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
160 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
161 am__nobase_list = $(am__nobase_strip_setup); \
162 for p in $$list; do echo "$$p $$p"; done | \
163 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
164 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
165 if (++n[$$2] == $(am__install_max)) \
166 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
167 END { for (dir in files) print dir, files[dir] }'
169 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
170 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
171 am__uninstall_files_from_dir = { \
173 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
174 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
175 $(am__cd) "$$dir" && rm -f $$files; }; \
177 man1dir = $(mandir)/man1
178 am__installdirs = "$(DESTDIR)$(man1dir)"
181 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
182 am__tty_colors_dummy = \
183 mgn= red= grn= lgn= blu= brg= std=; \
186 $(am__tty_colors_dummy); \
187 if test "X$(AM_COLOR_TESTS)" = Xno; then \
188 am__color_tests=no; \
189 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
190 am__color_tests=yes; \
191 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
192 am__color_tests=yes; \
194 if test $$am__color_tests = yes; then \
204 am__recheck_rx = ^[ ]*:recheck:[ ]*
205 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
206 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
207 # A command that, given a newline-separated list of test names on the
208 # standard input, print the name of the tests that are to be re-run
209 # upon "make recheck".
210 am__list_recheck_tests = $(AWK) '{ \
212 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
216 if ((getline line2 < ($$0 ".log")) < 0) \
220 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
225 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
232 close ($$0 ".trs"); \
233 close ($$0 ".log"); \
235 # A command that, given a newline-separated list of test names on the
236 # standard input, create the global log from their .trs and .log files.
237 am__create_global_log = $(AWK) ' \
238 function fatal(msg) \
240 print "fatal: making $@: " msg | "cat >&2"; \
243 function rst_section(header) \
246 len = length(header); \
247 for (i = 1; i <= len; i = i + 1) \
252 copy_in_global_log = 1; \
253 global_test_result = "RUN"; \
254 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
257 fatal("failed to read from " $$0 ".trs"); \
258 if (line ~ /$(am__global_test_result_rx)/) \
260 sub("$(am__global_test_result_rx)", "", line); \
261 sub("[ ]*$$", "", line); \
262 global_test_result = line; \
264 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
265 copy_in_global_log = 0; \
267 if (copy_in_global_log) \
269 rst_section(global_test_result ": " $$0); \
270 while ((rc = (getline line < ($$0 ".log"))) != 0) \
273 fatal("failed to read from " $$0 ".log"); \
278 close ($$0 ".trs"); \
279 close ($$0 ".log"); \
281 # Restructured Text title.
282 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
283 # Solaris 10 'make', and several other traditional 'make' implementations,
284 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
285 # by disabling -e (using the XSI extension "set +e") if it's set.
286 am__sh_e_setup = case $$- in *e*) set +e;; esac
287 # Default flags passed to test drivers.
288 am__common_driver_flags = \
289 --color-tests "$$am__color_tests" \
290 --enable-hard-errors "$$am__enable_hard_errors" \
291 --expect-failure "$$am__expect_failure"
292 # To be inserted before the command running the test. Creates the
293 # directory for the log if needed. Stores in $dir the directory
294 # containing $f, in $tst the test, in $log the log. Executes the
295 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
296 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
297 # will run the test scripts (or their associated LOG_COMPILER, if
301 $(am__vpath_adj_setup) $(am__vpath_adj) \
303 srcdir=$(srcdir); export srcdir; \
305 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
308 test "x$$am__odir" = x"." || test -d "$$am__odir" \
309 || $(MKDIR_P) "$$am__odir" || exit $$?; \
310 if test -f "./$$f"; then dir=./; \
311 elif test -f "$$f"; then dir=; \
312 else dir="$(srcdir)/"; fi; \
313 tst=$$dir$$f; log='$@'; \
314 if test -n '$(DISABLE_HARD_ERRORS)'; then \
315 am__enable_hard_errors=no; \
317 am__enable_hard_errors=yes; \
319 case " $(XFAIL_TESTS) " in \
320 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
321 am__expect_failure=yes;; \
323 am__expect_failure=no;; \
325 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
326 # A shell command to get the names of the tests scripts with any registered
327 # extension removed (i.e., equivalently, the names of the test logs, with
328 # the '.log' extension removed). The result is saved in the shell variable
329 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
330 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
331 # since that might cause problem with VPATH rewrites for suffix-less tests.
332 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
333 am__set_TESTS_bases = \
334 bases='$(TEST_LOGS)'; \
335 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
337 RECHECK_LOGS = $(TEST_LOGS)
338 AM_RECURSIVE_TARGETS = check recheck
339 TEST_SUITE_LOG = test-suite.log
340 TEST_EXTENSIONS = @EXEEXT@ .test
341 am__test_logs1 = $(TESTS:=.log)
342 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
343 TEST_LOGS = $(am__test_logs2:.test.log=.log)
344 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build/test-driver
345 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
352 *) b=`echo '$@' | sed 's/\.log$$//'`; \
357 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/version.xml.in \
358 $(top_srcdir)/build/test-driver $(top_srcdir)/gtk-doc.make
359 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
361 ALL_LINGUAS = @ALL_LINGUAS@
363 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
365 AUTOCONF = @AUTOCONF@
366 AUTOHEADER = @AUTOHEADER@
367 AUTOMAKE = @AUTOMAKE@
370 CCDEPMODE = @CCDEPMODE@
373 CPPFLAGS = @CPPFLAGS@
374 CYGPATH_W = @CYGPATH_W@
378 DSYMUTIL = @DSYMUTIL@
386 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
387 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
388 GLIB_CFLAGS = @GLIB_CFLAGS@
389 GLIB_COMPILE_RESOURCES = @GLIB_COMPILE_RESOURCES@
390 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
391 GLIB_LIBS = @GLIB_LIBS@
392 GLIB_MKENUMS = @GLIB_MKENUMS@
393 GLIB_PREFIX = @GLIB_PREFIX@
395 GMSGFMT_015 = @GMSGFMT_015@
396 GOBJECT_QUERY = @GOBJECT_QUERY@
398 GTKDOC_CHECK = @GTKDOC_CHECK@
399 GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
400 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
401 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
402 GTKDOC_MKPDF = @GTKDOC_MKPDF@
403 GTKDOC_REBASE = @GTKDOC_REBASE@
404 HTML_DIR = @HTML_DIR@
406 INSTALL_DATA = @INSTALL_DATA@
407 INSTALL_PROGRAM = @INSTALL_PROGRAM@
408 INSTALL_SCRIPT = @INSTALL_SCRIPT@
409 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
410 INTLLIBS = @INTLLIBS@
411 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
412 INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
413 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
414 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
415 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
416 INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
417 INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
418 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
419 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
420 JSON_CFLAGS = @JSON_CFLAGS@
421 JSON_DEBUG_CFLAGS = @JSON_DEBUG_CFLAGS@
422 JSON_GCOV_CFLAGS = @JSON_GCOV_CFLAGS@
423 JSON_GCOV_LDADD = @JSON_GCOV_LDADD@
424 JSON_HIDDEN_VISIBILITY_CFLAGS = @JSON_HIDDEN_VISIBILITY_CFLAGS@
425 JSON_LIBS = @JSON_LIBS@
426 JSON_LT_LDFLAGS = @JSON_LT_LDFLAGS@
427 JSON_MAJOR_VERSION = @JSON_MAJOR_VERSION@
428 JSON_MICRO_VERSION = @JSON_MICRO_VERSION@
429 JSON_MINOR_VERSION = @JSON_MINOR_VERSION@
430 JSON_RELEASE_STATUS = @JSON_RELEASE_STATUS@
431 JSON_VERSION = @JSON_VERSION@
434 LIBICONV = @LIBICONV@
441 LTLIBICONV = @LTLIBICONV@
442 LTLIBINTL = @LTLIBINTL@
443 LTLIBOBJS = @LTLIBOBJS@
445 LTP_GENHTML = @LTP_GENHTML@
446 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
447 MAINTAINER_CFLAGS = @MAINTAINER_CFLAGS@
448 MAKEINFO = @MAKEINFO@
449 MANIFEST_TOOL = @MANIFEST_TOOL@
452 MSGFMT_015 = @MSGFMT_015@
453 MSGMERGE = @MSGMERGE@
461 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
462 PACKAGE_NAME = @PACKAGE_NAME@
463 PACKAGE_STRING = @PACKAGE_STRING@
464 PACKAGE_TARNAME = @PACKAGE_TARNAME@
465 PACKAGE_URL = @PACKAGE_URL@
466 PACKAGE_VERSION = @PACKAGE_VERSION@
467 PATH_SEPARATOR = @PATH_SEPARATOR@
468 PKG_CONFIG = @PKG_CONFIG@
469 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
470 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
474 SET_MAKE = @SET_MAKE@
480 XGETTEXT = @XGETTEXT@
481 XGETTEXT_015 = @XGETTEXT_015@
482 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
483 XMLCATALOG = @XMLCATALOG@
484 XML_CATALOG_FILE = @XML_CATALOG_FILE@
485 XSLTPROC = @XSLTPROC@
486 abs_builddir = @abs_builddir@
487 abs_srcdir = @abs_srcdir@
488 abs_top_builddir = @abs_top_builddir@
489 abs_top_srcdir = @abs_top_srcdir@
490 ac_ct_AR = @ac_ct_AR@
491 ac_ct_CC = @ac_ct_CC@
492 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
493 am__include = @am__include@
494 am__leading_dot = @am__leading_dot@
495 am__quote = @am__quote@
497 am__untar = @am__untar@
500 build_alias = @build_alias@
501 build_cpu = @build_cpu@
502 build_os = @build_os@
503 build_vendor = @build_vendor@
504 builddir = @builddir@
506 datarootdir = @datarootdir@
509 exec_prefix = @exec_prefix@
511 host_alias = @host_alias@
512 host_cpu = @host_cpu@
514 host_vendor = @host_vendor@
516 includedir = @includedir@
518 install_sh = @install_sh@
519 installed_test_metadir = @installed_test_metadir@
520 installed_testdir = @installed_testdir@
522 libexecdir = @libexecdir@
523 localedir = @localedir@
524 localstatedir = @localstatedir@
527 oldincludedir = @oldincludedir@
530 program_transform_name = @program_transform_name@
533 sharedstatedir = @sharedstatedir@
535 sysconfdir = @sysconfdir@
536 target_alias = @target_alias@
537 top_build_prefix = @top_build_prefix@
538 top_builddir = @top_builddir@
539 top_srcdir = @top_srcdir@
540 DOC_MODULE = json-glib
541 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
542 DOC_SOURCE_DIR = $(top_srcdir)/json-glib $(top_builddir)/json-glib
544 SCAN_OPTIONS = --deprecated-guards="JSON_DISABLE_DEPRECATED" --rebuild-types
545 MKDB_OPTIONS = --output-format=xml --name-space=json
548 --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
549 --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
550 --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gio
552 HFILE_GLOB = $(top_srcdir)/json-glib/*.h $(top_builddir)/json-glib/*.h
553 CFILE_GLOB = $(top_srcdir)/json-glib/*.c
556 json-types-private.h \
557 json-gobject-private.h \
567 json-glib-format.xml \
568 json-glib-validate.xml \
571 expand_content_files =
572 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir) $(JSON_CFLAGS)
573 GTKDOC_LIBS = $(top_builddir)/json-glib/libjson-glib-1.0.la $(JSON_LIBS)
574 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
575 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
576 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
577 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
578 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
579 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
581 # We set GPATH here; this gives us semantics for GNU make
582 # which are more like other make's VPATH, when it comes to
583 # whether a source that is a target of one rule is then
584 # searched for in VPATH/GPATH.
587 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
590 $(expand_content_files) \
591 $(DOC_MAIN_SGML_FILE) \
592 $(DOC_MODULE)-sections.txt \
593 $(DOC_MODULE)-overrides.txt
595 EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) version.xml.in $(man_MANS)
596 DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \
597 html-build.stamp pdf-build.stamp \
598 sgml.stamp html.stamp pdf.stamp
602 $(DOC_MODULE).hierarchy \
603 $(DOC_MODULE).interfaces \
604 $(DOC_MODULE).prerequisites \
605 $(DOC_MODULE).signals
608 $(DOC_MODULE)-undocumented.txt \
609 $(DOC_MODULE)-undeclared.txt \
610 $(DOC_MODULE)-unused.txt
612 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) \
613 gtkdoc-check.test $(man_MANS)
614 @GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
615 @GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
616 @GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
617 @GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
620 GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_$(V))
621 GTK_DOC_V_SETUP_ = $(GTK_DOC_V_SETUP_$(AM_DEFAULT_VERBOSITY))
622 GTK_DOC_V_SETUP_0 = @echo " DOC Preparing build";
625 GTK_DOC_V_SCAN = $(GTK_DOC_V_SCAN_$(V))
626 GTK_DOC_V_SCAN_ = $(GTK_DOC_V_SCAN_$(AM_DEFAULT_VERBOSITY))
627 GTK_DOC_V_SCAN_0 = @echo " DOC Scanning header files";
628 GTK_DOC_V_INTROSPECT = $(GTK_DOC_V_INTROSPECT_$(V))
629 GTK_DOC_V_INTROSPECT_ = $(GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY))
630 GTK_DOC_V_INTROSPECT_0 = @echo " DOC Introspecting gobjects";
633 GTK_DOC_V_XML = $(GTK_DOC_V_XML_$(V))
634 GTK_DOC_V_XML_ = $(GTK_DOC_V_XML_$(AM_DEFAULT_VERBOSITY))
635 GTK_DOC_V_XML_0 = @echo " DOC Building XML";
638 GTK_DOC_V_HTML = $(GTK_DOC_V_HTML_$(V))
639 GTK_DOC_V_HTML_ = $(GTK_DOC_V_HTML_$(AM_DEFAULT_VERBOSITY))
640 GTK_DOC_V_HTML_0 = @echo " DOC Building HTML";
641 GTK_DOC_V_XREF = $(GTK_DOC_V_XREF_$(V))
642 GTK_DOC_V_XREF_ = $(GTK_DOC_V_XREF_$(AM_DEFAULT_VERBOSITY))
643 GTK_DOC_V_XREF_0 = @echo " DOC Fixing cross-references";
646 GTK_DOC_V_PDF = $(GTK_DOC_V_PDF_$(V))
647 GTK_DOC_V_PDF_ = $(GTK_DOC_V_PDF_$(AM_DEFAULT_VERBOSITY))
648 GTK_DOC_V_PDF_0 = @echo " DOC Building PDF";
649 man_MANS = $(am__append_1)
650 @ENABLE_GTK_DOC_TRUE@TESTS_ENVIRONMENT = \
651 @ENABLE_GTK_DOC_TRUE@ DOC_MODULE=$(DOC_MODULE) \
652 @ENABLE_GTK_DOC_TRUE@ DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
653 @ENABLE_GTK_DOC_TRUE@ SRCDIR=$(abs_srcdir) \
654 @ENABLE_GTK_DOC_TRUE@ BUILDDIR=$(abs_builddir)
656 @ENABLE_GTK_DOC_TRUE@TESTS = $(GTKDOC_CHECK)
657 @ENABLE_MAN_TRUE@XSLTPROC_FLAGS = \
658 @ENABLE_MAN_TRUE@ --nonet \
659 @ENABLE_MAN_TRUE@ --stringparam man.output.quietly 1 \
660 @ENABLE_MAN_TRUE@ --stringparam funcsynopsis.style ansi \
661 @ENABLE_MAN_TRUE@ --stringparam man.th.extra1.suppress 1 \
662 @ENABLE_MAN_TRUE@ --stringparam man.authors.section.enabled 0 \
663 @ENABLE_MAN_TRUE@ --stringparam man.copyright.section.enabled 0
668 .SUFFIXES: .1 .log .test .test$(EXEEXT) .trs .xml
669 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
671 case '$(am__configure_deps)' in \
673 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
674 && { if test -f $@; then exit 0; else break; fi; }; \
678 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/reference/Makefile'; \
679 $(am__cd) $(top_srcdir) && \
680 $(AUTOMAKE) --foreign doc/reference/Makefile
681 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
684 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
686 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
687 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
689 $(top_srcdir)/gtk-doc.make $(am__empty):
691 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
692 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
694 $(top_srcdir)/configure: $(am__configure_deps)
695 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
696 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
697 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
698 $(am__aclocal_m4_deps):
699 version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in
700 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
707 install-man1: $(man_MANS)
710 list2='$(man_MANS)'; \
711 test -n "$(man1dir)" \
712 && test -n "`echo $$list1$$list2`" \
714 echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
715 $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
716 { for i in $$list1; do echo "$$i"; done; \
717 if test -n "$$list2"; then \
718 for i in $$list2; do echo "$$i"; done \
719 | sed -n '/\.1[a-z]*$$/p'; \
721 } | while read p; do \
722 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
723 echo "$$d$$p"; echo "$$p"; \
725 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
726 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
727 sed 'N;N;s,\n, ,g' | { \
728 list=; while read file base inst; do \
729 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
730 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
731 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
734 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
735 while read files; do \
736 test -z "$$files" || { \
737 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
738 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
743 @list=''; test -n "$(man1dir)" || exit 0; \
744 files=`{ for i in $$list; do echo "$$i"; done; \
745 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
746 sed -n '/\.1[a-z]*$$/p'; \
747 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
748 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
749 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
757 # Recover from deleted '.trs' file; this should ensure that
758 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
759 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
760 # to avoid problems with "make -n".
763 $(MAKE) $(AM_MAKEFLAGS) $<
765 # Leading 'am--fnord' is there to ensure the list of targets does not
766 # expand to empty, as could happen e.g. with make check TESTS=''.
767 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
771 $(TEST_SUITE_LOG): $(TEST_LOGS)
772 @$(am__set_TESTS_bases); \
773 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
774 redo_bases=`for i in $$bases; do \
775 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
777 if test -n "$$redo_bases"; then \
778 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
779 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
780 if $(am__make_dryrun); then :; else \
781 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
784 if test -n "$$am__remaking_logs"; then \
785 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
786 "recursion detected" >&2; \
787 elif test -n "$$redo_logs"; then \
788 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
790 if $(am__make_dryrun); then :; else \
792 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
793 for i in $$redo_bases; do \
794 test -f $$i.trs && test -r $$i.trs \
795 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
796 test -f $$i.log && test -r $$i.log \
797 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
799 test $$st -eq 0 || exit 1; \
801 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
803 results=`for b in $$bases; do echo $$b.trs; done`; \
804 test -n "$$results" || results=/dev/null; \
805 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
806 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
807 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
808 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
809 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
810 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
811 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
812 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
817 br='==================='; br=$$br$$br$$br$$br; \
820 if test x"$$1" = x"--maybe-color"; then \
821 maybe_colorize=yes; \
822 elif test x"$$1" = x"--no-color"; then \
825 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
828 desc=$$1 count=$$2; \
829 if test $$maybe_colorize = yes && test $$count -gt 0; then \
830 color_start=$$3 color_end=$$std; \
832 color_start= color_end=; \
834 echo "$${color_start}# $$desc $$count$${color_end}"; \
836 create_testsuite_report () \
838 result_count $$1 "TOTAL:" $$all "$$brg"; \
839 result_count $$1 "PASS: " $$pass "$$grn"; \
840 result_count $$1 "SKIP: " $$skip "$$blu"; \
841 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
842 result_count $$1 "FAIL: " $$fail "$$red"; \
843 result_count $$1 "XPASS:" $$xpass "$$red"; \
844 result_count $$1 "ERROR:" $$error "$$mgn"; \
847 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
849 create_testsuite_report --no-color; \
851 echo ".. contents:: :depth: 2"; \
853 for b in $$bases; do echo $$b; done \
854 | $(am__create_global_log); \
855 } >$(TEST_SUITE_LOG).tmp || exit 1; \
856 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
861 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
863 echo "$${col}$$br$${std}"; \
864 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
865 echo "$${col}$$br$${std}"; \
866 create_testsuite_report --maybe-color; \
867 echo "$$col$$br$$std"; \
868 if $$success; then :; else \
869 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
870 if test -n "$(PACKAGE_BUGREPORT)"; then \
871 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
873 echo "$$col$$br$$std"; \
878 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
879 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
880 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
881 @set +e; $(am__set_TESTS_bases); \
882 log_list=`for i in $$bases; do echo $$i.log; done`; \
883 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
884 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
885 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
888 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
889 @set +e; $(am__set_TESTS_bases); \
890 bases=`for i in $$bases; do echo $$i; done \
891 | $(am__list_recheck_tests)` || exit 1; \
892 log_list=`for i in $$bases; do echo $$i.log; done`; \
893 log_list=`echo $$log_list`; \
894 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
895 am__force_recheck=am--force-recheck \
896 TEST_LOGS="$$log_list"; \
901 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
902 --log-file $$b.log --trs-file $$b.trs \
903 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
904 "$$tst" $(AM_TESTS_FD_REDIRECT)
905 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
906 @am__EXEEXT_TRUE@ @p='$<'; \
907 @am__EXEEXT_TRUE@ $(am__set_b); \
908 @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
909 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
910 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
911 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
913 distdir: $(DISTFILES)
914 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
915 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
916 list='$(DISTFILES)'; \
917 dist_files=`for file in $$list; do echo $$file; done | \
918 sed -e "s|^$$srcdirstrip/||;t" \
919 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
920 case $$dist_files in \
921 */*) $(MKDIR_P) `echo "$$dist_files" | \
922 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
925 for file in $$dist_files; do \
926 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
927 if test -d $$d/$$file; then \
928 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
929 if test -d "$(distdir)/$$file"; then \
930 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
932 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
933 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
934 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
936 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
938 test -f "$(distdir)/$$file" \
939 || cp -p $$d/$$file "$(distdir)/$$file" \
943 $(MAKE) $(AM_MAKEFLAGS) \
944 top_distdir="$(top_distdir)" distdir="$(distdir)" \
947 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
949 @ENABLE_GTK_DOC_FALSE@all-local:
950 all-am: Makefile $(MANS) all-local
952 for dir in "$(DESTDIR)$(man1dir)"; do \
953 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
956 install-exec: install-exec-am
957 install-data: install-data-am
958 uninstall: uninstall-am
961 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
963 installcheck: installcheck-am
965 if test -z '$(STRIP)'; then \
966 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
967 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
970 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
971 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
972 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
975 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
976 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
977 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
980 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
983 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
984 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
986 maintainer-clean-generic:
987 @echo "This command is intended for maintainers to use"
988 @echo "it deletes files that may require special tools to rebuild."
991 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
993 distclean: distclean-am
995 distclean-am: clean-am distclean-generic distclean-local
1009 install-data-am: install-data-local install-man
1011 install-dvi: install-dvi-am
1017 install-html: install-html-am
1021 install-info: install-info-am
1025 install-man: install-man1
1027 install-pdf: install-pdf-am
1031 install-ps: install-ps-am
1037 maintainer-clean: maintainer-clean-am
1039 maintainer-clean-am: distclean-am maintainer-clean-generic \
1040 maintainer-clean-local
1042 mostlyclean: mostlyclean-am
1044 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1054 uninstall-am: uninstall-local uninstall-man
1056 uninstall-man: uninstall-man1
1058 .MAKE: check-am install-am install-strip
1060 .PHONY: all all-am all-local check check-TESTS check-am clean \
1061 clean-generic clean-libtool clean-local cscopelist-am ctags-am \
1062 dist-hook distclean distclean-generic distclean-libtool \
1063 distclean-local distdir dvi dvi-am html html-am info info-am \
1064 install install-am install-data install-data-am \
1065 install-data-local install-dvi install-dvi-am install-exec \
1066 install-exec-am install-html install-html-am install-info \
1067 install-info-am install-man install-man1 install-pdf \
1068 install-pdf-am install-ps install-ps-am install-strip \
1069 installcheck installcheck-am installdirs maintainer-clean \
1070 maintainer-clean-generic maintainer-clean-local mostlyclean \
1071 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1072 recheck tags-am uninstall uninstall-am uninstall-local \
1073 uninstall-man uninstall-man1
1078 gtkdoc-check.test: Makefile
1079 $(AM_V_GEN)echo "#!/bin/sh -e" > $@; \
1080 echo "$(GTKDOC_CHECK_PATH) || exit 1" >> $@; \
1083 all-gtk-doc: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
1086 @ENABLE_GTK_DOC_TRUE@all-local: all-gtk-doc
1088 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
1090 $(REPORT_FILES): sgml-build.stamp
1093 -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
1094 files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \
1095 if test "x$$files" != "x" ; then \
1096 for file in $$files ; do \
1097 destdir=`dirname $(abs_builddir)/$$file`; \
1098 test -d "$$destdir" || mkdir -p "$$destdir"; \
1099 test -f $(abs_srcdir)/$$file && \
1100 cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \
1104 $(AM_V_at)touch setup-build.stamp
1106 scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB)
1107 $(GTK_DOC_V_SCAN)_source_dir='' ; \
1108 for i in $(DOC_SOURCE_DIR) ; do \
1109 _source_dir="$${_source_dir} --source-dir=$$i" ; \
1111 gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
1112 $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
1113 scanobj_options=""; \
1114 gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \
1115 if test "$$?" = "0"; then \
1116 if test "x$(V)" = "x1"; then \
1117 scanobj_options="--verbose"; \
1120 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
1121 gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
1123 for i in $(SCANOBJ_FILES) ; do \
1124 test -f $$i || touch $$i ; \
1127 $(AM_V_at)touch scan-build.stamp
1129 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
1132 sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) xml/gtkdocentities.ent
1133 $(GTK_DOC_V_XML)_source_dir='' ; \
1134 for i in $(DOC_SOURCE_DIR) ; do \
1135 _source_dir="$${_source_dir} --source-dir=$$i" ; \
1137 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)
1138 $(AM_V_at)touch sgml-build.stamp
1140 sgml.stamp: sgml-build.stamp
1143 xml/gtkdocentities.ent: Makefile
1144 $(GTK_DOC_V_XML)$(MKDIR_P) $(@D) && ( \
1145 echo "<!ENTITY package \"$(PACKAGE)\">"; \
1146 echo "<!ENTITY package_bugreport \"$(PACKAGE_BUGREPORT)\">"; \
1147 echo "<!ENTITY package_name \"$(PACKAGE_NAME)\">"; \
1148 echo "<!ENTITY package_string \"$(PACKAGE_STRING)\">"; \
1149 echo "<!ENTITY package_tarname \"$(PACKAGE_TARNAME)\">"; \
1150 echo "<!ENTITY package_url \"$(PACKAGE_URL)\">"; \
1151 echo "<!ENTITY package_version \"$(PACKAGE_VERSION)\">"; \
1154 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files)
1155 $(GTK_DOC_V_HTML)rm -rf html && mkdir 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 test -f $(abs_srcdir)/$$file && cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
1171 test -f $(abs_builddir)/$$file && cp $(abs_builddir)/$$file $(abs_builddir)/html; \
1173 $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
1174 $(AM_V_at)touch html-build.stamp
1176 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files)
1177 $(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \
1179 gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \
1180 if test "$$?" = "0"; then \
1181 if test "x$(V)" = "x1"; then \
1182 mkpdf_options="$$mkpdf_options --verbose"; \
1185 if test "x$(HTML_IMAGES)" != "x"; then \
1186 for img in $(HTML_IMAGES); do \
1187 part=`dirname $$img`; \
1188 echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
1189 if test $$? != 0; then \
1190 mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
1194 gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
1195 $(AM_V_at)touch pdf-build.stamp
1202 @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
1203 rm -f $(DOC_MODULE).types; \
1205 @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-sections" ; then \
1206 rm -f $(DOC_MODULE)-sections.txt; \
1210 @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
1211 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
1212 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
1213 rm -f $(SETUP_FILES) $(DOC_MODULE).types; \
1216 maintainer-clean-local:
1220 @installfiles=`echo $(builddir)/html/*`; \
1221 if test "$$installfiles" = '$(builddir)/html/*'; \
1222 then echo 1>&2 'Nothing to install' ; \
1224 if test -n "$(DOC_MODULE_VERSION)"; then \
1225 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
1227 installdir="$(DESTDIR)$(TARGET_DIR)"; \
1229 $(mkinstalldirs) $${installdir} ; \
1230 for i in $$installfiles; do \
1231 echo ' $(INSTALL_DATA) '$$i ; \
1232 $(INSTALL_DATA) $$i $${installdir}; \
1234 if test -n "$(DOC_MODULE_VERSION)"; then \
1235 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
1236 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
1238 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
1242 @if test -n "$(DOC_MODULE_VERSION)"; then \
1243 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
1245 installdir="$(DESTDIR)$(TARGET_DIR)"; \
1247 rm -rf $${installdir}
1250 # Require gtk-doc when making dist
1252 @HAVE_GTK_DOC_TRUE@dist-check-gtkdoc: docs
1253 @HAVE_GTK_DOC_FALSE@dist-check-gtkdoc:
1254 @HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc is needed to run 'make dist'. ***"
1255 @HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc was not found when 'configure' ran. ***"
1256 @HAVE_GTK_DOC_FALSE@ @echo "*** please install gtk-doc and rerun 'configure'. ***"
1257 @HAVE_GTK_DOC_FALSE@ @false
1259 dist-hook: dist-check-gtkdoc all-gtk-doc 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@ $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1275 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1276 # Otherwise a system limit (for SysV at least) may be exceeded.