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