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 # -*- mode: makefile -*-
20 ####################################
21 # Everything below here is generic #
22 ####################################
24 pkgdatadir = $(datadir)/@PACKAGE@
25 pkgincludedir = $(includedir)/@PACKAGE@
26 pkglibdir = $(libdir)/@PACKAGE@
27 pkglibexecdir = $(libexecdir)/@PACKAGE@
28 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
29 install_sh_DATA = $(install_sh) -c -m 644
30 install_sh_PROGRAM = $(install_sh) -c
31 install_sh_SCRIPT = $(install_sh) -c
32 INSTALL_HEADER = $(INSTALL_DATA)
33 transform = $(program_transform_name)
40 build_triplet = @build@
42 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
43 $(srcdir)/version.xml.in $(top_srcdir)/gtk-doc.make
44 subdir = docs/reference
45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46 am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
47 $(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/libtool.m4 \
48 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
49 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
50 $(top_srcdir)/configure.ac
51 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
53 mkinstalldirs = $(install_sh) -d
54 CONFIG_HEADER = $(top_builddir)/config.h
55 CONFIG_CLEAN_FILES = version.xml
56 CONFIG_CLEAN_VPATH_FILES =
57 AM_V_GEN = $(am__v_GEN_@AM_V@)
58 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
59 am__v_GEN_0 = @echo " GEN " $@;
60 AM_V_at = $(am__v_at_@AM_V@)
61 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
66 red=; grn=; lgn=; blu=; std=
67 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
70 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
73 AUTOHEADER = @AUTOHEADER@
77 CCDEPMODE = @CCDEPMODE@
79 CHECK_CFLAGS = @CHECK_CFLAGS@
80 CHECK_LIBS = @CHECK_LIBS@
83 CYGPATH_W = @CYGPATH_W@
86 DEPS_CFLAGS = @DEPS_CFLAGS@
87 DEPS_LIBS = @DEPS_LIBS@
98 GTKDOC_CHECK = @GTKDOC_CHECK@
99 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
100 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
101 GTKDOC_MKPDF = @GTKDOC_MKPDF@
102 GTKDOC_REBASE = @GTKDOC_REBASE@
103 GTestDBus_CFLAGS = @GTestDBus_CFLAGS@
104 GTestDBus_LIBS = @GTestDBus_LIBS@
105 HTML_DIR = @HTML_DIR@
107 INSTALL_DATA = @INSTALL_DATA@
108 INSTALL_PROGRAM = @INSTALL_PROGRAM@
109 INSTALL_SCRIPT = @INSTALL_SCRIPT@
110 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
111 INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
112 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
113 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
114 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
115 INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
116 INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
117 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
118 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
126 LTLIBOBJS = @LTLIBOBJS@
127 MAKEINFO = @MAKEINFO@
128 MANIFEST_TOOL = @MANIFEST_TOOL@
137 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
138 PACKAGE_NAME = @PACKAGE_NAME@
139 PACKAGE_STRING = @PACKAGE_STRING@
140 PACKAGE_TARNAME = @PACKAGE_TARNAME@
141 PACKAGE_URL = @PACKAGE_URL@
142 PACKAGE_VERSION = @PACKAGE_VERSION@
143 PATH_SEPARATOR = @PATH_SEPARATOR@
144 PKG_CONFIG = @PKG_CONFIG@
145 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
146 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
148 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
149 PYTHON_PLATFORM = @PYTHON_PLATFORM@
150 PYTHON_PREFIX = @PYTHON_PREFIX@
151 PYTHON_VERSION = @PYTHON_VERSION@
154 SET_MAKE = @SET_MAKE@
158 abs_builddir = @abs_builddir@
159 abs_srcdir = @abs_srcdir@
160 abs_top_builddir = @abs_top_builddir@
161 abs_top_srcdir = @abs_top_srcdir@
162 ac_ct_AR = @ac_ct_AR@
163 ac_ct_CC = @ac_ct_CC@
164 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
165 am__include = @am__include@
166 am__leading_dot = @am__leading_dot@
167 am__quote = @am__quote@
169 am__untar = @am__untar@
172 build_alias = @build_alias@
173 build_cpu = @build_cpu@
174 build_os = @build_os@
175 build_vendor = @build_vendor@
176 builddir = @builddir@
178 datarootdir = @datarootdir@
181 exec_prefix = @exec_prefix@
183 host_alias = @host_alias@
184 host_cpu = @host_cpu@
186 host_vendor = @host_vendor@
188 includedir = @includedir@
190 install_sh = @install_sh@
192 libexecdir = @libexecdir@
193 localedir = @localedir@
194 localstatedir = @localstatedir@
197 oldincludedir = @oldincludedir@
199 pkgpyexecdir = @pkgpyexecdir@
200 pkgpythondir = @pkgpythondir@
202 program_transform_name = @program_transform_name@
204 pyexecdir = @pyexecdir@
205 pyoverridesdir = @pyoverridesdir@
206 pythondir = @pythondir@
208 sharedstatedir = @sharedstatedir@
210 sysconfdir = @sysconfdir@
211 target_alias = @target_alias@
212 top_build_prefix = @top_build_prefix@
213 top_builddir = @top_builddir@
214 top_srcdir = @top_srcdir@
216 # We require automake 1.6 at least.
217 AUTOMAKE_OPTIONS = 1.6
219 # This is a blank Makefile.am for using gtk-doc.
220 # Copy this to your project's API docs directory and modify the variables to
221 # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
222 # of using the various options.
224 # The name of the module, e.g. 'glib'.
225 DOC_MODULE = libgsignon-glib
227 # The top-level SGML file. You can change this if you want to.
228 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
230 # The directory containing the source code. Relative to $(srcdir).
231 # gtk-doc will search all .c & .h files beneath here for inline comments
232 # documenting the functions and macros.
233 # e.g. DOC_SOURCE_DIR=../../../gtk
234 DOC_SOURCE_DIR = $(top_srcdir)/libgsignon-glib
236 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
239 # Extra options to supply to gtkdoc-scan.
240 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
241 SCAN_OPTIONS = --rebuild-types --deprecated-guards="SIGNON_DISABLE_DEPRECATED"
243 # Extra options to supply to gtkdoc-mkdb.
244 # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
245 MKDB_OPTIONS = --source-dir=$(top_srcdir)/libgsignon-glib --sgml-mode --output-format=xml --name-space=signon \
246 --ignore-files="sso-auth-service-gen.c sso-auth-session-gen.c sso-identity-gen.c"
249 # Extra options to supply to gtkdoc-fixref. Not normally needed.
250 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
251 FIXXREF_OPTIONS = --extra-dir=../../../accounts-sso.gsignond/docs/html
253 # Used for dependencies. The docs will be rebuilt if any of these change.
254 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
255 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
256 HFILE_GLOB = $(top_srcdir)/libgsignon-glib/signon-*.h
257 CFILE_GLOB = $(top_srcdir)/libgsignon-glib/signon-*.c
259 # Header files to ignore when scanning.
260 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
262 signon-auth-session-client-glib-gen.h \
263 signon-client-glib-gen.h \
264 signon-identity-glib-gen.h \
265 signon-dbus-queue.h \
266 signon-enum-types.h \
272 sso-auth-service-gen.h \
274 sso-auth-session-gen.h \
276 stamp-signon-enum-types.h
279 # Images to copy into HTML directory.
280 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
283 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
284 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
285 content_files = examples.xml introduction.xml
287 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
288 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
289 # signals and properties.
290 # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
291 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
292 AM_CPPFLAGS = $(DEPS_CFLAGS)
293 GTKDOC_LIBS = $(top_builddir)/libgsignon-glib/libgsignon-glib.la $(DEPS_LIBS)
294 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
295 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
296 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
297 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
298 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
299 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
301 # We set GPATH here; this gives us semantics for GNU make
302 # which are more like other make's VPATH, when it comes to
303 # whether a source that is a target of one rule is then
304 # searched for in VPATH/GPATH.
307 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
310 $(DOC_MAIN_SGML_FILE) \
311 $(DOC_MODULE)-sections.txt \
312 $(DOC_MODULE)-overrides.txt
318 DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \
319 html-build.stamp pdf-build.stamp \
320 sgml.stamp html.stamp pdf.stamp
324 $(DOC_MODULE).hierarchy \
325 $(DOC_MODULE).interfaces \
326 $(DOC_MODULE).prerequisites \
327 $(DOC_MODULE).signals
330 $(DOC_MODULE)-undocumented.txt \
331 $(DOC_MODULE)-undeclared.txt \
332 $(DOC_MODULE)-unused.txt
334 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) \
335 $(DOC_MODULE)-*.txt $(DOC_MODULE).types
336 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
337 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
338 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
339 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
341 # This includes the standard gtk-doc make rules, copied by gtkdocize.
343 # Other files to distribute
344 # e.g. EXTRA_DIST += version.xml.in
346 @ENABLE_GTK_DOC_TRUE@TESTS = $(GTKDOC_CHECK)
350 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
352 case '$(am__configure_deps)' in \
354 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
355 && { if test -f $@; then exit 0; else break; fi; }; \
359 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/reference/Makefile'; \
360 $(am__cd) $(top_srcdir) && \
361 $(AUTOMAKE) --gnu docs/reference/Makefile
363 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
366 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
368 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
369 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
371 $(top_srcdir)/gtk-doc.make:
373 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
374 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
376 $(top_srcdir)/configure: $(am__configure_deps)
377 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
378 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
379 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
380 $(am__aclocal_m4_deps):
381 version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in
382 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
396 check-TESTS: $(TESTS)
397 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
398 srcdir=$(srcdir); export srcdir; \
401 if test -n "$$list"; then \
402 for tst in $$list; do \
403 if test -f ./$$tst; then dir=./; \
404 elif test -f $$tst; then dir=; \
405 else dir="$(srcdir)/"; fi; \
406 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
407 all=`expr $$all + 1`; \
408 case " $(XFAIL_TESTS) " in \
409 *[\ \ ]$$tst[\ \ ]*) \
410 xpass=`expr $$xpass + 1`; \
411 failed=`expr $$failed + 1`; \
412 col=$$red; res=XPASS; \
415 col=$$grn; res=PASS; \
418 elif test $$? -ne 77; then \
419 all=`expr $$all + 1`; \
420 case " $(XFAIL_TESTS) " in \
421 *[\ \ ]$$tst[\ \ ]*) \
422 xfail=`expr $$xfail + 1`; \
423 col=$$lgn; res=XFAIL; \
426 failed=`expr $$failed + 1`; \
427 col=$$red; res=FAIL; \
431 skip=`expr $$skip + 1`; \
432 col=$$blu; res=SKIP; \
434 echo "$${col}$$res$${std}: $$tst"; \
436 if test "$$all" -eq 1; then \
443 if test "$$failed" -eq 0; then \
444 if test "$$xfail" -eq 0; then \
445 banner="$$All$$all $$tests passed"; \
447 if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
448 banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
451 if test "$$xpass" -eq 0; then \
452 banner="$$failed of $$all $$tests failed"; \
454 if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
455 banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
460 if test "$$skip" -ne 0; then \
461 if test "$$skip" -eq 1; then \
462 skipped="($$skip test was not run)"; \
464 skipped="($$skip tests were not run)"; \
466 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
467 dashes="$$skipped"; \
470 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
471 report="Please report to $(PACKAGE_BUGREPORT)"; \
472 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
475 dashes=`echo "$$dashes" | sed s/./=/g`; \
476 if test "$$failed" -eq 0; then \
481 echo "$${col}$$dashes$${std}"; \
482 echo "$${col}$$banner$${std}"; \
483 test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
484 test -z "$$report" || echo "$${col}$$report$${std}"; \
485 echo "$${col}$$dashes$${std}"; \
486 test "$$failed" -eq 0; \
489 distdir: $(DISTFILES)
490 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
491 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
492 list='$(DISTFILES)'; \
493 dist_files=`for file in $$list; do echo $$file; done | \
494 sed -e "s|^$$srcdirstrip/||;t" \
495 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
496 case $$dist_files in \
497 */*) $(MKDIR_P) `echo "$$dist_files" | \
498 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
501 for file in $$dist_files; do \
502 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
503 if test -d $$d/$$file; then \
504 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
505 if test -d "$(distdir)/$$file"; then \
506 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
508 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
509 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
510 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
512 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
514 test -f "$(distdir)/$$file" \
515 || cp -p $$d/$$file "$(distdir)/$$file" \
519 $(MAKE) $(AM_MAKEFLAGS) \
520 top_distdir="$(top_distdir)" distdir="$(distdir)" \
523 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
525 all-am: Makefile all-local
528 install-exec: install-exec-am
529 install-data: install-data-am
530 uninstall: uninstall-am
533 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
535 installcheck: installcheck-am
537 if test -z '$(STRIP)'; then \
538 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
539 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
542 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
543 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
544 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
549 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
552 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
553 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
555 maintainer-clean-generic:
556 @echo "This command is intended for maintainers to use"
557 @echo "it deletes files that may require special tools to rebuild."
560 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
562 distclean: distclean-am
564 distclean-am: clean-am distclean-generic distclean-local
578 install-data-am: install-data-local
580 install-dvi: install-dvi-am
586 install-html: install-html-am
590 install-info: install-info-am
596 install-pdf: install-pdf-am
600 install-ps: install-ps-am
606 maintainer-clean: maintainer-clean-am
608 maintainer-clean-am: distclean-am maintainer-clean-generic \
609 maintainer-clean-local
611 mostlyclean: mostlyclean-am
613 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
623 uninstall-am: uninstall-local
625 .MAKE: check-am install-am install-strip
627 .PHONY: all all-am all-local check check-TESTS check-am clean \
628 clean-generic clean-libtool clean-local dist-hook distclean \
629 distclean-generic distclean-libtool distclean-local distdir \
630 dvi dvi-am html html-am info info-am install install-am \
631 install-data install-data-am install-data-local install-dvi \
632 install-dvi-am install-exec install-exec-am install-html \
633 install-html-am install-info install-info-am install-man \
634 install-pdf install-pdf-am install-ps install-ps-am \
635 install-strip installcheck installcheck-am installdirs \
636 maintainer-clean maintainer-clean-generic \
637 maintainer-clean-local mostlyclean mostlyclean-generic \
638 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
642 @ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
643 @ENABLE_GTK_DOC_FALSE@all-local:
645 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
647 $(REPORT_FILES): sgml-build.stamp
652 -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
653 echo ' DOC Preparing build'; \
654 files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
655 if test "x$$files" != "x" ; then \
656 for file in $$files ; do \
657 test -f $(abs_srcdir)/$$file && \
658 cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \
662 @touch setup-build.stamp
666 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
667 @echo ' DOC Scanning header files'
669 for i in $(DOC_SOURCE_DIR) ; do \
670 _source_dir="$${_source_dir} --source-dir=$$i" ; \
672 gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
673 @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
674 echo " DOC Introspecting gobjects"; \
675 scanobj_options=""; \
676 gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \
677 if test "$(?)" = "0"; then \
678 if test "x$(V)" = "x1"; then \
679 scanobj_options="--verbose"; \
682 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
683 gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
685 for i in $(SCANOBJ_FILES) ; do \
686 test -f $$i || touch $$i ; \
689 @touch scan-build.stamp
691 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
696 sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files)
697 @echo ' DOC Building XML'
699 for i in $(DOC_SOURCE_DIR) ; do \
700 _source_dir="$${_source_dir} --source-dir=$$i" ; \
702 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)
703 @touch sgml-build.stamp
705 sgml.stamp: sgml-build.stamp
710 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
711 @echo ' DOC Building HTML'
714 @mkhtml_options=""; \
715 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \
716 if test "$(?)" = "0"; then \
717 if test "x$(V)" = "x1"; then \
718 mkhtml_options="$$mkhtml_options --verbose"; \
721 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
722 if test "$(?)" = "0"; then \
723 mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
725 cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
726 -@test "x$(HTML_IMAGES)" = "x" || \
727 for file in $(HTML_IMAGES) ; do \
728 if test -f $(abs_srcdir)/$$file ; then \
729 cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
731 if test -f $(abs_builddir)/$$file ; then \
732 cp $(abs_builddir)/$$file $(abs_builddir)/html; \
735 @echo ' DOC Fixing cross-references'
736 @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
737 @touch html-build.stamp
741 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
742 @echo ' DOC Building PDF'
743 @rm -f $(DOC_MODULE).pdf
745 gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \
746 if test "$(?)" = "0"; then \
747 if test "x$(V)" = "x1"; then \
748 mkpdf_options="$$mkpdf_options --verbose"; \
751 if test "x$(HTML_IMAGES)" != "x"; then \
752 for img in $(HTML_IMAGES); do \
753 part=`dirname $$img`; \
754 echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
755 if test $$? != 0; then \
756 mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
760 gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
761 @touch pdf-build.stamp
770 @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
771 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
772 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
773 rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
776 maintainer-clean-local: clean
780 @installfiles=`echo $(builddir)/html/*`; \
781 if test "$$installfiles" = '$(builddir)/html/*'; \
782 then echo 1>&2 'Nothing to install' ; \
784 if test -n "$(DOC_MODULE_VERSION)"; then \
785 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
787 installdir="$(DESTDIR)$(TARGET_DIR)"; \
789 $(mkinstalldirs) $${installdir} ; \
790 for i in $$installfiles; do \
791 echo ' $(INSTALL_DATA) '$$i ; \
792 $(INSTALL_DATA) $$i $${installdir}; \
794 if test -n "$(DOC_MODULE_VERSION)"; then \
795 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
796 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
798 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
802 @if test -n "$(DOC_MODULE_VERSION)"; then \
803 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
805 installdir="$(DESTDIR)$(TARGET_DIR)"; \
807 rm -rf $${installdir}
810 # Require gtk-doc when making dist
812 @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
813 @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
814 @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist"
815 @ENABLE_GTK_DOC_FALSE@ @false
817 dist-hook: dist-check-gtkdoc dist-hook-local
818 @mkdir $(distdir)/html
819 @cp ./html/* $(distdir)/html
820 @-cp ./$(DOC_MODULE).pdf $(distdir)/
821 @-cp ./$(DOC_MODULE).types $(distdir)/
822 @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
823 @cd $(distdir) && rm -f $(DISTCLEANFILES)
824 @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
826 .PHONY : dist-hook-local docs
828 # Tell versions [3.59,3.63) of GNU make to not export all variables.
829 # Otherwise a system limit (for SysV at least) may be exceeded.