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