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