]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/doc/Makefile.in
libstdc++: Allow emergency EH alloc pool size to be tuned [PR68606]
[thirdparty/gcc.git] / libstdc++-v3 / doc / Makefile.in
CommitLineData
22e05272 1# Makefile.in generated by automake 1.15.1 from Makefile.am.
4312e020
BK
2# @configure_input@
3
22e05272
JM
4# Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
4312e020
BK
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.
9
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
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16VPATH = @srcdir@
22e05272
JM
17am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27}
28am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
6ef93676
MH
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
22e05272
JM
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
6ef93676 67 esac; \
22e05272
JM
68 done; \
69 test $$has_opt = yes
70am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
4312e020 72pkgdatadir = $(datadir)/@PACKAGE@
4312e020 73pkgincludedir = $(includedir)/@PACKAGE@
5213506e
RW
74pkglibdir = $(libdir)/@PACKAGE@
75pkglibexecdir = $(libexecdir)/@PACKAGE@
4312e020
BK
76am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77install_sh_DATA = $(install_sh) -c -m 644
78install_sh_PROGRAM = $(install_sh) -c
79install_sh_SCRIPT = $(install_sh) -c
80INSTALL_HEADER = $(INSTALL_DATA)
81transform = $(program_transform_name)
82NORMAL_INSTALL = :
83PRE_INSTALL = :
84POST_INSTALL = :
85NORMAL_UNINSTALL = :
86PRE_UNINSTALL = :
87POST_UNINSTALL = :
88build_triplet = @build@
89host_triplet = @host@
90target_triplet = @target@
4312e020
BK
91subdir = doc
92ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
b25e6b79
BK
93am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
94 $(top_srcdir)/../config/enable.m4 \
4312e020 95 $(top_srcdir)/../config/futex.m4 \
1ec62aa9 96 $(top_srcdir)/../config/hwcaps.m4 \
4312e020
BK
97 $(top_srcdir)/../config/iconv.m4 \
98 $(top_srcdir)/../config/lead-dot.m4 \
99 $(top_srcdir)/../config/lib-ld.m4 \
100 $(top_srcdir)/../config/lib-link.m4 \
101 $(top_srcdir)/../config/lib-prefix.m4 \
7de6ba7a 102 $(top_srcdir)/../config/lthostflags.m4 \
4312e020
BK
103 $(top_srcdir)/../config/multi.m4 \
104 $(top_srcdir)/../config/no-executables.m4 \
ef5f59f6 105 $(top_srcdir)/../config/override.m4 \
ed0840ba 106 $(top_srcdir)/../config/stdint.m4 \
e8e66971 107 $(top_srcdir)/../config/toolexeclibdir.m4 \
4312e020 108 $(top_srcdir)/../config/unwind_ipinfo.m4 \
eab89c86
PC
109 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
110 $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
111 $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \
112 $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
113 $(top_srcdir)/../config/gc++filt.m4 \
1183dc2c 114 $(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \
36101de9 115 $(top_srcdir)/../config/cet.m4 $(top_srcdir)/configure.ac
4312e020
BK
116am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
117 $(ACLOCAL_M4)
22e05272 118DIST_COMMON = $(srcdir)/Makefile.am
4312e020
BK
119CONFIG_HEADER = $(top_builddir)/config.h
120CONFIG_CLEAN_FILES =
5213506e 121CONFIG_CLEAN_VPATH_FILES =
22e05272
JM
122AM_V_P = $(am__v_P_@AM_V@)
123am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
124am__v_P_0 = false
125am__v_P_1 = :
126AM_V_GEN = $(am__v_GEN_@AM_V@)
127am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
128am__v_GEN_0 = @echo " GEN " $@;
129am__v_GEN_1 =
130AM_V_at = $(am__v_at_@AM_V@)
131am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
132am__v_at_0 = @
133am__v_at_1 =
4312e020
BK
134depcomp =
135am__depfiles_maybe =
136SOURCES =
6ef93676
MH
137am__can_run_installinfo = \
138 case $$AM_UPDATE_INFO_DIR in \
139 n|no|NO) false;; \
140 *) (install-info --version) >/dev/null 2>&1;; \
141 esac
22e05272 142am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
4312e020
BK
143ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
144ACLOCAL = @ACLOCAL@
145ALLOCATOR_H = @ALLOCATOR_H@
146ALLOCATOR_NAME = @ALLOCATOR_NAME@
3acb929c 147ALLOC_FILE = @ALLOC_FILE@
4312e020 148AMTAR = @AMTAR@
22e05272 149AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
4312e020
BK
150AR = @AR@
151AS = @AS@
152ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
153ATOMIC_FLAGS = @ATOMIC_FLAGS@
154ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
155AUTOCONF = @AUTOCONF@
156AUTOHEADER = @AUTOHEADER@
157AUTOMAKE = @AUTOMAKE@
158AWK = @AWK@
3acb929c
JW
159BACKTRACE_CPPFLAGS = @BACKTRACE_CPPFLAGS@
160BACKTRACE_SUPPORTED = @BACKTRACE_SUPPORTED@
161BACKTRACE_SUPPORTS_THREADS = @BACKTRACE_SUPPORTS_THREADS@
162BACKTRACE_USES_MALLOC = @BACKTRACE_USES_MALLOC@
4312e020
BK
163BASIC_FILE_CC = @BASIC_FILE_CC@
164BASIC_FILE_H = @BASIC_FILE_H@
165CC = @CC@
166CCODECVT_CC = @CCODECVT_CC@
167CCOLLATE_CC = @CCOLLATE_CC@
168CCTYPE_CC = @CCTYPE_CC@
169CFLAGS = @CFLAGS@
170CLOCALE_CC = @CLOCALE_CC@
171CLOCALE_H = @CLOCALE_H@
172CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
173CMESSAGES_CC = @CMESSAGES_CC@
174CMESSAGES_H = @CMESSAGES_H@
175CMONEY_CC = @CMONEY_CC@
176CNUMERIC_CC = @CNUMERIC_CC@
177CPP = @CPP@
178CPPFLAGS = @CPPFLAGS@
179CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
48c7b524 180CPU_OPT_BITS_RANDOM = @CPU_OPT_BITS_RANDOM@
9bf714c2 181CPU_OPT_EXT_RANDOM = @CPU_OPT_EXT_RANDOM@
4312e020
BK
182CSTDIO_H = @CSTDIO_H@
183CTIME_CC = @CTIME_CC@
184CTIME_H = @CTIME_H@
185CXX = @CXX@
186CXXCPP = @CXXCPP@
c18dc5cc 187CXXFILT = @CXXFILT@
4312e020
BK
188CXXFLAGS = @CXXFLAGS@
189CYGPATH_W = @CYGPATH_W@
190C_INCLUDE_DIR = @C_INCLUDE_DIR@
b25e6b79 191DBLATEX = @DBLATEX@
4312e020
BK
192DEBUG_FLAGS = @DEBUG_FLAGS@
193DEFS = @DEFS@
b25e6b79
BK
194DOT = @DOT@
195DOXYGEN = @DOXYGEN@
25e5de9a 196DSYMUTIL = @DSYMUTIL@
4312e020
BK
197DUMPBIN = @DUMPBIN@
198ECHO_C = @ECHO_C@
199ECHO_N = @ECHO_N@
200ECHO_T = @ECHO_T@
201EGREP = @EGREP@
637e3668 202EH_POOL_FLAGS = @EH_POOL_FLAGS@
4312e020
BK
203ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
204EXEEXT = @EXEEXT@
36101de9 205EXTRA_CFLAGS = @EXTRA_CFLAGS@
4312e020
BK
206EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
207FGREP = @FGREP@
3acb929c 208FORMAT_FILE = @FORMAT_FILE@
68c2e9e9 209FREESTANDING_FLAGS = @FREESTANDING_FLAGS@
4312e020 210GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
ec6fa56a 211GLIBCXX_LIBS = @GLIBCXX_LIBS@
4312e020 212GREP = @GREP@
1ec62aa9 213HWCAP_CFLAGS = @HWCAP_CFLAGS@
5213506e 214INSTALL = @INSTALL@
4312e020
BK
215INSTALL_DATA = @INSTALL_DATA@
216INSTALL_PROGRAM = @INSTALL_PROGRAM@
217INSTALL_SCRIPT = @INSTALL_SCRIPT@
218INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
219LD = @LD@
220LDFLAGS = @LDFLAGS@
221LIBICONV = @LIBICONV@
4312e020
BK
222LIBOBJS = @LIBOBJS@
223LIBS = @LIBS@
4312e020 224LIBTOOL = @LIBTOOL@
25e5de9a 225LIPO = @LIPO@
4312e020 226LN_S = @LN_S@
7c1e7eed
JW
227LONG_DOUBLE_128_FLAGS = @LONG_DOUBLE_128_FLAGS@
228LONG_DOUBLE_ALT128_COMPAT_FLAGS = @LONG_DOUBLE_ALT128_COMPAT_FLAGS@
6d49b790 229LONG_DOUBLE_COMPAT_FLAGS = @LONG_DOUBLE_COMPAT_FLAGS@
4312e020
BK
230LTLIBICONV = @LTLIBICONV@
231LTLIBOBJS = @LTLIBOBJS@
232MAINT = @MAINT@
233MAKEINFO = @MAKEINFO@
5213506e 234MKDIR_P = @MKDIR_P@
4312e020 235NM = @NM@
25e5de9a
PG
236NMEDIT = @NMEDIT@
237OBJDUMP = @OBJDUMP@
4312e020
BK
238OBJEXT = @OBJEXT@
239OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
240OPT_LDFLAGS = @OPT_LDFLAGS@
241OS_INC_SRCDIR = @OS_INC_SRCDIR@
25e5de9a
PG
242OTOOL = @OTOOL@
243OTOOL64 = @OTOOL64@
4312e020
BK
244PACKAGE = @PACKAGE@
245PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
246PACKAGE_NAME = @PACKAGE_NAME@
247PACKAGE_STRING = @PACKAGE_STRING@
248PACKAGE_TARNAME = @PACKAGE_TARNAME@
5213506e 249PACKAGE_URL = @PACKAGE_URL@
4312e020
BK
250PACKAGE_VERSION = @PACKAGE_VERSION@
251PATH_SEPARATOR = @PATH_SEPARATOR@
b25e6b79 252PDFLATEX = @PDFLATEX@
4312e020
BK
253RANLIB = @RANLIB@
254SECTION_FLAGS = @SECTION_FLAGS@
255SECTION_LDFLAGS = @SECTION_LDFLAGS@
256SED = @SED@
257SET_MAKE = @SET_MAKE@
258SHELL = @SHELL@
259STRIP = @STRIP@
260SYMVER_FILE = @SYMVER_FILE@
261TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
262USE_NLS = @USE_NLS@
263VERSION = @VERSION@
3acb929c 264VIEW_FILE = @VIEW_FILE@
2077db1b
CT
265VTV_CXXFLAGS = @VTV_CXXFLAGS@
266VTV_CXXLINKFLAGS = @VTV_CXXLINKFLAGS@
267VTV_PCH_CXXFLAGS = @VTV_PCH_CXXFLAGS@
4312e020 268WARN_FLAGS = @WARN_FLAGS@
a4395a84 269XMLCATALOG = @XMLCATALOG@
b25e6b79
BK
270
271# Validate existing XML structure.
272XMLLINT = xmllint
273XSLTPROC = xsltproc
b329dd10 274XSL_STYLE_DIR = @XSL_STYLE_DIR@
5213506e
RW
275abs_builddir = @abs_builddir@
276abs_srcdir = @abs_srcdir@
277abs_top_builddir = @abs_top_builddir@
278abs_top_srcdir = @abs_top_srcdir@
4312e020
BK
279ac_ct_CC = @ac_ct_CC@
280ac_ct_CXX = @ac_ct_CXX@
281ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
282am__leading_dot = @am__leading_dot@
283am__tar = @am__tar@
284am__untar = @am__untar@
285baseline_dir = @baseline_dir@
00fc1bf6 286baseline_subdir_switch = @baseline_subdir_switch@
4312e020
BK
287bindir = @bindir@
288build = @build@
289build_alias = @build_alias@
290build_cpu = @build_cpu@
291build_os = @build_os@
292build_vendor = @build_vendor@
5213506e 293builddir = @builddir@
4312e020
BK
294check_msgfmt = @check_msgfmt@
295datadir = @datadir@
5213506e
RW
296datarootdir = @datarootdir@
297docdir = @docdir@
298dvidir = @dvidir@
4312e020
BK
299enable_shared = @enable_shared@
300enable_static = @enable_static@
301exec_prefix = @exec_prefix@
3c36aa6b 302get_gcc_base_ver = @get_gcc_base_ver@
4312e020
BK
303glibcxx_MOFILES = @glibcxx_MOFILES@
304glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
305glibcxx_POFILES = @glibcxx_POFILES@
306glibcxx_builddir = @glibcxx_builddir@
ac6d1200
BK
307glibcxx_compiler_pic_flag = @glibcxx_compiler_pic_flag@
308glibcxx_compiler_shared_flag = @glibcxx_compiler_shared_flag@
34a2b755 309glibcxx_cxx98_abi = @glibcxx_cxx98_abi@
4312e020 310glibcxx_localedir = @glibcxx_localedir@
ac6d1200 311glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
4312e020
BK
312glibcxx_prefixdir = @glibcxx_prefixdir@
313glibcxx_srcdir = @glibcxx_srcdir@
4312e020
BK
314glibcxx_toolexecdir = @glibcxx_toolexecdir@
315glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
316gxx_include_dir = @gxx_include_dir@
317host = @host@
318host_alias = @host_alias@
319host_cpu = @host_cpu@
320host_os = @host_os@
321host_vendor = @host_vendor@
b25e6b79
BK
322
323# HTML
324htmldir = "$(DESTDIR)@docdir@"
4312e020 325includedir = @includedir@
b25e6b79
BK
326
327# TEXINFO,INFO
328infodir = "$(DESTDIR)@infodir@"
4312e020
BK
329install_sh = @install_sh@
330libdir = @libdir@
331libexecdir = @libexecdir@
332libtool_VERSION = @libtool_VERSION@
5213506e 333localedir = @localedir@
4312e020 334localstatedir = @localstatedir@
7de6ba7a 335lt_host_flags = @lt_host_flags@
b25e6b79
BK
336
337# MAN
338mandir = "$(DESTDIR)@mandir@"
4312e020
BK
339mkdir_p = @mkdir_p@
340multi_basedir = @multi_basedir@
341oldincludedir = @oldincludedir@
b25e6b79
BK
342
343# PDF
344pdfdir = "$(DESTDIR)@docdir@"
4312e020
BK
345port_specific_symbol_files = @port_specific_symbol_files@
346prefix = @prefix@
347program_transform_name = @program_transform_name@
5213506e 348psdir = @psdir@
2a5d011c 349python_mod_dir = @python_mod_dir@
4312e020
BK
350sbindir = @sbindir@
351sharedstatedir = @sharedstatedir@
5213506e 352srcdir = @srcdir@
4312e020
BK
353sysconfdir = @sysconfdir@
354target = @target@
355target_alias = @target_alias@
356target_cpu = @target_cpu@
357target_os = @target_os@
358target_vendor = @target_vendor@
1183dc2c 359thread_header = @thread_header@
a2c5150e 360tmake_file = @tmake_file@
5213506e
RW
361top_build_prefix = @top_build_prefix@
362top_builddir = @top_builddir@
363top_srcdir = @top_srcdir@
5d1c8e77 364toplevel_builddir = @toplevel_builddir@
4312e020
BK
365toplevel_srcdir = @toplevel_srcdir@
366
367# May be used by various substitution variables.
3c36aa6b 368gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
4312e020
BK
369MAINT_CHARSET = latin1
370mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
371PWD_COMMAND = $${PWDCMD-pwd}
372STAMP = echo timestamp >
373toolexecdir = $(glibcxx_toolexecdir)
374toolexeclibdir = $(glibcxx_toolexeclibdir)
b124c5c4 375@ENABLE_WERROR_FALSE@WERROR_FLAG =
c3be340e 376@ENABLE_WERROR_TRUE@WERROR_FLAG = -Werror
2077db1b
CT
377@ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS =
378@ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates
7c1e7eed
JW
379@GLIBCXX_LDBL_ALT128_COMPAT_FALSE@LDBL_128_FLAGS =
380@GLIBCXX_LDBL_ALT128_COMPAT_TRUE@LDBL_128_FLAGS = $(LONG_DOUBLE_128_FLAGS)
4312e020
BK
381
382# These bits are all figured out from configure. Look in acinclude.m4
383# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
384CONFIG_CXXFLAGS = \
7c1e7eed 385 $(SECTION_FLAGS) $(HWCAP_CFLAGS) -frandom-seed=$@ $(LDBL_128_FLAGS)
4312e020
BK
386
387WARN_CXXFLAGS = \
b124c5c4 388 $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
4312e020
BK
389
390
391# -I/-D flags to pass when compiling.
74b7ec8c 392AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS)
b25e6b79
BK
393@BUILD_XML_FALSE@STAMP_XML =
394
395# Documentation Overview
396#
397# There are two main input materials for libstdc++ documentation.
398# The first is the doxygen markup in libstdc++ sources, which is a
399# reference to the API. And the second is the manual, via docbook markup in
400# doc/xml/.
401#
402# A third and more obscure option deals with charting performance
403# tests, and should be considered experimental.
404
405# Documentation conditionals for output.
406@BUILD_XML_TRUE@STAMP_XML = doc-xml
407@BUILD_XML_FALSE@STAMP_INSTALL_XML =
408@BUILD_XML_TRUE@STAMP_INSTALL_XML = doc-install-xml
409@BUILD_HTML_FALSE@STAMP_HTML =
410@BUILD_HTML_TRUE@STAMP_HTML = doc-html
411@BUILD_HTML_FALSE@STAMP_INSTALL_HTML =
412@BUILD_HTML_TRUE@STAMP_INSTALL_HTML = doc-install-html
413@BUILD_MAN_FALSE@STAMP_MAN =
414@BUILD_MAN_TRUE@STAMP_MAN = doc-man
415@BUILD_MAN_FALSE@STAMP_INSTALL_MAN =
416@BUILD_MAN_TRUE@STAMP_INSTALL_MAN = doc-install-man
417@BUILD_PDF_FALSE@STAMP_PDF =
418@BUILD_PDF_TRUE@STAMP_PDF = doc-pdf
419@BUILD_PDF_FALSE@STAMP_INSTALL_PDF =
420@BUILD_PDF_TRUE@STAMP_INSTALL_PDF = doc-install-pdf
421@BUILD_EPUB_FALSE@STAMP_EPUB = doc-epub
422@BUILD_EPUB_TRUE@STAMP_EPUB = doc-epub
423@BUILD_EPUB_FALSE@STAMP_INSTALL_EPUB = doc-install-epub
424@BUILD_EPUB_TRUE@STAMP_INSTALL_EPUB = doc-install-epub
425
426# Default creation and installation rules.
427# Point to best sub-rule for the requested documentation target and
428# create, and then install toplevel directory with standardized names
429# and layouts.
430
431# XML
432xmldir = "$(DESTDIR)@docdir@"
433
434# EPUB
435# Assumes ruby installed
436epubdir = "$(DESTDIR)@docdir@"
4312e020 437
8a165db0 438# Doxygen configuration
0f752f44 439# Assumes doxygen, graphviz (with dot), pdflatex installed
03a32789
BK
440doxygen_script = ${top_srcdir}/scripts/run_doxygen
441doxygen_outdir = ${glibcxx_builddir}/doc/doxygen
81df260f 442api_xml = ${doxygen_outdir}/xml/libstdc++-api.xml
0f752f44 443doxygen_pdf = ${doxygen_outdir}/latex/refman.pdf
5ab3a5af 444api_pdf = ${doxygen_outdir}/pdf/libstdc++-api.pdf
0f752f44 445
8a165db0
BK
446# Docbook configuration.
447# Assumes
448# libxslt
0f752f44
BK
449# dblatex
450# pdflatex
8a165db0 451# docbook-style-xsl
0f752f44 452# emacs-nxml-mode
03a32789 453docbook_outdir = ${glibcxx_builddir}/doc/docbook
0f752f44
BK
454xml_dir = ${glibcxx_srcdir}/doc/xml
455xml_sources_basic = \
456 ${xml_dir}/spine.xml \
457 ${xml_dir}/authors.xml \
458 ${xml_dir}/api.xml \
459 ${xml_dir}/faq.xml
460
461xml_sources_manual = \
462 ${xml_dir}/manual/abi.xml \
463 ${xml_dir}/manual/algorithms.xml \
464 ${xml_dir}/manual/allocator.xml \
465 ${xml_dir}/manual/auto_ptr.xml \
466 ${xml_dir}/manual/atomics.xml \
467 ${xml_dir}/manual/backwards_compatibility.xml \
468 ${xml_dir}/manual/bitmap_allocator.xml \
469 ${xml_dir}/manual/build_hacking.xml \
470 ${xml_dir}/manual/codecvt.xml \
471 ${xml_dir}/manual/concurrency.xml \
472 ${xml_dir}/manual/concurrency_extensions.xml \
473 ${xml_dir}/manual/configure.xml \
474 ${xml_dir}/manual/containers.xml \
475 ${xml_dir}/manual/ctype.xml \
476 ${xml_dir}/manual/debug_mode.xml \
477 ${xml_dir}/manual/debug.xml \
478 ${xml_dir}/manual/diagnostics.xml \
d2b0caaa 479 ${xml_dir}/manual/documentation_hacking.xml \
0f752f44
BK
480 ${xml_dir}/manual/evolution.xml \
481 ${xml_dir}/manual/extensions.xml \
482 ${xml_dir}/manual/internals.xml \
483 ${xml_dir}/manual/intro.xml \
484 ${xml_dir}/manual/io.xml \
485 ${xml_dir}/manual/iterators.xml \
486 ${xml_dir}/manual/locale.xml \
487 ${xml_dir}/manual/localization.xml \
488 ${xml_dir}/manual/messages.xml \
489 ${xml_dir}/manual/mt_allocator.xml \
490 ${xml_dir}/manual/numerics.xml \
491 ${xml_dir}/manual/parallel_mode.xml \
ce1140e3 492 ${xml_dir}/manual/policy_data_structures.xml \
74080cba 493 ${xml_dir}/manual/policy_data_structures_biblio.xml \
0f752f44 494 ${xml_dir}/manual/prerequisites.xml \
0f752f44
BK
495 ${xml_dir}/manual/shared_ptr.xml \
496 ${xml_dir}/manual/spine.xml \
497 ${xml_dir}/manual/status_cxx1998.xml \
f25481f4 498 ${xml_dir}/manual/status_cxx2011.xml \
109a3af4 499 ${xml_dir}/manual/status_cxx2014.xml \
57ede05c
JW
500 ${xml_dir}/manual/status_cxx2017.xml \
501 ${xml_dir}/manual/status_cxx2020.xml \
0f752f44
BK
502 ${xml_dir}/manual/status_cxxtr1.xml \
503 ${xml_dir}/manual/status_cxxtr24733.xml \
504 ${xml_dir}/manual/strings.xml \
505 ${xml_dir}/manual/support.xml \
506 ${xml_dir}/manual/test.xml \
ce1140e3 507 ${xml_dir}/manual/test_policy_data_structures.xml \
0f752f44
BK
508 ${xml_dir}/manual/using.xml \
509 ${xml_dir}/manual/using_exceptions.xml \
510 ${xml_dir}/manual/utilities.xml \
511 ${xml_dir}/manual/appendix_free.xml \
512 ${xml_dir}/manual/appendix_contributing.xml \
513 ${xml_dir}/manual/appendix_porting.xml
8a165db0
BK
514
515xml_sources_extra = \
669b5857 516 ${xml_dir}/gnu/fdl-1.3.xml \
60f8b2e2 517 ${xml_dir}/gnu/gpl-3.0.xml
0f752f44
BK
518
519xml_sources = \
520 ${xml_sources_basic} \
521 ${xml_sources_manual} \
522 ${xml_sources_extra}
8a165db0 523
154c4a08
BK
524xml_image_dir = ${xml_dir}/images
525xml_image_basic = \
526 ${xml_image_dir}/confdeps.png \
527 ${xml_image_dir}/pbds_balls_and_bins.png \
528 ${xml_image_dir}/pbds_container_tag_hierarchy.png \
529 ${xml_image_dir}/pbds_different_underlying_dss_1.png \
530 ${xml_image_dir}/pbds_different_underlying_dss_2.png \
531 ${xml_image_dir}/pbds_embedded_lists_1.png \
532 ${xml_image_dir}/pbds_embedded_lists_2.png \
533 ${xml_image_dir}/pbds_embedded_lists_3.png \
534 ${xml_image_dir}/pbds_exception_hierarchy.png \
535 ${xml_image_dir}/pbds_hash_policy_cd.png \
536 ${xml_image_dir}/pbds_hash_ranged_hash_range_hashing_fns.png \
537 ${xml_image_dir}/pbds_hash_range_hashing_seq_diagram2.png \
538 ${xml_image_dir}/pbds_hash_range_hashing_seq_diagram.png \
539 ${xml_image_dir}/pbds_insert_resize_sequence_diagram1.png \
540 ${xml_image_dir}/pbds_insert_resize_sequence_diagram2.png \
541 ${xml_image_dir}/pbds_insert_resize_sequence_diagram3.png \
542 ${xml_image_dir}/pbds_invalidation_guarantee_erase.png \
543 ${xml_image_dir}/pbds_invalidation_tag_hierarchy.png \
544 ${xml_image_dir}/pbds_list_update.png \
545 ${xml_image_dir}/pbds_node_invariants.png \
546 ${xml_image_dir}/pbds_pat_trie.png \
547 ${xml_image_dir}/pbds_point_iterator_hierarchy.png \
548 ${xml_image_dir}/pbds_point_iterators_range_ops_1.png \
549 ${xml_image_dir}/pbds_point_iterators_range_ops_2.png \
550 ${xml_image_dir}/pbds_priority_queue_different_underlying_dss.png \
551 ${xml_image_dir}/pbds_priority_queue_tag_hierarchy.png \
552 ${xml_image_dir}/pbds_rationale_null_node_updator.png \
553 ${xml_image_dir}/pbds_resize_policy_cd.png \
554 ${xml_image_dir}/pbds_restoring_node_invariants.png \
555 ${xml_image_dir}/pbds_simple_list.png \
556 ${xml_image_dir}/pbds_tree_node_invalidations.png \
557 ${xml_image_dir}/pbds_tree_node_invariants.png \
558 ${xml_image_dir}/pbds_tree_node_updator_policy_cd.png \
559 ${xml_image_dir}/pbds_trie_node_updator_policy_cd.png \
696d4bc1 560 ${xml_image_dir}/pbds_update_seq_diagram.png
154c4a08
BK
561
562xml_image_generated = \
563 ${xml_image_dir}/pbds_binary_priority_queue_int_push_pop.png \
564 ${xml_image_dir}/pbds_binary_priority_queue_int_push.png \
565 ${xml_image_dir}/pbds_ccgp_hash_int_subscript_insert.png \
566 ${xml_image_dir}/pbds_cc_hash_int_find.png \
567 ${xml_image_dir}/pbds_cc_hash_int_subscript_find.png \
568 ${xml_image_dir}/pbds_cc_hash_int_subscript_insert.png \
569 ${xml_image_dir}/pbds_gp_hash_int_find.png \
570 ${xml_image_dir}/pbds_gp_hash_int_subscript_find.png \
571 ${xml_image_dir}/pbds_gp_hash_int_subscript_insert.png \
572 ${xml_image_dir}/pbds_hash_int_erase_mem.png \
573 ${xml_image_dir}/pbds_hash_text_find.png \
574 ${xml_image_dir}/pbds_hash_zlob_int_find.png \
575 ${xml_image_dir}/pbds_multimap_text_find_large_s2p_hash.png \
576 ${xml_image_dir}/pbds_multimap_text_find_large_s2p_tree.png \
577 ${xml_image_dir}/pbds_multimap_text_find_small_s2p_hash.png \
578 ${xml_image_dir}/pbds_multimap_text_find_small_s2p_tree.png \
579 ${xml_image_dir}/pbds_multimap_text_insert_large_s2p_hash.png \
580 ${xml_image_dir}/pbds_multimap_text_insert_large_s2p_tree.png \
581 ${xml_image_dir}/pbds_multimap_text_insert_mem_large_s2p_hash.png \
582 ${xml_image_dir}/pbds_multimap_text_insert_mem_large_s2p_tree.png \
583 ${xml_image_dir}/pbds_multimap_text_insert_mem_small_s2p_hash.png \
584 ${xml_image_dir}/pbds_multimap_text_insert_mem_small_s2p_tree.png \
585 ${xml_image_dir}/pbds_multimap_text_insert_small_s2p_hash.png \
586 ${xml_image_dir}/pbds_multimap_text_insert_small_s2p_tree.png \
587 ${xml_image_dir}/pbds_pairing_priority_queue_text_modify_down_thin.png \
588 ${xml_image_dir}/pbds_pairing_priority_queue_text_modify_up_thin.png \
589 ${xml_image_dir}/pbds_pairing_priority_queue_text_push_pop.png \
590 ${xml_image_dir}/pbds_pairing_priority_queue_text_push.png \
591 ${xml_image_dir}/pbds_priority_queue_int_push_pop.png \
592 ${xml_image_dir}/pbds_priority_queue_int_push.png \
593 ${xml_image_dir}/pbds_priority_queue_text_join.png \
594 ${xml_image_dir}/pbds_priority_queue_text_modify_down.png \
595 ${xml_image_dir}/pbds_priority_queue_text_modify_up.png \
596 ${xml_image_dir}/pbds_priority_queue_text_pop_mem.png \
597 ${xml_image_dir}/pbds_priority_queue_text_push_pop.png \
598 ${xml_image_dir}/pbds_priority_queue_text_push.png \
599 ${xml_image_dir}/pbds_tree_int_find.png \
600 ${xml_image_dir}/pbds_tree_order_statistics.png \
601 ${xml_image_dir}/pbds_tree_split_join.png \
602 ${xml_image_dir}/pbds_tree_text_find.png \
603 ${xml_image_dir}/pbds_tree_text_insert_node.png \
604 ${xml_image_dir}/pbds_tree_text_insert_trie.png \
605 ${xml_image_dir}/pbds_tree_text_insert_vector.png \
606 ${xml_image_dir}/pbds_tree_text_lor_find.png
607
608xml_images = ${xml_image_basic} ${xml_image_generated}
8a165db0 609xml_noinst = \
0f752f44
BK
610 ${xml_dir}/book.txml \
611 ${xml_dir}/chapter.txml \
d2b0caaa 612 ${xml_dir}/class.txml \
154c4a08
BK
613 ${xml_image_dir}/confdeps.dot \
614 ${xml_image_dir}/confdeps.pdf
8a165db0 615
ce1140e3 616XSLT_FLAGS = --nonet --xinclude
109a3af4 617XSLT_PARAM = --param toc.section.depth 4 --param generate.consistent.ids 1
b329dd10
BK
618#XSL_STYLE_DIR = /usr/share/xml/docbook/stylesheet/docbook-xsl-ns
619#XSL_STYLE_DIR = /usr/share/sgml/docbook/xsl-ns-stylesheets
8a165db0 620XSL_FO_STYLE = $(XSL_STYLE_DIR)/fo/docbook.xsl
27f36b78 621XSL_HTML_STYLE = $(XSL_STYLE_DIR)/xhtml/chunk.xsl
8d24c975 622XSL_HTML_SINGLE_STYLE = $(XSL_STYLE_DIR)/html/docbook.xsl
43fe49ec 623XSL_EPUB_STYLE = $(XSL_STYLE_DIR)/epub3/chunk.xsl
8d24c975 624XSL_LOCAL_STYLE = ${glibcxx_builddir}/doc/xsl/customization.xsl
547f963b
BK
625
626# XML, all one page
627# Some info on canonicalization
628# http://www.mail-archive.com/help-texinfo@gnu.org/msg00864.html
81df260f
BK
629manual_xml = ${docbook_outdir}/xml/libstdc++-manual.xml
630set_xml = ${docbook_outdir}/xml/libstdc++-set.xml
74080cba
BK
631LINT_FLAGS = --debug --xinclude --noent --noblanks --noout
632SCHEMA_FLAGS = --dtdvalid http://www.docbook.org/xml/5.0/dtd/docbook.dtd
633SCHEMA_RNG_FLAGS = --relaxng http://www.docbook.org/xml/5.0/rng/docbook.rng
634#SCHEMA_FLAGS = --nonet --dtdvalid /usr/share/xxx/dtd/5.0/docbook.dtd
635XMLLINT_VALID_FLAGS = $(LINT_FLAGS) $(SCHEMA_FLAGS)
636XMLLINT_FLAGS = --xinclude --nsclean --c14n --noent --noblanks --nocdata
8a165db0 637
5bca11c4 638# HTML, all one page
8d24c975 639# NB: Have to generate customization XSL for UTF-8 output.
5bca11c4 640manual_html = ${docbook_outdir}/html/libstdc++-manual-single.html
8a165db0 641
5bca11c4
BK
642# PDF, via dblatex
643manual_pdf = ${docbook_outdir}/pdf/libstdc++-manual.pdf
74080cba 644DBLATEX_FLAGS = --verbose --pdf --dump --debug --tmpdir=${docbook_outdir}/latex
03a32789 645
b25e6b79
BK
646# TEXINFO, via docbook2X
647# NB: Both experimental and tempermental
648manual_texi = ${docbook_outdir}/texinfo/libstdc++-manual.texi
649manual_info = ${docbook_outdir}/texinfo/libstdc++-manual.info
547f963b
BK
650DB2TEXI_FLAGS = \
651 --encoding=utf-8//TRANSLIT \
652 --string-param output-file="libstdc++-manual" \
653 --string-param directory-category="GNU C++ Library" \
7d8cafcd 654 --string-param explicit-node-names=true
547f963b
BK
655
656
43fe49ec
BK
657# EPUB version 3
658# http://sourceforge.net/projects/docbook/files/epub3/
659# Can verify document with epubcheck
b25e6b79
BK
660manual_epub = ${docbook_outdir}/epub/libstdc++-manual.epub
661
03a32789
BK
662# Performance doc and graph configuration.
663# Assumes pychart, beautiful soup installed.
154c4a08
BK
664# Generates the plots/graph imagery for performance testing.
665doc_performance_script = ${top_srcdir}/scripts/make_graph.py
40e053e3 666
4312e020 667# By adding these files here, automake will remove them for 'make clean'
b25e6b79 668CLEANFILES = *.log stamp*
4312e020
BK
669all: all-am
670
671.SUFFIXES:
672$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
673 @for dep in $?; do \
674 case '$(am__configure_deps)' in \
675 *$$dep*) \
5213506e
RW
676 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
677 && { if test -f $@; then exit 0; else break; fi; }; \
4312e020
BK
678 exit 1;; \
679 esac; \
680 done; \
5213506e
RW
681 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps doc/Makefile'; \
682 $(am__cd) $(top_srcdir) && \
683 $(AUTOMAKE) --foreign --ignore-deps doc/Makefile
4312e020
BK
684Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
685 @case '$?' in \
686 *config.status*) \
687 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
688 *) \
689 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
690 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
691 esac;
22e05272 692$(top_srcdir)/fragment.am $(am__empty):
4312e020
BK
693
694$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
695 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
696
697$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
698 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
699$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
700 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
5213506e 701$(am__aclocal_m4_deps):
4312e020
BK
702
703mostlyclean-libtool:
704 -rm -f *.lo
705
706clean-libtool:
707 -rm -rf .libs _libs
22e05272
JM
708tags TAGS:
709
710ctags CTAGS:
4312e020 711
22e05272 712cscope cscopelist:
4312e020 713
4312e020
BK
714check-am: all-am
715check: check-am
716all-am: Makefile
717installdirs:
718install: install-am
719install-exec: install-exec-am
720install-data: install-data-am
721uninstall: uninstall-am
722
723install-am: all-am
724 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
725
726installcheck: installcheck-am
727install-strip:
6ef93676
MH
728 if test -z '$(STRIP)'; then \
729 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
730 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
731 install; \
732 else \
733 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
734 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
735 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
736 fi
4312e020
BK
737mostlyclean-generic:
738
739clean-generic:
740 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
741
742distclean-generic:
743 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
5213506e 744 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
4312e020
BK
745
746maintainer-clean-generic:
747 @echo "This command is intended for maintainers to use"
748 @echo "it deletes files that may require special tools to rebuild."
749clean: clean-am
750
751clean-am: clean-generic clean-libtool clean-local mostlyclean-am
752
753distclean: distclean-am
754 -rm -f Makefile
5213506e 755distclean-am: clean-am distclean-generic
4312e020 756
4312e020
BK
757dvi-am:
758
5213506e
RW
759html-am:
760
4312e020
BK
761info-am:
762
763install-data-am:
764
5213506e
RW
765install-dvi-am:
766
4312e020
BK
767install-exec-am:
768
5213506e
RW
769install-html-am:
770
5213506e
RW
771install-info-am:
772
5213506e
RW
773install-pdf-am:
774
5213506e
RW
775install-ps-am:
776
4312e020
BK
777installcheck-am:
778
779maintainer-clean: maintainer-clean-am
780 -rm -f Makefile
781maintainer-clean-am: distclean-am maintainer-clean-generic
782
783mostlyclean: mostlyclean-am
784
785mostlyclean-am: mostlyclean-generic mostlyclean-libtool
786
4312e020
BK
787pdf-am:
788
4312e020
BK
789ps-am:
790
5213506e
RW
791uninstall-am:
792
793.MAKE: install-am install-strip
4312e020
BK
794
795.PHONY: all all-am check check-am clean clean-generic clean-libtool \
22e05272
JM
796 clean-local cscopelist-am ctags-am distclean distclean-generic \
797 distclean-libtool dvi dvi-am html html-am info info-am install \
798 install-am install-data install-data-am install-dvi \
799 install-dvi-am install-exec install-exec-am install-html \
800 install-html-am install-info install-info-am install-man \
801 install-pdf install-pdf-am install-ps install-ps-am \
802 install-strip installcheck installcheck-am installdirs \
803 maintainer-clean maintainer-clean-generic mostlyclean \
804 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
805 tags-am uninstall uninstall-am
806
807.PRECIOUS: Makefile
4312e020 808
03a32789 809
b25e6b79 810# Documentation primary rules.
7d8cafcd 811#
b25e6b79
BK
812# xml:
813# html:
814# pdf:
815# man:
816# info:
817# ps:
818# dvi:
819# epub:
820# install-xml:
821# install-html:
822# install-pdf:
823# install-man:
824# install-info:
825# install-ps:
826# install-dvi:
827# install-epub:
5bca11c4 828
b25e6b79
BK
829xml: $(STAMP_XML)
830install-xml: $(STAMP_INSTALL_XML)
03a32789 831
b25e6b79
BK
832html: $(STAMP_HTML)
833install-html: $(STAMP_INSTALL_HTML)
7d8cafcd 834
b25e6b79
BK
835man: $(STAMP_MAN)
836install-man: $(STAMP_INSTALL_MAN)
03a32789 837
b25e6b79
BK
838pdf: $(STAMP_PDF)
839install-pdf: $(STAMP_INSTALL_PDF)
03a32789 840
b25e6b79
BK
841epub: $(STAMP_EPUB)
842install-epub: $(STAMP_INSTALL_EPUB)
547f963b 843
b25e6b79
BK
844info:
845install-info:
7d8cafcd 846
b25e6b79
BK
847ps:
848install-ps:
4312e020 849
b25e6b79
BK
850dvi:
851install-dvi:
852stamp-xml: stamp-xml-single-docbook stamp-xml-single-doxygen
853 $(STAMP) stamp-xml
854
855doc-xml: stamp-xml
856
857doc-install-xml: doc-xml
858 test -z ${xmldir} || $(mkinstalldirs) ${xmldir}
859 $(INSTALL_DATA) ${manual_xml} ${xmldir}
860 $(INSTALL_DATA) ${api_xml} ${xmldir}
a6aff075 861stamp-html: stamp-html-docbook-data stamp-html-doxygen
b25e6b79
BK
862 $(STAMP) stamp-html
863
864doc-html: stamp-html
865
866doc-install-html: doc-html
867 test -z ${htmldir} || $(mkinstalldirs) ${htmldir}
868 cp -r ${docbook_outdir}/html ${htmldir}/libstdc++-manual.html;
869 cp -r ${doxygen_outdir}/html ${htmldir}/libstdc++-api.html;
870stamp-pdf: stamp-pdf-docbook stamp-pdf-doxygen
871 $(STAMP) stamp-pdf
872
873doc-pdf: stamp-pdf
874
875doc-install-pdf: doc-pdf
876 test -z ${pdfdir} || $(mkinstalldirs) ${pdfdir}
877 $(INSTALL_DATA) ${docbook_outdir}/pdf/libstdc++-manual.pdf ${pdfdir}
878 $(INSTALL_DATA) ${doxygen_outdir}/pdf/libstdc++-api.pdf ${pdfdir}
879stamp-man: stamp-man-doxygen
880 $(STAMP) stamp-man
881
882doc-man: stamp-man
883
884doc-install-man: doc-man
885 test -z ${mandir} || $(mkinstalldirs) ${mandir}
886 cp -r ${doxygen_outdir}/man/man3 ${mandir}
887stamp-texinfo: stamp-texinfo-docbook
888 $(STAMP) stamp-texinfo
889
890stamp-info: stamp-info-docbook
891 $(STAMP) stamp-info
892
893doc-texinfo: stamp-texinfo
894
895doc-info: stamp-info
896
897doc-install-texinfo: doc-texinfo
898 test -z ${infodir} || $(mkinstalldirs) ${infodir}
899 $(INSTALL_DATA) ${manual_texi} ${infodir}
900
901doc-install-info: doc-info
902 test -z ${infodir} || $(mkinstalldirs) ${infodir}
903 $(INSTALL_DATA) ${manual_info} ${infodir}
904stamp-epub: stamp-epub-docbook
905 $(STAMP) stamp-epub
906
907doc-epub: stamp-epub
8a165db0 908
b25e6b79
BK
909doc-install-epub: doc-epub
910 test -z ${epubdir} || $(mkinstalldirs) ${epubdir}
911 $(INSTALL_DATA) ${manual_epub} ${epubdir}
912
913${doxygen_outdir}/xml:
914 mkdir -p ${doxygen_outdir}/xml
915
916${doxygen_outdir}/html:
917 mkdir -p ${doxygen_outdir}/html
918
919${doxygen_outdir}/latex:
920 mkdir -p ${doxygen_outdir}/latex
921
922${doxygen_outdir}/pdf:
923 mkdir -p ${doxygen_outdir}/pdf
924
925${doxygen_outdir}/man:
926 mkdir -p ${doxygen_outdir}/man
927
928stamp-xml-doxygen: ${doxygen_outdir}/xml
04d392e8
JW
929 -srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
930 builddir=`cd ..; ${PWD_COMMAND}`; \
03a32789 931 ${SHELL} ${doxygen_script} \
e3b6d3a8 932 --host_alias=${host_alias} --mode=xml \
04d392e8 933 "$${srcdir}" "$${builddir}" NO
b25e6b79
BK
934 $(STAMP) stamp-xml-doxygen
935
936stamp-xml-single-doxygen: stamp-xml-doxygen
8a165db0 937 @echo "Generating doxygen xml single file..."
03a32789 938 $(XSLTPROC) ${doxygen_outdir}/xml/combine.xslt \
7d8cafcd 939 ${doxygen_outdir}/xml/index.xml > ${api_xml};
b25e6b79 940 $(STAMP) stamp-xml-single-doxygen
0f752f44 941
b25e6b79 942stamp-html-doxygen: ${doxygen_outdir}/html
04d392e8
JW
943 -srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
944 builddir=`cd ..; ${PWD_COMMAND}`; \
0f752f44 945 ${SHELL} ${doxygen_script} \
e3b6d3a8 946 --host_alias=${host_alias} --mode=html \
04d392e8 947 "$${srcdir}" "$${builddir}" YES
b25e6b79 948 $(STAMP) stamp-html-doxygen
0f752f44 949
b25e6b79 950stamp-latex-doxygen: ${doxygen_outdir}/latex
04d392e8
JW
951 -srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
952 builddir=`cd ..; ${PWD_COMMAND}`; \
b25e6b79 953 ${SHELL} ${doxygen_script} \
e3b6d3a8 954 --host_alias=${host_alias} --mode=latex --latex_cmd=$(LATEX_CMD) \
04d392e8 955 "$${srcdir}" "$${builddir}" NO
b25e6b79 956 $(STAMP) stamp-latex-doxygen
5ab3a5af 957
b25e6b79
BK
958# Chance of loooooonnggg creation time on this rule. Iff this fails,
959# look at refman.log and see if TeX's memory is exhausted. Symptoms
960# include asking a wizard to enlarge capacity. If this is the case,
961# find texmf.cnf and add a zero for pool_size, string_vacancies,
e3b6d3a8
JW
962# max_strings, and pool_free values. A much simpler workaround is to
963# install lualatex and set LATEX_CMD=lualatex when running make.
5ea37bca 964# Errors like "File `foo.sty' not found" mean a TeX package is missing.
b25e6b79 965stamp-pdf-doxygen: stamp-latex-doxygen ${doxygen_outdir}/pdf
43a35b26 966 @echo "Generating doxygen pdf file...";
e3b6d3a8 967 -$(MAKE) -C ${doxygen_outdir}/latex -i pdf
43a35b26 968 @if [ -f ${doxygen_pdf} ]; then \
5ab3a5af
BK
969 mv ${doxygen_pdf} ${api_pdf} ; \
970 echo ":: PDF file is ${api_pdf}"; \
0f752f44
BK
971 else \
972 echo "... error"; \
5ea37bca 973 grep -F 'LaTeX Error' ${doxygen_outdir}/latex/refman.log; \
be8d5f99 974 grep -F 'TeX capacity exceeded, sorry' ${doxygen_outdir}/latex/refman.log; \
0f752f44
BK
975 exit 12; \
976 fi
60f8b2e2
BK
977 $(STAMP) stamp-pdf-doxygen
978
b25e6b79 979stamp-man-doxygen: ${doxygen_outdir}/man
04d392e8
JW
980 -srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
981 builddir=`cd ..; ${PWD_COMMAND}`; \
b25e6b79 982 ${SHELL} ${doxygen_script} \
e3b6d3a8 983 --host_alias=${host_alias} --mode=man \
04d392e8 984 "$${srcdir}" "$${builddir}" YES
b25e6b79 985 $(STAMP) stamp-man-doxygen
0f752f44 986
b25e6b79
BK
987doc-xml-doxygen: stamp-xml-doxygen
988doc-xml-single-doxygen: stamp-xml-single-doxygen
989doc-html-doxygen: stamp-html-doxygen
990doc-latex-doxygen: stamp-latex-doxygen
991doc-pdf-doxygen: stamp-pdf-doxygen
992doc-man-doxygen: stamp-man-doxygen
993
994${docbook_outdir}/epub:
995 mkdir -p ${docbook_outdir}/epub
43fe49ec 996 mkdir -p ${docbook_outdir}/epub/OEBPS/images
4312e020 997
547f963b
BK
998${docbook_outdir}/fo:
999 mkdir -p ${docbook_outdir}/fo
1000
03a32789
BK
1001${docbook_outdir}/html:
1002 mkdir -p ${docbook_outdir}/html
a6aff075 1003 mkdir -p ${docbook_outdir}/html/images
5e3a0ed1 1004 mkdir -p ${docbook_outdir}/html/manual
8a165db0 1005
03a32789
BK
1006${docbook_outdir}/pdf:
1007 mkdir -p ${docbook_outdir}/pdf
8a165db0 1008
74080cba
BK
1009${docbook_outdir}/latex:
1010 mkdir -p ${docbook_outdir}/latex
1011
547f963b
BK
1012${docbook_outdir}/texinfo:
1013 mkdir -p ${docbook_outdir}/texinfo
8a165db0 1014
03a32789
BK
1015${docbook_outdir}/xml:
1016 mkdir -p ${docbook_outdir}/xml
b25e6b79 1017stamp-xml-single-docbook: $(xml_sources) ${docbook_outdir}/xml
8a165db0 1018 @echo "Generating XML single..."
b25e6b79
BK
1019 $(XMLLINT) $(XMLLINT_FLAGS) \
1020 ${top_srcdir}/doc/xml/manual/spine.xml > ${manual_xml};
1021 $(XMLLINT) $(XMLLINT_FLAGS) \
1022 ${top_srcdir}/doc/xml/spine.xml > ${set_xml};
b25e6b79
BK
1023 $(STAMP) stamp-xml-single-docbook
1024
1025doc-xml-single-docbook: stamp-xml-single-docbook
74080cba
BK
1026doc-xml-validate-docbook: doc-xml-validate-dtd-db
1027
1028doc-xml-validate-dtd-db: $(xml_sources) $(xml_images)
1029 @echo "Generating XML validation log..."
1030 $(XMLLINT) $(XMLLINT_VALID_FLAGS) ${top_srcdir}/doc/xml/spine.xml
1031
1032doc-xml-validate-rng-db: $(xml_sources) $(xml_images) doc-xml-single-docbook
1033 @echo "Generating XML RelaxNG validation log..."
1034 $(XMLLINT) $(LINT_FLAGS) $(SCHEMA_RNG_FLAGS) ${set_xml}
8a165db0 1035
a6aff075
BK
1036# HTML support files
1037stamp-html-docbook-images: stamp-html-docbook $(xml_images)
1038 $(INSTALL_DATA) $(xml_images) ${docbook_outdir}/html/images
1039 $(STAMP) stamp-html-docbook-images
1040
ca314fbd 1041stamp-html-docbook-data: stamp-html-docbook-images
a6aff075
BK
1042 $(STAMP) stamp-html-docbook-data
1043
8d24c975 1044# HTML, "chunked" into index plus chapters as separate pages
b25e6b79 1045stamp-html-docbook: $(xml_sources) ${docbook_outdir}/html
8a165db0 1046 @echo "Generating html files..."
ce1140e3 1047 $(XSLTPROC) $(XSLT_PARAM) $(XSLT_FLAGS) -o ${docbook_outdir}/html/ \
8d24c975
BK
1048 --stringparam chunker.output.encoding UTF-8 \
1049 $(XSL_HTML_STYLE) \
1050 ${top_srcdir}/doc/xml/spine.xml
b25e6b79
BK
1051 $(STAMP) stamp-html-docbook
1052
a6aff075 1053doc-html-docbook: stamp-html-docbook-data
07f37a7f
JW
1054
1055# Generate the HTML pages and copy them back to the source tree.
1056doc-html-docbook-regenerate: doc-html-docbook
1057 $(INSTALL_DATA) ${docbook_outdir}/html/*.html ${top_srcdir}/doc/html
1058 $(INSTALL_DATA) ${docbook_outdir}/html/images/* ${top_srcdir}/doc/html/images
1059 $(INSTALL_DATA) ${docbook_outdir}/html/manual/*.html ${top_srcdir}/doc/html/manual
b25e6b79 1060stamp-html-single-docbook: $(xml_sources) ${docbook_outdir}/html
8a165db0 1061 @echo "Generating html single file..."
ce1140e3 1062 $(XSLTPROC) $(XSLT_PARAM) $(XSLT_FLAGS) -o ${manual_html} \
8d24c975
BK
1063 ${XSL_LOCAL_STYLE} \
1064 ${top_srcdir}/doc/xml/spine.xml
b25e6b79
BK
1065 $(STAMP) stamp-html-single-docbook
1066
1067doc-html-single-docbook: stamp-html-single-docbook
8a165db0
BK
1068
1069# FO
b25e6b79 1070stamp-fo-docbook: $(xml_sources) ${docbook_outdir}/fo
8a165db0 1071 @echo "Generating FO files..."
ce1140e3 1072 $(XSLTPROC) $(XSLT_FLAGS) -o ${docbook_outdir}/fo/spine.fo \
8a165db0 1073 $(XSL_FO_STYLE) ${top_srcdir}/doc/xml/spine.xml
b25e6b79 1074 $(STAMP) stamp-fo-docbook
5bca11c4 1075
b25e6b79 1076doc-fo-docbook: stamp-fo-docbook
74080cba
BK
1077
1078doc-pdf-docbook-dirs: ${docbook_outdir}/pdf ${docbook_outdir}/latex
1079
1080doc-pdf-docbook-pre: $(xml_sources) doc-pdf-docbook-dirs
1081
1082stamp-pdf-docbook: doc-pdf-docbook-pre doc-xml-single-docbook
40e053e3 1083 @echo "Generating pdf dblatex files..."
74080cba
BK
1084 dblatex $(DBLATEX_FLAGS) -o ${manual_pdf} \
1085 ${top_srcdir}/doc/xml/spine.xml
b25e6b79
BK
1086 $(STAMP) stamp-pdf-docbook
1087
1088doc-pdf-docbook: stamp-pdf-docbook
1089
1090stamp-texinfo-docbook: stamp-xml-single-docbook ${docbook_outdir}/texinfo
547f963b 1091 @echo "Generating texinfo files..."
b25e6b79
BK
1092 db2x_docbook2texi $(DB2TEXI_FLAGS) ${set_xml}
1093 mv libstdc++-manual.texi ${manual_texi}
1094 $(STAMP) stamp-texinfo-docbook
1095
1096stamp-info-docbook: stamp-texinfo-docbook
1097 @echo "Generating info files..."
1098 $(MAKEINFO) $(MAKEINFOFLAGS) ${manual_texi}
1099 $(STAMP) stamp-info-docbook
1100
1101doc-texinfo-docbook: stamp-texinfo-docbook
1102
1103doc-info-docbook: stamp-info-docbook
1104stamp-epub-docbook: stamp-xml-single-docbook ${docbook_outdir}/epub
1105 @echo "Generating epub files..."
696d4bc1
BK
1106 if [ ! -d "${docbook_outdir}/images" ]; then \
1107 $(LN_S) ${top_srcdir}/doc/xml/images ${docbook_outdir}/; \
1108 fi
43fe49ec
BK
1109 $(XSLTPROC) $(XSLT_PARAM) $(XSLT_FLAGS) \
1110 --stringparam base.dir "${docbook_outdir}/epub/OEBPS/" \
1111 $(XSL_EPUB_STYLE) ${top_srcdir}/doc/xml/spine.xml
1112 $(INSTALL_DATA) $(xml_images) ${docbook_outdir}/epub/OEBPS/images
1113 zip -X0 ${manual_epub} ${docbook_outdir}/epub/mimetype
1114 zip -r -X9 ${manual_epub} ${docbook_outdir}/epub/META-INF ${docbook_outdir}/epub/OEBPS
b25e6b79
BK
1115 $(STAMP) stamp-epub-docbook
1116
1117doc-epub-docbook: stamp-epub-docbook
154c4a08 1118doc-svg-performance: ${docbook_outdir}/xml
03a32789 1119 -@(chmod + ${doc_performance_script}; \
154c4a08
BK
1120 ${doc_performance_script} \
1121 ${top_srcdir}/testsuite/data/make_graph_test_infos.xml \
03a32789 1122 ${glibcxx_builddir}/testsuite \
154c4a08 1123 ${glibcxx_builddir}/doc/docbook/xml/images)
8a165db0 1124
c4e82de9 1125.PHONY: doc-doxygen-html doc-doxygen-man doc-performance
4312e020
BK
1126
1127# To remove directories.
1128clean-local:
b25e6b79 1129 rm -rf man html pdf fo xml doxygen docbook ./libstdc++-* db2t*
5213506e 1130
4312e020
BK
1131# Tell versions [3.59,3.63) of GNU make to not export all variables.
1132# Otherwise a system limit (for SysV at least) may be exceeded.
1133.NOEXPORT: