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