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