]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/include/Makefile.in
re PR rtl-optimization/31944 (Endless loop while building a 64-bit 2.6.20 kernel)
[thirdparty/gcc.git] / libstdc++-v3 / include / Makefile.in
CommitLineData
c35a51a5 1# Makefile.in generated by automake 1.9.6 from Makefile.am.
ff66d28f 2# @configure_input@
4a9d5109 3
7eaf73d7 4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
a9fdd472 5# 2003, 2004, 2005 Free Software Foundation, Inc.
4a9d5109
SW
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
ff66d28f 15@SET_MAKE@
4a9d5109
SW
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
4a9d5109
SW
19pkgdatadir = $(datadir)/@PACKAGE@
20pkglibdir = $(libdir)/@PACKAGE@
21pkgincludedir = $(includedir)/@PACKAGE@
4a9d5109 22top_builddir = ..
ff66d28f 23am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4a9d5109 24INSTALL = @INSTALL@
ff66d28f
PE
25install_sh_DATA = $(install_sh) -c -m 644
26install_sh_PROGRAM = $(install_sh) -c
27install_sh_SCRIPT = $(install_sh) -c
28INSTALL_HEADER = $(INSTALL_DATA)
29transform = $(program_transform_name)
4a9d5109
SW
30NORMAL_INSTALL = :
31PRE_INSTALL = :
32POST_INSTALL = :
33NORMAL_UNINSTALL = :
34PRE_UNINSTALL = :
35POST_UNINSTALL = :
4a9d5109 36build_triplet = @build@
4a9d5109 37host_triplet = @host@
4a9d5109 38target_triplet = @target@
7eaf73d7
KC
39DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
40 $(top_srcdir)/fragment.am
41subdir = include
42ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
cddfb1c7 43am__aclocal_m4_deps = $(top_srcdir)/../config/enable.m4 \
4ffe6e87 44 $(top_srcdir)/../config/iconv.m4 \
cddfb1c7 45 $(top_srcdir)/../config/lead-dot.m4 \
4ffe6e87
BK
46 $(top_srcdir)/../config/lib-ld.m4 \
47 $(top_srcdir)/../config/lib-link.m4 \
48 $(top_srcdir)/../config/lib-prefix.m4 \
499c96f5 49 $(top_srcdir)/../config/multi.m4 \
cd111813 50 $(top_srcdir)/../config/no-executables.m4 \
2e575796 51 $(top_srcdir)/../config/unwind_ipinfo.m4 \
1cf3d07d
SE
52 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
53 $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
54 $(top_srcdir)/crossconfig.m4 $(top_srcdir)/linkage.m4 \
55 $(top_srcdir)/acinclude.m4 $(top_srcdir)/../config/tls.m4 \
56 $(top_srcdir)/configure.ac
7eaf73d7
KC
57am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
58 $(ACLOCAL_M4)
59CONFIG_HEADER = $(top_builddir)/config.h
60CONFIG_CLEAN_FILES =
61depcomp =
62am__depfiles_maybe =
63SOURCES =
64DIST_SOURCES =
65DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
1568430f 66ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
ff66d28f 67ACLOCAL = @ACLOCAL@
8b0d6051
BK
68ALLOCATOR_H = @ALLOCATOR_H@
69ALLOCATOR_NAME = @ALLOCATOR_NAME@
ff66d28f 70AMTAR = @AMTAR@
4a9d5109
SW
71AR = @AR@
72AS = @AS@
2c5d0ae8 73ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
c2ba9709 74ATOMIC_FLAGS = @ATOMIC_FLAGS@
2c5d0ae8 75ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
ff66d28f
PE
76AUTOCONF = @AUTOCONF@
77AUTOHEADER = @AUTOHEADER@
78AUTOMAKE = @AUTOMAKE@
ab3bc736 79AWK = @AWK@
6aa43d99 80BASIC_FILE_CC = @BASIC_FILE_CC@
4a9d5109
SW
81BASIC_FILE_H = @BASIC_FILE_H@
82CC = @CC@
6aa43d99 83CCODECVT_CC = @CCODECVT_CC@
6aa43d99
BK
84CCOLLATE_CC = @CCOLLATE_CC@
85CCTYPE_CC = @CCTYPE_CC@
ff66d28f 86CFLAGS = @CFLAGS@
6aa43d99 87CLOCALE_CC = @CLOCALE_CC@
4a9d5109 88CLOCALE_H = @CLOCALE_H@
6aa43d99
BK
89CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
90CMESSAGES_CC = @CMESSAGES_CC@
33590f13 91CMESSAGES_H = @CMESSAGES_H@
6aa43d99
BK
92CMONEY_CC = @CMONEY_CC@
93CNUMERIC_CC = @CNUMERIC_CC@
4a9d5109 94CPP = @CPP@
ff66d28f 95CPPFLAGS = @CPPFLAGS@
4b90c838 96CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
4a9d5109 97CSTDIO_H = @CSTDIO_H@
6aa43d99 98CTIME_CC = @CTIME_CC@
1c26d8fd 99CTIME_H = @CTIME_H@
ff66d28f 100CXX = @CXX@
4a9d5109 101CXXCPP = @CXXCPP@
ff66d28f
PE
102CXXFLAGS = @CXXFLAGS@
103CYGPATH_W = @CYGPATH_W@
4a9d5109
SW
104C_INCLUDE_DIR = @C_INCLUDE_DIR@
105DEBUG_FLAGS = @DEBUG_FLAGS@
ff66d28f 106DEFS = @DEFS@
1cf3d07d 107DUMPBIN = @DUMPBIN@
ff66d28f
PE
108ECHO_C = @ECHO_C@
109ECHO_N = @ECHO_N@
110ECHO_T = @ECHO_T@
111EGREP = @EGREP@
c2ba9709
JS
112ENABLE_PARALLEL_FALSE = @ENABLE_PARALLEL_FALSE@
113ENABLE_PARALLEL_TRUE = @ENABLE_PARALLEL_TRUE@
fb5c309d
BK
114ENABLE_SYMVERS_DARWIN_FALSE = @ENABLE_SYMVERS_DARWIN_FALSE@
115ENABLE_SYMVERS_DARWIN_TRUE = @ENABLE_SYMVERS_DARWIN_TRUE@
116ENABLE_SYMVERS_FALSE = @ENABLE_SYMVERS_FALSE@
a9fdd472 117ENABLE_SYMVERS_GNU_FALSE = @ENABLE_SYMVERS_GNU_FALSE@
3cbc7af0
BK
118ENABLE_SYMVERS_GNU_NAMESPACE_FALSE = @ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@
119ENABLE_SYMVERS_GNU_NAMESPACE_TRUE = @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@
a9fdd472 120ENABLE_SYMVERS_GNU_TRUE = @ENABLE_SYMVERS_GNU_TRUE@
fb5c309d 121ENABLE_SYMVERS_TRUE = @ENABLE_SYMVERS_TRUE@
98e615b4
BK
122ENABLE_VISIBILITY_FALSE = @ENABLE_VISIBILITY_FALSE@
123ENABLE_VISIBILITY_TRUE = @ENABLE_VISIBILITY_TRUE@
e4bf5dfc 124ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
54c1bf78 125EXEEXT = @EXEEXT@
4a9d5109 126EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
1cf3d07d 127FGREP = @FGREP@
ff66d28f
PE
128GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
129GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
ff66d28f
PE
130GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
131GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
ff66d28f
PE
132GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
133GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
134GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
af13a7a6
BK
135GLIBCXX_C_HEADERS_C_GLOBAL_FALSE = @GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@
136GLIBCXX_C_HEADERS_C_GLOBAL_TRUE = @GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@
ff66d28f
PE
137GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
138GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
139GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
af13a7a6
BK
140GLIBCXX_C_HEADERS_EXTRA_FALSE = @GLIBCXX_C_HEADERS_EXTRA_FALSE@
141GLIBCXX_C_HEADERS_EXTRA_TRUE = @GLIBCXX_C_HEADERS_EXTRA_TRUE@
92eabea2
PE
142GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
143GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
ff66d28f 144GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
6defecc2
JJ
145GLIBCXX_LDBL_COMPAT_FALSE = @GLIBCXX_LDBL_COMPAT_FALSE@
146GLIBCXX_LDBL_COMPAT_TRUE = @GLIBCXX_LDBL_COMPAT_TRUE@
1cf3d07d 147GREP = @GREP@
ff66d28f
PE
148INSTALL_DATA = @INSTALL_DATA@
149INSTALL_PROGRAM = @INSTALL_PROGRAM@
150INSTALL_SCRIPT = @INSTALL_SCRIPT@
151INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1cf3d07d
SE
152LD = @LD@
153LDFLAGS = @LDFLAGS@
d54bc1d8 154LIBICONV = @LIBICONV@
4a9d5109 155LIBMATHOBJS = @LIBMATHOBJS@
ff66d28f
PE
156LIBOBJS = @LIBOBJS@
157LIBS = @LIBS@
4a9d5109
SW
158LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
159LIBTOOL = @LIBTOOL@
160LN_S = @LN_S@
4ffe6e87 161LTLIBICONV = @LTLIBICONV@
ff66d28f 162LTLIBOBJS = @LTLIBOBJS@
4a9d5109 163MAINT = @MAINT@
ff66d28f
PE
164MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
165MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
54c1bf78 166MAKEINFO = @MAKEINFO@
1cf3d07d 167NM = @NM@
4a9d5109
SW
168OBJEXT = @OBJEXT@
169OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
170OPT_LDFLAGS = @OPT_LDFLAGS@
171OS_INC_SRCDIR = @OS_INC_SRCDIR@
172PACKAGE = @PACKAGE@
ff66d28f
PE
173PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
174PACKAGE_NAME = @PACKAGE_NAME@
175PACKAGE_STRING = @PACKAGE_STRING@
176PACKAGE_TARNAME = @PACKAGE_TARNAME@
177PACKAGE_VERSION = @PACKAGE_VERSION@
178PATH_SEPARATOR = @PATH_SEPARATOR@
4a9d5109
SW
179RANLIB = @RANLIB@
180SECTION_FLAGS = @SECTION_FLAGS@
181SECTION_LDFLAGS = @SECTION_LDFLAGS@
1cf3d07d 182SED = @SED@
ff66d28f
PE
183SET_MAKE = @SET_MAKE@
184SHELL = @SHELL@
4a9d5109 185STRIP = @STRIP@
fb5c309d 186SYMVER_FILE = @SYMVER_FILE@
4a9d5109 187TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
33590f13 188USE_NLS = @USE_NLS@
4a9d5109
SW
189VERSION = @VERSION@
190WARN_FLAGS = @WARN_FLAGS@
191WERROR = @WERROR@
ff66d28f
PE
192ac_ct_AR = @ac_ct_AR@
193ac_ct_AS = @ac_ct_AS@
194ac_ct_CC = @ac_ct_CC@
195ac_ct_CXX = @ac_ct_CXX@
1cf3d07d 196ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
ff66d28f
PE
197ac_ct_RANLIB = @ac_ct_RANLIB@
198ac_ct_STRIP = @ac_ct_STRIP@
199am__leading_dot = @am__leading_dot@
a60945f8
PC
200am__tar = @am__tar@
201am__untar = @am__untar@
44f0760e 202baseline_dir = @baseline_dir@
ff66d28f
PE
203bindir = @bindir@
204build = @build@
205build_alias = @build_alias@
206build_cpu = @build_cpu@
207build_os = @build_os@
208build_vendor = @build_vendor@
501e321e 209check_msgfmt = @check_msgfmt@
ff66d28f 210datadir = @datadir@
4a9d5109
SW
211enable_shared = @enable_shared@
212enable_static = @enable_static@
ff66d28f 213exec_prefix = @exec_prefix@
3d7c150e
BK
214glibcxx_MOFILES = @glibcxx_MOFILES@
215glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
216glibcxx_POFILES = @glibcxx_POFILES@
ff66d28f 217glibcxx_builddir = @glibcxx_builddir@
3d7c150e
BK
218glibcxx_localedir = @glibcxx_localedir@
219glibcxx_prefixdir = @glibcxx_prefixdir@
ff66d28f 220glibcxx_srcdir = @glibcxx_srcdir@
ff66d28f 221glibcxx_thread_h = @glibcxx_thread_h@
3d7c150e
BK
222glibcxx_toolexecdir = @glibcxx_toolexecdir@
223glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
ff66d28f
PE
224gxx_include_dir = @gxx_include_dir@
225host = @host@
226host_alias = @host_alias@
227host_cpu = @host_cpu@
228host_os = @host_os@
229host_vendor = @host_vendor@
230includedir = @includedir@
231infodir = @infodir@
232install_sh = @install_sh@
233libdir = @libdir@
234libexecdir = @libexecdir@
4e10943d 235libtool_VERSION = @libtool_VERSION@
ff66d28f 236localstatedir = @localstatedir@
1cf3d07d 237lt_ECHO = @lt_ECHO@
ff66d28f 238mandir = @mandir@
7eaf73d7 239mkdir_p = @mkdir_p@
ff66d28f
PE
240multi_basedir = @multi_basedir@
241oldincludedir = @oldincludedir@
242port_specific_symbol_files = @port_specific_symbol_files@
243prefix = @prefix@
244program_transform_name = @program_transform_name@
245sbindir = @sbindir@
246sharedstatedir = @sharedstatedir@
247sysconfdir = @sysconfdir@
248target = @target@
249target_alias = @target_alias@
250target_cpu = @target_cpu@
251target_os = @target_os@
252target_vendor = @target_vendor@
4a9d5109 253toplevel_srcdir = @toplevel_srcdir@
47194af4
ZW
254
255# May be used by various substitution variables.
256gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
4a9d5109 257MAINT_CHARSET = latin1
4a9d5109 258mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
0df3f383 259PWD_COMMAND = $${PWDCMD-pwd}
82ba99d5 260STAMP = echo timestamp >
0df3f383
PE
261toolexecdir = $(glibcxx_toolexecdir)
262toolexeclibdir = $(glibcxx_toolexeclibdir)
263
264# These bits are all figured out from configure. Look in acinclude.m4
265# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
266CONFIG_CXXFLAGS = \
267 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
268
269WARN_CXXFLAGS = \
270 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
271
272
273# -I/-D flags to pass when compiling.
274AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
ab77073f
BK
275
276# Standard C++ includes.
3d7c150e 277std_srcdir = ${glibcxx_srcdir}/include/std
ab77073f 278std_builddir = .
53c2acdf 279std_headers = \
18154730 280 ${std_srcdir}/algorithm \
af13a7a6 281 ${std_srcdir}/array \
18154730 282 ${std_srcdir}/bitset \
af13a7a6 283 ${std_srcdir}/c++0x_warning.h \
18154730
BK
284 ${std_srcdir}/complex \
285 ${std_srcdir}/deque \
286 ${std_srcdir}/fstream \
287 ${std_srcdir}/functional \
288 ${std_srcdir}/iomanip \
289 ${std_srcdir}/ios \
290 ${std_srcdir}/iosfwd \
291 ${std_srcdir}/iostream \
292 ${std_srcdir}/istream \
293 ${std_srcdir}/iterator \
294 ${std_srcdir}/limits \
295 ${std_srcdir}/list \
296 ${std_srcdir}/locale \
297 ${std_srcdir}/map \
298 ${std_srcdir}/memory \
299 ${std_srcdir}/numeric \
300 ${std_srcdir}/ostream \
301 ${std_srcdir}/queue \
af13a7a6
BK
302 ${std_srcdir}/random \
303 ${std_srcdir}/regex \
18154730
BK
304 ${std_srcdir}/set \
305 ${std_srcdir}/sstream \
306 ${std_srcdir}/stack \
307 ${std_srcdir}/stdexcept \
308 ${std_srcdir}/streambuf \
309 ${std_srcdir}/string \
0646d8a3 310 ${std_srcdir}/system_error \
af13a7a6
BK
311 ${std_srcdir}/tuple \
312 ${std_srcdir}/type_traits \
313 ${std_srcdir}/unordered_map \
314 ${std_srcdir}/unordered_set \
18154730
BK
315 ${std_srcdir}/utility \
316 ${std_srcdir}/valarray \
317 ${std_srcdir}/vector
ab77073f 318
3d7c150e 319bits_srcdir = ${glibcxx_srcdir}/include/bits
4a9d5109 320bits_builddir = ./bits
53c2acdf 321bits_headers = \
c2ba9709 322 ${bits_srcdir}/algorithmfwd.h \
1ff9402d 323 ${bits_srcdir}/allocator.h \
53c2acdf
BK
324 ${bits_srcdir}/basic_ios.h \
325 ${bits_srcdir}/basic_ios.tcc \
326 ${bits_srcdir}/basic_string.h \
327 ${bits_srcdir}/basic_string.tcc \
328 ${bits_srcdir}/boost_concept_check.h \
aaf0ca6f 329 ${bits_srcdir}/boost_sp_shared_count.h \
53c2acdf
BK
330 ${bits_srcdir}/char_traits.h \
331 ${bits_srcdir}/codecvt.h \
332 ${bits_srcdir}/concept_check.h \
333 ${bits_srcdir}/cpp_type_traits.h \
53c2acdf 334 ${bits_srcdir}/deque.tcc \
53c2acdf
BK
335 ${bits_srcdir}/fstream.tcc \
336 ${bits_srcdir}/functexcept.h \
e133ace8 337 ${bits_srcdir}/functional_hash.h \
53c2acdf
BK
338 ${bits_srcdir}/gslice.h \
339 ${bits_srcdir}/gslice_array.h \
e133ace8 340 ${bits_srcdir}/hashtable.h \
53c2acdf
BK
341 ${bits_srcdir}/indirect_array.h \
342 ${bits_srcdir}/ios_base.h \
343 ${bits_srcdir}/istream.tcc \
344 ${bits_srcdir}/list.tcc \
345 ${bits_srcdir}/locale_classes.h \
84b31797 346 ${bits_srcdir}/locale_classes.tcc \
53c2acdf
BK
347 ${bits_srcdir}/locale_facets.h \
348 ${bits_srcdir}/locale_facets.tcc \
f749a55b
PC
349 ${bits_srcdir}/locale_facets_nonio.h \
350 ${bits_srcdir}/locale_facets_nonio.tcc \
53c2acdf
BK
351 ${bits_srcdir}/localefwd.h \
352 ${bits_srcdir}/mask_array.h \
353 ${bits_srcdir}/ostream.tcc \
11202768 354 ${bits_srcdir}/ostream_insert.h \
4c4809c1 355 ${bits_srcdir}/postypes.h \
53c2acdf
BK
356 ${bits_srcdir}/stream_iterator.h \
357 ${bits_srcdir}/streambuf_iterator.h \
358 ${bits_srcdir}/slice_array.h \
359 ${bits_srcdir}/sstream.tcc \
360 ${bits_srcdir}/stl_algo.h \
361 ${bits_srcdir}/stl_algobase.h \
53c2acdf
BK
362 ${bits_srcdir}/stl_bvector.h \
363 ${bits_srcdir}/stl_construct.h \
364 ${bits_srcdir}/stl_deque.h \
365 ${bits_srcdir}/stl_function.h \
366 ${bits_srcdir}/stl_heap.h \
367 ${bits_srcdir}/stl_iterator.h \
368 ${bits_srcdir}/stl_iterator_base_funcs.h \
369 ${bits_srcdir}/stl_iterator_base_types.h \
370 ${bits_srcdir}/stl_list.h \
371 ${bits_srcdir}/stl_map.h \
6c5f0578 372 ${bits_srcdir}/stl_move.h \
53c2acdf
BK
373 ${bits_srcdir}/stl_multimap.h \
374 ${bits_srcdir}/stl_multiset.h \
375 ${bits_srcdir}/stl_numeric.h \
376 ${bits_srcdir}/stl_pair.h \
53c2acdf
BK
377 ${bits_srcdir}/stl_queue.h \
378 ${bits_srcdir}/stl_raw_storage_iter.h \
379 ${bits_srcdir}/stl_relops.h \
380 ${bits_srcdir}/stl_set.h \
381 ${bits_srcdir}/stl_stack.h \
382 ${bits_srcdir}/stl_tempbuf.h \
53c2acdf
BK
383 ${bits_srcdir}/stl_tree.h \
384 ${bits_srcdir}/stl_uninitialized.h \
385 ${bits_srcdir}/stl_vector.h \
386 ${bits_srcdir}/streambuf.tcc \
387 ${bits_srcdir}/stringfwd.h \
53c2acdf
BK
388 ${bits_srcdir}/valarray_array.h \
389 ${bits_srcdir}/valarray_array.tcc \
390 ${bits_srcdir}/valarray_before.h \
391 ${bits_srcdir}/valarray_after.h \
392 ${bits_srcdir}/vector.tcc
4a9d5109 393
3d7c150e 394backward_srcdir = ${glibcxx_srcdir}/include/backward
4a9d5109 395backward_builddir = ./backward
53c2acdf 396backward_headers = \
40abbf1f
BK
397 ${backward_srcdir}/auto_ptr.h \
398 ${backward_srcdir}/backward_warning.h \
399 ${backward_srcdir}/binders.h \
e63637ea
BK
400 ${backward_srcdir}/hash_map \
401 ${backward_srcdir}/hash_set \
402 ${backward_srcdir}/hash_fun.h \
403 ${backward_srcdir}/hashtable.h \
40abbf1f 404 ${backward_srcdir}/strstream
4a9d5109 405
4569a895
AT
406pb_srcdir = ${glibcxx_srcdir}/include/ext/pb_ds
407pb_builddir = ./ext/pb_ds
408pb_subdirs = \
409 ${pb_builddir}/detail \
410 ${pb_builddir}/detail/pairing_heap_ \
411 ${pb_builddir}/detail/splay_tree_ \
412 ${pb_builddir}/detail/list_update_map_ \
4569a895
AT
413 ${pb_builddir}/detail/basic_tree_policy \
414 ${pb_builddir}/detail/trie_policy \
415 ${pb_builddir}/detail/gp_hash_table_map_ \
416 ${pb_builddir}/detail/tree_policy \
417 ${pb_builddir}/detail/binomial_heap_base_ \
418 ${pb_builddir}/detail/resize_policy \
419 ${pb_builddir}/detail/bin_search_tree_ \
420 ${pb_builddir}/detail/binomial_heap_ \
421 ${pb_builddir}/detail/thin_heap_ \
422 ${pb_builddir}/detail/pat_trie_ \
423 ${pb_builddir}/detail/cc_hash_table_map_ \
424 ${pb_builddir}/detail/rc_binomial_heap_ \
425 ${pb_builddir}/detail/left_child_next_sibling_heap_ \
426 ${pb_builddir}/detail/unordered_iterator \
427 ${pb_builddir}/detail/binary_heap_ \
428 ${pb_builddir}/detail/ov_tree_map_ \
429 ${pb_builddir}/detail/hash_fn \
430 ${pb_builddir}/detail/eq_fn \
431 ${pb_builddir}/detail/rb_tree_map_ \
432 ${pb_builddir}/detail/list_update_policy
fd1e1726 433
c35a51a5
BK
434
435# The ability for make and the underlying host to deal with this
436# unweildy list as one entire entity is not a sure thing, and may
4569a895
AT
437# cause build errors. Thus, split one list into many smaller
438# mini-lists, with the maximum size per mini-list of no more than 42.
439pb_headers1 = \
440 ${pb_srcdir}/assoc_container.hpp \
441 ${pb_srcdir}/exception.hpp \
442 ${pb_srcdir}/hash_policy.hpp \
443 ${pb_srcdir}/list_update_policy.hpp \
444 ${pb_srcdir}/priority_queue.hpp \
445 ${pb_srcdir}/tag_and_trait.hpp \
446 ${pb_srcdir}/tree_policy.hpp \
447 ${pb_srcdir}/trie_policy.hpp \
448 ${pb_srcdir}/detail/basic_tree_policy/basic_tree_policy_base.hpp \
449 ${pb_srcdir}/detail/basic_tree_policy/null_node_metadata.hpp \
450 ${pb_srcdir}/detail/basic_tree_policy/traits.hpp \
451 ${pb_srcdir}/detail/basic_types.hpp \
452 ${pb_srcdir}/detail/binary_heap_/binary_heap_.hpp \
453 ${pb_srcdir}/detail/binary_heap_/const_iterator.hpp \
454 ${pb_srcdir}/detail/binary_heap_/const_point_iterator.hpp \
455 ${pb_srcdir}/detail/binary_heap_/constructors_destructor_fn_imps.hpp \
456 ${pb_srcdir}/detail/binary_heap_/debug_fn_imps.hpp \
457 ${pb_srcdir}/detail/binary_heap_/entry_cmp.hpp \
458 ${pb_srcdir}/detail/binary_heap_/entry_pred.hpp \
459 ${pb_srcdir}/detail/binary_heap_/erase_fn_imps.hpp \
460 ${pb_srcdir}/detail/binary_heap_/find_fn_imps.hpp \
461 ${pb_srcdir}/detail/binary_heap_/info_fn_imps.hpp \
462 ${pb_srcdir}/detail/binary_heap_/insert_fn_imps.hpp \
463 ${pb_srcdir}/detail/binary_heap_/iterators_fn_imps.hpp \
464 ${pb_srcdir}/detail/binary_heap_/policy_access_fn_imps.hpp \
465 ${pb_srcdir}/detail/binary_heap_/resize_policy.hpp \
466 ${pb_srcdir}/detail/binary_heap_/split_join_fn_imps.hpp \
467 ${pb_srcdir}/detail/binary_heap_/trace_fn_imps.hpp \
468 ${pb_srcdir}/detail/binomial_heap_base_/binomial_heap_base_.hpp \
469 ${pb_srcdir}/detail/binomial_heap_base_/constructors_destructor_fn_imps.hpp \
470 ${pb_srcdir}/detail/binomial_heap_base_/debug_fn_imps.hpp \
471 ${pb_srcdir}/detail/binomial_heap_base_/erase_fn_imps.hpp \
472 ${pb_srcdir}/detail/binomial_heap_base_/find_fn_imps.hpp \
473 ${pb_srcdir}/detail/binomial_heap_base_/insert_fn_imps.hpp \
474 ${pb_srcdir}/detail/binomial_heap_base_/split_join_fn_imps.hpp \
475 ${pb_srcdir}/detail/binomial_heap_/binomial_heap_.hpp \
476 ${pb_srcdir}/detail/binomial_heap_/constructors_destructor_fn_imps.hpp \
477 ${pb_srcdir}/detail/binomial_heap_/debug_fn_imps.hpp \
478 ${pb_srcdir}/detail/bin_search_tree_/bin_search_tree_.hpp \
479 ${pb_srcdir}/detail/bin_search_tree_/cond_dtor_entry_dealtor.hpp \
480 ${pb_srcdir}/detail/bin_search_tree_/cond_key_dtor_entry_dealtor.hpp
481
482pb_headers2 = \
483 ${pb_srcdir}/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp \
484 ${pb_srcdir}/detail/bin_search_tree_/debug_fn_imps.hpp \
485 ${pb_srcdir}/detail/bin_search_tree_/erase_fn_imps.hpp \
486 ${pb_srcdir}/detail/bin_search_tree_/find_fn_imps.hpp \
487 ${pb_srcdir}/detail/bin_search_tree_/info_fn_imps.hpp \
488 ${pb_srcdir}/detail/bin_search_tree_/insert_fn_imps.hpp \
489 ${pb_srcdir}/detail/bin_search_tree_/iterators_fn_imps.hpp \
490 ${pb_srcdir}/detail/bin_search_tree_/node_iterators.hpp \
491 ${pb_srcdir}/detail/bin_search_tree_/point_iterators.hpp \
492 ${pb_srcdir}/detail/bin_search_tree_/policy_access_fn_imps.hpp \
493 ${pb_srcdir}/detail/bin_search_tree_/r_erase_fn_imps.hpp \
494 ${pb_srcdir}/detail/bin_search_tree_/rotate_fn_imps.hpp \
495 ${pb_srcdir}/detail/bin_search_tree_/split_join_fn_imps.hpp \
496 ${pb_srcdir}/detail/bin_search_tree_/traits.hpp \
497 ${pb_srcdir}/detail/cc_hash_table_map_/cc_ht_map_.hpp \
498 ${pb_srcdir}/detail/cc_hash_table_map_/cmp_fn_imps.hpp \
499 ${pb_srcdir}/detail/cc_hash_table_map_/cond_key_dtor_entry_dealtor.hpp \
500 ${pb_srcdir}/detail/cc_hash_table_map_/constructor_destructor_fn_imps.hpp \
501 ${pb_srcdir}/detail/cc_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp \
502 ${pb_srcdir}/detail/cc_hash_table_map_/constructor_destructor_store_hash_fn_imps.hpp \
503 ${pb_srcdir}/detail/cc_hash_table_map_/debug_fn_imps.hpp \
504 ${pb_srcdir}/detail/cc_hash_table_map_/debug_no_store_hash_fn_imps.hpp \
505 ${pb_srcdir}/detail/cc_hash_table_map_/debug_store_hash_fn_imps.hpp \
506 ${pb_srcdir}/detail/cc_hash_table_map_/entry_list_fn_imps.hpp \
507 ${pb_srcdir}/detail/cc_hash_table_map_/erase_fn_imps.hpp \
508 ${pb_srcdir}/detail/cc_hash_table_map_/erase_no_store_hash_fn_imps.hpp \
509 ${pb_srcdir}/detail/cc_hash_table_map_/erase_store_hash_fn_imps.hpp \
510 ${pb_srcdir}/detail/cc_hash_table_map_/find_fn_imps.hpp \
511 ${pb_srcdir}/detail/cc_hash_table_map_/find_store_hash_fn_imps.hpp \
512 ${pb_srcdir}/detail/cc_hash_table_map_/info_fn_imps.hpp \
513 ${pb_srcdir}/detail/cc_hash_table_map_/insert_fn_imps.hpp \
514 ${pb_srcdir}/detail/cc_hash_table_map_/insert_no_store_hash_fn_imps.hpp \
515 ${pb_srcdir}/detail/cc_hash_table_map_/insert_store_hash_fn_imps.hpp \
516 ${pb_srcdir}/detail/cc_hash_table_map_/iterators_fn_imps.hpp \
517 ${pb_srcdir}/detail/cc_hash_table_map_/policy_access_fn_imps.hpp \
518 ${pb_srcdir}/detail/cc_hash_table_map_/resize_fn_imps.hpp \
519 ${pb_srcdir}/detail/cc_hash_table_map_/resize_no_store_hash_fn_imps.hpp \
520 ${pb_srcdir}/detail/cc_hash_table_map_/resize_store_hash_fn_imps.hpp \
521 ${pb_srcdir}/detail/cc_hash_table_map_/size_fn_imps.hpp \
522 ${pb_srcdir}/detail/cc_hash_table_map_/standard_policies.hpp
523
524pb_headers3 = \
525 ${pb_srcdir}/detail/cc_hash_table_map_/trace_fn_imps.hpp \
526 ${pb_srcdir}/detail/cond_dealtor.hpp \
527 ${pb_srcdir}/detail/constructors_destructor_fn_imps.hpp \
528 ${pb_srcdir}/detail/container_base_dispatch.hpp \
529 ${pb_srcdir}/detail/eq_fn/eq_by_less.hpp \
530 ${pb_srcdir}/detail/eq_fn/hash_eq_fn.hpp \
531 ${pb_srcdir}/detail/gp_hash_table_map_/constructor_destructor_fn_imps.hpp \
532 ${pb_srcdir}/detail/gp_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp \
533 ${pb_srcdir}/detail/gp_hash_table_map_/constructor_destructor_store_hash_fn_imps.hpp \
534 ${pb_srcdir}/detail/gp_hash_table_map_/debug_fn_imps.hpp \
535 ${pb_srcdir}/detail/gp_hash_table_map_/debug_no_store_hash_fn_imps.hpp \
536 ${pb_srcdir}/detail/gp_hash_table_map_/debug_store_hash_fn_imps.hpp \
537 ${pb_srcdir}/detail/gp_hash_table_map_/erase_fn_imps.hpp \
538 ${pb_srcdir}/detail/gp_hash_table_map_/erase_no_store_hash_fn_imps.hpp \
539 ${pb_srcdir}/detail/gp_hash_table_map_/erase_store_hash_fn_imps.hpp \
540 ${pb_srcdir}/detail/gp_hash_table_map_/find_fn_imps.hpp \
541 ${pb_srcdir}/detail/gp_hash_table_map_/find_no_store_hash_fn_imps.hpp \
542 ${pb_srcdir}/detail/gp_hash_table_map_/find_store_hash_fn_imps.hpp \
543 ${pb_srcdir}/detail/gp_hash_table_map_/gp_ht_map_.hpp \
544 ${pb_srcdir}/detail/gp_hash_table_map_/info_fn_imps.hpp \
545 ${pb_srcdir}/detail/gp_hash_table_map_/insert_fn_imps.hpp \
546 ${pb_srcdir}/detail/gp_hash_table_map_/insert_no_store_hash_fn_imps.hpp \
547 ${pb_srcdir}/detail/gp_hash_table_map_/insert_store_hash_fn_imps.hpp \
548 ${pb_srcdir}/detail/gp_hash_table_map_/iterator_fn_imps.hpp \
549 ${pb_srcdir}/detail/gp_hash_table_map_/policy_access_fn_imps.hpp \
550 ${pb_srcdir}/detail/gp_hash_table_map_/resize_fn_imps.hpp \
551 ${pb_srcdir}/detail/gp_hash_table_map_/resize_no_store_hash_fn_imps.hpp \
552 ${pb_srcdir}/detail/gp_hash_table_map_/resize_store_hash_fn_imps.hpp \
553 ${pb_srcdir}/detail/gp_hash_table_map_/standard_policies.hpp \
554 ${pb_srcdir}/detail/gp_hash_table_map_/trace_fn_imps.hpp \
555 ${pb_srcdir}/detail/hash_fn/direct_mask_range_hashing_imp.hpp \
556 ${pb_srcdir}/detail/hash_fn/direct_mod_range_hashing_imp.hpp \
557 ${pb_srcdir}/detail/hash_fn/linear_probe_fn_imp.hpp \
558 ${pb_srcdir}/detail/hash_fn/mask_based_range_hashing.hpp \
559 ${pb_srcdir}/detail/hash_fn/mod_based_range_hashing.hpp \
560 ${pb_srcdir}/detail/hash_fn/probe_fn_base.hpp \
561 ${pb_srcdir}/detail/hash_fn/quadratic_probe_fn_imp.hpp \
562 ${pb_srcdir}/detail/hash_fn/ranged_hash_fn.hpp \
563 ${pb_srcdir}/detail/hash_fn/ranged_probe_fn.hpp
564
565pb_headers4 = \
566 ${pb_srcdir}/detail/hash_fn/sample_probe_fn.hpp \
567 ${pb_srcdir}/detail/hash_fn/sample_ranged_hash_fn.hpp \
568 ${pb_srcdir}/detail/hash_fn/sample_ranged_probe_fn.hpp \
569 ${pb_srcdir}/detail/hash_fn/sample_range_hashing.hpp \
570 ${pb_srcdir}/detail/left_child_next_sibling_heap_/const_iterator.hpp \
571 ${pb_srcdir}/detail/left_child_next_sibling_heap_/const_point_iterator.hpp \
572 ${pb_srcdir}/detail/left_child_next_sibling_heap_/constructors_destructor_fn_imps.hpp \
573 ${pb_srcdir}/detail/left_child_next_sibling_heap_/debug_fn_imps.hpp \
574 ${pb_srcdir}/detail/left_child_next_sibling_heap_/erase_fn_imps.hpp \
575 ${pb_srcdir}/detail/left_child_next_sibling_heap_/info_fn_imps.hpp \
576 ${pb_srcdir}/detail/left_child_next_sibling_heap_/insert_fn_imps.hpp \
577 ${pb_srcdir}/detail/left_child_next_sibling_heap_/iterators_fn_imps.hpp \
578 ${pb_srcdir}/detail/left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp \
579 ${pb_srcdir}/detail/left_child_next_sibling_heap_/node.hpp \
580 ${pb_srcdir}/detail/left_child_next_sibling_heap_/null_metadata.hpp \
581 ${pb_srcdir}/detail/left_child_next_sibling_heap_/policy_access_fn_imps.hpp \
582 ${pb_srcdir}/detail/left_child_next_sibling_heap_/trace_fn_imps.hpp \
583 ${pb_srcdir}/detail/list_update_map_/constructor_destructor_fn_imps.hpp \
584 ${pb_srcdir}/detail/list_update_map_/debug_fn_imps.hpp \
585 ${pb_srcdir}/detail/list_update_map_/entry_metadata_base.hpp \
586 ${pb_srcdir}/detail/list_update_map_/erase_fn_imps.hpp \
587 ${pb_srcdir}/detail/list_update_map_/find_fn_imps.hpp \
588 ${pb_srcdir}/detail/list_update_map_/info_fn_imps.hpp \
589 ${pb_srcdir}/detail/list_update_map_/insert_fn_imps.hpp \
590 ${pb_srcdir}/detail/list_update_map_/iterators_fn_imps.hpp \
591 ${pb_srcdir}/detail/list_update_map_/lu_map_.hpp \
592 ${pb_srcdir}/detail/list_update_map_/trace_fn_imps.hpp \
593 ${pb_srcdir}/detail/list_update_policy/counter_lu_metadata.hpp \
594 ${pb_srcdir}/detail/list_update_policy/counter_lu_policy_imp.hpp \
595 ${pb_srcdir}/detail/list_update_policy/mtf_lu_policy_imp.hpp \
596 ${pb_srcdir}/detail/list_update_policy/sample_update_policy.hpp \
551fe1a2 597 ${pb_srcdir}/detail/debug_map_base.hpp \
4569a895
AT
598 ${pb_srcdir}/detail/ov_tree_map_/cond_dtor.hpp \
599 ${pb_srcdir}/detail/ov_tree_map_/constructors_destructor_fn_imps.hpp \
600 ${pb_srcdir}/detail/ov_tree_map_/debug_fn_imps.hpp \
601 ${pb_srcdir}/detail/ov_tree_map_/erase_fn_imps.hpp \
602 ${pb_srcdir}/detail/ov_tree_map_/info_fn_imps.hpp \
603 ${pb_srcdir}/detail/ov_tree_map_/insert_fn_imps.hpp \
604 ${pb_srcdir}/detail/ov_tree_map_/iterators_fn_imps.hpp \
605 ${pb_srcdir}/detail/ov_tree_map_/node_iterators.hpp \
606 ${pb_srcdir}/detail/ov_tree_map_/ov_tree_map_.hpp
607
608pb_headers5 = \
609 ${pb_srcdir}/detail/ov_tree_map_/policy_access_fn_imps.hpp \
610 ${pb_srcdir}/detail/ov_tree_map_/split_join_fn_imps.hpp \
611 ${pb_srcdir}/detail/ov_tree_map_/traits.hpp \
612 ${pb_srcdir}/detail/pairing_heap_/constructors_destructor_fn_imps.hpp \
613 ${pb_srcdir}/detail/pairing_heap_/debug_fn_imps.hpp \
614 ${pb_srcdir}/detail/pairing_heap_/erase_fn_imps.hpp \
615 ${pb_srcdir}/detail/pairing_heap_/find_fn_imps.hpp \
616 ${pb_srcdir}/detail/pairing_heap_/insert_fn_imps.hpp \
617 ${pb_srcdir}/detail/pairing_heap_/pairing_heap_.hpp \
618 ${pb_srcdir}/detail/pairing_heap_/split_join_fn_imps.hpp \
619 ${pb_srcdir}/detail/pat_trie_/child_iterator.hpp \
620 ${pb_srcdir}/detail/pat_trie_/cond_dtor_entry_dealtor.hpp \
621 ${pb_srcdir}/detail/pat_trie_/const_child_iterator.hpp \
622 ${pb_srcdir}/detail/pat_trie_/constructors_destructor_fn_imps.hpp \
623 ${pb_srcdir}/detail/pat_trie_/debug_fn_imps.hpp \
624 ${pb_srcdir}/detail/pat_trie_/erase_fn_imps.hpp \
625 ${pb_srcdir}/detail/pat_trie_/find_fn_imps.hpp \
626 ${pb_srcdir}/detail/pat_trie_/head.hpp \
627 ${pb_srcdir}/detail/pat_trie_/info_fn_imps.hpp \
628 ${pb_srcdir}/detail/pat_trie_/insert_join_fn_imps.hpp \
629 ${pb_srcdir}/detail/pat_trie_/internal_node.hpp \
630 ${pb_srcdir}/detail/pat_trie_/iterators_fn_imps.hpp \
631 ${pb_srcdir}/detail/pat_trie_/leaf.hpp \
632 ${pb_srcdir}/detail/pat_trie_/node_base.hpp \
633 ${pb_srcdir}/detail/pat_trie_/node_iterators.hpp \
634 ${pb_srcdir}/detail/pat_trie_/node_metadata_base.hpp \
635 ${pb_srcdir}/detail/pat_trie_/pat_trie_.hpp \
636 ${pb_srcdir}/detail/pat_trie_/point_iterators.hpp \
637 ${pb_srcdir}/detail/pat_trie_/policy_access_fn_imps.hpp \
638 ${pb_srcdir}/detail/pat_trie_/r_erase_fn_imps.hpp \
639 ${pb_srcdir}/detail/pat_trie_/rotate_fn_imps.hpp \
640 ${pb_srcdir}/detail/pat_trie_/split_fn_imps.hpp \
641 ${pb_srcdir}/detail/pat_trie_/split_join_branch_bag.hpp \
642 ${pb_srcdir}/detail/pat_trie_/synth_e_access_traits.hpp \
643 ${pb_srcdir}/detail/pat_trie_/trace_fn_imps.hpp \
644 ${pb_srcdir}/detail/pat_trie_/traits.hpp \
645 ${pb_srcdir}/detail/pat_trie_/update_fn_imps.hpp \
646 ${pb_srcdir}/detail/priority_queue_base_dispatch.hpp \
647 ${pb_srcdir}/detail/rb_tree_map_/constructors_destructor_fn_imps.hpp \
648 ${pb_srcdir}/detail/rb_tree_map_/debug_fn_imps.hpp
649
650pb_headers6 = \
651 ${pb_srcdir}/detail/rb_tree_map_/erase_fn_imps.hpp \
652 ${pb_srcdir}/detail/rb_tree_map_/find_fn_imps.hpp \
653 ${pb_srcdir}/detail/rb_tree_map_/info_fn_imps.hpp \
654 ${pb_srcdir}/detail/rb_tree_map_/insert_fn_imps.hpp \
655 ${pb_srcdir}/detail/rb_tree_map_/node.hpp \
656 ${pb_srcdir}/detail/rb_tree_map_/rb_tree_.hpp \
657 ${pb_srcdir}/detail/rb_tree_map_/split_join_fn_imps.hpp \
658 ${pb_srcdir}/detail/rb_tree_map_/traits.hpp \
659 ${pb_srcdir}/detail/rc_binomial_heap_/constructors_destructor_fn_imps.hpp \
660 ${pb_srcdir}/detail/rc_binomial_heap_/debug_fn_imps.hpp \
661 ${pb_srcdir}/detail/rc_binomial_heap_/erase_fn_imps.hpp \
662 ${pb_srcdir}/detail/rc_binomial_heap_/insert_fn_imps.hpp \
663 ${pb_srcdir}/detail/rc_binomial_heap_/rc_binomial_heap_.hpp \
664 ${pb_srcdir}/detail/rc_binomial_heap_/rc.hpp \
665 ${pb_srcdir}/detail/rc_binomial_heap_/split_join_fn_imps.hpp \
666 ${pb_srcdir}/detail/rc_binomial_heap_/trace_fn_imps.hpp \
667 ${pb_srcdir}/detail/resize_policy/cc_hash_max_collision_check_resize_trigger_imp.hpp \
668 ${pb_srcdir}/detail/resize_policy/hash_exponential_size_policy_imp.hpp \
669 ${pb_srcdir}/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp \
670 ${pb_srcdir}/detail/resize_policy/hash_load_check_resize_trigger_size_base.hpp \
671 ${pb_srcdir}/detail/resize_policy/hash_prime_size_policy_imp.hpp \
672 ${pb_srcdir}/detail/resize_policy/hash_standard_resize_policy_imp.hpp \
673 ${pb_srcdir}/detail/resize_policy/sample_resize_policy.hpp \
674 ${pb_srcdir}/detail/resize_policy/sample_resize_trigger.hpp \
675 ${pb_srcdir}/detail/resize_policy/sample_size_policy.hpp \
676 ${pb_srcdir}/detail/splay_tree_/constructors_destructor_fn_imps.hpp \
677 ${pb_srcdir}/detail/splay_tree_/debug_fn_imps.hpp \
678 ${pb_srcdir}/detail/splay_tree_/erase_fn_imps.hpp \
679 ${pb_srcdir}/detail/splay_tree_/find_fn_imps.hpp \
680 ${pb_srcdir}/detail/splay_tree_/info_fn_imps.hpp \
681 ${pb_srcdir}/detail/splay_tree_/insert_fn_imps.hpp \
682 ${pb_srcdir}/detail/splay_tree_/node.hpp \
683 ${pb_srcdir}/detail/splay_tree_/splay_fn_imps.hpp \
684 ${pb_srcdir}/detail/splay_tree_/splay_tree_.hpp \
685 ${pb_srcdir}/detail/splay_tree_/split_join_fn_imps.hpp \
686 ${pb_srcdir}/detail/splay_tree_/traits.hpp \
687 ${pb_srcdir}/detail/standard_policies.hpp \
688 ${pb_srcdir}/detail/thin_heap_/constructors_destructor_fn_imps.hpp \
689 ${pb_srcdir}/detail/thin_heap_/debug_fn_imps.hpp \
690 ${pb_srcdir}/detail/thin_heap_/erase_fn_imps.hpp
691
692pb_headers7 = \
693 ${pb_srcdir}/detail/thin_heap_/find_fn_imps.hpp \
694 ${pb_srcdir}/detail/thin_heap_/insert_fn_imps.hpp \
695 ${pb_srcdir}/detail/thin_heap_/split_join_fn_imps.hpp \
696 ${pb_srcdir}/detail/thin_heap_/thin_heap_.hpp \
697 ${pb_srcdir}/detail/thin_heap_/trace_fn_imps.hpp \
698 ${pb_srcdir}/detail/tree_policy/node_metadata_selector.hpp \
699 ${pb_srcdir}/detail/tree_policy/null_node_update_imp.hpp \
700 ${pb_srcdir}/detail/tree_policy/order_statistics_imp.hpp \
701 ${pb_srcdir}/detail/tree_policy/sample_tree_node_update.hpp \
702 ${pb_srcdir}/detail/tree_trace_base.hpp \
703 ${pb_srcdir}/detail/trie_policy/node_metadata_selector.hpp \
704 ${pb_srcdir}/detail/trie_policy/null_node_update_imp.hpp \
705 ${pb_srcdir}/detail/trie_policy/order_statistics_imp.hpp \
706 ${pb_srcdir}/detail/trie_policy/prefix_search_node_update_imp.hpp \
707 ${pb_srcdir}/detail/trie_policy/sample_trie_e_access_traits.hpp \
708 ${pb_srcdir}/detail/trie_policy/sample_trie_node_update.hpp \
709 ${pb_srcdir}/detail/trie_policy/string_trie_e_access_traits_imp.hpp \
710 ${pb_srcdir}/detail/trie_policy/trie_policy_base.hpp \
4569a895
AT
711 ${pb_srcdir}/detail/types_traits.hpp \
712 ${pb_srcdir}/detail/type_utils.hpp \
713 ${pb_srcdir}/detail/unordered_iterator/const_iterator.hpp \
714 ${pb_srcdir}/detail/unordered_iterator/const_point_iterator.hpp \
715 ${pb_srcdir}/detail/unordered_iterator/iterator.hpp \
716 ${pb_srcdir}/detail/unordered_iterator/point_iterator.hpp
fd1e1726 717
3d7c150e 718ext_srcdir = ${glibcxx_srcdir}/include/ext
fd1e1726 719ext_builddir = ./ext
53c2acdf
BK
720ext_headers = \
721 ${ext_srcdir}/algorithm \
2e362c74 722 ${ext_srcdir}/atomicity.h \
3febde35 723 ${ext_srcdir}/array_allocator.h \
009368db 724 ${ext_srcdir}/bitmap_allocator.h \
825bd0e1 725 ${ext_srcdir}/codecvt_specializations.h \
2e362c74 726 ${ext_srcdir}/concurrence.h \
1ff9402d 727 ${ext_srcdir}/debug_allocator.h \
4ffe6e87 728 ${ext_srcdir}/enc_filebuf.h \
53c2acdf 729 ${ext_srcdir}/stdio_filebuf.h \
51ff8149 730 ${ext_srcdir}/stdio_sync_filebuf.h \
53c2acdf 731 ${ext_srcdir}/functional \
53c2acdf 732 ${ext_srcdir}/iterator \
1ff9402d 733 ${ext_srcdir}/malloc_allocator.h \
53c2acdf 734 ${ext_srcdir}/memory \
1ff9402d
BK
735 ${ext_srcdir}/mt_allocator.h \
736 ${ext_srcdir}/new_allocator.h \
53c2acdf 737 ${ext_srcdir}/numeric \
b3726dab 738 ${ext_srcdir}/numeric_traits.h \
9e7facfd 739 ${ext_srcdir}/pod_char_traits.h \
1ff9402d 740 ${ext_srcdir}/pool_allocator.h \
53c2acdf
BK
741 ${ext_srcdir}/rb_tree \
742 ${ext_srcdir}/rope \
743 ${ext_srcdir}/ropeimpl.h \
744 ${ext_srcdir}/slist \
a86151e1 745 ${ext_srcdir}/throw_allocator.h \
872d8fea 746 ${ext_srcdir}/typelist.h \
105c6331 747 ${ext_srcdir}/type_traits.h \
872d8fea
PC
748 ${ext_srcdir}/rc_string_base.h \
749 ${ext_srcdir}/sso_string_base.h \
750 ${ext_srcdir}/vstring.h \
751 ${ext_srcdir}/vstring.tcc \
752 ${ext_srcdir}/vstring_fwd.h \
04d05349
BK
753 ${ext_srcdir}/vstring_util.h \
754 ${ext_compat_headers}
755
756ext_compat_headers = \
757 ${backward_srcdir}/hash_set \
758 ${backward_srcdir}/hash_map
4a9d5109 759
3febde35
BK
760tr1_srcdir = ${glibcxx_srcdir}/include/tr1
761tr1_builddir = ./tr1
762tr1_headers = \
a520f0b0 763 ${tr1_srcdir}/array \
7c62b943
BK
764 ${tr1_srcdir}/bessel_function.tcc \
765 ${tr1_srcdir}/beta_function.tcc \
aaf0ca6f 766 ${tr1_srcdir}/boost_sp_shared_count.h \
af13a7a6 767 ${tr1_srcdir}/ccomplex \
bd2bb1ea 768 ${tr1_srcdir}/cctype \
20921e53 769 ${tr1_srcdir}/cfenv \
82c79e0e 770 ${tr1_srcdir}/cfloat \
52a64bd3 771 ${tr1_srcdir}/cinttypes \
82c79e0e 772 ${tr1_srcdir}/climits \
4f0de5dd 773 ${tr1_srcdir}/cmath \
84a7b1fc 774 ${tr1_srcdir}/complex \
af13a7a6 775 ${tr1_srcdir}/complex.h \
82c79e0e 776 ${tr1_srcdir}/cstdarg \
1e41a98c 777 ${tr1_srcdir}/cstdbool \
2a1d6346 778 ${tr1_srcdir}/cstdint \
93638ec7 779 ${tr1_srcdir}/cstdio \
4f0de5dd 780 ${tr1_srcdir}/cstdlib \
9a7ab578 781 ${tr1_srcdir}/ctgmath \
4f0de5dd 782 ${tr1_srcdir}/ctime \
82c79e0e 783 ${tr1_srcdir}/ctype.h \
af66a43e
PC
784 ${tr1_srcdir}/cwchar \
785 ${tr1_srcdir}/cwctype \
7c62b943
BK
786 ${tr1_srcdir}/ell_integral.tcc \
787 ${tr1_srcdir}/exp_integral.tcc \
82c79e0e
PC
788 ${tr1_srcdir}/fenv.h \
789 ${tr1_srcdir}/float.h \
f2ede5d6 790 ${tr1_srcdir}/functional \
41e56bf7 791 ${tr1_srcdir}/functional_hash.h \
7c62b943 792 ${tr1_srcdir}/gamma.tcc \
7c62b943 793 ${tr1_srcdir}/hypergeometric.tcc \
e133ace8 794 ${tr1_srcdir}/hashtable.h \
82c79e0e
PC
795 ${tr1_srcdir}/inttypes.h \
796 ${tr1_srcdir}/limits.h \
4f0de5dd 797 ${tr1_srcdir}/math.h \
7dfded91 798 ${tr1_srcdir}/memory \
7c62b943
BK
799 ${tr1_srcdir}/modified_bessel_func.tcc \
800 ${tr1_srcdir}/poly_hermite.tcc \
801 ${tr1_srcdir}/poly_laguerre.tcc \
802 ${tr1_srcdir}/legendre_function.tcc \
86ad0dd6 803 ${tr1_srcdir}/random \
af13a7a6 804 ${tr1_srcdir}/regex \
7c62b943
BK
805 ${tr1_srcdir}/riemann_zeta.tcc \
806 ${tr1_srcdir}/special_function_util.h \
82c79e0e 807 ${tr1_srcdir}/stdarg.h \
1e41a98c 808 ${tr1_srcdir}/stdbool.h \
82c79e0e 809 ${tr1_srcdir}/stdint.h \
93638ec7 810 ${tr1_srcdir}/stdio.h \
4f0de5dd 811 ${tr1_srcdir}/stdlib.h \
9a7ab578 812 ${tr1_srcdir}/tgmath.h \
f2ede5d6 813 ${tr1_srcdir}/tuple \
821c5063 814 ${tr1_srcdir}/type_traits \
180ecd6a 815 ${tr1_srcdir}/unordered_set \
84a7b1fc 816 ${tr1_srcdir}/unordered_map \
af66a43e
PC
817 ${tr1_srcdir}/utility \
818 ${tr1_srcdir}/wchar.h \
819 ${tr1_srcdir}/wctype.h
4a9d5109 820
e133ace8
PC
821tr1_impl_srcdir = ${glibcxx_srcdir}/include/tr1_impl
822tr1_impl_builddir = ./tr1_impl
823tr1_impl_headers = \
824 ${tr1_impl_srcdir}/array \
825 ${tr1_impl_srcdir}/boost_shared_ptr.h \
aaf0ca6f 826 ${tr1_impl_srcdir}/boost_sp_counted_base.h \
e133ace8
PC
827 ${tr1_impl_srcdir}/cctype \
828 ${tr1_impl_srcdir}/cfenv \
829 ${tr1_impl_srcdir}/cinttypes \
830 ${tr1_impl_srcdir}/cmath \
831 ${tr1_impl_srcdir}/complex \
832 ${tr1_impl_srcdir}/cstdint \
833 ${tr1_impl_srcdir}/cstdio \
834 ${tr1_impl_srcdir}/cstdlib \
835 ${tr1_impl_srcdir}/cwchar \
836 ${tr1_impl_srcdir}/cwctype \
837 ${tr1_impl_srcdir}/functional \
838 ${tr1_impl_srcdir}/functional_hash.h \
839 ${tr1_impl_srcdir}/hashtable \
840 ${tr1_impl_srcdir}/hashtable_policy.h \
841 ${tr1_impl_srcdir}/random \
842 ${tr1_impl_srcdir}/random.tcc \
843 ${tr1_impl_srcdir}/regex \
e133ace8 844 ${tr1_impl_srcdir}/type_traits \
e133ace8
PC
845 ${tr1_impl_srcdir}/unordered_map \
846 ${tr1_impl_srcdir}/unordered_set \
847 ${tr1_impl_srcdir}/utility
848
ab9b9d2c 849
af13a7a6 850# This is the common subset of C++ files that all three "C" header models use.
ca618b60 851c_base_srcdir = $(C_INCLUDE_DIR)
73249e33 852c_base_builddir = .
53c2acdf 853c_base_headers = \
18154730 854 ${c_base_srcdir}/cassert \
af13a7a6 855 ${c_base_srcdir}/ccomplex \
18154730
BK
856 ${c_base_srcdir}/cctype \
857 ${c_base_srcdir}/cerrno \
af13a7a6 858 ${c_base_srcdir}/cfenv \
18154730 859 ${c_base_srcdir}/cfloat \
af13a7a6 860 ${c_base_srcdir}/cinttypes \
18154730
BK
861 ${c_base_srcdir}/ciso646 \
862 ${c_base_srcdir}/climits \
863 ${c_base_srcdir}/clocale \
864 ${c_base_srcdir}/cmath \
865 ${c_base_srcdir}/csetjmp \
866 ${c_base_srcdir}/csignal \
867 ${c_base_srcdir}/cstdarg \
af13a7a6 868 ${c_base_srcdir}/cstdbool \
18154730 869 ${c_base_srcdir}/cstddef \
af13a7a6 870 ${c_base_srcdir}/cstdint \
18154730
BK
871 ${c_base_srcdir}/cstdio \
872 ${c_base_srcdir}/cstdlib \
873 ${c_base_srcdir}/cstring \
af13a7a6 874 ${c_base_srcdir}/ctgmath \
18154730
BK
875 ${c_base_srcdir}/ctime \
876 ${c_base_srcdir}/cwchar \
877 ${c_base_srcdir}/cwctype
83144cfc 878
e01c9849
BK
879
880# "C" compatibility headers.
3d7c150e 881c_compatibility_srcdir = ${glibcxx_srcdir}/include/c_compatibility
e01c9849 882c_compatibility_builddir = .
af13a7a6
BK
883@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@c_compatibility_headers = \
884@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@ ${c_compatibility_srcdir}/complex.h \
803f183a 885@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@ ${c_compatibility_srcdir}/fenv.h \
af13a7a6
BK
886@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@ ${c_compatibility_srcdir}/tgmath.h
887
888@GLIBCXX_C_HEADERS_C_STD_TRUE@c_compatibility_headers =
889@GLIBCXX_C_HEADERS_C_TRUE@c_compatibility_headers = \
890@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/assert.h \
891@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/complex.h \
892@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/ctype.h \
893@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/errno.h \
894@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/fenv.h \
895@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/float.h \
896@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/inttypes.h \
897@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/iso646.h \
898@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/limits.h \
899@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/locale.h \
900@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/math.h \
901@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/setjmp.h \
902@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/signal.h \
903@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdarg.h \
904@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdbool.h \
905@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stddef.h \
906@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdint.h \
907@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdio.h \
908@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdlib.h \
909@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/string.h \
910@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/tgmath.h \
911@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/time.h \
912@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/wchar.h \
913@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/wctype.h
53c2acdf 914
ff66d28f 915
285b36d6
BK
916# Debug mode headers
917debug_srcdir = ${glibcxx_srcdir}/include/debug
918debug_builddir = ./debug
919debug_headers = \
920 ${debug_srcdir}/bitset \
921 ${debug_srcdir}/debug.h \
922 ${debug_srcdir}/deque \
923 ${debug_srcdir}/formatter.h \
d2763ab5 924 ${debug_srcdir}/functions.h \
285b36d6
BK
925 ${debug_srcdir}/list \
926 ${debug_srcdir}/map \
d2763ab5 927 ${debug_srcdir}/macros.h \
285b36d6
BK
928 ${debug_srcdir}/map.h \
929 ${debug_srcdir}/multimap.h \
930 ${debug_srcdir}/multiset.h \
e63637ea 931 ${debug_srcdir}/safe_association.h \
285b36d6
BK
932 ${debug_srcdir}/safe_base.h \
933 ${debug_srcdir}/safe_iterator.h \
934 ${debug_srcdir}/safe_iterator.tcc \
935 ${debug_srcdir}/safe_sequence.h \
936 ${debug_srcdir}/set \
937 ${debug_srcdir}/set.h \
938 ${debug_srcdir}/string \
e63637ea
BK
939 ${debug_srcdir}/unordered_map \
940 ${debug_srcdir}/unordered_set \
285b36d6
BK
941 ${debug_srcdir}/vector
942
c2ba9709
JS
943
944# Parallel mode headers
945parallel_srcdir = ${glibcxx_srcdir}/include/parallel
946parallel_builddir = ./parallel
947parallel_headers = \
948 ${parallel_srcdir}/algorithm \
949 ${parallel_srcdir}/algobase.h \
950 ${parallel_srcdir}/algo.h \
951 ${parallel_srcdir}/algorithm \
952 ${parallel_srcdir}/algorithmfwd.h \
953 ${parallel_srcdir}/balanced_quicksort.h \
954 ${parallel_srcdir}/base.h \
955 ${parallel_srcdir}/basic_iterator.h \
956 ${parallel_srcdir}/checkers.h \
957 ${parallel_srcdir}/compatibility.h \
958 ${parallel_srcdir}/compiletime_settings.h \
959 ${parallel_srcdir}/equally_split.h \
960 ${parallel_srcdir}/features.h \
961 ${parallel_srcdir}/find.h \
962 ${parallel_srcdir}/find_selectors.h \
963 ${parallel_srcdir}/for_each.h \
964 ${parallel_srcdir}/for_each_selectors.h \
965 ${parallel_srcdir}/iterator.h \
966 ${parallel_srcdir}/list_partition.h \
967 ${parallel_srcdir}/losertree.h \
968 ${parallel_srcdir}/merge.h \
969 ${parallel_srcdir}/multiseq_selection.h \
970 ${parallel_srcdir}/multiway_merge.h \
971 ${parallel_srcdir}/multiway_mergesort.h \
972 ${parallel_srcdir}/numeric \
973 ${parallel_srcdir}/numericfwd.h \
974 ${parallel_srcdir}/omp_loop.h \
975 ${parallel_srcdir}/omp_loop_static.h \
976 ${parallel_srcdir}/parallel.h \
977 ${parallel_srcdir}/par_loop.h \
978 ${parallel_srcdir}/partial_sum.h \
979 ${parallel_srcdir}/partition.h \
980 ${parallel_srcdir}/queue.h \
981 ${parallel_srcdir}/quicksort.h \
982 ${parallel_srcdir}/random_number.h \
983 ${parallel_srcdir}/random_shuffle.h \
984 ${parallel_srcdir}/search.h \
985 ${parallel_srcdir}/set_operations.h \
986 ${parallel_srcdir}/settings.h \
987 ${parallel_srcdir}/sort.h \
988 ${parallel_srcdir}/tags.h \
c2ba9709
JS
989 ${parallel_srcdir}/tree.h \
990 ${parallel_srcdir}/types.h \
991 ${parallel_srcdir}/unique_copy.h \
992 ${parallel_srcdir}/workstealing.h
993
af13a7a6 994@GLIBCXX_C_HEADERS_EXTRA_FALSE@c_base_headers_extra =
285b36d6 995
ff66d28f
PE
996# Some of the different "C" header models need extra files.
997# Some "C" header schemes require the "C" compatibility headers.
998# For --enable-cheaders=c_std
af13a7a6 999@GLIBCXX_C_HEADERS_EXTRA_TRUE@c_base_headers_extra = ${c_base_srcdir}/cmath.tcc
40fcf31b 1000@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@c_compatibility_headers_extra =
ec2075e9 1001@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@c_compatibility_headers_extra = ${c_compatibility_headers}
ca618b60 1002host_srcdir = ${glibcxx_srcdir}/$(OS_INC_SRCDIR)
a30335e9 1003host_builddir = ./${host_alias}/bits
2b6dd222 1004host_installdir = ${gxx_include_dir}/${host_alias}$(MULTISUBDIR)/bits
a30335e9
BK
1005host_headers = \
1006 ${host_srcdir}/ctype_base.h \
1007 ${host_srcdir}/ctype_inline.h \
1008 ${host_srcdir}/ctype_noninline.h \
1009 ${host_srcdir}/os_defines.h \
1568430f 1010 ${glibcxx_srcdir}/$(ATOMIC_WORD_SRCDIR)/atomic_word.h \
4b90c838 1011 ${glibcxx_srcdir}/$(ABI_TWEAKS_SRCDIR)/cxxabi_tweaks.h \
65be6ddd 1012 ${glibcxx_srcdir}/$(CPU_DEFINES_SRCDIR)/cpu_defines.h \
e4bf5dfc 1013 ${glibcxx_srcdir}/$(ERROR_CONSTANTS_SRCDIR)/error_constants.h \
65be6ddd
BK
1014 ${glibcxx_srcdir}/include/precompiled/stdc++.h \
1015 ${glibcxx_srcdir}/include/precompiled/stdtr1c++.h \
1016 ${glibcxx_srcdir}/include/precompiled/extc++.h
7bfea936 1017
6aa43d99 1018
a30335e9 1019# Non-installed host_header files.
bb2b2a24 1020COMPATIBILITY_H = config/abi/compatibility.h
a30335e9 1021host_headers_noinst = \
bb2b2a24
BK
1022 ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H) \
1023 ${glibcxx_srcdir}/$(COMPATIBILITY_H)
6aa43d99
BK
1024
1025
a30335e9
BK
1026# These host_headers_extra files are all built with ad hoc naming rules.
1027host_headers_extra = \
1028 ${host_builddir}/basic_file.h \
1029 ${host_builddir}/c++config.h \
8b0d6051 1030 ${host_builddir}/c++allocator.h \
a30335e9
BK
1031 ${host_builddir}/c++io.h \
1032 ${host_builddir}/c++locale.h \
1033 ${host_builddir}/messages_members.h \
825bd0e1 1034 ${host_builddir}/time_members.h
8520f704 1035
a30335e9
BK
1036thread_host_headers = \
1037 ${host_builddir}/gthr.h \
1038 ${host_builddir}/gthr-single.h \
1039 ${host_builddir}/gthr-posix.h \
512baaea 1040 ${host_builddir}/gthr-tpf.h \
a30335e9 1041 ${host_builddir}/gthr-default.h
8520f704 1042
f42482f5 1043pch1_source = ${glibcxx_srcdir}/include/precompiled/stdc++.h
6cbd871c 1044pch1_output_builddir = ${host_builddir}/stdc++.h.gch
56dbe89d 1045pch1_output_anchor = ${host_builddir}/stdc++.h
6cbd871c 1046pch1_output_installdir = ${host_installdir}/stdc++.h.gch
f42482f5
BK
1047pch1a_output = ${pch1_output_builddir}/O0g.gch
1048pch1b_output = ${pch1_output_builddir}/O2g.gch
bdfb7c6d 1049pch1_output = ${pch1a_output} ${pch1b_output}
f42482f5 1050pch2_source = ${glibcxx_srcdir}/include/precompiled/stdtr1c++.h
6cbd871c 1051pch2_output_builddir = ${host_builddir}/stdtr1c++.h.gch
56dbe89d 1052pch2_output_anchor = ${host_builddir}/stdtr1c++.h
6cbd871c 1053pch2_output_installdir = ${host_installdir}/stdtr1c++.h.gch
f42482f5
BK
1054pch2_output = ${pch2_output_builddir}/O2g.gch
1055pch3_source = ${glibcxx_srcdir}/include/precompiled/extc++.h
6cbd871c 1056pch3_output_builddir = ${host_builddir}/extc++.h.gch
56dbe89d 1057pch3_output_anchor = ${host_builddir}/extc++.h
6cbd871c 1058pch3_output_installdir = ${host_installdir}/extc++.h.gch
f42482f5 1059pch3_output = ${pch3_output_builddir}/O2g.gch
04dc1691 1060pch_output = ${pch1_output} ${pch2_output} ${pch3_output}
f42482f5 1061pch_output_dirs = \
04dc1691 1062 ${pch1_output_builddir} ${pch2_output_builddir} ${pch3_output_builddir}
f42482f5 1063
56dbe89d
BK
1064pch_output_anchors = \
1065 ${pch1_output_anchor} ${pch2_output_anchor} ${pch3_output_anchor}
1066
43c77254 1067PCHFLAGS = -Winvalid-pch -x c++-header $(CXXFLAGS)
4c24b21a 1068@GLIBCXX_BUILD_PCH_FALSE@pch_build =
f42482f5 1069@GLIBCXX_BUILD_PCH_TRUE@pch_build = ${pch_output}
628c731a 1070
4a9d5109
SW
1071# List of all timestamp files. By keeping only one copy of this list, both
1072# CLEANFILES and all-local are kept up-to-date.
53c2acdf 1073allstamped = \
18154730
BK
1074 stamp-std stamp-bits stamp-c_base stamp-c_base_extra \
1075 stamp-c_compatibility stamp-backward stamp-ext stamp-pb \
c2ba9709 1076 stamp-tr1 stamp-tr1-impl stamp-debug stamp-parallel stamp-host
628c731a 1077
4a9d5109 1078
9e57d5ca
BK
1079# List of all files that are created by explicit building, editing, or
1080# catenation.
53c2acdf 1081allcreated = \
a30335e9
BK
1082 ${host_builddir}/c++config.h \
1083 ${thread_host_headers} \
53c2acdf 1084 ${pch_build}
9e57d5ca 1085
ca618b60
PE
1086
1087# Host includes for threads
4a9d5109
SW
1088uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
1089
ab77073f 1090# By adding these files here, automake will remove them for 'make clean'
56dbe89d 1091CLEANFILES = ${pch_output} ${pch_output_anchors}
ff66d28f 1092all: all-am
54c1bf78 1093
54c1bf78 1094.SUFFIXES:
7eaf73d7
KC
1095$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
1096 @for dep in $?; do \
1097 case '$(am__configure_deps)' in \
1098 *$$dep*) \
1099 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
1100 && exit 0; \
1101 exit 1;; \
1102 esac; \
1103 done; \
1104 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps include/Makefile'; \
ff66d28f 1105 cd $(top_srcdir) && \
7eaf73d7
KC
1106 $(AUTOMAKE) --foreign --ignore-deps include/Makefile
1107Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1108 @case '$?' in \
1109 *config.status*) \
1110 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
1111 *) \
1112 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
1113 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
1114 esac;
1115
1116$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1117 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1118
1119$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
1120 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1121$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
1122 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
ff66d28f
PE
1123
1124mostlyclean-libtool:
1125 -rm -f *.lo
54c1bf78 1126
ff66d28f
PE
1127clean-libtool:
1128 -rm -rf .libs _libs
f53d0ff1 1129
ff66d28f
PE
1130distclean-libtool:
1131 -rm -f libtool
1132uninstall-info-am:
4a9d5109
SW
1133tags: TAGS
1134TAGS:
1135
ff66d28f
PE
1136ctags: CTAGS
1137CTAGS:
4a9d5109 1138
54c1bf78
BK
1139
1140distdir: $(DISTFILES)
7eaf73d7 1141 $(mkdir_p) $(distdir)/..
ff66d28f
PE
1142 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
1143 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
1144 list='$(DISTFILES)'; for file in $$list; do \
1145 case $$file in \
1146 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
1147 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
1148 esac; \
1149 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1150 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
1151 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
1152 dir="/$$dir"; \
7eaf73d7 1153 $(mkdir_p) "$(distdir)$$dir"; \
ff66d28f
PE
1154 else \
1155 dir=''; \
1156 fi; \
54c1bf78 1157 if test -d $$d/$$file; then \
ff66d28f
PE
1158 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1159 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
1160 fi; \
1161 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
54c1bf78
BK
1162 else \
1163 test -f $(distdir)/$$file \
ff66d28f
PE
1164 || cp -p $$d/$$file $(distdir)/$$file \
1165 || exit 1; \
54c1bf78
BK
1166 fi; \
1167 done
ff66d28f 1168check-am: all-am
54c1bf78 1169check: check-am
ff66d28f 1170all-am: Makefile all-local
ff66d28f
PE
1171installdirs:
1172install: install-am
1173install-exec: install-exec-am
2c1bc4eb 1174install-data: install-data-am
ff66d28f 1175uninstall: uninstall-am
4a9d5109 1176
2c1bc4eb
PC
1177install-am: all-am
1178 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
54c1bf78 1179
ff66d28f
PE
1180installcheck: installcheck-am
1181install-strip:
1182 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
ec2075e9 1183 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
ff66d28f
PE
1184 `test -z '$(STRIP)' || \
1185 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
4a9d5109
SW
1186mostlyclean-generic:
1187
1188clean-generic:
ab77073f 1189 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
4a9d5109
SW
1190
1191distclean-generic:
a60945f8 1192 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
4a9d5109
SW
1193
1194maintainer-clean-generic:
ff66d28f
PE
1195 @echo "This command is intended for maintainers to use"
1196 @echo "it deletes files that may require special tools to rebuild."
1197clean: clean-am
2c1bc4eb 1198
303c8bfd 1199clean-am: clean-generic clean-libtool clean-local mostlyclean-am
f53d0ff1 1200
ff66d28f 1201distclean: distclean-am
4c4809c1 1202 -rm -f Makefile
ff66d28f 1203distclean-am: clean-am distclean-generic distclean-libtool
f53d0ff1 1204
ff66d28f 1205dvi: dvi-am
f53d0ff1 1206
ff66d28f 1207dvi-am:
f53d0ff1 1208
7eaf73d7
KC
1209html: html-am
1210
ff66d28f
PE
1211info: info-am
1212
1213info-am:
1214
1215install-data-am: install-data-local
1216
1217install-exec-am:
1218
1219install-info: install-info-am
1220
1221install-man:
1222
1223installcheck-am:
4a9d5109
SW
1224
1225maintainer-clean: maintainer-clean-am
4c4809c1 1226 -rm -f Makefile
ff66d28f
PE
1227maintainer-clean-am: distclean-am maintainer-clean-generic
1228
1229mostlyclean: mostlyclean-am
1230
1231mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1232
1233pdf: pdf-am
1234
1235pdf-am:
1236
1237ps: ps-am
1238
1239ps-am:
1240
1241uninstall-am: uninstall-info-am
1242
1243.PHONY: all all-am all-local check check-am clean clean-generic \
303c8bfd
BK
1244 clean-libtool clean-local distclean distclean-generic \
1245 distclean-libtool distdir dvi dvi-am html html-am info info-am \
1246 install install-am install-data install-data-am \
1247 install-data-local install-exec install-exec-am install-info \
1248 install-info-am install-man install-strip installcheck \
1249 installcheck-am installdirs maintainer-clean \
1250 maintainer-clean-generic mostlyclean mostlyclean-generic \
1251 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
1252 uninstall-info-am
4a9d5109
SW
1253
1254
1255# Here are the rules for building the headers
82ba99d5 1256all-local: ${allstamped} ${allcreated}
4a9d5109 1257
066930bb
PE
1258# This rule is slightly different, in that we must change the name of the
1259# local file from std_foo.h to foo.
4a9d5109
SW
1260stamp-std: ${std_headers}
1261 @if [ ! -d "${std_builddir}" ]; then \
1262 mkdir -p ${std_builddir} ;\
1263 fi ;\
7ec3af37 1264 if [ ! -f stamp-std ]; then \
18154730 1265 (cd ${std_builddir} && $(LN_S) $? . || true) ;\
82ba99d5
PE
1266 fi ;\
1267 $(STAMP) stamp-std
ab77073f 1268
4a9d5109
SW
1269stamp-bits: ${bits_headers}
1270 @if [ ! -d "${bits_builddir}" ]; then \
1271 mkdir -p ${bits_builddir} ;\
1272 fi ;\
7ec3af37 1273 if [ ! -f stamp-bits ]; then \
82ba99d5
PE
1274 (cd ${bits_builddir} && $(LN_S) $? . || true) ;\
1275 fi ;\
1276 $(STAMP) stamp-bits
4a9d5109 1277
18154730 1278stamp-c_base: ${c_base_headers}
4a9d5109
SW
1279 @if [ ! -d "${c_base_builddir}" ]; then \
1280 mkdir -p ${c_base_builddir} ;\
1281 fi ;\
7ec3af37 1282 if [ ! -f stamp-c_base ]; then \
18154730 1283 (cd ${c_base_builddir} && $(LN_S) $? . || true) ;\
82ba99d5
PE
1284 fi ;\
1285 $(STAMP) stamp-c_base
4a9d5109 1286
18154730
BK
1287stamp-c_base_extra: ${c_base_headers_extra}
1288 @if [ ! -d "${bits_builddir}" ]; then \
1289 mkdir -p ${bits_builddir} ;\
1290 fi ;\
1291 if [ ! -f stamp-c_base_extra ]; then \
1292 (cd ${bits_builddir} && $(LN_S) $? . || true) ;\
1293 fi ;\
1294 $(STAMP) stamp-c_base_extra
1295
e01c9849
BK
1296stamp-c_compatibility: ${c_compatibility_headers_extra}
1297 @if [ ! -d "${c_compatibility_builddir}" ]; then \
1298 mkdir -p ${c_compatibility_builddir} ;\
1299 fi ;\
7ec3af37
BK
1300 if [ ! -f stamp-c_compatibility ]; then \
1301 if [ ! -z "${c_compatibility_headers_extra}" ]; then \
82ba99d5 1302 (cd ${c_compatibility_builddir} && $(LN_S) $? . || true) ;\
7ec3af37 1303 fi ;\
82ba99d5
PE
1304 fi ;\
1305 $(STAMP) stamp-c_compatibility
e01c9849 1306
4a9d5109
SW
1307stamp-backward: ${backward_headers}
1308 @if [ ! -d "${backward_builddir}" ]; then \
1309 mkdir -p ${backward_builddir} ;\
1310 fi ;\
7ec3af37 1311 if [ ! -f stamp-backward ]; then \
82ba99d5
PE
1312 (cd ${backward_builddir} && $(LN_S) $? . || true) ;\
1313 fi ;\
1314 $(STAMP) stamp-backward
4a9d5109
SW
1315
1316stamp-ext: ${ext_headers}
1317 @if [ ! -d "${ext_builddir}" ]; then \
7ec3af37 1318 mkdir -p ${ext_builddir} ;\
4a9d5109 1319 fi ;\
7ec3af37 1320 if [ ! -f stamp-ext ]; then \
82ba99d5
PE
1321 (cd ${ext_builddir} && $(LN_S) $? . || true) ;\
1322 fi ;\
1323 $(STAMP) stamp-ext
4a9d5109 1324
fd1e1726
BK
1325# Have to deal with nested include directories, gah! Strip off source
1326# directory before making the link.
4569a895
AT
1327# XXX check ${pb_headers}
1328stamp-pb:
1329 @if [ ! -d "${pb_builddir}" ]; then \
1330 mkdir -p ${pb_subdirs} ;\
00ff8e19 1331 fi
4569a895
AT
1332 @if [ ! -f stamp-pb ]; then \
1333 cd ${pb_builddir} && for h in ${pb_headers1}; do \
1334 build_name=`echo $$h | sed -e "s|${pb_srcdir}|.|g"` ;\
00ff8e19
DE
1335 $(LN_S) $$h $${build_name} || true ;\
1336 done ;\
1337 fi
4569a895
AT
1338 @if [ ! -f stamp-pb ]; then \
1339 cd ${pb_builddir} && for h in ${pb_headers2}; do \
1340 build_name=`echo $$h | sed -e "s|${pb_srcdir}|.|g"` ;\
00ff8e19
DE
1341 $(LN_S) $$h $${build_name} || true ;\
1342 done ;\
1343 fi
4569a895
AT
1344 @if [ ! -f stamp-pb ]; then \
1345 cd ${pb_builddir} && for h in ${pb_headers3}; do \
1346 build_name=`echo $$h | sed -e "s|${pb_srcdir}|.|g"` ;\
00ff8e19
DE
1347 $(LN_S) $$h $${build_name} || true ;\
1348 done ;\
1349 fi
4569a895
AT
1350 @if [ ! -f stamp-pb ]; then \
1351 cd ${pb_builddir} && for h in ${pb_headers4}; do \
1352 build_name=`echo $$h | sed -e "s|${pb_srcdir}|.|g"` ;\
00ff8e19
DE
1353 $(LN_S) $$h $${build_name} || true ;\
1354 done ;\
1355 fi
4569a895
AT
1356 @if [ ! -f stamp-pb ]; then \
1357 cd ${pb_builddir} && for h in ${pb_headers5}; do \
1358 build_name=`echo $$h | sed -e "s|${pb_srcdir}|.|g"` ;\
00ff8e19
DE
1359 $(LN_S) $$h $${build_name} || true ;\
1360 done ;\
1361 fi
4569a895
AT
1362 @if [ ! -f stamp-pb ]; then \
1363 cd ${pb_builddir} && for h in ${pb_headers6}; do \
1364 build_name=`echo $$h | sed -e "s|${pb_srcdir}|.|g"` ;\
1365 $(LN_S) $$h $${build_name} || true ;\
1366 done ;\
1367 fi
1368 @if [ ! -f stamp-pb ]; then \
1369 cd ${pb_builddir} && for h in ${pb_headers7}; do \
1370 build_name=`echo $$h | sed -e "s|${pb_srcdir}|.|g"` ;\
1371 $(LN_S) $$h $${build_name} || true ;\
1372 done ;\
1373 fi
1374 $(STAMP) stamp-pb
fd1e1726 1375
3febde35
BK
1376stamp-tr1: ${tr1_headers}
1377 @if [ ! -d "${tr1_builddir}" ]; then \
1378 mkdir -p ${tr1_builddir} ;\
1379 fi ;\
1380 if [ ! -f stamp-tr1 ]; then \
1381 (cd ${tr1_builddir} && $(LN_S) $? . || true) ;\
1382 fi ;\
1383 $(STAMP) stamp-tr1
1384
e133ace8
PC
1385stamp-tr1-impl: ${tr1_impl_headers}
1386 @if [ ! -d "${tr1_impl_builddir}" ]; then \
1387 mkdir -p ${tr1_impl_builddir} ;\
1388 fi ;\
1389 if [ ! -f stamp-tr1-impl ]; then \
1390 (cd ${tr1_impl_builddir} && $(LN_S) $? . || true) ;\
1391 fi ;\
1392 $(STAMP) stamp-tr1-impl
1393
285b36d6
BK
1394stamp-debug: ${debug_headers}
1395 @if [ ! -d "${debug_builddir}" ]; then \
1396 mkdir -p ${debug_builddir} ;\
1397 fi ;\
1398 if [ ! -f stamp-debug ]; then \
1399 (cd ${debug_builddir} && @LN_S@ $? . || true) ;\
1400 fi ;\
1401 $(STAMP) stamp-debug
1402
c2ba9709
JS
1403stamp-parallel: ${parallel_headers}
1404 @if [ ! -d "${parallel_builddir}" ]; then \
1405 mkdir -p ${parallel_builddir} ;\
1406 fi ;\
1407 if [ ! -f stamp-parallel ]; then \
1408 (cd ${parallel_builddir} && @LN_S@ $? . || true) ;\
1409 fi ;\
1410 $(STAMP) stamp-parallel
1411
a30335e9
BK
1412stamp-${host_alias}:
1413 @if [ ! -d ${host_builddir} ]; then \
1414 mkdir -p ${host_builddir} ;\
82ba99d5
PE
1415 fi ;\
1416 $(STAMP) stamp-${host_alias}
843312be 1417
a30335e9
BK
1418# Host includes static.
1419# XXX Missing dependency info for {host_headers_extra}
1420stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias}
1421 @if [ ! -f stamp-host ]; then \
1422 (cd ${host_builddir} ;\
82ba99d5 1423 $(LN_S) ${host_headers} . || true ;\
ca618b60 1424 $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_H) basic_file.h || true ;\
8b0d6051 1425 $(LN_S) ${glibcxx_srcdir}/$(ALLOCATOR_H) c++allocator.h || true ;\
ca618b60
PE
1426 $(LN_S) ${glibcxx_srcdir}/$(CSTDIO_H) c++io.h || true ;\
1427 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_H) c++locale.h || true ;\
1428 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H) . || true ;\
bb2b2a24 1429 $(LN_S) ${glibcxx_srcdir}/$(COMPATIBILITY_H) . || true ;\
ca618b60 1430 $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_H) messages_members.h || true ;\
302ece50 1431 $(LN_S) ${glibcxx_srcdir}/$(CTIME_H) time_members.h || true);\
82ba99d5
PE
1432 fi ;\
1433 $(STAMP) stamp-host
4a9d5109 1434
a30335e9 1435# Host includes dynamic.
3cbc7af0
BK
1436@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@stamp-namespace-version:
1437@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@ echo 1 > stamp-namespace-version
1438@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@stamp-namespace-version:
1439@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@ echo 0 > stamp-namespace-version
98e615b4
BK
1440
1441@ENABLE_VISIBILITY_TRUE@stamp-visibility:
1442@ENABLE_VISIBILITY_TRUE@ echo 1 > stamp-visibility
1443@ENABLE_VISIBILITY_FALSE@stamp-visibility:
1444@ENABLE_VISIBILITY_FALSE@ echo 0 > stamp-visibility
1445
68d64ccd
JR
1446# NB: The non-empty default ldbl_compat works around an AIX sed
1447# oddity, see libstdc++/31957 for details.
3cbc7af0
BK
1448${host_builddir}/c++config.h: ${CONFIG_HEADER} \
1449 ${glibcxx_srcdir}/include/bits/c++config \
1450 stamp-${host_alias} \
1451 ${toplevel_srcdir}/gcc/DATESTAMP \
98e615b4
BK
1452 stamp-namespace-version \
1453 stamp-visibility
3cbc7af0
BK
1454 @date=`cat ${toplevel_srcdir}/gcc/DATESTAMP` ;\
1455 nsa_version=`cat stamp-namespace-version` ;\
98e615b4 1456 visibility=`cat stamp-visibility` ;\
68d64ccd 1457 ldbl_compat='s,g,g,' ;\
6defecc2
JJ
1458 grep "^[ ]*#[ ]*define[ ][ ]*_GLIBCXX_LONG_DOUBLE_COMPAT[ ][ ]*1[ ]*$$" \
1459 ${CONFIG_HEADER} > /dev/null 2>&1 \
1460 && ldbl_compat='s,^#undef _GLIBCXX_LONG_DOUBLE_COMPAT$$,#define _GLIBCXX_LONG_DOUBLE_COMPAT 1,' ;\
3cbc7af0
BK
1461 sed -e "s,define __GLIBCXX__,define __GLIBCXX__ $$date," \
1462 -e "s,define _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION, define _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION $$nsa_version," \
98e615b4 1463 -e "s,define _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY, define _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY $$visibility," \
6defecc2 1464 -e "$$ldbl_compat" \
3cbc7af0 1465 < ${glibcxx_srcdir}/include/bits/c++config > $@ ;\
3d7c150e
BK
1466 sed -e 's/HAVE_/_GLIBCXX_HAVE_/g' \
1467 -e 's/PACKAGE/_GLIBCXX_PACKAGE/g' \
1468 -e 's/VERSION/_GLIBCXX_VERSION/g' \
1469 -e 's/WORDS_/_GLIBCXX_WORDS_/g' \
4ffe6e87 1470 -e 's/ICONV_CONST/_GLIBCXX_ICONV_CONST/g' \
6defecc2 1471 -e '/[ ]_GLIBCXX_LONG_DOUBLE_COMPAT[ ]/d' \
42ebb17f 1472 < ${CONFIG_HEADER} >> $@ ;\
3cbc7af0 1473 echo "" >> $@ ;\
af13a7a6 1474 echo "#endif // _GLIBCXX_CXX_CONFIG_H" >> $@
4a9d5109 1475
a30335e9 1476${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
168aacd9
JM
1477 sed -e '/^#pragma/b' \
1478 -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
ec2075e9 1479 -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
4a9d5109 1480 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
533ab4d1 1481 < ${toplevel_srcdir}/gcc/gthr.h > $@
4a9d5109 1482
a30335e9
BK
1483${host_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
1484 stamp-${host_alias}
3d7c150e
BK
1485 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1486 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
533ab4d1 1487 < ${toplevel_srcdir}/gcc/gthr-single.h > $@
4a9d5109 1488
a30335e9
BK
1489${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
1490 stamp-${host_alias}
3d7c150e
BK
1491 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1492 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
ec2075e9
BK
1493 -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
1494 -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
79d6ba0b
LR
1495 < ${toplevel_srcdir}/gcc/gthr-posix.h > $@
1496
512baaea
D
1497${host_builddir}/gthr-tpf.h: ${toplevel_srcdir}/gcc/gthr-tpf.h \
1498 stamp-${host_alias}
1499 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1500 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
1501 -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
1502 -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
1503 < ${toplevel_srcdir}/gcc/gthr-tpf.h > $@
1504
3d7c150e 1505${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \
a30335e9 1506 stamp-${host_alias}
3d7c150e
BK
1507 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1508 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
ec2075e9
BK
1509 -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
1510 -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
79d6ba0b 1511 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
3d7c150e 1512 < ${toplevel_srcdir}/gcc/${glibcxx_thread_h} > $@
9e57d5ca 1513
bdfb7c6d 1514# Build two precompiled C++ includes, stdc++.h.gch/*.gch
f42482f5
BK
1515${pch1a_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
1516 if [ ! -d "${pch1_output_builddir}" ]; then \
1517 mkdir -p ${pch1_output_builddir}; \
1518 fi; \
1519 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O0 -g ${pch1_source} -o $@
56dbe89d 1520 touch ${pch1_output_anchor}
f42482f5
BK
1521
1522${pch1b_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
6cbd871c
BK
1523 if [ ! -d "${pch1_output_builddir}" ]; then \
1524 mkdir -p ${pch1_output_builddir}; \
8520f704 1525 fi; \
f42482f5 1526 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch1_source} -o $@
56dbe89d 1527 touch ${pch1_output_anchor}
6cbd871c 1528
f42482f5
BK
1529# Build a precompiled TR1 include, stdtr1c++.h.gch/O2.gch
1530${pch2_output}: ${pch2_source} ${pch1_output}
6cbd871c
BK
1531 if [ ! -d "${pch2_output_builddir}" ]; then \
1532 mkdir -p ${pch2_output_builddir}; \
1533 fi; \
f42482f5 1534 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch2_source} -o $@
56dbe89d 1535 touch ${pch2_output_anchor}
6cbd871c 1536
f42482f5
BK
1537# Build a precompiled extension include, extc++.h.gch/O2.gch
1538${pch3_output}: ${pch3_source} ${pch2_output}
6cbd871c
BK
1539 if [ ! -d "${pch3_output_builddir}" ]; then \
1540 mkdir -p ${pch3_output_builddir}; \
1541 fi; \
f42482f5 1542 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch3_source} -o $@
56dbe89d 1543 touch ${pch3_output_anchor}
9e57d5ca 1544
92eabea2
PE
1545# For robustness sake (in light of junk files or in-source
1546# configuration), copy from the build or source tree to the install
1547# tree using only the human-maintained file lists and directory
1548# components. Yes, with minor differences, this is sheer duplication
1549# of the staging rules above using $(INSTALL_DATA) instead of LN_S and
1550# `$(mkinstalldirs)' instead of `mkdir -p'. In particular,
1551# host_headers_extra are taken out of the build tree staging area;
1552# the rest are taken from the original source tree.
9e57d5ca 1553
65be6ddd 1554@GLIBCXX_HOSTED_TRUE@install-data-local: install-headers
92eabea2
PE
1555@GLIBCXX_HOSTED_FALSE@install-data-local: install-freestanding-headers
1556
1557# This is a subset of the full install-headers rule. We only need <cstddef>,
1558# <limits>, <cstdlib>, <cstdarg>, <new>, <typeinfo>, <exception>, and any
1559# files which they include (and which we provide). The last three headers
1560# are installed by libsupc++, so only the first four and the sub-includes
1561# are copied here.
1562install-freestanding-headers:
1563 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
2b6dd222 1564 $(mkinstalldirs) $(DESTDIR)${host_installdir}
92eabea2 1565 for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h; do \
2b6dd222 1566 $(INSTALL_DATA) $${file} $(DESTDIR)${host_installdir}; done
92eabea2
PE
1567 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
1568 $(INSTALL_DATA) ${std_builddir}/limits $(DESTDIR)${gxx_include_dir}/${std_builddir}
1569 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
1570 for file in cstddef cstdlib cstdarg; do \
1571 $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
1572
1573# The real deal.
9e57d5ca 1574install-headers:
90e5b39f
CC
1575 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
1576 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${bits_builddir}
7bfea936 1577 for file in ${bits_headers}; do \
90e5b39f
CC
1578 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
1579 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${backward_builddir}
7bfea936 1580 for file in ${backward_headers}; do \
90e5b39f
CC
1581 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${backward_builddir}; done
1582 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${ext_builddir}
7bfea936 1583 for file in ${ext_headers}; do \
90e5b39f 1584 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${ext_builddir}; done
4569a895
AT
1585 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${pb_builddir}
1586 for dir in ${pb_subdirs}; do \
fd1e1726 1587 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/$${dir} ; done
4569a895
AT
1588 for file in ${pb_headers1}; do \
1589 install_base=$(DESTDIR)${gxx_include_dir}/${pb_builddir} ; \
1590 relative_name=`echo $$file | sed -e "s|${pb_srcdir}|.|g"` ;\
1591 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
1592 for file in ${pb_headers2}; do \
1593 install_base=$(DESTDIR)${gxx_include_dir}/${pb_builddir} ; \
1594 relative_name=`echo $$file | sed -e "s|${pb_srcdir}|.|g"` ;\
1595 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
1596 for file in ${pb_headers3}; do \
1597 install_base=$(DESTDIR)${gxx_include_dir}/${pb_builddir} ; \
1598 relative_name=`echo $$file | sed -e "s|${pb_srcdir}|.|g"` ;\
c35a51a5 1599 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
4569a895
AT
1600 for file in ${pb_headers4}; do \
1601 install_base=$(DESTDIR)${gxx_include_dir}/${pb_builddir} ; \
1602 relative_name=`echo $$file | sed -e "s|${pb_srcdir}|.|g"` ;\
c35a51a5 1603 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
4569a895
AT
1604 for file in ${pb_headers5}; do \
1605 install_base=$(DESTDIR)${gxx_include_dir}/${pb_builddir} ; \
1606 relative_name=`echo $$file | sed -e "s|${pb_srcdir}|.|g"` ;\
c35a51a5 1607 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
4569a895
AT
1608 for file in ${pb_headers6}; do \
1609 install_base=$(DESTDIR)${gxx_include_dir}/${pb_builddir} ; \
1610 relative_name=`echo $$file | sed -e "s|${pb_srcdir}|.|g"` ;\
c35a51a5 1611 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
4569a895
AT
1612 for file in ${pb_headers7}; do \
1613 install_base=$(DESTDIR)${gxx_include_dir}/${pb_builddir} ; \
1614 relative_name=`echo $$file | sed -e "s|${pb_srcdir}|.|g"` ;\
fd1e1726 1615 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
3febde35
BK
1616 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${tr1_builddir}
1617 for file in ${tr1_headers}; do \
1618 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${tr1_builddir}; done
e133ace8
PC
1619 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${tr1_impl_builddir}
1620 for file in ${tr1_impl_headers}; do \
1621 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${tr1_impl_builddir}; done
90e5b39f 1622 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
18154730
BK
1623 for file in ${c_base_headers}; do \
1624 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
e01c9849 1625 c_base_headers_extra_install='$(c_base_headers_extra)';\
3eb35fcf 1626 for file in $$c_base_headers_extra_install; do \
90e5b39f 1627 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
e01c9849
BK
1628 c_compatibility_headers_install='$(c_compatibility_headers_extra)';\
1629 for file in $$c_compatibility_headers_install; do \
90e5b39f
CC
1630 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}; done
1631 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
18154730
BK
1632 for file in ${std_headers}; do \
1633 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done
285b36d6
BK
1634 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${debug_builddir}
1635 for file in ${debug_headers}; do \
1636 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${debug_builddir}; done
c2ba9709
JS
1637 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${parallel_builddir}
1638 for file in ${parallel_headers}; do \
1639 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${parallel_builddir}; done
2b6dd222 1640 $(mkinstalldirs) $(DESTDIR)${host_installdir}
a30335e9
BK
1641 for file in ${host_headers} ${host_headers_extra} \
1642 ${thread_host_headers}; do \
2b6dd222 1643 $(INSTALL_DATA) $${file} $(DESTDIR)${host_installdir}; done
4a9d5109 1644
303c8bfd
BK
1645# To remove directories.
1646clean-local:
f42482f5 1647 rm -rf ${pch_output_dirs}
303c8bfd 1648
c5535768
BK
1649# Stop implicit '.o' make rules from ever stomping on extensionless
1650# headers, in the improbable case where some foolish, crack-addled
1651# developer tries to create them via make in the include build
654421eb
DE
1652# directory. (This is more of an example of how this kind of rule can
1653# be made.)
e133ace8
PC
1654.PRECIOUS: $(std_headers) $(c_base_headers) $(tr1_headers) $(tr1_impl_headers)
1655 $(ext_headers)
18154730
BK
1656$(std_headers): ; @:
1657$(c_base_headers): ; @:
1658$(tr1_headers): ; @:
e133ace8 1659$(tr1_impl_headers): ; @:
18154730 1660$(ext_headers): ; @:
4a9d5109
SW
1661# Tell versions [3.59,3.63) of GNU make to not export all variables.
1662# Otherwise a system limit (for SysV at least) may be exceeded.
1663.NOEXPORT: