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