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