OSDN Git Service

PR testsuite/46860
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / doc / Makefile.in
1 # Makefile.in generated by automake 1.11.1 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  Free Software Foundation,
6 # 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@
17 VPATH = @srcdir@
18 pkgdatadir = $(datadir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkglibexecdir = $(libexecdir)/@PACKAGE@
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 install_sh_DATA = $(install_sh) -c -m 644
24 install_sh_PROGRAM = $(install_sh) -c
25 install_sh_SCRIPT = $(install_sh) -c
26 INSTALL_HEADER = $(INSTALL_DATA)
27 transform = $(program_transform_name)
28 NORMAL_INSTALL = :
29 PRE_INSTALL = :
30 POST_INSTALL = :
31 NORMAL_UNINSTALL = :
32 PRE_UNINSTALL = :
33 POST_UNINSTALL = :
34 build_triplet = @build@
35 host_triplet = @host@
36 target_triplet = @target@
37 DIST_COMMON = $(top_srcdir)/fragment.am $(srcdir)/Makefile.in \
38         $(srcdir)/Makefile.am
39 subdir = doc
40 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41 am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
42         $(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \
43         $(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \
44         $(top_srcdir)/crossconfig.m4 $(top_srcdir)/linkage.m4 \
45         $(top_srcdir)/../config/enable.m4 \
46         $(top_srcdir)/../config/futex.m4 \
47         $(top_srcdir)/../config/iconv.m4 \
48         $(top_srcdir)/../config/lead-dot.m4 \
49         $(top_srcdir)/../config/lib-ld.m4 \
50         $(top_srcdir)/../config/lib-link.m4 \
51         $(top_srcdir)/../config/lib-prefix.m4 \
52         $(top_srcdir)/../config/lthostflags.m4 \
53         $(top_srcdir)/../config/multi.m4 \
54         $(top_srcdir)/../config/no-executables.m4 \
55         $(top_srcdir)/../config/override.m4 \
56         $(top_srcdir)/../config/stdint.m4 \
57         $(top_srcdir)/../config/unwind_ipinfo.m4 \
58         $(top_srcdir)/acinclude.m4 $(top_srcdir)/../config/gc++filt.m4 \
59         $(top_srcdir)/../config/tls.m4 $(top_srcdir)/configure.ac
60 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61         $(ACLOCAL_M4)
62 CONFIG_HEADER = $(top_builddir)/config.h
63 CONFIG_CLEAN_FILES =
64 CONFIG_CLEAN_VPATH_FILES =
65 depcomp =
66 am__depfiles_maybe =
67 SOURCES =
68 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
69 ACLOCAL = @ACLOCAL@
70 ALLOCATOR_H = @ALLOCATOR_H@
71 ALLOCATOR_NAME = @ALLOCATOR_NAME@
72 AMTAR = @AMTAR@
73 AR = @AR@
74 AS = @AS@
75 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
76 ATOMIC_FLAGS = @ATOMIC_FLAGS@
77 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
78 AUTOCONF = @AUTOCONF@
79 AUTOHEADER = @AUTOHEADER@
80 AUTOMAKE = @AUTOMAKE@
81 AWK = @AWK@
82 BASIC_FILE_CC = @BASIC_FILE_CC@
83 BASIC_FILE_H = @BASIC_FILE_H@
84 CC = @CC@
85 CCODECVT_CC = @CCODECVT_CC@
86 CCOLLATE_CC = @CCOLLATE_CC@
87 CCTYPE_CC = @CCTYPE_CC@
88 CFLAGS = @CFLAGS@
89 CLOCALE_CC = @CLOCALE_CC@
90 CLOCALE_H = @CLOCALE_H@
91 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
92 CMESSAGES_CC = @CMESSAGES_CC@
93 CMESSAGES_H = @CMESSAGES_H@
94 CMONEY_CC = @CMONEY_CC@
95 CNUMERIC_CC = @CNUMERIC_CC@
96 CPP = @CPP@
97 CPPFLAGS = @CPPFLAGS@
98 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
99 CSTDIO_H = @CSTDIO_H@
100 CTIME_CC = @CTIME_CC@
101 CTIME_H = @CTIME_H@
102 CXX = @CXX@
103 CXXCPP = @CXXCPP@
104 CXXFILT = @CXXFILT@
105 CXXFLAGS = @CXXFLAGS@
106 CYGPATH_W = @CYGPATH_W@
107 C_INCLUDE_DIR = @C_INCLUDE_DIR@
108 DEBUG_FLAGS = @DEBUG_FLAGS@
109 DEFS = @DEFS@
110 DSYMUTIL = @DSYMUTIL@
111 DUMPBIN = @DUMPBIN@
112 ECHO_C = @ECHO_C@
113 ECHO_N = @ECHO_N@
114 ECHO_T = @ECHO_T@
115 EGREP = @EGREP@
116 ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
117 EXEEXT = @EXEEXT@
118 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
119 FGREP = @FGREP@
120 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
121 GLIBCXX_LIBS = @GLIBCXX_LIBS@
122 GREP = @GREP@
123 INSTALL = @INSTALL@
124 INSTALL_DATA = @INSTALL_DATA@
125 INSTALL_PROGRAM = @INSTALL_PROGRAM@
126 INSTALL_SCRIPT = @INSTALL_SCRIPT@
127 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
128 LD = @LD@
129 LDFLAGS = @LDFLAGS@
130 LIBICONV = @LIBICONV@
131 LIBOBJS = @LIBOBJS@
132 LIBS = @LIBS@
133 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
134 LIBTOOL = @LIBTOOL@
135 LIPO = @LIPO@
136 LN_S = @LN_S@
137 LTLIBICONV = @LTLIBICONV@
138 LTLIBOBJS = @LTLIBOBJS@
139 MAINT = @MAINT@
140 MAKEINFO = @MAKEINFO@
141 MKDIR_P = @MKDIR_P@
142 NM = @NM@
143 NMEDIT = @NMEDIT@
144 OBJDUMP = @OBJDUMP@
145 OBJEXT = @OBJEXT@
146 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
147 OPT_LDFLAGS = @OPT_LDFLAGS@
148 OS_INC_SRCDIR = @OS_INC_SRCDIR@
149 OTOOL = @OTOOL@
150 OTOOL64 = @OTOOL64@
151 PACKAGE = @PACKAGE@
152 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
153 PACKAGE_NAME = @PACKAGE_NAME@
154 PACKAGE_STRING = @PACKAGE_STRING@
155 PACKAGE_TARNAME = @PACKAGE_TARNAME@
156 PACKAGE_URL = @PACKAGE_URL@
157 PACKAGE_VERSION = @PACKAGE_VERSION@
158 PATH_SEPARATOR = @PATH_SEPARATOR@
159 RANLIB = @RANLIB@
160 SECTION_FLAGS = @SECTION_FLAGS@
161 SECTION_LDFLAGS = @SECTION_LDFLAGS@
162 SED = @SED@
163 SET_MAKE = @SET_MAKE@
164 SHELL = @SHELL@
165 STRIP = @STRIP@
166 SYMVER_FILE = @SYMVER_FILE@
167 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
168 USE_NLS = @USE_NLS@
169 VERSION = @VERSION@
170 WARN_FLAGS = @WARN_FLAGS@
171 WERROR = @WERROR@
172 abs_builddir = @abs_builddir@
173 abs_srcdir = @abs_srcdir@
174 abs_top_builddir = @abs_top_builddir@
175 abs_top_srcdir = @abs_top_srcdir@
176 ac_ct_CC = @ac_ct_CC@
177 ac_ct_CXX = @ac_ct_CXX@
178 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
179 am__leading_dot = @am__leading_dot@
180 am__tar = @am__tar@
181 am__untar = @am__untar@
182 baseline_dir = @baseline_dir@
183 bindir = @bindir@
184 build = @build@
185 build_alias = @build_alias@
186 build_cpu = @build_cpu@
187 build_os = @build_os@
188 build_vendor = @build_vendor@
189 builddir = @builddir@
190 check_msgfmt = @check_msgfmt@
191 datadir = @datadir@
192 datarootdir = @datarootdir@
193 docdir = @docdir@
194 dvidir = @dvidir@
195 enable_shared = @enable_shared@
196 enable_static = @enable_static@
197 exec_prefix = @exec_prefix@
198 glibcxx_MOFILES = @glibcxx_MOFILES@
199 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
200 glibcxx_POFILES = @glibcxx_POFILES@
201 glibcxx_builddir = @glibcxx_builddir@
202 glibcxx_localedir = @glibcxx_localedir@
203 glibcxx_prefixdir = @glibcxx_prefixdir@
204 glibcxx_srcdir = @glibcxx_srcdir@
205 glibcxx_thread_h = @glibcxx_thread_h@
206 glibcxx_toolexecdir = @glibcxx_toolexecdir@
207 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
208 gxx_include_dir = @gxx_include_dir@
209 host = @host@
210 host_alias = @host_alias@
211 host_cpu = @host_cpu@
212 host_os = @host_os@
213 host_vendor = @host_vendor@
214 htmldir = @htmldir@
215 includedir = @includedir@
216 infodir = @infodir@
217 install_sh = @install_sh@
218 libdir = @libdir@
219 libexecdir = @libexecdir@
220 libtool_VERSION = @libtool_VERSION@
221 localedir = @localedir@
222 localstatedir = @localstatedir@
223 lt_host_flags = @lt_host_flags@
224 mandir = @mandir@
225 mkdir_p = @mkdir_p@
226 multi_basedir = @multi_basedir@
227 oldincludedir = @oldincludedir@
228 pdfdir = @pdfdir@
229 port_specific_symbol_files = @port_specific_symbol_files@
230 prefix = @prefix@
231 program_transform_name = @program_transform_name@
232 psdir = @psdir@
233 sbindir = @sbindir@
234 sharedstatedir = @sharedstatedir@
235 srcdir = @srcdir@
236 sysconfdir = @sysconfdir@
237 target = @target@
238 target_alias = @target_alias@
239 target_cpu = @target_cpu@
240 target_os = @target_os@
241 target_vendor = @target_vendor@
242 top_build_prefix = @top_build_prefix@
243 top_builddir = @top_builddir@
244 top_srcdir = @top_srcdir@
245 toplevel_srcdir = @toplevel_srcdir@
246
247 # May be used by various substitution variables.
248 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
249 MAINT_CHARSET = latin1
250 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
251 PWD_COMMAND = $${PWDCMD-pwd}
252 STAMP = echo timestamp >
253 toolexecdir = $(glibcxx_toolexecdir)
254 toolexeclibdir = $(glibcxx_toolexeclibdir)
255
256 # These bits are all figured out from configure.  Look in acinclude.m4
257 # or configure.ac to see how they are set.  See GLIBCXX_EXPORT_FLAGS.
258 CONFIG_CXXFLAGS = \
259         $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
260
261 WARN_CXXFLAGS = \
262         $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
263
264
265 # -I/-D flags to pass when compiling.
266 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
267
268 # Doxygen configuration
269 # Assumes doxygen, graphviz (with dot), pdflatex installed
270 doxygen_script = ${top_srcdir}/scripts/run_doxygen
271 doxygen_outdir = ${glibcxx_builddir}/doc/doxygen
272 api_xml = ${doxygen_outdir}/xml/libstdc++-api-single.xml
273
274 # Chance of loooooonnggg creation time on this rule.  Iff this fails,
275 # look at refman.log and see if TeX's memory is exhausted. Symptoms
276 # include asking a wizard to enlarge capacity. If this is the case,
277 # find texmf.cnf and add a zero for pool_size, string_vacancies,
278 # max_strings, and pool_free values.
279 doxygen_pdf = ${doxygen_outdir}/latex/refman.pdf
280 api_pdf = ${doxygen_outdir}/pdf/libstdc++-api.pdf
281
282 # Docbook configuration.
283 # Assumes
284 # libxslt
285 # dblatex
286 # pdflatex
287 # docbook-style-xsl
288 # emacs-nxml-mode
289 # xmlto passivetex
290 docbook_outdir = ${glibcxx_builddir}/doc/docbook
291 xml_dir = ${glibcxx_srcdir}/doc/xml
292 xml_sources_basic = \
293         ${xml_dir}/spine.xml \
294         ${xml_dir}/authors.xml \
295         ${xml_dir}/api.xml \
296         ${xml_dir}/faq.xml
297
298 xml_sources_manual = \
299         ${xml_dir}/manual/abi.xml \
300         ${xml_dir}/manual/algorithms.xml \
301         ${xml_dir}/manual/allocator.xml \
302         ${xml_dir}/manual/auto_ptr.xml \
303         ${xml_dir}/manual/atomics.xml \
304         ${xml_dir}/manual/backwards_compatibility.xml \
305         ${xml_dir}/manual/bitmap_allocator.xml \
306         ${xml_dir}/manual/build_hacking.xml \
307         ${xml_dir}/manual/codecvt.xml \
308         ${xml_dir}/manual/concurrency.xml \
309         ${xml_dir}/manual/concurrency_extensions.xml \
310         ${xml_dir}/manual/configure.xml \
311         ${xml_dir}/manual/containers.xml \
312         ${xml_dir}/manual/ctype.xml \
313         ${xml_dir}/manual/debug_mode.xml \
314         ${xml_dir}/manual/debug.xml \
315         ${xml_dir}/manual/diagnostics.xml \
316         ${xml_dir}/manual/evolution.xml \
317         ${xml_dir}/manual/extensions.xml \
318         ${xml_dir}/manual/internals.xml \
319         ${xml_dir}/manual/intro.xml \
320         ${xml_dir}/manual/io.xml \
321         ${xml_dir}/manual/iterators.xml \
322         ${xml_dir}/manual/locale.xml \
323         ${xml_dir}/manual/localization.xml \
324         ${xml_dir}/manual/messages.xml \
325         ${xml_dir}/manual/mt_allocator.xml \
326         ${xml_dir}/manual/numerics.xml \
327         ${xml_dir}/manual/parallel_mode.xml \
328         ${xml_dir}/manual/prerequisites.xml \
329         ${xml_dir}/manual/profile_mode.xml \
330         ${xml_dir}/manual/shared_ptr.xml \
331         ${xml_dir}/manual/spine.xml \
332         ${xml_dir}/manual/status_cxx1998.xml \
333         ${xml_dir}/manual/status_cxx200x.xml \
334         ${xml_dir}/manual/status_cxxtr1.xml \
335         ${xml_dir}/manual/status_cxxtr24733.xml \
336         ${xml_dir}/manual/strings.xml \
337         ${xml_dir}/manual/support.xml \
338         ${xml_dir}/manual/test.xml \
339         ${xml_dir}/manual/using.xml \
340         ${xml_dir}/manual/using_exceptions.xml \
341         ${xml_dir}/manual/utilities.xml \
342         ${xml_dir}/manual/appendix_free.xml \
343         ${xml_dir}/manual/appendix_contributing.xml \
344         ${xml_dir}/manual/appendix_porting.xml
345
346 xml_sources_extra = \
347         ${xml_dir}/gnu/fdl-1.2.xml \
348         ${xml_dir}/gnu/fdl-1.3.xml \
349         ${xml_dir}/gnu/gpl-2.0.xml \
350         ${xml_dir}/gnu/gpl-3.0.xml
351
352 xml_sources = \
353         ${xml_sources_basic} \
354         ${xml_sources_manual} \
355         ${xml_sources_extra}
356
357 xml_noinst = \
358         ${xml_dir}/book.txml \
359         ${xml_dir}/chapter.txml \
360         ${xml_dir}/class.txml
361
362 XSLTPROC = xsltproc
363 XSLTPROC_FLAGS = --nonet --xinclude
364 XSL_STYLE_DIR = /usr/share/sgml/docbook/xsl-ns-stylesheets
365 XSL_FO_STYLE = $(XSL_STYLE_DIR)/fo/docbook.xsl
366 XSL_HTML_STYLE = $(XSL_STYLE_DIR)/xhtml/chunk.xsl
367 #XSL_HTML_SINGLE_STYLE = $(XSL_STYLE_DIR)/xhtml/onechunk.xsl
368 XSL_HTML_SINGLE_STYLE = $(XSL_STYLE_DIR)/xhtml/docbook.xsl
369
370 # Validate existing XML structure.
371 XMLLINT = xmllint
372 #LINT_FLAGS = --debug --nonet --xinclude --nsclean --postvalid --nowarning
373 #LINT_FLAGS = --noblanks --noout --xinclude --postvalid --noent
374 LINT_FLAGS = --debug --xinclude --noent --noblanks  --nonet --noout
375 #SCHEMA_FLAGS = --relaxng /usr/share/xml/docbook5/schema/rng/5.0/docbookxi.rng
376 SCHEMA_FLAGS = --dtdvalid /usr/share/xml/docbook5/schema/dtd/5.0/docbook.dtd
377 XMLLINT_FLAGS = $(LINT_FLAGS) $(SCHEMA_FLAGS)
378
379 # XML, all one page
380 # Some info on canonicalization
381 # http://www.mail-archive.com/help-texinfo@gnu.org/msg00864.html
382 manual_xml = ${docbook_outdir}/xml/libstdc++-manual-single.xml
383
384 # HTML, all one page
385 manual_html = ${docbook_outdir}/html/libstdc++-manual-single.html
386
387 # PDF, via dblatex
388 manual_pdf = ${docbook_outdir}/pdf/libstdc++-manual.pdf
389 DBLATEX_FLAGS = --dump --verbose --pdf -o ${manual_pdf}
390
391 # Texinfo, via docbook2X
392 DB2TEXI_FLAGS = \
393         --encoding=utf-8//TRANSLIT \
394         --string-param output-file="libstdc++-manual" \
395         --string-param directory-category="GNU C++ Library" \
396         --string-param explicit-node-names=true
397
398
399 # Performance doc and graph configuration.
400 # Assumes pychart, beautiful soup installed.
401 # Generates the plots and graphs for performance testing.
402 doc_performance_script = ${top_srcdir}/scripts/make_graphs.py
403
404 # By adding these files here, automake will remove them for 'make clean'
405 CLEANFILES = *.log
406 all: all-am
407
408 .SUFFIXES:
409 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
410         @for dep in $?; do \
411           case '$(am__configure_deps)' in \
412             *$$dep*) \
413               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
414                 && { if test -f $@; then exit 0; else break; fi; }; \
415               exit 1;; \
416           esac; \
417         done; \
418         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps doc/Makefile'; \
419         $(am__cd) $(top_srcdir) && \
420           $(AUTOMAKE) --foreign --ignore-deps doc/Makefile
421 .PRECIOUS: Makefile
422 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
423         @case '$?' in \
424           *config.status*) \
425             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
426           *) \
427             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
428             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
429         esac;
430
431 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
432         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
433
434 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
435         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
436 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
437         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
438 $(am__aclocal_m4_deps):
439
440 mostlyclean-libtool:
441         -rm -f *.lo
442
443 clean-libtool:
444         -rm -rf .libs _libs
445 tags: TAGS
446 TAGS:
447
448 ctags: CTAGS
449 CTAGS:
450
451 check-am: all-am
452 check: check-am
453 all-am: Makefile
454 installdirs:
455 install: install-am
456 install-exec: install-exec-am
457 install-data: install-data-am
458 uninstall: uninstall-am
459
460 install-am: all-am
461         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
462
463 installcheck: installcheck-am
464 install-strip:
465         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
466           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
467           `test -z '$(STRIP)' || \
468             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
469 mostlyclean-generic:
470
471 clean-generic:
472         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
473
474 distclean-generic:
475         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
476         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
477
478 maintainer-clean-generic:
479         @echo "This command is intended for maintainers to use"
480         @echo "it deletes files that may require special tools to rebuild."
481 clean: clean-am
482
483 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
484
485 distclean: distclean-am
486         -rm -f Makefile
487 distclean-am: clean-am distclean-generic
488
489 dvi: dvi-am
490
491 dvi-am:
492
493 html: html-am
494
495 html-am:
496
497 info: info-am
498
499 info-am:
500
501 install-data-am:
502
503 install-dvi: install-dvi-am
504
505 install-dvi-am:
506
507 install-exec-am:
508
509 install-html: install-html-am
510
511 install-html-am:
512
513 install-info: install-info-am
514
515 install-info-am:
516
517 install-man:
518
519 install-pdf: install-pdf-am
520
521 install-pdf-am:
522
523 install-ps: install-ps-am
524
525 install-ps-am:
526
527 installcheck-am:
528
529 maintainer-clean: maintainer-clean-am
530         -rm -f Makefile
531 maintainer-clean-am: distclean-am maintainer-clean-generic
532
533 mostlyclean: mostlyclean-am
534
535 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
536
537 pdf: pdf-am
538
539 pdf-am:
540
541 ps: ps-am
542
543 ps-am:
544
545 uninstall-am:
546
547 .MAKE: install-am install-strip
548
549 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
550         clean-local distclean distclean-generic distclean-libtool dvi \
551         dvi-am html html-am info info-am install install-am \
552         install-data install-data-am install-dvi install-dvi-am \
553         install-exec install-exec-am install-html install-html-am \
554         install-info install-info-am install-man install-pdf \
555         install-pdf-am install-ps install-ps-am install-strip \
556         installcheck installcheck-am installdirs maintainer-clean \
557         maintainer-clean-generic mostlyclean mostlyclean-generic \
558         mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
559
560
561 # Documentation Overview
562 #
563 # There are two main source materials for libstdc++ documentation.
564 # The first is the doxygen markup in libstdc++ sources, which is a
565 # reference to the API. And the second is the docbook markup in
566 # doc/xml/.
567 #
568 # A third and more obscure option deals with charting
569 # performance tests, and should be considered experimental.
570
571 # Default rules.
572 #
573 # Point to best sub-rule for the requested documentation target,
574 # create, and then copy into toplevel directory with standardized names
575 # and layouts.
576
577 # HTML
578 doc-html: doc-html-docbook doc-html-doxygen
579         cp -R ${docbook_outdir}/html ./libstdc++-manual.html
580         cp -R ${doxygen_outdir}/html ./libstdc++-api.html
581
582 # MAN
583 doc-man: doc-man-doxygen
584         cp -R ${doxygen_outdir}/man ./libstdc++-api.man
585
586 # PDF
587 doc-pdf: doc-pdf-docbook doc-pdf-doxygen
588         cp ${docbook_outdir}/pdf/libstdc++-manual.pdf .
589         cp ${doxygen_outdir}/pdf/libstdc++-api.pdf .
590
591 # TEXINFO
592 doc-texinfo: doc-texinfo-docbook
593
594 # XML
595 doc-xml: doc-xml-single-docbook doc-xml-single-doxygen
596         cp ${manual_xml} .
597         cp ${api_xml} .
598
599 doc-html-doxygen:
600         -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
601           builddir=`cd ..; ${PWD_COMMAND}`; \
602           ${SHELL} ${doxygen_script} \
603           --host_alias=${host_alias} --mode=html $${srcdir} $${builddir} YES)
604
605 doc-man-doxygen:
606         -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
607           builddir=`cd ..; ${PWD_COMMAND}`; \
608           ${SHELL} ${doxygen_script} \
609           --host_alias=${host_alias} --mode=man $${srcdir} $${builddir} YES)
610
611 doc-xml-doxygen:
612         -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
613           builddir=`cd ..; ${PWD_COMMAND}`; \
614           ${SHELL} ${doxygen_script} \
615           --host_alias=${host_alias} --mode=xml $${srcdir} $${builddir} NO)
616 doc-xml-single-doxygen: doc-xml-doxygen
617         @echo "Generating doxygen xml single file..."
618         $(XSLTPROC) ${doxygen_outdir}/xml/combine.xslt \
619         ${doxygen_outdir}/xml/index.xml > ${api_xml};
620
621 doc-latex-doxygen:
622         -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
623           builddir=`cd ..; ${PWD_COMMAND}`; \
624           ${SHELL} ${doxygen_script} \
625           --host_alias=${host_alias} --mode=latex $${srcdir} $${builddir} NO)
626
627 ${doxygen_outdir}/pdf:
628         mkdir -p ${doxygen_outdir}/pdf
629
630 doc-pdf-doxygen: stamp-latex-doxygen ${doxygen_outdir}/pdf
631         -(cd ${doxygen_outdir}/latex && $(MAKE) -i pdf;)
632         echo "Generating doxygen pdf file...";
633         if [ -f ${doxygen_pdf} ]; then \
634           mv ${doxygen_pdf} ${api_pdf} ; \
635           echo ":: PDF file is ${api_pdf}"; \
636         else \
637           echo "... error"; \
638           exit 12; \
639         fi
640
641 stamp-pdf-doxygen:
642         @if [ ! -f stamp-pdf-doxygen ]; then \
643           $(MAKE) doc-pdf-doxygen; \
644         fi
645         $(STAMP) stamp-pdf-doxygen
646
647 stamp-xml-doxygen:
648         @if [ ! -f stamp-xml-doxygen ]; then \
649           $(MAKE) doc-xml-doxygen; \
650           $(MAKE) doc-xml-single-doxygen; \
651         fi
652         $(STAMP) stamp-xml-doxygen
653
654 stamp-latex-doxygen:
655         @if [ ! -f stamp-latex-doxygen ]; then \
656           $(MAKE) doc-latex-doxygen; \
657         fi
658         $(STAMP) stamp-latex-doxygen
659
660 ${docbook_outdir}/fo:
661         mkdir -p ${docbook_outdir}/fo
662
663 ${docbook_outdir}/html:
664         mkdir -p ${docbook_outdir}/html
665
666 ${docbook_outdir}/pdf:
667         mkdir -p ${docbook_outdir}/pdf
668
669 ${docbook_outdir}/texinfo:
670         mkdir -p ${docbook_outdir}/texinfo
671
672 ${docbook_outdir}/xml:
673         mkdir -p ${docbook_outdir}/xml
674 doc-xml-validate-docbook: $(xml_sources)
675         @echo "Generating XML validation log..."
676         $(XMLLINT) $(XMLLINT_FLAGS) ${top_srcdir}/doc/xml/spine.xml
677 doc-xml-single-docbook: $(xml_sources) ${docbook_outdir}/xml
678         @echo "Generating XML single..."
679         $(XMLLINT) --xinclude --noent --noblanks --nocdata --nsclean --c14n \
680         ${top_srcdir}/doc/xml/manual/spine.xml > ${manual_xml}
681
682 # HTML, index plus chapters
683 doc-html-docbook: $(xml_sources) ${docbook_outdir}/html
684         @echo "Generating html files..."
685         $(XSLTPROC) $(XSLTPROC_FLAGS) -o ${docbook_outdir}/html/ \
686         $(XSL_HTML_STYLE) ${top_srcdir}/doc/xml/spine.xml
687 doc-html-single-docbook: $(xml_sources) ${docbook_outdir}/html
688         @echo "Generating html single file..."
689         $(XSLTPROC) $(XSLTPROC_FLAGS) -o ${manual_html} \
690         $(XSL_HTML_SINGLE_STYLE) ${top_srcdir}/doc/xml/spine.xml
691
692 # FO
693 doc-fo-docbook: $(xml_sources) ${docbook_outdir}/fo
694         @echo "Generating FO files..."
695         $(XSLTPROC) $(XSLTPROC_FLAGS) -o ${docbook_outdir}/fo/spine.fo \
696         $(XSL_FO_STYLE) ${top_srcdir}/doc/xml/spine.xml
697 doc-pdf-docbook: doc-pdf-dblatex-docbook
698
699 doc-pdf-dblatex-docbook: $(xml_sources) ${docbook_outdir}/pdf
700         @echo "Generating pdf dblatex files..."
701         dblatex $(DBLATEX_FLAGS) ${top_srcdir}/doc/xml/spine.xml
702 doc-texinfo-docbook: doc-xml-single-docbook ${docbook_outdir}/texinfo
703         @echo "Generating texinfo files..."
704         db2x_docbook2texi $(DB2TEXI_FLAGS) ${manual_xml}
705 doc-html-performance:
706         -@(chmod + ${doc_performance_script}; \
707         ${doc_performance_script} ${top_srcdir} \
708         ${glibcxx_builddir}/testsuite \
709         ${top_srcdir}/testsuite/data/make_graph_htmls.xml \
710         ${top_srcdir}/testsuite/data/make_graph_test_infos.xml local g++)
711
712 .PHONY: doc-doxygen-html doc-doxygen-man doc-performance
713
714 # To remove directories.
715 clean-local:
716         rm -rf man html pdf fo xml doxygen docbook stamp* ./libstdc++-* db2t*
717
718 # Tell versions [3.59,3.63) of GNU make to not export all variables.
719 # Otherwise a system limit (for SysV at least) may be exceeded.
720 .NOEXPORT: