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