1 # Makefile.in generated by automake 1.16.2 from Makefile.am.
4 # Copyright (C) 1994-2020 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 # Process this file with automake to produce Makefile.in
19 # -*- mode: makefile -*-
21 # gtk-doc.make - make rules for gtk-doc
22 # Copyright (C) 2003 James Henstridge
23 # 2004-2007 Damon Chaplin
24 # 2007-2017 Stefan Sauer
26 # This program is free software: you can redistribute it and/or modify
27 # it under the terms of the GNU General Public License as published by
28 # the Free Software Foundation, either version 3 of the License, or
29 # (at your option) any later version.
31 # This program is distributed in the hope that it will be useful,
32 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34 # GNU General Public License for more details.
36 # You should have received a copy of the GNU General Public License
37 # along with this program. If not, see <http://www.gnu.org/licenses/>.
39 ####################################
40 # Everything below here is generic #
41 ####################################
44 if test -z '$(MAKELEVEL)'; then \
46 elif test -n '$(MAKE_HOST)'; then \
48 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
54 am__make_running_with_option = \
55 case $${target_option-} in \
57 *) echo "am__make_running_with_option: internal error: invalid" \
58 "target option '$${target_option-}' specified" >&2; \
62 sane_makeflags=$$MAKEFLAGS; \
63 if $(am__is_gnu_make); then \
64 sane_makeflags=$$MFLAGS; \
69 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
70 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
76 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
78 for flg in $$sane_makeflags; do \
79 test $$skip_next = yes && { skip_next=no; continue; }; \
82 -*I) strip_trailopt 'I'; skip_next=yes;; \
83 -*I?*) strip_trailopt 'I';; \
84 -*O) strip_trailopt 'O'; skip_next=yes;; \
85 -*O?*) strip_trailopt 'O';; \
86 -*l) strip_trailopt 'l'; skip_next=yes;; \
87 -*l?*) strip_trailopt 'l';; \
88 -[dEDm]) skip_next=yes;; \
89 -[JT]) skip_next=yes;; \
92 *$$target_option*) has_opt=yes; break;; \
96 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
97 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
98 pkgdatadir = $(datadir)/@PACKAGE@
99 pkgincludedir = $(includedir)/@PACKAGE@
100 pkglibdir = $(libdir)/@PACKAGE@
101 pkglibexecdir = $(libexecdir)/@PACKAGE@
102 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
103 install_sh_DATA = $(install_sh) -c -m 644
104 install_sh_PROGRAM = $(install_sh) -c
105 install_sh_SCRIPT = $(install_sh) -c
106 INSTALL_HEADER = $(INSTALL_DATA)
107 transform = $(program_transform_name)
114 build_triplet = @build@
115 host_triplet = @host@
116 @HAVE_GOBJECT_FALSE@am__append_1 = hb-gobject.h hb-gobject-enums.h hb-gobject-structs.h
117 @HAVE_GOBJECT_TRUE@am__append_2 = $(top_builddir)/src/libharfbuzz-gobject.la
119 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
120 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_link_flag.m4 \
121 $(top_srcdir)/m4/ax_code_coverage.m4 \
122 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
123 $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/gtk-doc.m4 \
124 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
125 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
126 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
127 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
129 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
130 mkinstalldirs = $(install_sh) -d
131 CONFIG_HEADER = $(top_builddir)/config.h
132 CONFIG_CLEAN_FILES = version.xml
133 CONFIG_CLEAN_VPATH_FILES =
134 AM_V_P = $(am__v_P_@AM_V@)
135 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
138 AM_V_GEN = $(am__v_GEN_@AM_V@)
139 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
140 am__v_GEN_0 = @echo " GEN " $@;
142 AM_V_at = $(am__v_at_@AM_V@)
143 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
148 am__can_run_installinfo = \
149 case $$AM_UPDATE_INFO_DIR in \
151 *) (install-info --version) >/dev/null 2>&1;; \
153 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
154 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/version.xml.in \
155 $(top_srcdir)/gtk-doc.make
156 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
159 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
161 AUTOCONF = @AUTOCONF@
162 AUTOHEADER = @AUTOHEADER@
163 AUTOMAKE = @AUTOMAKE@
165 CAIRO_CFLAGS = @CAIRO_CFLAGS@
166 CAIRO_FT_CFLAGS = @CAIRO_FT_CFLAGS@
167 CAIRO_FT_LIBS = @CAIRO_FT_LIBS@
168 CAIRO_LIBS = @CAIRO_LIBS@
170 CCDEPMODE = @CCDEPMODE@
172 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
173 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
174 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
175 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
176 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
177 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
178 CORETEXT_CFLAGS = @CORETEXT_CFLAGS@
179 CORETEXT_LIBS = @CORETEXT_LIBS@
181 CPPFLAGS = @CPPFLAGS@
184 CXXDEPMODE = @CXXDEPMODE@
185 CXXFLAGS = @CXXFLAGS@
186 CYGPATH_W = @CYGPATH_W@
189 DIRECTWRITE_CXXFLAGS = @DIRECTWRITE_CXXFLAGS@
190 DIRECTWRITE_LIBS = @DIRECTWRITE_LIBS@
192 DSYMUTIL = @DSYMUTIL@
200 FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
201 FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
202 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
203 FREETYPE_DEPS = @FREETYPE_DEPS@
204 FREETYPE_LIBS = @FREETYPE_LIBS@
206 GDI_CFLAGS = @GDI_CFLAGS@
207 GDI_LIBS = @GDI_LIBS@
210 GLIB_CFLAGS = @GLIB_CFLAGS@
211 GLIB_DEPS = @GLIB_DEPS@
212 GLIB_LIBS = @GLIB_LIBS@
213 GLIB_MKENUMS = @GLIB_MKENUMS@
214 GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
215 GOBJECT_LIBS = @GOBJECT_LIBS@
216 GRAPHITE2_CFLAGS = @GRAPHITE2_CFLAGS@
217 GRAPHITE2_DEPS = @GRAPHITE2_DEPS@
218 GRAPHITE2_LIBS = @GRAPHITE2_LIBS@
220 GTKDOC_CHECK = @GTKDOC_CHECK@
221 GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
222 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
223 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
224 GTKDOC_MKPDF = @GTKDOC_MKPDF@
225 GTKDOC_REBASE = @GTKDOC_REBASE@
226 HAVE_CXX11 = @HAVE_CXX11@
227 HB_LIBTOOL_VERSION_INFO = @HB_LIBTOOL_VERSION_INFO@
228 HB_VERSION = @HB_VERSION@
229 HB_VERSION_MAJOR = @HB_VERSION_MAJOR@
230 HB_VERSION_MICRO = @HB_VERSION_MICRO@
231 HB_VERSION_MINOR = @HB_VERSION_MINOR@
232 HTML_DIR = @HTML_DIR@
233 ICU_CFLAGS = @ICU_CFLAGS@
234 ICU_CONFIG = @ICU_CONFIG@
235 ICU_LIBS = @ICU_LIBS@
237 INSTALL_DATA = @INSTALL_DATA@
238 INSTALL_PROGRAM = @INSTALL_PROGRAM@
239 INSTALL_SCRIPT = @INSTALL_SCRIPT@
240 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
241 INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
242 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
243 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
244 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
245 INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
246 INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
247 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
248 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
257 LTLIBOBJS = @LTLIBOBJS@
258 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
259 MAKEINFO = @MAKEINFO@
260 MANIFEST_TOOL = @MANIFEST_TOOL@
269 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
270 PACKAGE_NAME = @PACKAGE_NAME@
271 PACKAGE_STRING = @PACKAGE_STRING@
272 PACKAGE_TARNAME = @PACKAGE_TARNAME@
273 PACKAGE_URL = @PACKAGE_URL@
274 PACKAGE_VERSION = @PACKAGE_VERSION@
275 PATH_SEPARATOR = @PATH_SEPARATOR@
276 PKG_CONFIG = @PKG_CONFIG@
277 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
278 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
279 PTHREAD_CC = @PTHREAD_CC@
280 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
281 PTHREAD_LIBS = @PTHREAD_LIBS@
285 SET_MAKE = @SET_MAKE@
288 UNISCRIBE_CFLAGS = @UNISCRIBE_CFLAGS@
289 UNISCRIBE_LIBS = @UNISCRIBE_LIBS@
291 _GI_EXP_DATADIR = @_GI_EXP_DATADIR@
292 _GI_EXP_LIBDIR = @_GI_EXP_LIBDIR@
293 abs_builddir = @abs_builddir@
294 abs_srcdir = @abs_srcdir@
295 abs_top_builddir = @abs_top_builddir@
296 abs_top_srcdir = @abs_top_srcdir@
297 ac_ct_AR = @ac_ct_AR@
298 ac_ct_CC = @ac_ct_CC@
299 ac_ct_CXX = @ac_ct_CXX@
300 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
301 am__include = @am__include@
302 am__leading_dot = @am__leading_dot@
303 am__quote = @am__quote@
305 am__untar = @am__untar@
306 ax_pthread_config = @ax_pthread_config@
309 build_alias = @build_alias@
310 build_cpu = @build_cpu@
311 build_os = @build_os@
312 build_vendor = @build_vendor@
313 builddir = @builddir@
315 datarootdir = @datarootdir@
318 exec_prefix = @exec_prefix@
319 have_gobject = @have_gobject@
321 host_alias = @host_alias@
322 host_cpu = @host_cpu@
324 host_vendor = @host_vendor@
326 includedir = @includedir@
328 install_sh = @install_sh@
330 libexecdir = @libexecdir@
331 localedir = @localedir@
332 localstatedir = @localstatedir@
335 oldincludedir = @oldincludedir@
338 program_transform_name = @program_transform_name@
341 sharedstatedir = @sharedstatedir@
343 sysconfdir = @sysconfdir@
344 target_alias = @target_alias@
345 top_build_prefix = @top_build_prefix@
346 top_builddir = @top_builddir@
347 top_srcdir = @top_srcdir@
349 # We require automake 1.6 at least.
350 AUTOMAKE_OPTIONS = 1.6
352 # This is a blank Makefile.am for using gtk-doc.
353 # Copy this to your project's API docs directory and modify the variables to
354 # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
355 # of using the various options.
357 # The name of the module, e.g. 'glib'.
358 DOC_MODULE = harfbuzz
360 # Uncomment for versioned docs and specify the version of the module, e.g. '2'.
361 #DOC_MODULE_VERSION=$(HB_VERSION_MAJOR)
363 # The top-level SGML file. You can change this if you want to.
364 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
366 # Directories containing the source code.
367 # gtk-doc will search all .c and .h files beneath these paths
368 # for inline comments documenting functions and macros.
369 # e.g. DOC_SOURCE_DIR=$(top_srcdir)/gtk $(top_srcdir)/gdk
370 DOC_SOURCE_DIR = $(top_srcdir)/src $(top_builddir)/src
372 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
375 # Extra options to supply to gtkdoc-scan.
376 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
377 SCAN_OPTIONS = --rebuild-types --deprecated-guards="HB_DISABLE_DEPRECATED" \
378 --ignore-decorators="HB_EXTERN"
381 # Header files or dirs to ignore when scanning. Use base file/dir names
382 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code
383 IGNORE_HFILES = `cd $(top_srcdir)/src; find . -path './*/*.h' | sed \
384 's@^.*/@@'` $(am__append_1)
386 # Extra options to supply to gtkdoc-mkdb.
387 # e.g. MKDB_OPTIONS=--xml-mode --output-format=xml
388 MKDB_OPTIONS = --source-suffixes=h,cc --xml-mode --output-format=xml --ignore-files="$(IGNORE_HFILES)"
390 # Extra options to supply to gtkdoc-mktmpl
391 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
394 # Extra options to supply to gtkdoc-mkhtml
397 # Extra options to supply to gtkdoc-fixref. Not normally needed.
398 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
401 # Used for dependencies. The docs will be rebuilt if any of these change.
402 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
403 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
404 HFILE_GLOB = $(top_srcdir)/src/hb.h $(top_srcdir)/src/hb-*.h
405 CFILE_GLOB = $(top_srcdir)/src/hb-*.cc
407 # Extra header to include when scanning, which are not under DOC_SOURCE_DIR
408 # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
410 # Images to copy into HTML directory.
411 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
417 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
418 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
420 usermanual-what-is-harfbuzz.xml \
421 usermanual-install-harfbuzz.xml \
422 usermanual-getting-started.xml \
423 usermanual-glyph-information.xml \
424 usermanual-shaping-concepts.xml \
425 usermanual-object-model.xml \
426 usermanual-buffers-language-script-and-direction.xml \
427 usermanual-fonts-and-faces.xml \
428 usermanual-opentype-features.xml \
429 usermanual-clusters.xml \
430 usermanual-utilities.xml \
431 usermanual-integration.xml \
435 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
436 # These files must be listed here *and* in content_files
437 # e.g. expand_content_files=running.sgml
438 expand_content_files =
440 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
441 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
442 # signals and properties.
443 # e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
444 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
446 GTKDOC_LIBS = $(top_builddir)/src/libharfbuzz.la $(am__append_2)
447 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
448 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
449 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
450 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
451 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
452 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
454 # We set GPATH here; this gives us semantics for GNU make
455 # which are more like other make's VPATH, when it comes to
456 # whether a source that is a target of one rule is then
457 # searched for in VPATH/GPATH.
460 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
463 $(expand_content_files) \
464 $(DOC_MAIN_SGML_FILE) \
465 $(DOC_MODULE)-sections.txt \
466 $(DOC_MODULE)-overrides.txt
469 # This includes the standard gtk-doc make rules, copied by gtkdocize.
471 # Other files to distribute
472 # e.g. EXTRA_DIST += version.xml.in
473 EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) version.xml.in meson.build
474 DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \
475 html-build.stamp pdf-build.stamp \
476 sgml.stamp html.stamp pdf.stamp
480 $(DOC_MODULE).hierarchy \
481 $(DOC_MODULE).interfaces \
482 $(DOC_MODULE).prerequisites \
483 $(DOC_MODULE).signals
486 $(DOC_MODULE)-undocumented.txt \
487 $(DOC_MODULE)-undeclared.txt \
488 $(DOC_MODULE)-unused.txt
490 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) gtkdoc-check.test
491 @GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
492 @GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
493 @GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
494 @GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
497 GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_@AM_V@)
498 GTK_DOC_V_SETUP_ = $(GTK_DOC_V_SETUP_@AM_DEFAULT_V@)
499 GTK_DOC_V_SETUP_0 = @echo " DOC Preparing build";
502 GTK_DOC_V_SCAN = $(GTK_DOC_V_SCAN_@AM_V@)
503 GTK_DOC_V_SCAN_ = $(GTK_DOC_V_SCAN_@AM_DEFAULT_V@)
504 GTK_DOC_V_SCAN_0 = @echo " DOC Scanning header files";
505 GTK_DOC_V_INTROSPECT = $(GTK_DOC_V_INTROSPECT_@AM_V@)
506 GTK_DOC_V_INTROSPECT_ = $(GTK_DOC_V_INTROSPECT_@AM_DEFAULT_V@)
507 GTK_DOC_V_INTROSPECT_0 = @echo " DOC Introspecting gobjects";
510 GTK_DOC_V_XML = $(GTK_DOC_V_XML_@AM_V@)
511 GTK_DOC_V_XML_ = $(GTK_DOC_V_XML_@AM_DEFAULT_V@)
512 GTK_DOC_V_XML_0 = @echo " DOC Building XML";
515 GTK_DOC_V_HTML = $(GTK_DOC_V_HTML_@AM_V@)
516 GTK_DOC_V_HTML_ = $(GTK_DOC_V_HTML_@AM_DEFAULT_V@)
517 GTK_DOC_V_HTML_0 = @echo " DOC Building HTML";
518 GTK_DOC_V_XREF = $(GTK_DOC_V_XREF_@AM_V@)
519 GTK_DOC_V_XREF_ = $(GTK_DOC_V_XREF_@AM_DEFAULT_V@)
520 GTK_DOC_V_XREF_0 = @echo " DOC Fixing cross-references";
523 GTK_DOC_V_PDF = $(GTK_DOC_V_PDF_@AM_V@)
524 GTK_DOC_V_PDF_ = $(GTK_DOC_V_PDF_@AM_DEFAULT_V@)
525 GTK_DOC_V_PDF_0 = @echo " DOC Building PDF";
527 # Files not to distribute
528 # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
529 # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
532 # Comment this out if you don't want 'make check' to test you doc status
533 # and run some sanity checks
534 @ENABLE_GTK_DOC_TRUE@TESTS_ENVIRONMENT = cd $(srcdir) && \
535 @ENABLE_GTK_DOC_TRUE@ DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
536 @ENABLE_GTK_DOC_TRUE@ SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
541 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
543 case '$(am__configure_deps)' in \
545 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
546 && { if test -f $@; then exit 0; else break; fi; }; \
550 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits docs/Makefile'; \
551 $(am__cd) $(top_srcdir) && \
552 $(AUTOMAKE) --gnits docs/Makefile
553 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
556 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
558 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
559 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
561 $(top_srcdir)/gtk-doc.make $(am__empty):
563 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
564 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
566 $(top_srcdir)/configure: $(am__configure_deps)
567 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
568 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
569 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
570 $(am__aclocal_m4_deps):
571 version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in
572 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
586 distdir: $(BUILT_SOURCES)
587 $(MAKE) $(AM_MAKEFLAGS) distdir-am
589 distdir-am: $(DISTFILES)
590 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
591 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
592 list='$(DISTFILES)'; \
593 dist_files=`for file in $$list; do echo $$file; done | \
594 sed -e "s|^$$srcdirstrip/||;t" \
595 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
596 case $$dist_files in \
597 */*) $(MKDIR_P) `echo "$$dist_files" | \
598 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
601 for file in $$dist_files; do \
602 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
603 if test -d $$d/$$file; then \
604 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
605 if test -d "$(distdir)/$$file"; then \
606 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
608 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
609 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
610 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
612 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
614 test -f "$(distdir)/$$file" \
615 || cp -p $$d/$$file "$(distdir)/$$file" \
619 $(MAKE) $(AM_MAKEFLAGS) \
620 top_distdir="$(top_distdir)" distdir="$(distdir)" \
624 @ENABLE_GTK_DOC_FALSE@all-local:
625 all-am: Makefile all-local
628 install-exec: install-exec-am
629 install-data: install-data-am
630 uninstall: uninstall-am
633 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
635 installcheck: installcheck-am
637 if test -z '$(STRIP)'; then \
638 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
639 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
642 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
643 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
644 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
649 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
652 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
653 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
655 maintainer-clean-generic:
656 @echo "This command is intended for maintainers to use"
657 @echo "it deletes files that may require special tools to rebuild."
660 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
662 distclean: distclean-am
664 distclean-am: clean-am distclean-generic distclean-local
678 install-data-am: install-data-local
680 install-dvi: install-dvi-am
686 install-html: install-html-am
690 install-info: install-info-am
696 install-pdf: install-pdf-am
700 install-ps: install-ps-am
706 maintainer-clean: maintainer-clean-am
708 maintainer-clean-am: distclean-am maintainer-clean-generic \
709 maintainer-clean-local
711 mostlyclean: mostlyclean-am
713 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
723 uninstall-am: uninstall-local
725 .MAKE: install-am install-strip
727 .PHONY: all all-am all-local check check-am clean clean-generic \
728 clean-libtool clean-local cscopelist-am ctags-am dist-hook \
729 distclean distclean-generic distclean-libtool distclean-local \
730 distdir dvi dvi-am html html-am info info-am install \
731 install-am install-data install-data-am install-data-local \
732 install-dvi install-dvi-am install-exec install-exec-am \
733 install-html install-html-am install-info install-info-am \
734 install-man install-pdf install-pdf-am install-ps \
735 install-ps-am install-strip installcheck installcheck-am \
736 installdirs maintainer-clean maintainer-clean-generic \
737 maintainer-clean-local mostlyclean mostlyclean-generic \
738 mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
739 uninstall-am uninstall-local
744 gtkdoc-check.test: Makefile
745 $(AM_V_GEN)echo "#!/bin/sh -e" > $@; \
746 echo "$(GTKDOC_CHECK_PATH) || exit 1" >> $@; \
749 all-gtk-doc: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
752 @ENABLE_GTK_DOC_TRUE@all-local: all-gtk-doc
754 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
756 $(REPORT_FILES): sgml-build.stamp
759 -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
760 files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \
761 if test "x$$files" != "x" ; then \
762 for file in $$files ; do \
763 destdir=`dirname $(abs_builddir)/$$file`; \
764 test -d "$$destdir" || mkdir -p "$$destdir"; \
765 test -f $(abs_srcdir)/$$file && \
766 cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \
770 $(AM_V_at)touch setup-build.stamp
772 scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB)
773 $(GTK_DOC_V_SCAN)_source_dir='' ; \
774 for i in $(DOC_SOURCE_DIR) ; do \
775 _source_dir="$${_source_dir} --source-dir=$$i" ; \
777 gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
778 $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
779 scanobj_options=""; \
780 gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \
781 if test "$$?" = "0"; then \
782 if test "x$(V)" = "x1"; then \
783 scanobj_options="--verbose"; \
786 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
787 gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
789 for i in $(SCANOBJ_FILES) ; do \
790 test -f $$i || touch $$i ; \
793 $(AM_V_at)touch scan-build.stamp
795 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
798 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
799 $(GTK_DOC_V_XML)_source_dir='' ; \
800 for i in $(DOC_SOURCE_DIR) ; do \
801 _source_dir="$${_source_dir} --source-dir=$$i" ; \
803 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)
804 $(AM_V_at)touch sgml-build.stamp
806 sgml.stamp: sgml-build.stamp
809 $(DOC_MAIN_SGML_FILE): sgml-build.stamp
812 xml/gtkdocentities.ent: Makefile
813 $(GTK_DOC_V_XML)$(MKDIR_P) $(@D) && ( \
814 echo "<!ENTITY package \"$(PACKAGE)\">"; \
815 echo "<!ENTITY package_bugreport \"$(PACKAGE_BUGREPORT)\">"; \
816 echo "<!ENTITY package_name \"$(PACKAGE_NAME)\">"; \
817 echo "<!ENTITY package_string \"$(PACKAGE_STRING)\">"; \
818 echo "<!ENTITY package_tarname \"$(PACKAGE_TARNAME)\">"; \
819 echo "<!ENTITY package_url \"$(PACKAGE_URL)\">"; \
820 echo "<!ENTITY package_version \"$(PACKAGE_VERSION)\">"; \
823 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files)
824 $(GTK_DOC_V_HTML)rm -rf html && mkdir html && \
826 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \
827 if test "$$?" = "0"; then \
828 if test "x$(V)" = "x1"; then \
829 mkhtml_options="$$mkhtml_options --verbose"; \
832 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
833 if test "$$?" = "0"; then \
834 mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
836 cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
837 -@test "x$(HTML_IMAGES)" = "x" || \
838 for file in $(HTML_IMAGES) ; do \
839 test -f $(abs_srcdir)/$$file && cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
840 test -f $(abs_builddir)/$$file && cp $(abs_builddir)/$$file $(abs_builddir)/html; \
841 test -f $$file && cp $$file $(abs_builddir)/html; \
843 $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
844 $(AM_V_at)touch html-build.stamp
846 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files)
847 $(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \
849 gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \
850 if test "$$?" = "0"; then \
851 if test "x$(V)" = "x1"; then \
852 mkpdf_options="$$mkpdf_options --verbose"; \
855 if test "x$(HTML_IMAGES)" != "x"; then \
856 for img in $(HTML_IMAGES); do \
857 part=`dirname $$img`; \
858 echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
859 if test $$? != 0; then \
860 mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
864 gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
865 $(AM_V_at)touch pdf-build.stamp
872 @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
873 rm -f $(DOC_MODULE).types; \
875 @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-sections" ; then \
876 rm -f $(DOC_MODULE)-sections.txt; \
880 @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
881 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
882 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
883 rm -f $(SETUP_FILES) $(DOC_MODULE).types; \
886 maintainer-clean-local:
890 @installfiles=`echo $(builddir)/html/*`; \
891 if test "$$installfiles" = '$(builddir)/html/*'; \
892 then echo 1>&2 'Nothing to install' ; \
894 if test -n "$(DOC_MODULE_VERSION)"; then \
895 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
897 installdir="$(DESTDIR)$(TARGET_DIR)"; \
899 $(mkinstalldirs) $${installdir} ; \
900 for i in $$installfiles; do \
901 echo ' $(INSTALL_DATA) '$$i ; \
902 $(INSTALL_DATA) $$i $${installdir}; \
904 if test -n "$(DOC_MODULE_VERSION)"; then \
905 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
906 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
908 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
912 @if test -n "$(DOC_MODULE_VERSION)"; then \
913 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
915 installdir="$(DESTDIR)$(TARGET_DIR)"; \
917 rm -rf $${installdir}
920 # Require gtk-doc when making dist
922 @HAVE_GTK_DOC_TRUE@dist-check-gtkdoc: docs
923 @HAVE_GTK_DOC_FALSE@dist-check-gtkdoc:
924 @HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc is needed to run 'make dist'. ***"
925 @HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc was not found when 'configure' ran. ***"
926 @HAVE_GTK_DOC_FALSE@ @echo "*** please install gtk-doc and rerun 'configure'. ***"
927 @HAVE_GTK_DOC_FALSE@ @false
929 dist-hook: dist-check-gtkdoc all-gtk-doc dist-hook-local
930 @mkdir $(distdir)/html
931 @cp ./html/* $(distdir)/html
932 @-cp ./$(DOC_MODULE).pdf $(distdir)/
933 @-cp ./$(DOC_MODULE).types $(distdir)/
934 @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
935 @cd $(distdir) && rm -f $(DISTCLEANFILES)
936 @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
938 .PHONY : dist-hook-local docs
939 #TESTS = $(GTKDOC_CHECK)
941 -include $(top_srcdir)/git.mk
943 # Tell versions [3.59,3.63) of GNU make to not export all variables.
944 # Otherwise a system limit (for SysV at least) may be exceeded.