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