OSDN Git Service

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