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