]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/include/Makefile.in
re PR libstdc++/30085 (switch debug mode hash containers from ext to tr1)
[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 \
329 ${bits_srcdir}/char_traits.h \
330 ${bits_srcdir}/codecvt.h \
331 ${bits_srcdir}/concept_check.h \
332 ${bits_srcdir}/cpp_type_traits.h \
53c2acdf 333 ${bits_srcdir}/deque.tcc \
53c2acdf
BK
334 ${bits_srcdir}/fstream.tcc \
335 ${bits_srcdir}/functexcept.h \
e133ace8 336 ${bits_srcdir}/functional_hash.h \
53c2acdf
BK
337 ${bits_srcdir}/gslice.h \
338 ${bits_srcdir}/gslice_array.h \
e133ace8 339 ${bits_srcdir}/hashtable.h \
53c2acdf
BK
340 ${bits_srcdir}/indirect_array.h \
341 ${bits_srcdir}/ios_base.h \
342 ${bits_srcdir}/istream.tcc \
343 ${bits_srcdir}/list.tcc \
344 ${bits_srcdir}/locale_classes.h \
84b31797 345 ${bits_srcdir}/locale_classes.tcc \
53c2acdf
BK
346 ${bits_srcdir}/locale_facets.h \
347 ${bits_srcdir}/locale_facets.tcc \
f749a55b
PC
348 ${bits_srcdir}/locale_facets_nonio.h \
349 ${bits_srcdir}/locale_facets_nonio.tcc \
53c2acdf
BK
350 ${bits_srcdir}/localefwd.h \
351 ${bits_srcdir}/mask_array.h \
352 ${bits_srcdir}/ostream.tcc \
11202768 353 ${bits_srcdir}/ostream_insert.h \
4c4809c1 354 ${bits_srcdir}/postypes.h \
53c2acdf
BK
355 ${bits_srcdir}/stream_iterator.h \
356 ${bits_srcdir}/streambuf_iterator.h \
357 ${bits_srcdir}/slice_array.h \
358 ${bits_srcdir}/sstream.tcc \
359 ${bits_srcdir}/stl_algo.h \
360 ${bits_srcdir}/stl_algobase.h \
53c2acdf
BK
361 ${bits_srcdir}/stl_bvector.h \
362 ${bits_srcdir}/stl_construct.h \
363 ${bits_srcdir}/stl_deque.h \
364 ${bits_srcdir}/stl_function.h \
365 ${bits_srcdir}/stl_heap.h \
366 ${bits_srcdir}/stl_iterator.h \
367 ${bits_srcdir}/stl_iterator_base_funcs.h \
368 ${bits_srcdir}/stl_iterator_base_types.h \
369 ${bits_srcdir}/stl_list.h \
370 ${bits_srcdir}/stl_map.h \
acb8a4ef 371 ${bits_srcdir}/stl_auto_ptr.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 = \
53c2acdf 397 ${backward_srcdir}/strstream \
e63637ea
BK
398 ${backward_srcdir}/hash_map \
399 ${backward_srcdir}/hash_set \
400 ${backward_srcdir}/hash_fun.h \
401 ${backward_srcdir}/hashtable.h \
53c2acdf 402 ${backward_srcdir}/backward_warning.h
4a9d5109 403
4569a895
AT
404pb_srcdir = ${glibcxx_srcdir}/include/ext/pb_ds
405pb_builddir = ./ext/pb_ds
406pb_subdirs = \
407 ${pb_builddir}/detail \
408 ${pb_builddir}/detail/pairing_heap_ \
409 ${pb_builddir}/detail/splay_tree_ \
410 ${pb_builddir}/detail/list_update_map_ \
4569a895
AT
411 ${pb_builddir}/detail/basic_tree_policy \
412 ${pb_builddir}/detail/trie_policy \
413 ${pb_builddir}/detail/gp_hash_table_map_ \
414 ${pb_builddir}/detail/tree_policy \
415 ${pb_builddir}/detail/binomial_heap_base_ \
416 ${pb_builddir}/detail/resize_policy \
417 ${pb_builddir}/detail/bin_search_tree_ \
418 ${pb_builddir}/detail/binomial_heap_ \
419 ${pb_builddir}/detail/thin_heap_ \
420 ${pb_builddir}/detail/pat_trie_ \
421 ${pb_builddir}/detail/cc_hash_table_map_ \
422 ${pb_builddir}/detail/rc_binomial_heap_ \
423 ${pb_builddir}/detail/left_child_next_sibling_heap_ \
424 ${pb_builddir}/detail/unordered_iterator \
425 ${pb_builddir}/detail/binary_heap_ \
426 ${pb_builddir}/detail/ov_tree_map_ \
427 ${pb_builddir}/detail/hash_fn \
428 ${pb_builddir}/detail/eq_fn \
429 ${pb_builddir}/detail/rb_tree_map_ \
430 ${pb_builddir}/detail/list_update_policy
fd1e1726 431
c35a51a5
BK
432
433# The ability for make and the underlying host to deal with this
434# unweildy list as one entire entity is not a sure thing, and may
4569a895
AT
435# cause build errors. Thus, split one list into many smaller
436# mini-lists, with the maximum size per mini-list of no more than 42.
437pb_headers1 = \
438 ${pb_srcdir}/assoc_container.hpp \
439 ${pb_srcdir}/exception.hpp \
440 ${pb_srcdir}/hash_policy.hpp \
441 ${pb_srcdir}/list_update_policy.hpp \
442 ${pb_srcdir}/priority_queue.hpp \
443 ${pb_srcdir}/tag_and_trait.hpp \
444 ${pb_srcdir}/tree_policy.hpp \
445 ${pb_srcdir}/trie_policy.hpp \
446 ${pb_srcdir}/detail/basic_tree_policy/basic_tree_policy_base.hpp \
447 ${pb_srcdir}/detail/basic_tree_policy/null_node_metadata.hpp \
448 ${pb_srcdir}/detail/basic_tree_policy/traits.hpp \
449 ${pb_srcdir}/detail/basic_types.hpp \
450 ${pb_srcdir}/detail/binary_heap_/binary_heap_.hpp \
451 ${pb_srcdir}/detail/binary_heap_/const_iterator.hpp \
452 ${pb_srcdir}/detail/binary_heap_/const_point_iterator.hpp \
453 ${pb_srcdir}/detail/binary_heap_/constructors_destructor_fn_imps.hpp \
454 ${pb_srcdir}/detail/binary_heap_/debug_fn_imps.hpp \
455 ${pb_srcdir}/detail/binary_heap_/entry_cmp.hpp \
456 ${pb_srcdir}/detail/binary_heap_/entry_pred.hpp \
457 ${pb_srcdir}/detail/binary_heap_/erase_fn_imps.hpp \
458 ${pb_srcdir}/detail/binary_heap_/find_fn_imps.hpp \
459 ${pb_srcdir}/detail/binary_heap_/info_fn_imps.hpp \
460 ${pb_srcdir}/detail/binary_heap_/insert_fn_imps.hpp \
461 ${pb_srcdir}/detail/binary_heap_/iterators_fn_imps.hpp \
462 ${pb_srcdir}/detail/binary_heap_/policy_access_fn_imps.hpp \
463 ${pb_srcdir}/detail/binary_heap_/resize_policy.hpp \
464 ${pb_srcdir}/detail/binary_heap_/split_join_fn_imps.hpp \
465 ${pb_srcdir}/detail/binary_heap_/trace_fn_imps.hpp \
466 ${pb_srcdir}/detail/binomial_heap_base_/binomial_heap_base_.hpp \
467 ${pb_srcdir}/detail/binomial_heap_base_/constructors_destructor_fn_imps.hpp \
468 ${pb_srcdir}/detail/binomial_heap_base_/debug_fn_imps.hpp \
469 ${pb_srcdir}/detail/binomial_heap_base_/erase_fn_imps.hpp \
470 ${pb_srcdir}/detail/binomial_heap_base_/find_fn_imps.hpp \
471 ${pb_srcdir}/detail/binomial_heap_base_/insert_fn_imps.hpp \
472 ${pb_srcdir}/detail/binomial_heap_base_/split_join_fn_imps.hpp \
473 ${pb_srcdir}/detail/binomial_heap_/binomial_heap_.hpp \
474 ${pb_srcdir}/detail/binomial_heap_/constructors_destructor_fn_imps.hpp \
475 ${pb_srcdir}/detail/binomial_heap_/debug_fn_imps.hpp \
476 ${pb_srcdir}/detail/bin_search_tree_/bin_search_tree_.hpp \
477 ${pb_srcdir}/detail/bin_search_tree_/cond_dtor_entry_dealtor.hpp \
478 ${pb_srcdir}/detail/bin_search_tree_/cond_key_dtor_entry_dealtor.hpp
479
480pb_headers2 = \
481 ${pb_srcdir}/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp \
482 ${pb_srcdir}/detail/bin_search_tree_/debug_fn_imps.hpp \
483 ${pb_srcdir}/detail/bin_search_tree_/erase_fn_imps.hpp \
484 ${pb_srcdir}/detail/bin_search_tree_/find_fn_imps.hpp \
485 ${pb_srcdir}/detail/bin_search_tree_/info_fn_imps.hpp \
486 ${pb_srcdir}/detail/bin_search_tree_/insert_fn_imps.hpp \
487 ${pb_srcdir}/detail/bin_search_tree_/iterators_fn_imps.hpp \
488 ${pb_srcdir}/detail/bin_search_tree_/node_iterators.hpp \
489 ${pb_srcdir}/detail/bin_search_tree_/point_iterators.hpp \
490 ${pb_srcdir}/detail/bin_search_tree_/policy_access_fn_imps.hpp \
491 ${pb_srcdir}/detail/bin_search_tree_/r_erase_fn_imps.hpp \
492 ${pb_srcdir}/detail/bin_search_tree_/rotate_fn_imps.hpp \
493 ${pb_srcdir}/detail/bin_search_tree_/split_join_fn_imps.hpp \
494 ${pb_srcdir}/detail/bin_search_tree_/traits.hpp \
495 ${pb_srcdir}/detail/cc_hash_table_map_/cc_ht_map_.hpp \
496 ${pb_srcdir}/detail/cc_hash_table_map_/cmp_fn_imps.hpp \
497 ${pb_srcdir}/detail/cc_hash_table_map_/cond_key_dtor_entry_dealtor.hpp \
498 ${pb_srcdir}/detail/cc_hash_table_map_/constructor_destructor_fn_imps.hpp \
499 ${pb_srcdir}/detail/cc_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp \
500 ${pb_srcdir}/detail/cc_hash_table_map_/constructor_destructor_store_hash_fn_imps.hpp \
501 ${pb_srcdir}/detail/cc_hash_table_map_/debug_fn_imps.hpp \
502 ${pb_srcdir}/detail/cc_hash_table_map_/debug_no_store_hash_fn_imps.hpp \
503 ${pb_srcdir}/detail/cc_hash_table_map_/debug_store_hash_fn_imps.hpp \
504 ${pb_srcdir}/detail/cc_hash_table_map_/entry_list_fn_imps.hpp \
505 ${pb_srcdir}/detail/cc_hash_table_map_/erase_fn_imps.hpp \
506 ${pb_srcdir}/detail/cc_hash_table_map_/erase_no_store_hash_fn_imps.hpp \
507 ${pb_srcdir}/detail/cc_hash_table_map_/erase_store_hash_fn_imps.hpp \
508 ${pb_srcdir}/detail/cc_hash_table_map_/find_fn_imps.hpp \
509 ${pb_srcdir}/detail/cc_hash_table_map_/find_store_hash_fn_imps.hpp \
510 ${pb_srcdir}/detail/cc_hash_table_map_/info_fn_imps.hpp \
511 ${pb_srcdir}/detail/cc_hash_table_map_/insert_fn_imps.hpp \
512 ${pb_srcdir}/detail/cc_hash_table_map_/insert_no_store_hash_fn_imps.hpp \
513 ${pb_srcdir}/detail/cc_hash_table_map_/insert_store_hash_fn_imps.hpp \
514 ${pb_srcdir}/detail/cc_hash_table_map_/iterators_fn_imps.hpp \
515 ${pb_srcdir}/detail/cc_hash_table_map_/policy_access_fn_imps.hpp \
516 ${pb_srcdir}/detail/cc_hash_table_map_/resize_fn_imps.hpp \
517 ${pb_srcdir}/detail/cc_hash_table_map_/resize_no_store_hash_fn_imps.hpp \
518 ${pb_srcdir}/detail/cc_hash_table_map_/resize_store_hash_fn_imps.hpp \
519 ${pb_srcdir}/detail/cc_hash_table_map_/size_fn_imps.hpp \
520 ${pb_srcdir}/detail/cc_hash_table_map_/standard_policies.hpp
521
522pb_headers3 = \
523 ${pb_srcdir}/detail/cc_hash_table_map_/trace_fn_imps.hpp \
524 ${pb_srcdir}/detail/cond_dealtor.hpp \
525 ${pb_srcdir}/detail/constructors_destructor_fn_imps.hpp \
526 ${pb_srcdir}/detail/container_base_dispatch.hpp \
527 ${pb_srcdir}/detail/eq_fn/eq_by_less.hpp \
528 ${pb_srcdir}/detail/eq_fn/hash_eq_fn.hpp \
529 ${pb_srcdir}/detail/gp_hash_table_map_/constructor_destructor_fn_imps.hpp \
530 ${pb_srcdir}/detail/gp_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp \
531 ${pb_srcdir}/detail/gp_hash_table_map_/constructor_destructor_store_hash_fn_imps.hpp \
532 ${pb_srcdir}/detail/gp_hash_table_map_/debug_fn_imps.hpp \
533 ${pb_srcdir}/detail/gp_hash_table_map_/debug_no_store_hash_fn_imps.hpp \
534 ${pb_srcdir}/detail/gp_hash_table_map_/debug_store_hash_fn_imps.hpp \
535 ${pb_srcdir}/detail/gp_hash_table_map_/erase_fn_imps.hpp \
536 ${pb_srcdir}/detail/gp_hash_table_map_/erase_no_store_hash_fn_imps.hpp \
537 ${pb_srcdir}/detail/gp_hash_table_map_/erase_store_hash_fn_imps.hpp \
538 ${pb_srcdir}/detail/gp_hash_table_map_/find_fn_imps.hpp \
539 ${pb_srcdir}/detail/gp_hash_table_map_/find_no_store_hash_fn_imps.hpp \
540 ${pb_srcdir}/detail/gp_hash_table_map_/find_store_hash_fn_imps.hpp \
541 ${pb_srcdir}/detail/gp_hash_table_map_/gp_ht_map_.hpp \
542 ${pb_srcdir}/detail/gp_hash_table_map_/info_fn_imps.hpp \
543 ${pb_srcdir}/detail/gp_hash_table_map_/insert_fn_imps.hpp \
544 ${pb_srcdir}/detail/gp_hash_table_map_/insert_no_store_hash_fn_imps.hpp \
545 ${pb_srcdir}/detail/gp_hash_table_map_/insert_store_hash_fn_imps.hpp \
546 ${pb_srcdir}/detail/gp_hash_table_map_/iterator_fn_imps.hpp \
547 ${pb_srcdir}/detail/gp_hash_table_map_/policy_access_fn_imps.hpp \
548 ${pb_srcdir}/detail/gp_hash_table_map_/resize_fn_imps.hpp \
549 ${pb_srcdir}/detail/gp_hash_table_map_/resize_no_store_hash_fn_imps.hpp \
550 ${pb_srcdir}/detail/gp_hash_table_map_/resize_store_hash_fn_imps.hpp \
551 ${pb_srcdir}/detail/gp_hash_table_map_/standard_policies.hpp \
552 ${pb_srcdir}/detail/gp_hash_table_map_/trace_fn_imps.hpp \
553 ${pb_srcdir}/detail/hash_fn/direct_mask_range_hashing_imp.hpp \
554 ${pb_srcdir}/detail/hash_fn/direct_mod_range_hashing_imp.hpp \
555 ${pb_srcdir}/detail/hash_fn/linear_probe_fn_imp.hpp \
556 ${pb_srcdir}/detail/hash_fn/mask_based_range_hashing.hpp \
557 ${pb_srcdir}/detail/hash_fn/mod_based_range_hashing.hpp \
558 ${pb_srcdir}/detail/hash_fn/probe_fn_base.hpp \
559 ${pb_srcdir}/detail/hash_fn/quadratic_probe_fn_imp.hpp \
560 ${pb_srcdir}/detail/hash_fn/ranged_hash_fn.hpp \
561 ${pb_srcdir}/detail/hash_fn/ranged_probe_fn.hpp
562
563pb_headers4 = \
564 ${pb_srcdir}/detail/hash_fn/sample_probe_fn.hpp \
565 ${pb_srcdir}/detail/hash_fn/sample_ranged_hash_fn.hpp \
566 ${pb_srcdir}/detail/hash_fn/sample_ranged_probe_fn.hpp \
567 ${pb_srcdir}/detail/hash_fn/sample_range_hashing.hpp \
568 ${pb_srcdir}/detail/left_child_next_sibling_heap_/const_iterator.hpp \
569 ${pb_srcdir}/detail/left_child_next_sibling_heap_/const_point_iterator.hpp \
570 ${pb_srcdir}/detail/left_child_next_sibling_heap_/constructors_destructor_fn_imps.hpp \
571 ${pb_srcdir}/detail/left_child_next_sibling_heap_/debug_fn_imps.hpp \
572 ${pb_srcdir}/detail/left_child_next_sibling_heap_/erase_fn_imps.hpp \
573 ${pb_srcdir}/detail/left_child_next_sibling_heap_/info_fn_imps.hpp \
574 ${pb_srcdir}/detail/left_child_next_sibling_heap_/insert_fn_imps.hpp \
575 ${pb_srcdir}/detail/left_child_next_sibling_heap_/iterators_fn_imps.hpp \
576 ${pb_srcdir}/detail/left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp \
577 ${pb_srcdir}/detail/left_child_next_sibling_heap_/node.hpp \
578 ${pb_srcdir}/detail/left_child_next_sibling_heap_/null_metadata.hpp \
579 ${pb_srcdir}/detail/left_child_next_sibling_heap_/policy_access_fn_imps.hpp \
580 ${pb_srcdir}/detail/left_child_next_sibling_heap_/trace_fn_imps.hpp \
581 ${pb_srcdir}/detail/list_update_map_/constructor_destructor_fn_imps.hpp \
582 ${pb_srcdir}/detail/list_update_map_/debug_fn_imps.hpp \
583 ${pb_srcdir}/detail/list_update_map_/entry_metadata_base.hpp \
584 ${pb_srcdir}/detail/list_update_map_/erase_fn_imps.hpp \
585 ${pb_srcdir}/detail/list_update_map_/find_fn_imps.hpp \
586 ${pb_srcdir}/detail/list_update_map_/info_fn_imps.hpp \
587 ${pb_srcdir}/detail/list_update_map_/insert_fn_imps.hpp \
588 ${pb_srcdir}/detail/list_update_map_/iterators_fn_imps.hpp \
589 ${pb_srcdir}/detail/list_update_map_/lu_map_.hpp \
590 ${pb_srcdir}/detail/list_update_map_/trace_fn_imps.hpp \
591 ${pb_srcdir}/detail/list_update_policy/counter_lu_metadata.hpp \
592 ${pb_srcdir}/detail/list_update_policy/counter_lu_policy_imp.hpp \
593 ${pb_srcdir}/detail/list_update_policy/mtf_lu_policy_imp.hpp \
594 ${pb_srcdir}/detail/list_update_policy/sample_update_policy.hpp \
551fe1a2 595 ${pb_srcdir}/detail/debug_map_base.hpp \
4569a895
AT
596 ${pb_srcdir}/detail/ov_tree_map_/cond_dtor.hpp \
597 ${pb_srcdir}/detail/ov_tree_map_/constructors_destructor_fn_imps.hpp \
598 ${pb_srcdir}/detail/ov_tree_map_/debug_fn_imps.hpp \
599 ${pb_srcdir}/detail/ov_tree_map_/erase_fn_imps.hpp \
600 ${pb_srcdir}/detail/ov_tree_map_/info_fn_imps.hpp \
601 ${pb_srcdir}/detail/ov_tree_map_/insert_fn_imps.hpp \
602 ${pb_srcdir}/detail/ov_tree_map_/iterators_fn_imps.hpp \
603 ${pb_srcdir}/detail/ov_tree_map_/node_iterators.hpp \
604 ${pb_srcdir}/detail/ov_tree_map_/ov_tree_map_.hpp
605
606pb_headers5 = \
607 ${pb_srcdir}/detail/ov_tree_map_/policy_access_fn_imps.hpp \
608 ${pb_srcdir}/detail/ov_tree_map_/split_join_fn_imps.hpp \
609 ${pb_srcdir}/detail/ov_tree_map_/traits.hpp \
610 ${pb_srcdir}/detail/pairing_heap_/constructors_destructor_fn_imps.hpp \
611 ${pb_srcdir}/detail/pairing_heap_/debug_fn_imps.hpp \
612 ${pb_srcdir}/detail/pairing_heap_/erase_fn_imps.hpp \
613 ${pb_srcdir}/detail/pairing_heap_/find_fn_imps.hpp \
614 ${pb_srcdir}/detail/pairing_heap_/insert_fn_imps.hpp \
615 ${pb_srcdir}/detail/pairing_heap_/pairing_heap_.hpp \
616 ${pb_srcdir}/detail/pairing_heap_/split_join_fn_imps.hpp \
617 ${pb_srcdir}/detail/pat_trie_/child_iterator.hpp \
618 ${pb_srcdir}/detail/pat_trie_/cond_dtor_entry_dealtor.hpp \
619 ${pb_srcdir}/detail/pat_trie_/const_child_iterator.hpp \
620 ${pb_srcdir}/detail/pat_trie_/constructors_destructor_fn_imps.hpp \
621 ${pb_srcdir}/detail/pat_trie_/debug_fn_imps.hpp \
622 ${pb_srcdir}/detail/pat_trie_/erase_fn_imps.hpp \
623 ${pb_srcdir}/detail/pat_trie_/find_fn_imps.hpp \
624 ${pb_srcdir}/detail/pat_trie_/head.hpp \
625 ${pb_srcdir}/detail/pat_trie_/info_fn_imps.hpp \
626 ${pb_srcdir}/detail/pat_trie_/insert_join_fn_imps.hpp \
627 ${pb_srcdir}/detail/pat_trie_/internal_node.hpp \
628 ${pb_srcdir}/detail/pat_trie_/iterators_fn_imps.hpp \
629 ${pb_srcdir}/detail/pat_trie_/leaf.hpp \
630 ${pb_srcdir}/detail/pat_trie_/node_base.hpp \
631 ${pb_srcdir}/detail/pat_trie_/node_iterators.hpp \
632 ${pb_srcdir}/detail/pat_trie_/node_metadata_base.hpp \
633 ${pb_srcdir}/detail/pat_trie_/pat_trie_.hpp \
634 ${pb_srcdir}/detail/pat_trie_/point_iterators.hpp \
635 ${pb_srcdir}/detail/pat_trie_/policy_access_fn_imps.hpp \
636 ${pb_srcdir}/detail/pat_trie_/r_erase_fn_imps.hpp \
637 ${pb_srcdir}/detail/pat_trie_/rotate_fn_imps.hpp \
638 ${pb_srcdir}/detail/pat_trie_/split_fn_imps.hpp \
639 ${pb_srcdir}/detail/pat_trie_/split_join_branch_bag.hpp \
640 ${pb_srcdir}/detail/pat_trie_/synth_e_access_traits.hpp \
641 ${pb_srcdir}/detail/pat_trie_/trace_fn_imps.hpp \
642 ${pb_srcdir}/detail/pat_trie_/traits.hpp \
643 ${pb_srcdir}/detail/pat_trie_/update_fn_imps.hpp \
644 ${pb_srcdir}/detail/priority_queue_base_dispatch.hpp \
645 ${pb_srcdir}/detail/rb_tree_map_/constructors_destructor_fn_imps.hpp \
646 ${pb_srcdir}/detail/rb_tree_map_/debug_fn_imps.hpp
647
648pb_headers6 = \
649 ${pb_srcdir}/detail/rb_tree_map_/erase_fn_imps.hpp \
650 ${pb_srcdir}/detail/rb_tree_map_/find_fn_imps.hpp \
651 ${pb_srcdir}/detail/rb_tree_map_/info_fn_imps.hpp \
652 ${pb_srcdir}/detail/rb_tree_map_/insert_fn_imps.hpp \
653 ${pb_srcdir}/detail/rb_tree_map_/node.hpp \
654 ${pb_srcdir}/detail/rb_tree_map_/rb_tree_.hpp \
655 ${pb_srcdir}/detail/rb_tree_map_/split_join_fn_imps.hpp \
656 ${pb_srcdir}/detail/rb_tree_map_/traits.hpp \
657 ${pb_srcdir}/detail/rc_binomial_heap_/constructors_destructor_fn_imps.hpp \
658 ${pb_srcdir}/detail/rc_binomial_heap_/debug_fn_imps.hpp \
659 ${pb_srcdir}/detail/rc_binomial_heap_/erase_fn_imps.hpp \
660 ${pb_srcdir}/detail/rc_binomial_heap_/insert_fn_imps.hpp \
661 ${pb_srcdir}/detail/rc_binomial_heap_/rc_binomial_heap_.hpp \
662 ${pb_srcdir}/detail/rc_binomial_heap_/rc.hpp \
663 ${pb_srcdir}/detail/rc_binomial_heap_/split_join_fn_imps.hpp \
664 ${pb_srcdir}/detail/rc_binomial_heap_/trace_fn_imps.hpp \
665 ${pb_srcdir}/detail/resize_policy/cc_hash_max_collision_check_resize_trigger_imp.hpp \
666 ${pb_srcdir}/detail/resize_policy/hash_exponential_size_policy_imp.hpp \
667 ${pb_srcdir}/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp \
668 ${pb_srcdir}/detail/resize_policy/hash_load_check_resize_trigger_size_base.hpp \
669 ${pb_srcdir}/detail/resize_policy/hash_prime_size_policy_imp.hpp \
670 ${pb_srcdir}/detail/resize_policy/hash_standard_resize_policy_imp.hpp \
671 ${pb_srcdir}/detail/resize_policy/sample_resize_policy.hpp \
672 ${pb_srcdir}/detail/resize_policy/sample_resize_trigger.hpp \
673 ${pb_srcdir}/detail/resize_policy/sample_size_policy.hpp \
674 ${pb_srcdir}/detail/splay_tree_/constructors_destructor_fn_imps.hpp \
675 ${pb_srcdir}/detail/splay_tree_/debug_fn_imps.hpp \
676 ${pb_srcdir}/detail/splay_tree_/erase_fn_imps.hpp \
677 ${pb_srcdir}/detail/splay_tree_/find_fn_imps.hpp \
678 ${pb_srcdir}/detail/splay_tree_/info_fn_imps.hpp \
679 ${pb_srcdir}/detail/splay_tree_/insert_fn_imps.hpp \
680 ${pb_srcdir}/detail/splay_tree_/node.hpp \
681 ${pb_srcdir}/detail/splay_tree_/splay_fn_imps.hpp \
682 ${pb_srcdir}/detail/splay_tree_/splay_tree_.hpp \
683 ${pb_srcdir}/detail/splay_tree_/split_join_fn_imps.hpp \
684 ${pb_srcdir}/detail/splay_tree_/traits.hpp \
685 ${pb_srcdir}/detail/standard_policies.hpp \
686 ${pb_srcdir}/detail/thin_heap_/constructors_destructor_fn_imps.hpp \
687 ${pb_srcdir}/detail/thin_heap_/debug_fn_imps.hpp \
688 ${pb_srcdir}/detail/thin_heap_/erase_fn_imps.hpp
689
690pb_headers7 = \
691 ${pb_srcdir}/detail/thin_heap_/find_fn_imps.hpp \
692 ${pb_srcdir}/detail/thin_heap_/insert_fn_imps.hpp \
693 ${pb_srcdir}/detail/thin_heap_/split_join_fn_imps.hpp \
694 ${pb_srcdir}/detail/thin_heap_/thin_heap_.hpp \
695 ${pb_srcdir}/detail/thin_heap_/trace_fn_imps.hpp \
696 ${pb_srcdir}/detail/tree_policy/node_metadata_selector.hpp \
697 ${pb_srcdir}/detail/tree_policy/null_node_update_imp.hpp \
698 ${pb_srcdir}/detail/tree_policy/order_statistics_imp.hpp \
699 ${pb_srcdir}/detail/tree_policy/sample_tree_node_update.hpp \
700 ${pb_srcdir}/detail/tree_trace_base.hpp \
701 ${pb_srcdir}/detail/trie_policy/node_metadata_selector.hpp \
702 ${pb_srcdir}/detail/trie_policy/null_node_update_imp.hpp \
703 ${pb_srcdir}/detail/trie_policy/order_statistics_imp.hpp \
704 ${pb_srcdir}/detail/trie_policy/prefix_search_node_update_imp.hpp \
705 ${pb_srcdir}/detail/trie_policy/sample_trie_e_access_traits.hpp \
706 ${pb_srcdir}/detail/trie_policy/sample_trie_node_update.hpp \
707 ${pb_srcdir}/detail/trie_policy/string_trie_e_access_traits_imp.hpp \
708 ${pb_srcdir}/detail/trie_policy/trie_policy_base.hpp \
4569a895
AT
709 ${pb_srcdir}/detail/types_traits.hpp \
710 ${pb_srcdir}/detail/type_utils.hpp \
711 ${pb_srcdir}/detail/unordered_iterator/const_iterator.hpp \
712 ${pb_srcdir}/detail/unordered_iterator/const_point_iterator.hpp \
713 ${pb_srcdir}/detail/unordered_iterator/iterator.hpp \
714 ${pb_srcdir}/detail/unordered_iterator/point_iterator.hpp
fd1e1726 715
3d7c150e 716ext_srcdir = ${glibcxx_srcdir}/include/ext
fd1e1726 717ext_builddir = ./ext
53c2acdf
BK
718ext_headers = \
719 ${ext_srcdir}/algorithm \
2e362c74 720 ${ext_srcdir}/atomicity.h \
3febde35 721 ${ext_srcdir}/array_allocator.h \
009368db 722 ${ext_srcdir}/bitmap_allocator.h \
825bd0e1 723 ${ext_srcdir}/codecvt_specializations.h \
2e362c74 724 ${ext_srcdir}/concurrence.h \
1ff9402d 725 ${ext_srcdir}/debug_allocator.h \
4ffe6e87 726 ${ext_srcdir}/enc_filebuf.h \
53c2acdf 727 ${ext_srcdir}/stdio_filebuf.h \
51ff8149 728 ${ext_srcdir}/stdio_sync_filebuf.h \
53c2acdf 729 ${ext_srcdir}/functional \
53c2acdf 730 ${ext_srcdir}/iterator \
1ff9402d 731 ${ext_srcdir}/malloc_allocator.h \
53c2acdf 732 ${ext_srcdir}/memory \
1ff9402d
BK
733 ${ext_srcdir}/mt_allocator.h \
734 ${ext_srcdir}/new_allocator.h \
53c2acdf 735 ${ext_srcdir}/numeric \
b3726dab 736 ${ext_srcdir}/numeric_traits.h \
9e7facfd 737 ${ext_srcdir}/pod_char_traits.h \
1ff9402d 738 ${ext_srcdir}/pool_allocator.h \
53c2acdf
BK
739 ${ext_srcdir}/rb_tree \
740 ${ext_srcdir}/rope \
741 ${ext_srcdir}/ropeimpl.h \
742 ${ext_srcdir}/slist \
a86151e1 743 ${ext_srcdir}/throw_allocator.h \
872d8fea 744 ${ext_srcdir}/typelist.h \
105c6331 745 ${ext_srcdir}/type_traits.h \
872d8fea
PC
746 ${ext_srcdir}/rc_string_base.h \
747 ${ext_srcdir}/sso_string_base.h \
748 ${ext_srcdir}/vstring.h \
749 ${ext_srcdir}/vstring.tcc \
750 ${ext_srcdir}/vstring_fwd.h \
751 ${ext_srcdir}/vstring_util.h
4a9d5109 752
3febde35
BK
753tr1_srcdir = ${glibcxx_srcdir}/include/tr1
754tr1_builddir = ./tr1
755tr1_headers = \
a520f0b0 756 ${tr1_srcdir}/array \
7c62b943
BK
757 ${tr1_srcdir}/bessel_function.tcc \
758 ${tr1_srcdir}/beta_function.tcc \
af13a7a6 759 ${tr1_srcdir}/ccomplex \
bd2bb1ea 760 ${tr1_srcdir}/cctype \
20921e53 761 ${tr1_srcdir}/cfenv \
82c79e0e 762 ${tr1_srcdir}/cfloat \
52a64bd3 763 ${tr1_srcdir}/cinttypes \
82c79e0e 764 ${tr1_srcdir}/climits \
4f0de5dd 765 ${tr1_srcdir}/cmath \
84a7b1fc 766 ${tr1_srcdir}/complex \
af13a7a6 767 ${tr1_srcdir}/complex.h \
82c79e0e 768 ${tr1_srcdir}/cstdarg \
1e41a98c 769 ${tr1_srcdir}/cstdbool \
2a1d6346 770 ${tr1_srcdir}/cstdint \
93638ec7 771 ${tr1_srcdir}/cstdio \
4f0de5dd 772 ${tr1_srcdir}/cstdlib \
9a7ab578 773 ${tr1_srcdir}/ctgmath \
4f0de5dd 774 ${tr1_srcdir}/ctime \
82c79e0e 775 ${tr1_srcdir}/ctype.h \
af66a43e
PC
776 ${tr1_srcdir}/cwchar \
777 ${tr1_srcdir}/cwctype \
7c62b943
BK
778 ${tr1_srcdir}/ell_integral.tcc \
779 ${tr1_srcdir}/exp_integral.tcc \
82c79e0e
PC
780 ${tr1_srcdir}/fenv.h \
781 ${tr1_srcdir}/float.h \
f2ede5d6 782 ${tr1_srcdir}/functional \
41e56bf7 783 ${tr1_srcdir}/functional_hash.h \
7c62b943 784 ${tr1_srcdir}/gamma.tcc \
7c62b943 785 ${tr1_srcdir}/hypergeometric.tcc \
e133ace8 786 ${tr1_srcdir}/hashtable.h \
82c79e0e
PC
787 ${tr1_srcdir}/inttypes.h \
788 ${tr1_srcdir}/limits.h \
4f0de5dd 789 ${tr1_srcdir}/math.h \
7dfded91 790 ${tr1_srcdir}/memory \
7c62b943
BK
791 ${tr1_srcdir}/modified_bessel_func.tcc \
792 ${tr1_srcdir}/poly_hermite.tcc \
793 ${tr1_srcdir}/poly_laguerre.tcc \
794 ${tr1_srcdir}/legendre_function.tcc \
86ad0dd6 795 ${tr1_srcdir}/random \
af13a7a6 796 ${tr1_srcdir}/regex \
7c62b943
BK
797 ${tr1_srcdir}/riemann_zeta.tcc \
798 ${tr1_srcdir}/special_function_util.h \
82c79e0e 799 ${tr1_srcdir}/stdarg.h \
1e41a98c 800 ${tr1_srcdir}/stdbool.h \
82c79e0e 801 ${tr1_srcdir}/stdint.h \
93638ec7 802 ${tr1_srcdir}/stdio.h \
4f0de5dd 803 ${tr1_srcdir}/stdlib.h \
9a7ab578 804 ${tr1_srcdir}/tgmath.h \
f2ede5d6 805 ${tr1_srcdir}/tuple \
821c5063 806 ${tr1_srcdir}/type_traits \
180ecd6a 807 ${tr1_srcdir}/unordered_set \
84a7b1fc 808 ${tr1_srcdir}/unordered_map \
af66a43e
PC
809 ${tr1_srcdir}/utility \
810 ${tr1_srcdir}/wchar.h \
811 ${tr1_srcdir}/wctype.h
4a9d5109 812
e133ace8
PC
813tr1_impl_srcdir = ${glibcxx_srcdir}/include/tr1_impl
814tr1_impl_builddir = ./tr1_impl
815tr1_impl_headers = \
816 ${tr1_impl_srcdir}/array \
817 ${tr1_impl_srcdir}/boost_shared_ptr.h \
818 ${tr1_impl_srcdir}/cctype \
819 ${tr1_impl_srcdir}/cfenv \
820 ${tr1_impl_srcdir}/cinttypes \
821 ${tr1_impl_srcdir}/cmath \
822 ${tr1_impl_srcdir}/complex \
823 ${tr1_impl_srcdir}/cstdint \
824 ${tr1_impl_srcdir}/cstdio \
825 ${tr1_impl_srcdir}/cstdlib \
826 ${tr1_impl_srcdir}/cwchar \
827 ${tr1_impl_srcdir}/cwctype \
828 ${tr1_impl_srcdir}/functional \
829 ${tr1_impl_srcdir}/functional_hash.h \
830 ${tr1_impl_srcdir}/hashtable \
831 ${tr1_impl_srcdir}/hashtable_policy.h \
832 ${tr1_impl_srcdir}/random \
833 ${tr1_impl_srcdir}/random.tcc \
834 ${tr1_impl_srcdir}/regex \
835 ${tr1_impl_srcdir}/tuple \
836 ${tr1_impl_srcdir}/type_traits \
837 ${tr1_impl_srcdir}/type_traitsfwd.h \
838 ${tr1_impl_srcdir}/unordered_map \
839 ${tr1_impl_srcdir}/unordered_set \
840 ${tr1_impl_srcdir}/utility
841
ab9b9d2c 842
af13a7a6 843# This is the common subset of C++ files that all three "C" header models use.
ca618b60 844c_base_srcdir = $(C_INCLUDE_DIR)
73249e33 845c_base_builddir = .
53c2acdf 846c_base_headers = \
18154730 847 ${c_base_srcdir}/cassert \
af13a7a6 848 ${c_base_srcdir}/ccomplex \
18154730
BK
849 ${c_base_srcdir}/cctype \
850 ${c_base_srcdir}/cerrno \
af13a7a6 851 ${c_base_srcdir}/cfenv \
18154730 852 ${c_base_srcdir}/cfloat \
af13a7a6 853 ${c_base_srcdir}/cinttypes \
18154730
BK
854 ${c_base_srcdir}/ciso646 \
855 ${c_base_srcdir}/climits \
856 ${c_base_srcdir}/clocale \
857 ${c_base_srcdir}/cmath \
858 ${c_base_srcdir}/csetjmp \
859 ${c_base_srcdir}/csignal \
860 ${c_base_srcdir}/cstdarg \
af13a7a6 861 ${c_base_srcdir}/cstdbool \
18154730 862 ${c_base_srcdir}/cstddef \
af13a7a6 863 ${c_base_srcdir}/cstdint \
18154730
BK
864 ${c_base_srcdir}/cstdio \
865 ${c_base_srcdir}/cstdlib \
866 ${c_base_srcdir}/cstring \
af13a7a6 867 ${c_base_srcdir}/ctgmath \
18154730
BK
868 ${c_base_srcdir}/ctime \
869 ${c_base_srcdir}/cwchar \
870 ${c_base_srcdir}/cwctype
83144cfc 871
e01c9849
BK
872
873# "C" compatibility headers.
3d7c150e 874c_compatibility_srcdir = ${glibcxx_srcdir}/include/c_compatibility
e01c9849 875c_compatibility_builddir = .
af13a7a6
BK
876@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@c_compatibility_headers = \
877@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@ ${c_compatibility_srcdir}/complex.h \
803f183a 878@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@ ${c_compatibility_srcdir}/fenv.h \
af13a7a6
BK
879@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@ ${c_compatibility_srcdir}/tgmath.h
880
881@GLIBCXX_C_HEADERS_C_STD_TRUE@c_compatibility_headers =
882@GLIBCXX_C_HEADERS_C_TRUE@c_compatibility_headers = \
883@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/assert.h \
884@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/complex.h \
885@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/ctype.h \
886@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/errno.h \
887@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/fenv.h \
888@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/float.h \
889@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/inttypes.h \
890@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/iso646.h \
891@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/limits.h \
892@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/locale.h \
893@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/math.h \
894@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/setjmp.h \
895@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/signal.h \
896@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdarg.h \
897@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdbool.h \
898@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stddef.h \
899@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdint.h \
900@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdio.h \
901@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdlib.h \
902@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/string.h \
903@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/tgmath.h \
904@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/time.h \
905@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/wchar.h \
906@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/wctype.h
53c2acdf 907
ff66d28f 908
285b36d6
BK
909# Debug mode headers
910debug_srcdir = ${glibcxx_srcdir}/include/debug
911debug_builddir = ./debug
912debug_headers = \
913 ${debug_srcdir}/bitset \
914 ${debug_srcdir}/debug.h \
915 ${debug_srcdir}/deque \
916 ${debug_srcdir}/formatter.h \
d2763ab5 917 ${debug_srcdir}/functions.h \
285b36d6
BK
918 ${debug_srcdir}/list \
919 ${debug_srcdir}/map \
d2763ab5 920 ${debug_srcdir}/macros.h \
285b36d6
BK
921 ${debug_srcdir}/map.h \
922 ${debug_srcdir}/multimap.h \
923 ${debug_srcdir}/multiset.h \
e63637ea 924 ${debug_srcdir}/safe_association.h \
285b36d6
BK
925 ${debug_srcdir}/safe_base.h \
926 ${debug_srcdir}/safe_iterator.h \
927 ${debug_srcdir}/safe_iterator.tcc \
928 ${debug_srcdir}/safe_sequence.h \
929 ${debug_srcdir}/set \
930 ${debug_srcdir}/set.h \
931 ${debug_srcdir}/string \
e63637ea
BK
932 ${debug_srcdir}/unordered_map \
933 ${debug_srcdir}/unordered_set \
285b36d6
BK
934 ${debug_srcdir}/vector
935
c2ba9709
JS
936
937# Parallel mode headers
938parallel_srcdir = ${glibcxx_srcdir}/include/parallel
939parallel_builddir = ./parallel
940parallel_headers = \
941 ${parallel_srcdir}/algorithm \
942 ${parallel_srcdir}/algobase.h \
943 ${parallel_srcdir}/algo.h \
944 ${parallel_srcdir}/algorithm \
945 ${parallel_srcdir}/algorithmfwd.h \
946 ${parallel_srcdir}/balanced_quicksort.h \
947 ${parallel_srcdir}/base.h \
948 ${parallel_srcdir}/basic_iterator.h \
949 ${parallel_srcdir}/checkers.h \
950 ${parallel_srcdir}/compatibility.h \
951 ${parallel_srcdir}/compiletime_settings.h \
952 ${parallel_srcdir}/equally_split.h \
953 ${parallel_srcdir}/features.h \
954 ${parallel_srcdir}/find.h \
955 ${parallel_srcdir}/find_selectors.h \
956 ${parallel_srcdir}/for_each.h \
957 ${parallel_srcdir}/for_each_selectors.h \
958 ${parallel_srcdir}/iterator.h \
959 ${parallel_srcdir}/list_partition.h \
960 ${parallel_srcdir}/losertree.h \
961 ${parallel_srcdir}/merge.h \
962 ${parallel_srcdir}/multiseq_selection.h \
963 ${parallel_srcdir}/multiway_merge.h \
964 ${parallel_srcdir}/multiway_mergesort.h \
965 ${parallel_srcdir}/numeric \
966 ${parallel_srcdir}/numericfwd.h \
967 ${parallel_srcdir}/omp_loop.h \
968 ${parallel_srcdir}/omp_loop_static.h \
969 ${parallel_srcdir}/parallel.h \
970 ${parallel_srcdir}/par_loop.h \
971 ${parallel_srcdir}/partial_sum.h \
972 ${parallel_srcdir}/partition.h \
973 ${parallel_srcdir}/queue.h \
974 ${parallel_srcdir}/quicksort.h \
975 ${parallel_srcdir}/random_number.h \
976 ${parallel_srcdir}/random_shuffle.h \
977 ${parallel_srcdir}/search.h \
978 ${parallel_srcdir}/set_operations.h \
979 ${parallel_srcdir}/settings.h \
980 ${parallel_srcdir}/sort.h \
981 ${parallel_srcdir}/tags.h \
982 ${parallel_srcdir}/timing.h \
983 ${parallel_srcdir}/tree.h \
984 ${parallel_srcdir}/types.h \
985 ${parallel_srcdir}/unique_copy.h \
986 ${parallel_srcdir}/workstealing.h
987
af13a7a6 988@GLIBCXX_C_HEADERS_EXTRA_FALSE@c_base_headers_extra =
285b36d6 989
ff66d28f
PE
990# Some of the different "C" header models need extra files.
991# Some "C" header schemes require the "C" compatibility headers.
992# For --enable-cheaders=c_std
af13a7a6 993@GLIBCXX_C_HEADERS_EXTRA_TRUE@c_base_headers_extra = ${c_base_srcdir}/cmath.tcc
40fcf31b 994@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@c_compatibility_headers_extra =
ec2075e9 995@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@c_compatibility_headers_extra = ${c_compatibility_headers}
ca618b60 996host_srcdir = ${glibcxx_srcdir}/$(OS_INC_SRCDIR)
a30335e9 997host_builddir = ./${host_alias}/bits
2b6dd222 998host_installdir = ${gxx_include_dir}/${host_alias}$(MULTISUBDIR)/bits
a30335e9
BK
999host_headers = \
1000 ${host_srcdir}/ctype_base.h \
1001 ${host_srcdir}/ctype_inline.h \
1002 ${host_srcdir}/ctype_noninline.h \
1003 ${host_srcdir}/os_defines.h \
1568430f 1004 ${glibcxx_srcdir}/$(ATOMIC_WORD_SRCDIR)/atomic_word.h \
4b90c838 1005 ${glibcxx_srcdir}/$(ABI_TWEAKS_SRCDIR)/cxxabi_tweaks.h \
65be6ddd 1006 ${glibcxx_srcdir}/$(CPU_DEFINES_SRCDIR)/cpu_defines.h \
e4bf5dfc 1007 ${glibcxx_srcdir}/$(ERROR_CONSTANTS_SRCDIR)/error_constants.h \
65be6ddd
BK
1008 ${glibcxx_srcdir}/include/precompiled/stdc++.h \
1009 ${glibcxx_srcdir}/include/precompiled/stdtr1c++.h \
1010 ${glibcxx_srcdir}/include/precompiled/extc++.h
7bfea936 1011
6aa43d99 1012
a30335e9 1013# Non-installed host_header files.
bb2b2a24 1014COMPATIBILITY_H = config/abi/compatibility.h
a30335e9 1015host_headers_noinst = \
bb2b2a24
BK
1016 ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H) \
1017 ${glibcxx_srcdir}/$(COMPATIBILITY_H)
6aa43d99
BK
1018
1019
a30335e9
BK
1020# These host_headers_extra files are all built with ad hoc naming rules.
1021host_headers_extra = \
1022 ${host_builddir}/basic_file.h \
1023 ${host_builddir}/c++config.h \
8b0d6051 1024 ${host_builddir}/c++allocator.h \
a30335e9
BK
1025 ${host_builddir}/c++io.h \
1026 ${host_builddir}/c++locale.h \
1027 ${host_builddir}/messages_members.h \
825bd0e1 1028 ${host_builddir}/time_members.h
8520f704 1029
a30335e9
BK
1030thread_host_headers = \
1031 ${host_builddir}/gthr.h \
1032 ${host_builddir}/gthr-single.h \
1033 ${host_builddir}/gthr-posix.h \
512baaea 1034 ${host_builddir}/gthr-tpf.h \
a30335e9 1035 ${host_builddir}/gthr-default.h
8520f704 1036
f42482f5 1037pch1_source = ${glibcxx_srcdir}/include/precompiled/stdc++.h
6cbd871c 1038pch1_output_builddir = ${host_builddir}/stdc++.h.gch
56dbe89d 1039pch1_output_anchor = ${host_builddir}/stdc++.h
6cbd871c 1040pch1_output_installdir = ${host_installdir}/stdc++.h.gch
f42482f5
BK
1041pch1a_output = ${pch1_output_builddir}/O0g.gch
1042pch1b_output = ${pch1_output_builddir}/O2g.gch
bdfb7c6d 1043pch1_output = ${pch1a_output} ${pch1b_output}
f42482f5 1044pch2_source = ${glibcxx_srcdir}/include/precompiled/stdtr1c++.h
6cbd871c 1045pch2_output_builddir = ${host_builddir}/stdtr1c++.h.gch
56dbe89d 1046pch2_output_anchor = ${host_builddir}/stdtr1c++.h
6cbd871c 1047pch2_output_installdir = ${host_installdir}/stdtr1c++.h.gch
f42482f5
BK
1048pch2_output = ${pch2_output_builddir}/O2g.gch
1049pch3_source = ${glibcxx_srcdir}/include/precompiled/extc++.h
6cbd871c 1050pch3_output_builddir = ${host_builddir}/extc++.h.gch
56dbe89d 1051pch3_output_anchor = ${host_builddir}/extc++.h
6cbd871c 1052pch3_output_installdir = ${host_installdir}/extc++.h.gch
f42482f5 1053pch3_output = ${pch3_output_builddir}/O2g.gch
04dc1691 1054pch_output = ${pch1_output} ${pch2_output} ${pch3_output}
f42482f5 1055pch_output_dirs = \
04dc1691 1056 ${pch1_output_builddir} ${pch2_output_builddir} ${pch3_output_builddir}
f42482f5 1057
56dbe89d
BK
1058pch_output_anchors = \
1059 ${pch1_output_anchor} ${pch2_output_anchor} ${pch3_output_anchor}
1060
9e57d5ca 1061PCHFLAGS = -Winvalid-pch -Wno-deprecated -x c++-header $(CXXFLAGS)
4c24b21a 1062@GLIBCXX_BUILD_PCH_FALSE@pch_build =
f42482f5 1063@GLIBCXX_BUILD_PCH_TRUE@pch_build = ${pch_output}
628c731a 1064
4a9d5109
SW
1065# List of all timestamp files. By keeping only one copy of this list, both
1066# CLEANFILES and all-local are kept up-to-date.
53c2acdf 1067allstamped = \
18154730
BK
1068 stamp-std stamp-bits stamp-c_base stamp-c_base_extra \
1069 stamp-c_compatibility stamp-backward stamp-ext stamp-pb \
c2ba9709 1070 stamp-tr1 stamp-tr1-impl stamp-debug stamp-parallel stamp-host
628c731a 1071
4a9d5109 1072
9e57d5ca
BK
1073# List of all files that are created by explicit building, editing, or
1074# catenation.
53c2acdf 1075allcreated = \
a30335e9
BK
1076 ${host_builddir}/c++config.h \
1077 ${thread_host_headers} \
53c2acdf 1078 ${pch_build}
9e57d5ca 1079
ca618b60
PE
1080
1081# Host includes for threads
4a9d5109
SW
1082uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
1083
ab77073f 1084# By adding these files here, automake will remove them for 'make clean'
56dbe89d 1085CLEANFILES = ${pch_output} ${pch_output_anchors}
ff66d28f 1086all: all-am
54c1bf78 1087
54c1bf78 1088.SUFFIXES:
7eaf73d7
KC
1089$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
1090 @for dep in $?; do \
1091 case '$(am__configure_deps)' in \
1092 *$$dep*) \
1093 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
1094 && exit 0; \
1095 exit 1;; \
1096 esac; \
1097 done; \
1098 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps include/Makefile'; \
ff66d28f 1099 cd $(top_srcdir) && \
7eaf73d7
KC
1100 $(AUTOMAKE) --foreign --ignore-deps include/Makefile
1101Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1102 @case '$?' in \
1103 *config.status*) \
1104 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
1105 *) \
1106 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
1107 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
1108 esac;
1109
1110$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1111 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1112
1113$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
1114 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1115$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
1116 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
ff66d28f
PE
1117
1118mostlyclean-libtool:
1119 -rm -f *.lo
54c1bf78 1120
ff66d28f
PE
1121clean-libtool:
1122 -rm -rf .libs _libs
f53d0ff1 1123
ff66d28f
PE
1124distclean-libtool:
1125 -rm -f libtool
1126uninstall-info-am:
4a9d5109
SW
1127tags: TAGS
1128TAGS:
1129
ff66d28f
PE
1130ctags: CTAGS
1131CTAGS:
4a9d5109 1132
54c1bf78
BK
1133
1134distdir: $(DISTFILES)
7eaf73d7 1135 $(mkdir_p) $(distdir)/..
ff66d28f
PE
1136 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
1137 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
1138 list='$(DISTFILES)'; for file in $$list; do \
1139 case $$file in \
1140 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
1141 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
1142 esac; \
1143 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1144 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
1145 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
1146 dir="/$$dir"; \
7eaf73d7 1147 $(mkdir_p) "$(distdir)$$dir"; \
ff66d28f
PE
1148 else \
1149 dir=''; \
1150 fi; \
54c1bf78 1151 if test -d $$d/$$file; then \
ff66d28f
PE
1152 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1153 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
1154 fi; \
1155 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
54c1bf78
BK
1156 else \
1157 test -f $(distdir)/$$file \
ff66d28f
PE
1158 || cp -p $$d/$$file $(distdir)/$$file \
1159 || exit 1; \
54c1bf78
BK
1160 fi; \
1161 done
ff66d28f 1162check-am: all-am
54c1bf78 1163check: check-am
ff66d28f 1164all-am: Makefile all-local
ff66d28f
PE
1165installdirs:
1166install: install-am
1167install-exec: install-exec-am
2c1bc4eb 1168install-data: install-data-am
ff66d28f 1169uninstall: uninstall-am
4a9d5109 1170
2c1bc4eb
PC
1171install-am: all-am
1172 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
54c1bf78 1173
ff66d28f
PE
1174installcheck: installcheck-am
1175install-strip:
1176 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
ec2075e9 1177 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
ff66d28f
PE
1178 `test -z '$(STRIP)' || \
1179 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
4a9d5109
SW
1180mostlyclean-generic:
1181
1182clean-generic:
ab77073f 1183 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
4a9d5109
SW
1184
1185distclean-generic:
a60945f8 1186 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
4a9d5109
SW
1187
1188maintainer-clean-generic:
ff66d28f
PE
1189 @echo "This command is intended for maintainers to use"
1190 @echo "it deletes files that may require special tools to rebuild."
1191clean: clean-am
2c1bc4eb 1192
303c8bfd 1193clean-am: clean-generic clean-libtool clean-local mostlyclean-am
f53d0ff1 1194
ff66d28f 1195distclean: distclean-am
4c4809c1 1196 -rm -f Makefile
ff66d28f 1197distclean-am: clean-am distclean-generic distclean-libtool
f53d0ff1 1198
ff66d28f 1199dvi: dvi-am
f53d0ff1 1200
ff66d28f 1201dvi-am:
f53d0ff1 1202
7eaf73d7
KC
1203html: html-am
1204
ff66d28f
PE
1205info: info-am
1206
1207info-am:
1208
1209install-data-am: install-data-local
1210
1211install-exec-am:
1212
1213install-info: install-info-am
1214
1215install-man:
1216
1217installcheck-am:
4a9d5109
SW
1218
1219maintainer-clean: maintainer-clean-am
4c4809c1 1220 -rm -f Makefile
ff66d28f
PE
1221maintainer-clean-am: distclean-am maintainer-clean-generic
1222
1223mostlyclean: mostlyclean-am
1224
1225mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1226
1227pdf: pdf-am
1228
1229pdf-am:
1230
1231ps: ps-am
1232
1233ps-am:
1234
1235uninstall-am: uninstall-info-am
1236
1237.PHONY: all all-am all-local check check-am clean clean-generic \
303c8bfd
BK
1238 clean-libtool clean-local distclean distclean-generic \
1239 distclean-libtool distdir dvi dvi-am html html-am info info-am \
1240 install install-am install-data install-data-am \
1241 install-data-local install-exec install-exec-am install-info \
1242 install-info-am install-man install-strip installcheck \
1243 installcheck-am installdirs maintainer-clean \
1244 maintainer-clean-generic mostlyclean mostlyclean-generic \
1245 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
1246 uninstall-info-am
4a9d5109
SW
1247
1248
1249# Here are the rules for building the headers
82ba99d5 1250all-local: ${allstamped} ${allcreated}
4a9d5109 1251
066930bb
PE
1252# This rule is slightly different, in that we must change the name of the
1253# local file from std_foo.h to foo.
4a9d5109
SW
1254stamp-std: ${std_headers}
1255 @if [ ! -d "${std_builddir}" ]; then \
1256 mkdir -p ${std_builddir} ;\
1257 fi ;\
7ec3af37 1258 if [ ! -f stamp-std ]; then \
18154730 1259 (cd ${std_builddir} && $(LN_S) $? . || true) ;\
82ba99d5
PE
1260 fi ;\
1261 $(STAMP) stamp-std
ab77073f 1262
4a9d5109
SW
1263stamp-bits: ${bits_headers}
1264 @if [ ! -d "${bits_builddir}" ]; then \
1265 mkdir -p ${bits_builddir} ;\
1266 fi ;\
7ec3af37 1267 if [ ! -f stamp-bits ]; then \
82ba99d5
PE
1268 (cd ${bits_builddir} && $(LN_S) $? . || true) ;\
1269 fi ;\
1270 $(STAMP) stamp-bits
4a9d5109 1271
18154730 1272stamp-c_base: ${c_base_headers}
4a9d5109
SW
1273 @if [ ! -d "${c_base_builddir}" ]; then \
1274 mkdir -p ${c_base_builddir} ;\
1275 fi ;\
7ec3af37 1276 if [ ! -f stamp-c_base ]; then \
18154730 1277 (cd ${c_base_builddir} && $(LN_S) $? . || true) ;\
82ba99d5
PE
1278 fi ;\
1279 $(STAMP) stamp-c_base
4a9d5109 1280
18154730
BK
1281stamp-c_base_extra: ${c_base_headers_extra}
1282 @if [ ! -d "${bits_builddir}" ]; then \
1283 mkdir -p ${bits_builddir} ;\
1284 fi ;\
1285 if [ ! -f stamp-c_base_extra ]; then \
1286 (cd ${bits_builddir} && $(LN_S) $? . || true) ;\
1287 fi ;\
1288 $(STAMP) stamp-c_base_extra
1289
e01c9849
BK
1290stamp-c_compatibility: ${c_compatibility_headers_extra}
1291 @if [ ! -d "${c_compatibility_builddir}" ]; then \
1292 mkdir -p ${c_compatibility_builddir} ;\
1293 fi ;\
7ec3af37
BK
1294 if [ ! -f stamp-c_compatibility ]; then \
1295 if [ ! -z "${c_compatibility_headers_extra}" ]; then \
82ba99d5 1296 (cd ${c_compatibility_builddir} && $(LN_S) $? . || true) ;\
7ec3af37 1297 fi ;\
82ba99d5
PE
1298 fi ;\
1299 $(STAMP) stamp-c_compatibility
e01c9849 1300
4a9d5109
SW
1301stamp-backward: ${backward_headers}
1302 @if [ ! -d "${backward_builddir}" ]; then \
1303 mkdir -p ${backward_builddir} ;\
1304 fi ;\
7ec3af37 1305 if [ ! -f stamp-backward ]; then \
82ba99d5
PE
1306 (cd ${backward_builddir} && $(LN_S) $? . || true) ;\
1307 fi ;\
1308 $(STAMP) stamp-backward
4a9d5109
SW
1309
1310stamp-ext: ${ext_headers}
1311 @if [ ! -d "${ext_builddir}" ]; then \
7ec3af37 1312 mkdir -p ${ext_builddir} ;\
4a9d5109 1313 fi ;\
7ec3af37 1314 if [ ! -f stamp-ext ]; then \
82ba99d5
PE
1315 (cd ${ext_builddir} && $(LN_S) $? . || true) ;\
1316 fi ;\
1317 $(STAMP) stamp-ext
4a9d5109 1318
fd1e1726
BK
1319# Have to deal with nested include directories, gah! Strip off source
1320# directory before making the link.
4569a895
AT
1321# XXX check ${pb_headers}
1322stamp-pb:
1323 @if [ ! -d "${pb_builddir}" ]; then \
1324 mkdir -p ${pb_subdirs} ;\
00ff8e19 1325 fi
4569a895
AT
1326 @if [ ! -f stamp-pb ]; then \
1327 cd ${pb_builddir} && for h in ${pb_headers1}; do \
1328 build_name=`echo $$h | sed -e "s|${pb_srcdir}|.|g"` ;\
00ff8e19
DE
1329 $(LN_S) $$h $${build_name} || true ;\
1330 done ;\
1331 fi
4569a895
AT
1332 @if [ ! -f stamp-pb ]; then \
1333 cd ${pb_builddir} && for h in ${pb_headers2}; 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_headers3}; 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_headers4}; 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_headers5}; 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_headers6}; do \
1358 build_name=`echo $$h | sed -e "s|${pb_srcdir}|.|g"` ;\
1359 $(LN_S) $$h $${build_name} || true ;\
1360 done ;\
1361 fi
1362 @if [ ! -f stamp-pb ]; then \
1363 cd ${pb_builddir} && for h in ${pb_headers7}; do \
1364 build_name=`echo $$h | sed -e "s|${pb_srcdir}|.|g"` ;\
1365 $(LN_S) $$h $${build_name} || true ;\
1366 done ;\
1367 fi
1368 $(STAMP) stamp-pb
fd1e1726 1369
3febde35
BK
1370stamp-tr1: ${tr1_headers}
1371 @if [ ! -d "${tr1_builddir}" ]; then \
1372 mkdir -p ${tr1_builddir} ;\
1373 fi ;\
1374 if [ ! -f stamp-tr1 ]; then \
1375 (cd ${tr1_builddir} && $(LN_S) $? . || true) ;\
1376 fi ;\
1377 $(STAMP) stamp-tr1
1378
e133ace8
PC
1379stamp-tr1-impl: ${tr1_impl_headers}
1380 @if [ ! -d "${tr1_impl_builddir}" ]; then \
1381 mkdir -p ${tr1_impl_builddir} ;\
1382 fi ;\
1383 if [ ! -f stamp-tr1-impl ]; then \
1384 (cd ${tr1_impl_builddir} && $(LN_S) $? . || true) ;\
1385 fi ;\
1386 $(STAMP) stamp-tr1-impl
1387
285b36d6
BK
1388stamp-debug: ${debug_headers}
1389 @if [ ! -d "${debug_builddir}" ]; then \
1390 mkdir -p ${debug_builddir} ;\
1391 fi ;\
1392 if [ ! -f stamp-debug ]; then \
1393 (cd ${debug_builddir} && @LN_S@ $? . || true) ;\
1394 fi ;\
1395 $(STAMP) stamp-debug
1396
c2ba9709
JS
1397stamp-parallel: ${parallel_headers}
1398 @if [ ! -d "${parallel_builddir}" ]; then \
1399 mkdir -p ${parallel_builddir} ;\
1400 fi ;\
1401 if [ ! -f stamp-parallel ]; then \
1402 (cd ${parallel_builddir} && @LN_S@ $? . || true) ;\
1403 fi ;\
1404 $(STAMP) stamp-parallel
1405
a30335e9
BK
1406stamp-${host_alias}:
1407 @if [ ! -d ${host_builddir} ]; then \
1408 mkdir -p ${host_builddir} ;\
82ba99d5
PE
1409 fi ;\
1410 $(STAMP) stamp-${host_alias}
843312be 1411
a30335e9
BK
1412# Host includes static.
1413# XXX Missing dependency info for {host_headers_extra}
1414stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias}
1415 @if [ ! -f stamp-host ]; then \
1416 (cd ${host_builddir} ;\
82ba99d5 1417 $(LN_S) ${host_headers} . || true ;\
ca618b60 1418 $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_H) basic_file.h || true ;\
8b0d6051 1419 $(LN_S) ${glibcxx_srcdir}/$(ALLOCATOR_H) c++allocator.h || true ;\
ca618b60
PE
1420 $(LN_S) ${glibcxx_srcdir}/$(CSTDIO_H) c++io.h || true ;\
1421 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_H) c++locale.h || true ;\
1422 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H) . || true ;\
bb2b2a24 1423 $(LN_S) ${glibcxx_srcdir}/$(COMPATIBILITY_H) . || true ;\
ca618b60 1424 $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_H) messages_members.h || true ;\
302ece50 1425 $(LN_S) ${glibcxx_srcdir}/$(CTIME_H) time_members.h || true);\
82ba99d5
PE
1426 fi ;\
1427 $(STAMP) stamp-host
4a9d5109 1428
a30335e9 1429# Host includes dynamic.
3cbc7af0
BK
1430@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@stamp-namespace-version:
1431@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@ echo 1 > stamp-namespace-version
1432@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@stamp-namespace-version:
1433@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@ echo 0 > stamp-namespace-version
98e615b4
BK
1434
1435@ENABLE_VISIBILITY_TRUE@stamp-visibility:
1436@ENABLE_VISIBILITY_TRUE@ echo 1 > stamp-visibility
1437@ENABLE_VISIBILITY_FALSE@stamp-visibility:
1438@ENABLE_VISIBILITY_FALSE@ echo 0 > stamp-visibility
1439
68d64ccd
JR
1440# NB: The non-empty default ldbl_compat works around an AIX sed
1441# oddity, see libstdc++/31957 for details.
3cbc7af0
BK
1442${host_builddir}/c++config.h: ${CONFIG_HEADER} \
1443 ${glibcxx_srcdir}/include/bits/c++config \
1444 stamp-${host_alias} \
1445 ${toplevel_srcdir}/gcc/DATESTAMP \
98e615b4
BK
1446 stamp-namespace-version \
1447 stamp-visibility
3cbc7af0
BK
1448 @date=`cat ${toplevel_srcdir}/gcc/DATESTAMP` ;\
1449 nsa_version=`cat stamp-namespace-version` ;\
98e615b4 1450 visibility=`cat stamp-visibility` ;\
68d64ccd 1451 ldbl_compat='s,g,g,' ;\
6defecc2
JJ
1452 grep "^[ ]*#[ ]*define[ ][ ]*_GLIBCXX_LONG_DOUBLE_COMPAT[ ][ ]*1[ ]*$$" \
1453 ${CONFIG_HEADER} > /dev/null 2>&1 \
1454 && ldbl_compat='s,^#undef _GLIBCXX_LONG_DOUBLE_COMPAT$$,#define _GLIBCXX_LONG_DOUBLE_COMPAT 1,' ;\
3cbc7af0
BK
1455 sed -e "s,define __GLIBCXX__,define __GLIBCXX__ $$date," \
1456 -e "s,define _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION, define _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION $$nsa_version," \
98e615b4 1457 -e "s,define _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY, define _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY $$visibility," \
6defecc2 1458 -e "$$ldbl_compat" \
3cbc7af0 1459 < ${glibcxx_srcdir}/include/bits/c++config > $@ ;\
3d7c150e
BK
1460 sed -e 's/HAVE_/_GLIBCXX_HAVE_/g' \
1461 -e 's/PACKAGE/_GLIBCXX_PACKAGE/g' \
1462 -e 's/VERSION/_GLIBCXX_VERSION/g' \
1463 -e 's/WORDS_/_GLIBCXX_WORDS_/g' \
4ffe6e87 1464 -e 's/ICONV_CONST/_GLIBCXX_ICONV_CONST/g' \
6defecc2 1465 -e '/[ ]_GLIBCXX_LONG_DOUBLE_COMPAT[ ]/d' \
42ebb17f 1466 < ${CONFIG_HEADER} >> $@ ;\
3cbc7af0 1467 echo "" >> $@ ;\
af13a7a6 1468 echo "#endif // _GLIBCXX_CXX_CONFIG_H" >> $@
4a9d5109 1469
a30335e9 1470${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
168aacd9
JM
1471 sed -e '/^#pragma/b' \
1472 -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
ec2075e9 1473 -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
4a9d5109 1474 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
533ab4d1 1475 < ${toplevel_srcdir}/gcc/gthr.h > $@
4a9d5109 1476
a30335e9
BK
1477${host_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
1478 stamp-${host_alias}
3d7c150e
BK
1479 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1480 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
533ab4d1 1481 < ${toplevel_srcdir}/gcc/gthr-single.h > $@
4a9d5109 1482
a30335e9
BK
1483${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
1484 stamp-${host_alias}
3d7c150e
BK
1485 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1486 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
ec2075e9
BK
1487 -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
1488 -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
79d6ba0b
LR
1489 < ${toplevel_srcdir}/gcc/gthr-posix.h > $@
1490
512baaea
D
1491${host_builddir}/gthr-tpf.h: ${toplevel_srcdir}/gcc/gthr-tpf.h \
1492 stamp-${host_alias}
1493 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1494 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
1495 -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
1496 -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
1497 < ${toplevel_srcdir}/gcc/gthr-tpf.h > $@
1498
3d7c150e 1499${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \
a30335e9 1500 stamp-${host_alias}
3d7c150e
BK
1501 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1502 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
ec2075e9
BK
1503 -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
1504 -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
79d6ba0b 1505 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
3d7c150e 1506 < ${toplevel_srcdir}/gcc/${glibcxx_thread_h} > $@
9e57d5ca 1507
bdfb7c6d 1508# Build two precompiled C++ includes, stdc++.h.gch/*.gch
f42482f5
BK
1509${pch1a_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
1510 if [ ! -d "${pch1_output_builddir}" ]; then \
1511 mkdir -p ${pch1_output_builddir}; \
1512 fi; \
1513 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O0 -g ${pch1_source} -o $@
56dbe89d 1514 touch ${pch1_output_anchor}
f42482f5
BK
1515
1516${pch1b_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
6cbd871c
BK
1517 if [ ! -d "${pch1_output_builddir}" ]; then \
1518 mkdir -p ${pch1_output_builddir}; \
8520f704 1519 fi; \
f42482f5 1520 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch1_source} -o $@
56dbe89d 1521 touch ${pch1_output_anchor}
6cbd871c 1522
f42482f5
BK
1523# Build a precompiled TR1 include, stdtr1c++.h.gch/O2.gch
1524${pch2_output}: ${pch2_source} ${pch1_output}
6cbd871c
BK
1525 if [ ! -d "${pch2_output_builddir}" ]; then \
1526 mkdir -p ${pch2_output_builddir}; \
1527 fi; \
f42482f5 1528 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch2_source} -o $@
56dbe89d 1529 touch ${pch2_output_anchor}
6cbd871c 1530
f42482f5
BK
1531# Build a precompiled extension include, extc++.h.gch/O2.gch
1532${pch3_output}: ${pch3_source} ${pch2_output}
6cbd871c
BK
1533 if [ ! -d "${pch3_output_builddir}" ]; then \
1534 mkdir -p ${pch3_output_builddir}; \
1535 fi; \
f42482f5 1536 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch3_source} -o $@
56dbe89d 1537 touch ${pch3_output_anchor}
9e57d5ca 1538
92eabea2
PE
1539# For robustness sake (in light of junk files or in-source
1540# configuration), copy from the build or source tree to the install
1541# tree using only the human-maintained file lists and directory
1542# components. Yes, with minor differences, this is sheer duplication
1543# of the staging rules above using $(INSTALL_DATA) instead of LN_S and
1544# `$(mkinstalldirs)' instead of `mkdir -p'. In particular,
1545# host_headers_extra are taken out of the build tree staging area;
1546# the rest are taken from the original source tree.
9e57d5ca 1547
65be6ddd 1548@GLIBCXX_HOSTED_TRUE@install-data-local: install-headers
92eabea2
PE
1549@GLIBCXX_HOSTED_FALSE@install-data-local: install-freestanding-headers
1550
1551# This is a subset of the full install-headers rule. We only need <cstddef>,
1552# <limits>, <cstdlib>, <cstdarg>, <new>, <typeinfo>, <exception>, and any
1553# files which they include (and which we provide). The last three headers
1554# are installed by libsupc++, so only the first four and the sub-includes
1555# are copied here.
1556install-freestanding-headers:
1557 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
2b6dd222 1558 $(mkinstalldirs) $(DESTDIR)${host_installdir}
92eabea2 1559 for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h; do \
2b6dd222 1560 $(INSTALL_DATA) $${file} $(DESTDIR)${host_installdir}; done
92eabea2
PE
1561 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
1562 $(INSTALL_DATA) ${std_builddir}/limits $(DESTDIR)${gxx_include_dir}/${std_builddir}
1563 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
1564 for file in cstddef cstdlib cstdarg; do \
1565 $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
1566
1567# The real deal.
9e57d5ca 1568install-headers:
90e5b39f
CC
1569 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
1570 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${bits_builddir}
7bfea936 1571 for file in ${bits_headers}; do \
90e5b39f
CC
1572 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
1573 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${backward_builddir}
7bfea936 1574 for file in ${backward_headers}; do \
90e5b39f
CC
1575 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${backward_builddir}; done
1576 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${ext_builddir}
7bfea936 1577 for file in ${ext_headers}; do \
90e5b39f 1578 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${ext_builddir}; done
4569a895
AT
1579 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${pb_builddir}
1580 for dir in ${pb_subdirs}; do \
fd1e1726 1581 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/$${dir} ; done
4569a895
AT
1582 for file in ${pb_headers1}; do \
1583 install_base=$(DESTDIR)${gxx_include_dir}/${pb_builddir} ; \
1584 relative_name=`echo $$file | sed -e "s|${pb_srcdir}|.|g"` ;\
1585 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
1586 for file in ${pb_headers2}; do \
1587 install_base=$(DESTDIR)${gxx_include_dir}/${pb_builddir} ; \
1588 relative_name=`echo $$file | sed -e "s|${pb_srcdir}|.|g"` ;\
1589 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
1590 for file in ${pb_headers3}; do \
1591 install_base=$(DESTDIR)${gxx_include_dir}/${pb_builddir} ; \
1592 relative_name=`echo $$file | sed -e "s|${pb_srcdir}|.|g"` ;\
c35a51a5 1593 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
4569a895
AT
1594 for file in ${pb_headers4}; do \
1595 install_base=$(DESTDIR)${gxx_include_dir}/${pb_builddir} ; \
1596 relative_name=`echo $$file | sed -e "s|${pb_srcdir}|.|g"` ;\
c35a51a5 1597 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
4569a895
AT
1598 for file in ${pb_headers5}; do \
1599 install_base=$(DESTDIR)${gxx_include_dir}/${pb_builddir} ; \
1600 relative_name=`echo $$file | sed -e "s|${pb_srcdir}|.|g"` ;\
c35a51a5 1601 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
4569a895
AT
1602 for file in ${pb_headers6}; do \
1603 install_base=$(DESTDIR)${gxx_include_dir}/${pb_builddir} ; \
1604 relative_name=`echo $$file | sed -e "s|${pb_srcdir}|.|g"` ;\
c35a51a5 1605 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
4569a895
AT
1606 for file in ${pb_headers7}; do \
1607 install_base=$(DESTDIR)${gxx_include_dir}/${pb_builddir} ; \
1608 relative_name=`echo $$file | sed -e "s|${pb_srcdir}|.|g"` ;\
fd1e1726 1609 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
3febde35
BK
1610 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${tr1_builddir}
1611 for file in ${tr1_headers}; do \
1612 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${tr1_builddir}; done
e133ace8
PC
1613 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${tr1_impl_builddir}
1614 for file in ${tr1_impl_headers}; do \
1615 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${tr1_impl_builddir}; done
90e5b39f 1616 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
18154730
BK
1617 for file in ${c_base_headers}; do \
1618 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
e01c9849 1619 c_base_headers_extra_install='$(c_base_headers_extra)';\
3eb35fcf 1620 for file in $$c_base_headers_extra_install; do \
90e5b39f 1621 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
e01c9849
BK
1622 c_compatibility_headers_install='$(c_compatibility_headers_extra)';\
1623 for file in $$c_compatibility_headers_install; do \
90e5b39f
CC
1624 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}; done
1625 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
18154730
BK
1626 for file in ${std_headers}; do \
1627 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done
285b36d6
BK
1628 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${debug_builddir}
1629 for file in ${debug_headers}; do \
1630 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${debug_builddir}; done
c2ba9709
JS
1631 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${parallel_builddir}
1632 for file in ${parallel_headers}; do \
1633 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${parallel_builddir}; done
2b6dd222 1634 $(mkinstalldirs) $(DESTDIR)${host_installdir}
a30335e9
BK
1635 for file in ${host_headers} ${host_headers_extra} \
1636 ${thread_host_headers}; do \
2b6dd222 1637 $(INSTALL_DATA) $${file} $(DESTDIR)${host_installdir}; done
4a9d5109 1638
303c8bfd
BK
1639# To remove directories.
1640clean-local:
f42482f5 1641 rm -rf ${pch_output_dirs}
303c8bfd 1642
c5535768
BK
1643# Stop implicit '.o' make rules from ever stomping on extensionless
1644# headers, in the improbable case where some foolish, crack-addled
1645# developer tries to create them via make in the include build
654421eb
DE
1646# directory. (This is more of an example of how this kind of rule can
1647# be made.)
e133ace8
PC
1648.PRECIOUS: $(std_headers) $(c_base_headers) $(tr1_headers) $(tr1_impl_headers)
1649 $(ext_headers)
18154730
BK
1650$(std_headers): ; @:
1651$(c_base_headers): ; @:
1652$(tr1_headers): ; @:
e133ace8 1653$(tr1_impl_headers): ; @:
18154730 1654$(ext_headers): ; @:
4a9d5109
SW
1655# Tell versions [3.59,3.63) of GNU make to not export all variables.
1656# Otherwise a system limit (for SysV at least) may be exceeded.
1657.NOEXPORT: