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