]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/include/Makefile.in
re PR c++/23789 (compilation error when template parameters have certain complexity)
[thirdparty/gcc.git] / libstdc++-v3 / include / Makefile.in
CommitLineData
872d8fea 1# Makefile.in generated by automake 1.9.3 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
cd111813
TT
43am__aclocal_m4_deps = $(top_srcdir)/../config/lead-dot.m4 \
44 $(top_srcdir)/../config/no-executables.m4 \
3a24bf5d
KC
45 $(top_srcdir)/../libtool.m4 $(top_srcdir)/crossconfig.m4 \
46 $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
47 $(top_srcdir)/configure.ac
7eaf73d7
KC
48am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
49 $(ACLOCAL_M4)
50CONFIG_HEADER = $(top_builddir)/config.h
51CONFIG_CLEAN_FILES =
52depcomp =
53am__depfiles_maybe =
54SOURCES =
55DIST_SOURCES =
56DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
1568430f 57ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
ff66d28f 58ACLOCAL = @ACLOCAL@
8b0d6051
BK
59ALLOCATOR_H = @ALLOCATOR_H@
60ALLOCATOR_NAME = @ALLOCATOR_NAME@
ff66d28f 61AMTAR = @AMTAR@
4a9d5109
SW
62AR = @AR@
63AS = @AS@
2c5d0ae8
BK
64ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
65ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
ff66d28f
PE
66AUTOCONF = @AUTOCONF@
67AUTOHEADER = @AUTOHEADER@
68AUTOMAKE = @AUTOMAKE@
ab3bc736 69AWK = @AWK@
6aa43d99 70BASIC_FILE_CC = @BASIC_FILE_CC@
4a9d5109
SW
71BASIC_FILE_H = @BASIC_FILE_H@
72CC = @CC@
6aa43d99 73CCODECVT_CC = @CCODECVT_CC@
6aa43d99
BK
74CCOLLATE_CC = @CCOLLATE_CC@
75CCTYPE_CC = @CCTYPE_CC@
ff66d28f 76CFLAGS = @CFLAGS@
6aa43d99 77CLOCALE_CC = @CLOCALE_CC@
4a9d5109 78CLOCALE_H = @CLOCALE_H@
6aa43d99
BK
79CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
80CMESSAGES_CC = @CMESSAGES_CC@
33590f13 81CMESSAGES_H = @CMESSAGES_H@
6aa43d99
BK
82CMONEY_CC = @CMONEY_CC@
83CNUMERIC_CC = @CNUMERIC_CC@
4a9d5109 84CPP = @CPP@
ff66d28f 85CPPFLAGS = @CPPFLAGS@
4a9d5109 86CSTDIO_H = @CSTDIO_H@
6aa43d99 87CTIME_CC = @CTIME_CC@
1c26d8fd 88CTIME_H = @CTIME_H@
ff66d28f 89CXX = @CXX@
4a9d5109 90CXXCPP = @CXXCPP@
ff66d28f
PE
91CXXFLAGS = @CXXFLAGS@
92CYGPATH_W = @CYGPATH_W@
4a9d5109
SW
93C_INCLUDE_DIR = @C_INCLUDE_DIR@
94DEBUG_FLAGS = @DEBUG_FLAGS@
ff66d28f
PE
95DEFS = @DEFS@
96ECHO_C = @ECHO_C@
97ECHO_N = @ECHO_N@
98ECHO_T = @ECHO_T@
99EGREP = @EGREP@
a9fdd472
GK
100ENABLE_SYMVERS_DARWIN_EXPORT_FALSE = @ENABLE_SYMVERS_DARWIN_EXPORT_FALSE@
101ENABLE_SYMVERS_DARWIN_EXPORT_TRUE = @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@
102ENABLE_SYMVERS_GNU_FALSE = @ENABLE_SYMVERS_GNU_FALSE@
103ENABLE_SYMVERS_GNU_TRUE = @ENABLE_SYMVERS_GNU_TRUE@
54c1bf78 104EXEEXT = @EXEEXT@
4a9d5109 105EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
ff66d28f
PE
106GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
107GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
ff66d28f
PE
108GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
109GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
ff66d28f
PE
110GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
111GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
112GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
113GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
114GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
115GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
92eabea2
PE
116GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
117GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
ff66d28f 118GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
ff66d28f
PE
119INSTALL_DATA = @INSTALL_DATA@
120INSTALL_PROGRAM = @INSTALL_PROGRAM@
121INSTALL_SCRIPT = @INSTALL_SCRIPT@
122INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
d54bc1d8 123LIBICONV = @LIBICONV@
4a9d5109 124LIBMATHOBJS = @LIBMATHOBJS@
ff66d28f
PE
125LIBOBJS = @LIBOBJS@
126LIBS = @LIBS@
4a9d5109
SW
127LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
128LIBTOOL = @LIBTOOL@
129LN_S = @LN_S@
ff66d28f 130LTLIBOBJS = @LTLIBOBJS@
4a9d5109 131MAINT = @MAINT@
ff66d28f
PE
132MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
133MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
54c1bf78 134MAKEINFO = @MAKEINFO@
4a9d5109
SW
135OBJEXT = @OBJEXT@
136OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
137OPT_LDFLAGS = @OPT_LDFLAGS@
138OS_INC_SRCDIR = @OS_INC_SRCDIR@
139PACKAGE = @PACKAGE@
ff66d28f
PE
140PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
141PACKAGE_NAME = @PACKAGE_NAME@
142PACKAGE_STRING = @PACKAGE_STRING@
143PACKAGE_TARNAME = @PACKAGE_TARNAME@
144PACKAGE_VERSION = @PACKAGE_VERSION@
145PATH_SEPARATOR = @PATH_SEPARATOR@
4a9d5109
SW
146RANLIB = @RANLIB@
147SECTION_FLAGS = @SECTION_FLAGS@
148SECTION_LDFLAGS = @SECTION_LDFLAGS@
ff66d28f
PE
149SET_MAKE = @SET_MAKE@
150SHELL = @SHELL@
4a9d5109 151STRIP = @STRIP@
6aa43d99 152SYMVER_MAP = @SYMVER_MAP@
4a9d5109 153TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
33590f13 154USE_NLS = @USE_NLS@
4a9d5109
SW
155VERSION = @VERSION@
156WARN_FLAGS = @WARN_FLAGS@
157WERROR = @WERROR@
ff66d28f
PE
158ac_ct_AR = @ac_ct_AR@
159ac_ct_AS = @ac_ct_AS@
160ac_ct_CC = @ac_ct_CC@
161ac_ct_CXX = @ac_ct_CXX@
162ac_ct_RANLIB = @ac_ct_RANLIB@
163ac_ct_STRIP = @ac_ct_STRIP@
164am__leading_dot = @am__leading_dot@
a60945f8
PC
165am__tar = @am__tar@
166am__untar = @am__untar@
44f0760e 167baseline_dir = @baseline_dir@
ff66d28f
PE
168bindir = @bindir@
169build = @build@
170build_alias = @build_alias@
171build_cpu = @build_cpu@
172build_os = @build_os@
173build_vendor = @build_vendor@
501e321e 174check_msgfmt = @check_msgfmt@
ff66d28f 175datadir = @datadir@
4a9d5109
SW
176enable_shared = @enable_shared@
177enable_static = @enable_static@
ff66d28f 178exec_prefix = @exec_prefix@
3d7c150e
BK
179glibcxx_MOFILES = @glibcxx_MOFILES@
180glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
181glibcxx_POFILES = @glibcxx_POFILES@
ff66d28f 182glibcxx_builddir = @glibcxx_builddir@
3d7c150e
BK
183glibcxx_localedir = @glibcxx_localedir@
184glibcxx_prefixdir = @glibcxx_prefixdir@
ff66d28f 185glibcxx_srcdir = @glibcxx_srcdir@
ff66d28f 186glibcxx_thread_h = @glibcxx_thread_h@
3d7c150e
BK
187glibcxx_toolexecdir = @glibcxx_toolexecdir@
188glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
ff66d28f
PE
189gxx_include_dir = @gxx_include_dir@
190host = @host@
191host_alias = @host_alias@
192host_cpu = @host_cpu@
193host_os = @host_os@
194host_vendor = @host_vendor@
195includedir = @includedir@
196infodir = @infodir@
197install_sh = @install_sh@
198libdir = @libdir@
199libexecdir = @libexecdir@
4e10943d 200libtool_VERSION = @libtool_VERSION@
ff66d28f
PE
201localstatedir = @localstatedir@
202mandir = @mandir@
7eaf73d7 203mkdir_p = @mkdir_p@
ff66d28f
PE
204multi_basedir = @multi_basedir@
205oldincludedir = @oldincludedir@
206port_specific_symbol_files = @port_specific_symbol_files@
207prefix = @prefix@
208program_transform_name = @program_transform_name@
209sbindir = @sbindir@
210sharedstatedir = @sharedstatedir@
211sysconfdir = @sysconfdir@
212target = @target@
213target_alias = @target_alias@
214target_cpu = @target_cpu@
215target_os = @target_os@
216target_vendor = @target_vendor@
4a9d5109 217toplevel_srcdir = @toplevel_srcdir@
47194af4
ZW
218
219# May be used by various substitution variables.
220gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
4a9d5109 221MAINT_CHARSET = latin1
4a9d5109 222mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
0df3f383 223PWD_COMMAND = $${PWDCMD-pwd}
82ba99d5 224STAMP = echo timestamp >
0df3f383
PE
225toolexecdir = $(glibcxx_toolexecdir)
226toolexeclibdir = $(glibcxx_toolexeclibdir)
227
228# These bits are all figured out from configure. Look in acinclude.m4
229# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
230CONFIG_CXXFLAGS = \
231 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
232
233WARN_CXXFLAGS = \
234 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
235
236
237# -I/-D flags to pass when compiling.
238AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
ab77073f
BK
239
240# Standard C++ includes.
3d7c150e 241std_srcdir = ${glibcxx_srcdir}/include/std
ab77073f 242std_builddir = .
53c2acdf
BK
243std_headers = \
244 ${std_srcdir}/std_algorithm.h \
245 ${std_srcdir}/std_bitset.h \
246 ${std_srcdir}/std_complex.h \
247 ${std_srcdir}/std_deque.h \
248 ${std_srcdir}/std_fstream.h \
249 ${std_srcdir}/std_functional.h \
250 ${std_srcdir}/std_iomanip.h \
251 ${std_srcdir}/std_ios.h \
252 ${std_srcdir}/std_iosfwd.h \
253 ${std_srcdir}/std_iostream.h \
254 ${std_srcdir}/std_istream.h \
255 ${std_srcdir}/std_iterator.h \
256 ${std_srcdir}/std_limits.h \
257 ${std_srcdir}/std_list.h \
258 ${std_srcdir}/std_locale.h \
259 ${std_srcdir}/std_map.h \
260 ${std_srcdir}/std_memory.h \
261 ${std_srcdir}/std_numeric.h \
262 ${std_srcdir}/std_ostream.h \
263 ${std_srcdir}/std_queue.h \
264 ${std_srcdir}/std_set.h \
265 ${std_srcdir}/std_sstream.h \
266 ${std_srcdir}/std_stack.h \
267 ${std_srcdir}/std_stdexcept.h \
268 ${std_srcdir}/std_streambuf.h \
269 ${std_srcdir}/std_string.h \
270 ${std_srcdir}/std_utility.h \
271 ${std_srcdir}/std_valarray.h \
272 ${std_srcdir}/std_vector.h
ab77073f 273
82ba99d5 274# Renamed at build time.
53c2acdf
BK
275std_headers_rename = \
276 algorithm \
277 bitset \
278 complex \
279 deque \
280 fstream \
281 functional \
282 iomanip \
283 ios \
284 iosfwd \
285 iostream \
286 istream \
287 iterator \
288 limits \
289 list \
290 locale \
291 map \
292 memory \
293 numeric \
294 ostream \
295 queue \
296 set \
297 sstream \
298 stack \
299 stdexcept \
300 streambuf \
301 string \
302 utility \
303 valarray \
304 vector
ab77073f 305
3d7c150e 306bits_srcdir = ${glibcxx_srcdir}/include/bits
4a9d5109 307bits_builddir = ./bits
53c2acdf 308bits_headers = \
1ff9402d 309 ${bits_srcdir}/allocator.h \
2c5d0ae8 310 ${bits_srcdir}/atomicity.h \
53c2acdf
BK
311 ${bits_srcdir}/basic_ios.h \
312 ${bits_srcdir}/basic_ios.tcc \
313 ${bits_srcdir}/basic_string.h \
314 ${bits_srcdir}/basic_string.tcc \
315 ${bits_srcdir}/boost_concept_check.h \
316 ${bits_srcdir}/char_traits.h \
317 ${bits_srcdir}/codecvt.h \
318 ${bits_srcdir}/concept_check.h \
3fe13738 319 ${bits_srcdir}/concurrence.h \
53c2acdf 320 ${bits_srcdir}/cpp_type_traits.h \
53c2acdf 321 ${bits_srcdir}/deque.tcc \
53c2acdf
BK
322 ${bits_srcdir}/fstream.tcc \
323 ${bits_srcdir}/functexcept.h \
324 ${bits_srcdir}/gslice.h \
325 ${bits_srcdir}/gslice_array.h \
326 ${bits_srcdir}/indirect_array.h \
327 ${bits_srcdir}/ios_base.h \
328 ${bits_srcdir}/istream.tcc \
329 ${bits_srcdir}/list.tcc \
330 ${bits_srcdir}/locale_classes.h \
331 ${bits_srcdir}/locale_facets.h \
332 ${bits_srcdir}/locale_facets.tcc \
333 ${bits_srcdir}/localefwd.h \
334 ${bits_srcdir}/mask_array.h \
335 ${bits_srcdir}/ostream.tcc \
4c4809c1 336 ${bits_srcdir}/postypes.h \
53c2acdf
BK
337 ${bits_srcdir}/stream_iterator.h \
338 ${bits_srcdir}/streambuf_iterator.h \
339 ${bits_srcdir}/slice_array.h \
340 ${bits_srcdir}/sstream.tcc \
341 ${bits_srcdir}/stl_algo.h \
342 ${bits_srcdir}/stl_algobase.h \
53c2acdf
BK
343 ${bits_srcdir}/stl_bvector.h \
344 ${bits_srcdir}/stl_construct.h \
345 ${bits_srcdir}/stl_deque.h \
346 ${bits_srcdir}/stl_function.h \
347 ${bits_srcdir}/stl_heap.h \
348 ${bits_srcdir}/stl_iterator.h \
349 ${bits_srcdir}/stl_iterator_base_funcs.h \
350 ${bits_srcdir}/stl_iterator_base_types.h \
351 ${bits_srcdir}/stl_list.h \
352 ${bits_srcdir}/stl_map.h \
353 ${bits_srcdir}/stl_multimap.h \
354 ${bits_srcdir}/stl_multiset.h \
355 ${bits_srcdir}/stl_numeric.h \
356 ${bits_srcdir}/stl_pair.h \
53c2acdf
BK
357 ${bits_srcdir}/stl_queue.h \
358 ${bits_srcdir}/stl_raw_storage_iter.h \
359 ${bits_srcdir}/stl_relops.h \
360 ${bits_srcdir}/stl_set.h \
361 ${bits_srcdir}/stl_stack.h \
362 ${bits_srcdir}/stl_tempbuf.h \
53c2acdf
BK
363 ${bits_srcdir}/stl_tree.h \
364 ${bits_srcdir}/stl_uninitialized.h \
365 ${bits_srcdir}/stl_vector.h \
366 ${bits_srcdir}/streambuf.tcc \
367 ${bits_srcdir}/stringfwd.h \
53c2acdf
BK
368 ${bits_srcdir}/valarray_array.h \
369 ${bits_srcdir}/valarray_array.tcc \
370 ${bits_srcdir}/valarray_before.h \
371 ${bits_srcdir}/valarray_after.h \
372 ${bits_srcdir}/vector.tcc
4a9d5109 373
3d7c150e 374backward_srcdir = ${glibcxx_srcdir}/include/backward
4a9d5109 375backward_builddir = ./backward
53c2acdf
BK
376backward_headers = \
377 ${backward_srcdir}/complex.h \
378 ${backward_srcdir}/iomanip.h \
379 ${backward_srcdir}/istream.h \
380 ${backward_srcdir}/ostream.h \
381 ${backward_srcdir}/stream.h \
382 ${backward_srcdir}/streambuf.h \
383 ${backward_srcdir}/algo.h \
384 ${backward_srcdir}/algobase.h \
385 ${backward_srcdir}/alloc.h \
386 ${backward_srcdir}/bvector.h \
387 ${backward_srcdir}/defalloc.h \
388 ${backward_srcdir}/deque.h \
389 ${backward_srcdir}/function.h \
390 ${backward_srcdir}/hash_map.h \
391 ${backward_srcdir}/hash_set.h \
392 ${backward_srcdir}/hashtable.h \
393 ${backward_srcdir}/heap.h \
394 ${backward_srcdir}/iostream.h \
395 ${backward_srcdir}/iterator.h \
396 ${backward_srcdir}/list.h \
397 ${backward_srcdir}/map.h \
398 ${backward_srcdir}/multimap.h \
399 ${backward_srcdir}/new.h \
400 ${backward_srcdir}/multiset.h \
401 ${backward_srcdir}/pair.h \
402 ${backward_srcdir}/queue.h \
403 ${backward_srcdir}/rope.h \
404 ${backward_srcdir}/set.h \
405 ${backward_srcdir}/slist.h \
406 ${backward_srcdir}/stack.h \
407 ${backward_srcdir}/tempbuf.h \
408 ${backward_srcdir}/tree.h \
409 ${backward_srcdir}/vector.h \
410 ${backward_srcdir}/fstream.h \
411 ${backward_srcdir}/strstream \
412 ${backward_srcdir}/backward_warning.h
4a9d5109 413
fd1e1726
BK
414assoc_srcdir = ${glibcxx_srcdir}/include/ext/pb_assoc
415assoc_builddir = ./ext/pb_assoc
416assoc_subdirs = \
417 ${assoc_builddir}/detail \
418 ${assoc_builddir}/detail/tree_assoc_cntnr \
419 ${assoc_builddir}/detail/basic_assoc_cntnr \
420 ${assoc_builddir}/detail/splay_tree_ \
421 ${assoc_builddir}/detail/typelist \
422 ${assoc_builddir}/detail/basic_hash_assoc_cntnr \
423 ${assoc_builddir}/detail/cc_ht_map_ \
424 ${assoc_builddir}/detail/gp_ht_map_ \
425 ${assoc_builddir}/detail/tree_policy \
426 ${assoc_builddir}/detail/resize_policy \
427 ${assoc_builddir}/detail/bin_search_tree_ \
428 ${assoc_builddir}/detail/basic_tree_assoc_cntnr \
429 ${assoc_builddir}/detail/cc_hash_assoc_cntnr \
430 ${assoc_builddir}/detail/value_type_adapter \
431 ${assoc_builddir}/detail/lu_policy \
432 ${assoc_builddir}/detail/gp_hash_assoc_cntnr \
433 ${assoc_builddir}/detail/unordered_iterator \
434 ${assoc_builddir}/detail/ov_tree_map_ \
435 ${assoc_builddir}/detail/lu_assoc_cntnr \
436 ${assoc_builddir}/detail/hash_fn \
437 ${assoc_builddir}/detail/eq_fn \
438 ${assoc_builddir}/detail/rb_tree_map_ \
439 ${assoc_builddir}/detail/lu_map_
440
441assoc_headers = \
442 ${assoc_srcdir}/detail/tree_assoc_cntnr/constructor_destructor_fn_imps.hpp \
443 ${assoc_srcdir}/detail/type_utils.hpp \
444 ${assoc_srcdir}/detail/order_statistics_imp.hpp \
445 ${assoc_srcdir}/detail/basic_assoc_cntnr/d_find_fn_imps.hpp \
446 ${assoc_srcdir}/detail/basic_assoc_cntnr/d_insert_fn_imps.hpp \
447 ${assoc_srcdir}/detail/basic_assoc_cntnr/extract_key.hpp \
448 ${assoc_srcdir}/detail/basic_assoc_cntnr/erase_fn_imps.hpp \
449 ${assoc_srcdir}/detail/basic_assoc_cntnr/insert_fn_imps.hpp \
450 ${assoc_srcdir}/detail/basic_assoc_cntnr/constructor_destructor_fn_imps.hpp \
451 ${assoc_srcdir}/detail/basic_assoc_cntnr/info_fn_imps.hpp \
452 ${assoc_srcdir}/detail/basic_assoc_cntnr/iterators_fn_imps.hpp \
453 ${assoc_srcdir}/detail/basic_assoc_cntnr/d_extract_key.hpp \
454 ${assoc_srcdir}/detail/basic_assoc_cntnr/constructors_destructor_fn_imps.hpp \
455 ${assoc_srcdir}/detail/splay_tree_/erase_fn_imps.hpp \
456 ${assoc_srcdir}/detail/splay_tree_/splay_tree_.hpp \
457 ${assoc_srcdir}/detail/splay_tree_/node.hpp \
458 ${assoc_srcdir}/detail/splay_tree_/insert_fn_imps.hpp \
459 ${assoc_srcdir}/detail/splay_tree_/find_fn_imps.hpp \
460 ${assoc_srcdir}/detail/splay_tree_/splay_fn_imps.hpp \
461 ${assoc_srcdir}/detail/splay_tree_/split_join_fn_imps.hpp \
462 ${assoc_srcdir}/detail/splay_tree_/info_fn_imps.hpp \
463 ${assoc_srcdir}/detail/splay_tree_/debug_fn_imps.hpp \
464 ${assoc_srcdir}/detail/splay_tree_/constructors_destructor_fn_imps.hpp \
465 ${assoc_srcdir}/detail/typelist/typelist_transform.hpp \
466 ${assoc_srcdir}/detail/typelist/typelist_apply.hpp \
467 ${assoc_srcdir}/detail/typelist/typelist_filter.hpp \
468 ${assoc_srcdir}/detail/typelist/typelist_at_index.hpp \
469 ${assoc_srcdir}/detail/typelist/typelist_contains.hpp \
470 ${assoc_srcdir}/detail/typelist/typelist_append.hpp \
471 ${assoc_srcdir}/detail/typelist/typelist_typelist_append.hpp \
472 ${assoc_srcdir}/detail/ds_trait_imp.hpp \
473 ${assoc_srcdir}/detail/basic_hash_assoc_cntnr/resize_fn_imps.hpp \
474 ${assoc_srcdir}/detail/basic_hash_assoc_cntnr/constructor_destructor_fn_imps.hpp \
475 ${assoc_srcdir}/detail/basic_hash_assoc_cntnr/constructors_destructor_fn_imps.hpp \
476 ${assoc_srcdir}/detail/cc_ht_map_/resize_store_hash_fn_imps.hpp \
477 ${assoc_srcdir}/detail/cc_ht_map_/find_store_hash_fn_imps.hpp \
478 ${assoc_srcdir}/detail/cc_ht_map_/erase_no_store_hash_fn_imps.hpp \
479 ${assoc_srcdir}/detail/cc_ht_map_/resize_fn_imps.hpp \
480 ${assoc_srcdir}/detail/cc_ht_map_/debug_store_hash_fn_imps.hpp \
481 ${assoc_srcdir}/detail/cc_ht_map_/erase_fn_imps.hpp \
482 ${assoc_srcdir}/detail/cc_ht_map_/policy_access_fn_imps.hpp \
483 ${assoc_srcdir}/detail/cc_ht_map_/cmp_fn_imps.hpp \
484 ${assoc_srcdir}/detail/cc_ht_map_/insert_no_store_hash_fn_imps.hpp \
485 ${assoc_srcdir}/detail/cc_ht_map_/insert_fn_imps.hpp \
486 ${assoc_srcdir}/detail/cc_ht_map_/find_fn_imps.hpp \
487 ${assoc_srcdir}/detail/cc_ht_map_/find_no_store_hash_fn_imps.hpp \
488 ${assoc_srcdir}/detail/cc_ht_map_/cond_key_dtor_entry_dealtor.hpp \
489 ${assoc_srcdir}/detail/cc_ht_map_/constructor_destructor_fn_imps.hpp \
490 ${assoc_srcdir}/detail/cc_ht_map_/entry_list_fn_imps.hpp \
491 ${assoc_srcdir}/detail/cc_ht_map_/constructor_destructor_store_hash_fn_imps.hpp \
492 ${assoc_srcdir}/detail/cc_ht_map_/erase_store_hash_fn_imps.hpp \
493 ${assoc_srcdir}/detail/cc_ht_map_/cc_ht_map_.hpp \
494 ${assoc_srcdir}/detail/cc_ht_map_/constructor_destructor_no_store_hash_fn_imps.hpp \
495 ${assoc_srcdir}/detail/cc_ht_map_/standard_policies.hpp \
496 ${assoc_srcdir}/detail/cc_ht_map_/info_fn_imps.hpp \
497 ${assoc_srcdir}/detail/cc_ht_map_/iterators_fn_imps.hpp \
498 ${assoc_srcdir}/detail/cc_ht_map_/insert_store_hash_fn_imps.hpp \
499 ${assoc_srcdir}/detail/cc_ht_map_/debug_fn_imps.hpp \
500 ${assoc_srcdir}/detail/cc_ht_map_/size_fn_imps.hpp \
501 ${assoc_srcdir}/detail/cc_ht_map_/debug_no_store_hash_fn_imps.hpp \
502 ${assoc_srcdir}/detail/cc_ht_map_/resize_no_store_hash_fn_imps.hpp \
503 ${assoc_srcdir}/detail/gp_ht_map_/resize_store_hash_fn_imps.hpp \
504 ${assoc_srcdir}/detail/gp_ht_map_/find_store_hash_fn_imps.hpp \
505 ${assoc_srcdir}/detail/gp_ht_map_/erase_no_store_hash_fn_imps.hpp \
506 ${assoc_srcdir}/detail/gp_ht_map_/resize_fn_imps.hpp \
507 ${assoc_srcdir}/detail/gp_ht_map_/debug_store_hash_fn_imps.hpp \
508 ${assoc_srcdir}/detail/gp_ht_map_/erase_fn_imps.hpp \
509 ${assoc_srcdir}/detail/gp_ht_map_/policy_access_fn_imps.hpp \
510 ${assoc_srcdir}/detail/gp_ht_map_/insert_no_store_hash_fn_imps.hpp \
511 ${assoc_srcdir}/detail/gp_ht_map_/insert_fn_imps.hpp \
512 ${assoc_srcdir}/detail/gp_ht_map_/find_fn_imps.hpp \
513 ${assoc_srcdir}/detail/gp_ht_map_/find_no_store_hash_fn_imps.hpp \
514 ${assoc_srcdir}/detail/gp_ht_map_/constructor_destructor_fn_imps.hpp \
515 ${assoc_srcdir}/detail/gp_ht_map_/constructor_destructor_store_hash_fn_imps.hpp \
516 ${assoc_srcdir}/detail/gp_ht_map_/erase_store_hash_fn_imps.hpp \
517 ${assoc_srcdir}/detail/gp_ht_map_/constructor_destructor_no_store_hash_fn_imps.hpp \
518 ${assoc_srcdir}/detail/gp_ht_map_/info_fn_imps.hpp \
519 ${assoc_srcdir}/detail/gp_ht_map_/insert_store_hash_fn_imps.hpp \
520 ${assoc_srcdir}/detail/gp_ht_map_/debug_fn_imps.hpp \
521 ${assoc_srcdir}/detail/gp_ht_map_/gp_ht_map_.hpp \
522 ${assoc_srcdir}/detail/gp_ht_map_/iterator_fn_imps.hpp \
523 ${assoc_srcdir}/detail/gp_ht_map_/debug_no_store_hash_fn_imps.hpp \
524 ${assoc_srcdir}/detail/gp_ht_map_/resize_no_store_hash_fn_imps.hpp \
525 ${assoc_srcdir}/detail/tree_policy/order_statistics_imp.hpp \
526 ${assoc_srcdir}/detail/tree_policy/null_node_updator_imp.hpp \
527 ${assoc_srcdir}/detail/types_traits.hpp \
528 ${assoc_srcdir}/detail/mapping_level_imp.hpp \
529 ${assoc_srcdir}/detail/map_debug_base.hpp \
530 ${assoc_srcdir}/detail/resize_policy/ht_prime_size_policy_imp.hpp \
531 ${assoc_srcdir}/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp \
532 ${assoc_srcdir}/detail/resize_policy/hash_prime_size_policy_imp.hpp \
533 ${assoc_srcdir}/detail/resize_policy/size_base.hpp \
534 ${assoc_srcdir}/detail/resize_policy/cc_hash_max_collision_resize_trigger_imp.hpp \
535 ${assoc_srcdir}/detail/resize_policy/hash_exponential_size_policy_imp.hpp \
536 ${assoc_srcdir}/detail/resize_policy/hash_standard_resize_policy_imp.hpp \
537 ${assoc_srcdir}/detail/bin_search_tree_/cond_dtor_entry_dealtor.hpp \
538 ${assoc_srcdir}/detail/bin_search_tree_/find_iterators.hpp \
539 ${assoc_srcdir}/detail/bin_search_tree_/erase_fn_imps.hpp \
540 ${assoc_srcdir}/detail/bin_search_tree_/insert_fn_imps.hpp \
541 ${assoc_srcdir}/detail/bin_search_tree_/find_fn_imps.hpp \
542 ${assoc_srcdir}/detail/bin_search_tree_/cond_key_dtor_entry_dealtor.hpp \
543 ${assoc_srcdir}/detail/bin_search_tree_/node_iterators.hpp \
544 ${assoc_srcdir}/detail/bin_search_tree_/bin_search_tree_.hpp \
545 ${assoc_srcdir}/detail/bin_search_tree_/split_join_fn_imps.hpp \
546 ${assoc_srcdir}/detail/bin_search_tree_/rotate_fn_imps.hpp \
547 ${assoc_srcdir}/detail/bin_search_tree_/info_fn_imps.hpp \
548 ${assoc_srcdir}/detail/bin_search_tree_/iterators_fn_imps.hpp \
549 ${assoc_srcdir}/detail/bin_search_tree_/r_erase_fn_imps.hpp \
550 ${assoc_srcdir}/detail/bin_search_tree_/debug_fn_imps.hpp \
551 ${assoc_srcdir}/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp \
552 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/r_range_iteration_fn_imps.hpp \
553 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/erase_fn_imps.hpp \
554 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/policy_access_fn_imps.hpp \
555 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/constructor_destructor_fn_imps.hpp \
556 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/split_join_fn_imps.hpp \
557 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/r_erase_fn_imps.hpp \
558 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/range_iteration_fn_imps.hpp \
559 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/constructors_destructor_fn_imps.hpp \
560 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/node_iteration_fn_imps.hpp \
561 ${assoc_srcdir}/detail/cc_hash_assoc_cntnr/constructor_destructor_fn_imps.hpp \
562 ${assoc_srcdir}/detail/assoc_cntnr_base.hpp \
563 ${assoc_srcdir}/detail/ms_category_imp.hpp \
564 ${assoc_srcdir}/detail/hash_types_traits.hpp \
565 ${assoc_srcdir}/detail/typelist.hpp \
566 ${assoc_srcdir}/detail/value_type_adapter/invalidation_guarantee_selector.hpp \
567 ${assoc_srcdir}/detail/value_type_adapter/erase_fn_imps.hpp \
568 ${assoc_srcdir}/detail/value_type_adapter/iterator.hpp \
569 ${assoc_srcdir}/detail/value_type_adapter/constructor_destructor_and_related.hpp \
570 ${assoc_srcdir}/detail/value_type_adapter/value_type_traits.hpp \
571 ${assoc_srcdir}/detail/value_type_adapter/insert_fn_imps.hpp \
572 ${assoc_srcdir}/detail/value_type_adapter/find_fn_imps.hpp \
573 ${assoc_srcdir}/detail/value_type_adapter/ref_pair.hpp \
574 ${assoc_srcdir}/detail/value_type_adapter/it_value_type_traits.hpp \
575 ${assoc_srcdir}/detail/value_type_adapter/info_fn_imps.hpp \
576 ${assoc_srcdir}/detail/value_type_adapter/erase_if_pred.hpp \
577 ${assoc_srcdir}/detail/value_type_adapter/value_type_adapter.hpp \
578 ${assoc_srcdir}/detail/value_type_adapter/iterator_fn_imps.hpp \
579 ${assoc_srcdir}/detail/lu_policy/mtf_lu_policy_imp.hpp \
580 ${assoc_srcdir}/detail/lu_policy/counter_lu_policy_imp.hpp \
581 ${assoc_srcdir}/detail/lu_policy/counter_lu_metadata_imp.hpp \
582 ${assoc_srcdir}/detail/gp_hash_assoc_cntnr/constructor_destructor_fn_imps.hpp \
583 ${assoc_srcdir}/detail/unordered_iterator/find_iterator.hpp \
584 ${assoc_srcdir}/detail/unordered_iterator/iterator.hpp \
585 ${assoc_srcdir}/detail/unordered_iterator/const_iterator.hpp \
586 ${assoc_srcdir}/detail/unordered_iterator/const_find_iterator.hpp \
587 ${assoc_srcdir}/detail/standard_policies.hpp \
588 ${assoc_srcdir}/detail/standard_sizes.hpp \
589 ${assoc_srcdir}/detail/ov_tree_map_/erase_fn_imps.hpp \
590 ${assoc_srcdir}/detail/ov_tree_map_/insert_fn_imps.hpp \
591 ${assoc_srcdir}/detail/ov_tree_map_/find_fn_imps.hpp \
592 ${assoc_srcdir}/detail/ov_tree_map_/ov_tree_map_.hpp \
593 ${assoc_srcdir}/detail/ov_tree_map_/node_iterators.hpp \
594 ${assoc_srcdir}/detail/ov_tree_map_/split_join_fn_imps.hpp \
595 ${assoc_srcdir}/detail/ov_tree_map_/cond_dtor.hpp \
596 ${assoc_srcdir}/detail/ov_tree_map_/info_fn_imps.hpp \
597 ${assoc_srcdir}/detail/ov_tree_map_/iterators_fn_imps.hpp \
598 ${assoc_srcdir}/detail/ov_tree_map_/debug_fn_imps.hpp \
599 ${assoc_srcdir}/detail/ov_tree_map_/constructors_destructor_fn_imps.hpp \
600 ${assoc_srcdir}/detail/lu_assoc_cntnr/policy_access_fn_imps.hpp \
601 ${assoc_srcdir}/detail/lu_assoc_cntnr/constructor_destructor_fn_imps.hpp \
602 ${assoc_srcdir}/detail/hash_fn/linear_probe_fn_imp.hpp \
603 ${assoc_srcdir}/detail/hash_fn/mod_based_range_hashing.hpp \
604 ${assoc_srcdir}/detail/hash_fn/direct_mod_range_hashing_imp.hpp \
605 ${assoc_srcdir}/detail/hash_fn/probe_fn_base.hpp \
606 ${assoc_srcdir}/detail/hash_fn/ranged_probe_fn.hpp \
607 ${assoc_srcdir}/detail/hash_fn/quadratic_probe_fn_imp.hpp \
608 ${assoc_srcdir}/detail/hash_fn/direct_mask_range_hashing_imp.hpp \
609 ${assoc_srcdir}/detail/hash_fn/ranged_hash_fn.hpp \
610 ${assoc_srcdir}/detail/hash_fn/mask_based_range_hashing.hpp \
611 ${assoc_srcdir}/detail/eq_fn/eq_by_less.hpp \
612 ${assoc_srcdir}/detail/eq_fn/hash_eq_fn.hpp \
613 ${assoc_srcdir}/detail/rb_tree_map_/erase_fn_imps.hpp \
614 ${assoc_srcdir}/detail/rb_tree_map_/node.hpp \
615 ${assoc_srcdir}/detail/rb_tree_map_/insert_fn_imps.hpp \
616 ${assoc_srcdir}/detail/rb_tree_map_/find_fn_imps.hpp \
617 ${assoc_srcdir}/detail/rb_tree_map_/split_join_fn_imps.hpp \
618 ${assoc_srcdir}/detail/rb_tree_map_/rb_tree_.hpp \
619 ${assoc_srcdir}/detail/rb_tree_map_/info_fn_imps.hpp \
620 ${assoc_srcdir}/detail/rb_tree_map_/debug_fn_imps.hpp \
621 ${assoc_srcdir}/detail/rb_tree_map_/constructors_destructor_fn_imps.hpp \
622 ${assoc_srcdir}/detail/lu_map_/lu_map_.hpp \
623 ${assoc_srcdir}/detail/lu_map_/erase_fn_imps.hpp \
624 ${assoc_srcdir}/detail/lu_map_/policy_access_fn_imps.hpp \
625 ${assoc_srcdir}/detail/lu_map_/insert_fn_imps.hpp \
626 ${assoc_srcdir}/detail/lu_map_/find_fn_imps.hpp \
627 ${assoc_srcdir}/detail/lu_map_/constructor_destructor_fn_imps.hpp \
628 ${assoc_srcdir}/detail/lu_map_/info_fn_imps.hpp \
629 ${assoc_srcdir}/detail/lu_map_/iterators_fn_imps.hpp \
630 ${assoc_srcdir}/detail/lu_map_/debug_fn_imps.hpp \
631 ${assoc_srcdir}/detail/constructors_destructor_fn_imps.hpp \
632 ${assoc_srcdir}/detail/ms_trait_imp.hpp \
633 ${assoc_srcdir}/detail/cond_dealtor.hpp \
634 ${assoc_srcdir}/hash_policy.hpp \
635 ${assoc_srcdir}/trivial_iterator_def.hpp \
636 ${assoc_srcdir}/ds_trait.hpp \
637 ${assoc_srcdir}/exception.hpp \
638 ${assoc_srcdir}/tree_policy.hpp \
639 ${assoc_srcdir}/lu_policy.hpp \
640 ${assoc_srcdir}/ms_trait.hpp \
641 ${assoc_srcdir}/assoc_cntnr.hpp \
642 ${assoc_srcdir}/data_type.hpp
643
3d7c150e 644ext_srcdir = ${glibcxx_srcdir}/include/ext
fd1e1726 645ext_builddir = ./ext
53c2acdf
BK
646ext_headers = \
647 ${ext_srcdir}/algorithm \
3febde35 648 ${ext_srcdir}/array_allocator.h \
009368db 649 ${ext_srcdir}/bitmap_allocator.h \
825bd0e1 650 ${ext_srcdir}/codecvt_specializations.h \
1ff9402d 651 ${ext_srcdir}/debug_allocator.h \
53c2acdf 652 ${ext_srcdir}/stdio_filebuf.h \
51ff8149 653 ${ext_srcdir}/stdio_sync_filebuf.h \
53c2acdf
BK
654 ${ext_srcdir}/functional \
655 ${ext_srcdir}/hash_map \
656 ${ext_srcdir}/hash_set \
fd1e1726
BK
657 ${ext_srcdir}/hash_fun.h \
658 ${ext_srcdir}/hashtable.h \
53c2acdf 659 ${ext_srcdir}/iterator \
1ff9402d 660 ${ext_srcdir}/malloc_allocator.h \
53c2acdf 661 ${ext_srcdir}/memory \
1ff9402d
BK
662 ${ext_srcdir}/mt_allocator.h \
663 ${ext_srcdir}/new_allocator.h \
53c2acdf 664 ${ext_srcdir}/numeric \
9e7facfd 665 ${ext_srcdir}/pod_char_traits.h \
1ff9402d 666 ${ext_srcdir}/pool_allocator.h \
53c2acdf
BK
667 ${ext_srcdir}/rb_tree \
668 ${ext_srcdir}/rope \
669 ${ext_srcdir}/ropeimpl.h \
670 ${ext_srcdir}/slist \
872d8fea
PC
671 ${ext_srcdir}/typelist.h \
672 ${ext_srcdir}/rc_string_base.h \
673 ${ext_srcdir}/sso_string_base.h \
674 ${ext_srcdir}/vstring.h \
675 ${ext_srcdir}/vstring.tcc \
676 ${ext_srcdir}/vstring_fwd.h \
677 ${ext_srcdir}/vstring_util.h
4a9d5109 678
3febde35
BK
679tr1_srcdir = ${glibcxx_srcdir}/include/tr1
680tr1_builddir = ./tr1
681tr1_headers = \
a520f0b0 682 ${tr1_srcdir}/array \
59cffcf6
DG
683 ${tr1_srcdir}/bind_repeat.h \
684 ${tr1_srcdir}/bind_iterate.h \
b758b22a 685 ${tr1_srcdir}/boost_shared_ptr.h \
59cffcf6 686 ${tr1_srcdir}/mu_iterate.h \
f2ede5d6 687 ${tr1_srcdir}/functional \
0179f2c6 688 ${tr1_srcdir}/functional_iterate.h \
7dfded91 689 ${tr1_srcdir}/memory \
59cffcf6 690 ${tr1_srcdir}/ref_fwd.h \
3c235000
DG
691 ${tr1_srcdir}/ref_wrap_iterate.h \
692 ${tr1_srcdir}/repeat.h \
f2ede5d6 693 ${tr1_srcdir}/tuple \
59cffcf6 694 ${tr1_srcdir}/tuple_iterate.h \
493bc460 695 ${tr1_srcdir}/utility \
821c5063 696 ${tr1_srcdir}/type_traits \
180ecd6a
MA
697 ${tr1_srcdir}/type_traits_fwd.h \
698 ${tr1_srcdir}/hashtable \
699 ${tr1_srcdir}/unordered_set \
700 ${tr1_srcdir}/unordered_map
4a9d5109 701
ab9b9d2c 702
4a9d5109 703# This is the common subset of files that all three "C" header models use.
ca618b60 704c_base_srcdir = $(C_INCLUDE_DIR)
73249e33 705c_base_builddir = .
53c2acdf
BK
706c_base_headers = \
707 ${c_base_srcdir}/std_cassert.h \
708 ${c_base_srcdir}/std_cctype.h \
709 ${c_base_srcdir}/std_cerrno.h \
710 ${c_base_srcdir}/std_cfloat.h \
711 ${c_base_srcdir}/std_ciso646.h \
712 ${c_base_srcdir}/std_climits.h \
713 ${c_base_srcdir}/std_clocale.h \
714 ${c_base_srcdir}/std_cmath.h \
715 ${c_base_srcdir}/std_csetjmp.h \
716 ${c_base_srcdir}/std_csignal.h \
717 ${c_base_srcdir}/std_cstdarg.h \
718 ${c_base_srcdir}/std_cstddef.h \
719 ${c_base_srcdir}/std_cstdio.h \
720 ${c_base_srcdir}/std_cstdlib.h \
721 ${c_base_srcdir}/std_cstring.h \
722 ${c_base_srcdir}/std_ctime.h \
723 ${c_base_srcdir}/std_cwchar.h \
82ba99d5 724 ${c_base_srcdir}/std_cwctype.h
53c2acdf
BK
725
726c_base_headers_rename = \
727 cassert \
728 cctype \
729 cerrno \
730 cfloat \
731 ciso646 \
732 climits \
733 clocale \
734 cmath \
735 csetjmp \
736 csignal \
737 cstdarg \
738 cstddef \
739 cstdio \
740 cstdlib \
741 cstring \
742 ctime \
743 cwchar \
82ba99d5 744 cwctype
83144cfc 745
e01c9849
BK
746
747# "C" compatibility headers.
3d7c150e 748c_compatibility_srcdir = ${glibcxx_srcdir}/include/c_compatibility
e01c9849 749c_compatibility_builddir = .
53c2acdf
BK
750c_compatibility_headers = \
751 ${c_compatibility_srcdir}/assert.h \
752 ${c_compatibility_srcdir}/ctype.h \
753 ${c_compatibility_srcdir}/errno.h \
754 ${c_compatibility_srcdir}/float.h \
755 ${c_compatibility_srcdir}/iso646.h \
756 ${c_compatibility_srcdir}/limits.h \
757 ${c_compatibility_srcdir}/locale.h \
758 ${c_compatibility_srcdir}/math.h \
759 ${c_compatibility_srcdir}/setjmp.h \
760 ${c_compatibility_srcdir}/signal.h \
761 ${c_compatibility_srcdir}/stdarg.h \
762 ${c_compatibility_srcdir}/stddef.h \
763 ${c_compatibility_srcdir}/stdio.h \
764 ${c_compatibility_srcdir}/stdlib.h \
765 ${c_compatibility_srcdir}/string.h \
766 ${c_compatibility_srcdir}/time.h \
767 ${c_compatibility_srcdir}/wchar.h \
82ba99d5 768 ${c_compatibility_srcdir}/wctype.h
53c2acdf 769
ff66d28f 770
285b36d6
BK
771# Debug mode headers
772debug_srcdir = ${glibcxx_srcdir}/include/debug
773debug_builddir = ./debug
774debug_headers = \
775 ${debug_srcdir}/bitset \
776 ${debug_srcdir}/debug.h \
777 ${debug_srcdir}/deque \
778 ${debug_srcdir}/formatter.h \
d2763ab5 779 ${debug_srcdir}/functions.h \
285b36d6
BK
780 ${debug_srcdir}/hash_map \
781 ${debug_srcdir}/hash_map.h \
782 ${debug_srcdir}/hash_multimap.h \
783 ${debug_srcdir}/hash_multiset.h \
784 ${debug_srcdir}/hash_set \
785 ${debug_srcdir}/hash_set.h \
786 ${debug_srcdir}/list \
787 ${debug_srcdir}/map \
d2763ab5 788 ${debug_srcdir}/macros.h \
285b36d6
BK
789 ${debug_srcdir}/map.h \
790 ${debug_srcdir}/multimap.h \
791 ${debug_srcdir}/multiset.h \
792 ${debug_srcdir}/safe_base.h \
793 ${debug_srcdir}/safe_iterator.h \
794 ${debug_srcdir}/safe_iterator.tcc \
795 ${debug_srcdir}/safe_sequence.h \
796 ${debug_srcdir}/set \
797 ${debug_srcdir}/set.h \
798 ${debug_srcdir}/string \
799 ${debug_srcdir}/vector
800
ec2075e9 801@GLIBCXX_C_HEADERS_C_STD_FALSE@c_base_headers_extra =
285b36d6 802
ff66d28f
PE
803# Some of the different "C" header models need extra files.
804# Some "C" header schemes require the "C" compatibility headers.
805# For --enable-cheaders=c_std
82ba99d5 806@GLIBCXX_C_HEADERS_C_STD_TRUE@c_base_headers_extra = ${c_base_srcdir}/cmath.tcc
40fcf31b 807@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@c_compatibility_headers_extra =
ec2075e9 808@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@c_compatibility_headers_extra = ${c_compatibility_headers}
ca618b60 809host_srcdir = ${glibcxx_srcdir}/$(OS_INC_SRCDIR)
a30335e9
BK
810host_builddir = ./${host_alias}/bits
811host_headers = \
812 ${host_srcdir}/ctype_base.h \
813 ${host_srcdir}/ctype_inline.h \
814 ${host_srcdir}/ctype_noninline.h \
815 ${host_srcdir}/os_defines.h \
1568430f
PB
816 ${glibcxx_srcdir}/$(ATOMIC_WORD_SRCDIR)/atomic_word.h \
817 ${glibcxx_srcdir}/$(ABI_TWEAKS_SRCDIR)/cxxabi_tweaks.h
7bfea936 818
6aa43d99 819
a30335e9 820# Non-installed host_header files.
bb2b2a24 821COMPATIBILITY_H = config/abi/compatibility.h
a30335e9 822host_headers_noinst = \
bb2b2a24
BK
823 ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H) \
824 ${glibcxx_srcdir}/$(COMPATIBILITY_H)
6aa43d99
BK
825
826
a30335e9
BK
827# These host_headers_extra files are all built with ad hoc naming rules.
828host_headers_extra = \
829 ${host_builddir}/basic_file.h \
830 ${host_builddir}/c++config.h \
8b0d6051 831 ${host_builddir}/c++allocator.h \
a30335e9
BK
832 ${host_builddir}/c++io.h \
833 ${host_builddir}/c++locale.h \
834 ${host_builddir}/messages_members.h \
825bd0e1 835 ${host_builddir}/time_members.h
8520f704 836
a30335e9
BK
837thread_host_headers = \
838 ${host_builddir}/gthr.h \
839 ${host_builddir}/gthr-single.h \
840 ${host_builddir}/gthr-posix.h \
512baaea 841 ${host_builddir}/gthr-tpf.h \
a30335e9 842 ${host_builddir}/gthr-default.h
8520f704 843
a30335e9
BK
844pch_input = ${host_builddir}/stdc++.h
845pch_output_builddir = ${host_builddir}/stdc++.h.gch
3d7c150e 846pch_source = ${glibcxx_srcdir}/include/stdc++.h
9e57d5ca 847PCHFLAGS = -Winvalid-pch -Wno-deprecated -x c++-header $(CXXFLAGS)
4c24b21a 848@GLIBCXX_BUILD_PCH_FALSE@pch_build =
7eaf73d7 849@GLIBCXX_BUILD_PCH_TRUE@pch_build = ${pch_input}
4c24b21a 850@GLIBCXX_BUILD_PCH_FALSE@pch_install =
7eaf73d7 851@GLIBCXX_BUILD_PCH_TRUE@pch_install = install-pch
628c731a 852
4a9d5109
SW
853# List of all timestamp files. By keeping only one copy of this list, both
854# CLEANFILES and all-local are kept up-to-date.
53c2acdf
BK
855allstamped = \
856 stamp-std stamp-bits stamp-c_base stamp-c_compatibility \
fd1e1726 857 stamp-backward stamp-ext stamp-assoc stamp-tr1 stamp-debug stamp-host
628c731a 858
4a9d5109 859
9e57d5ca
BK
860# List of all files that are created by explicit building, editing, or
861# catenation.
53c2acdf 862allcreated = \
a30335e9
BK
863 ${host_builddir}/c++config.h \
864 ${thread_host_headers} \
53c2acdf 865 ${pch_build}
9e57d5ca 866
ca618b60
PE
867
868# Host includes for threads
4a9d5109
SW
869uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
870
ab77073f 871# By adding these files here, automake will remove them for 'make clean'
53c2acdf 872CLEANFILES = ${pch_input} ${pch_output_builddir}/*
ff66d28f 873all: all-am
54c1bf78 874
54c1bf78 875.SUFFIXES:
7eaf73d7
KC
876$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
877 @for dep in $?; do \
878 case '$(am__configure_deps)' in \
879 *$$dep*) \
880 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
881 && exit 0; \
882 exit 1;; \
883 esac; \
884 done; \
885 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps include/Makefile'; \
ff66d28f 886 cd $(top_srcdir) && \
7eaf73d7
KC
887 $(AUTOMAKE) --foreign --ignore-deps include/Makefile
888Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
889 @case '$?' in \
890 *config.status*) \
891 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
892 *) \
893 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
894 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
895 esac;
896
897$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
898 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
899
900$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
901 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
902$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
903 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
ff66d28f
PE
904
905mostlyclean-libtool:
906 -rm -f *.lo
54c1bf78 907
ff66d28f
PE
908clean-libtool:
909 -rm -rf .libs _libs
f53d0ff1 910
ff66d28f
PE
911distclean-libtool:
912 -rm -f libtool
913uninstall-info-am:
4a9d5109
SW
914tags: TAGS
915TAGS:
916
ff66d28f
PE
917ctags: CTAGS
918CTAGS:
4a9d5109 919
54c1bf78
BK
920
921distdir: $(DISTFILES)
7eaf73d7 922 $(mkdir_p) $(distdir)/..
ff66d28f
PE
923 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
924 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
925 list='$(DISTFILES)'; for file in $$list; do \
926 case $$file in \
927 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
928 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
929 esac; \
930 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
931 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
932 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
933 dir="/$$dir"; \
7eaf73d7 934 $(mkdir_p) "$(distdir)$$dir"; \
ff66d28f
PE
935 else \
936 dir=''; \
937 fi; \
54c1bf78 938 if test -d $$d/$$file; then \
ff66d28f
PE
939 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
940 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
941 fi; \
942 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
54c1bf78
BK
943 else \
944 test -f $(distdir)/$$file \
ff66d28f
PE
945 || cp -p $$d/$$file $(distdir)/$$file \
946 || exit 1; \
54c1bf78
BK
947 fi; \
948 done
ff66d28f 949check-am: all-am
54c1bf78 950check: check-am
ff66d28f 951all-am: Makefile all-local
ff66d28f
PE
952installdirs:
953install: install-am
954install-exec: install-exec-am
2c1bc4eb 955install-data: install-data-am
ff66d28f 956uninstall: uninstall-am
4a9d5109 957
2c1bc4eb
PC
958install-am: all-am
959 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
54c1bf78 960
ff66d28f
PE
961installcheck: installcheck-am
962install-strip:
963 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
ec2075e9 964 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
ff66d28f
PE
965 `test -z '$(STRIP)' || \
966 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
4a9d5109
SW
967mostlyclean-generic:
968
969clean-generic:
ab77073f 970 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
4a9d5109
SW
971
972distclean-generic:
a60945f8 973 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
4a9d5109
SW
974
975maintainer-clean-generic:
ff66d28f
PE
976 @echo "This command is intended for maintainers to use"
977 @echo "it deletes files that may require special tools to rebuild."
978clean: clean-am
2c1bc4eb 979
ff66d28f 980clean-am: clean-generic clean-libtool mostlyclean-am
f53d0ff1 981
ff66d28f 982distclean: distclean-am
4c4809c1 983 -rm -f Makefile
ff66d28f 984distclean-am: clean-am distclean-generic distclean-libtool
f53d0ff1 985
ff66d28f 986dvi: dvi-am
f53d0ff1 987
ff66d28f 988dvi-am:
f53d0ff1 989
7eaf73d7
KC
990html: html-am
991
ff66d28f
PE
992info: info-am
993
994info-am:
995
996install-data-am: install-data-local
997
998install-exec-am:
999
1000install-info: install-info-am
1001
1002install-man:
1003
1004installcheck-am:
4a9d5109
SW
1005
1006maintainer-clean: maintainer-clean-am
4c4809c1 1007 -rm -f Makefile
ff66d28f
PE
1008maintainer-clean-am: distclean-am maintainer-clean-generic
1009
1010mostlyclean: mostlyclean-am
1011
1012mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1013
1014pdf: pdf-am
1015
1016pdf-am:
1017
1018ps: ps-am
1019
1020ps-am:
1021
1022uninstall-am: uninstall-info-am
1023
1024.PHONY: all all-am all-local check check-am clean clean-generic \
1025 clean-libtool distclean distclean-generic distclean-libtool \
7eaf73d7
KC
1026 distdir dvi dvi-am html html-am info info-am install \
1027 install-am install-data install-data-am install-data-local \
1028 install-exec install-exec-am install-info install-info-am \
1029 install-man install-strip installcheck installcheck-am \
1030 installdirs maintainer-clean maintainer-clean-generic \
1031 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
1032 ps ps-am uninstall uninstall-am uninstall-info-am
4a9d5109
SW
1033
1034
1035# Here are the rules for building the headers
82ba99d5 1036all-local: ${allstamped} ${allcreated}
4a9d5109 1037
066930bb
PE
1038# This rule is slightly different, in that we must change the name of the
1039# local file from std_foo.h to foo.
4a9d5109
SW
1040stamp-std: ${std_headers}
1041 @if [ ! -d "${std_builddir}" ]; then \
1042 mkdir -p ${std_builddir} ;\
1043 fi ;\
7ec3af37
BK
1044 if [ ! -f stamp-std ]; then \
1045 (cd ${std_builddir} && for h in $?; do \
fd1e1726
BK
1046 build_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
1047 $(LN_S) $$h ./$${build_name} || true ;\
7ec3af37 1048 done) ;\
82ba99d5
PE
1049 fi ;\
1050 $(STAMP) stamp-std
ab77073f 1051
4a9d5109
SW
1052stamp-bits: ${bits_headers}
1053 @if [ ! -d "${bits_builddir}" ]; then \
1054 mkdir -p ${bits_builddir} ;\
1055 fi ;\
7ec3af37 1056 if [ ! -f stamp-bits ]; then \
82ba99d5
PE
1057 (cd ${bits_builddir} && $(LN_S) $? . || true) ;\
1058 fi ;\
1059 $(STAMP) stamp-bits
4a9d5109 1060
82ba99d5 1061stamp-c_base: stamp-bits ${c_base_headers} ${c_base_headers_extra}
4a9d5109
SW
1062 @if [ ! -d "${c_base_builddir}" ]; then \
1063 mkdir -p ${c_base_builddir} ;\
1064 fi ;\
7ec3af37 1065 if [ ! -f stamp-c_base ]; then \
9e57d5ca 1066 (cd ${c_base_builddir} && for h in ${c_base_headers}; do \
fd1e1726
BK
1067 build_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
1068 $(LN_S) $$h ./$${build_name} || true ;\
9e57d5ca 1069 done) ;\
7ec3af37 1070 if [ ! -z "${c_base_headers_extra}" ]; then \
82ba99d5 1071 (cd ${bits_builddir} && $(LN_S) ${c_base_headers_extra} . || true) ;\
7ec3af37 1072 fi ;\
82ba99d5
PE
1073 fi ;\
1074 $(STAMP) stamp-c_base
4a9d5109 1075
e01c9849
BK
1076stamp-c_compatibility: ${c_compatibility_headers_extra}
1077 @if [ ! -d "${c_compatibility_builddir}" ]; then \
1078 mkdir -p ${c_compatibility_builddir} ;\
1079 fi ;\
7ec3af37
BK
1080 if [ ! -f stamp-c_compatibility ]; then \
1081 if [ ! -z "${c_compatibility_headers_extra}" ]; then \
82ba99d5 1082 (cd ${c_compatibility_builddir} && $(LN_S) $? . || true) ;\
7ec3af37 1083 fi ;\
82ba99d5
PE
1084 fi ;\
1085 $(STAMP) stamp-c_compatibility
e01c9849 1086
4a9d5109
SW
1087stamp-backward: ${backward_headers}
1088 @if [ ! -d "${backward_builddir}" ]; then \
1089 mkdir -p ${backward_builddir} ;\
1090 fi ;\
7ec3af37 1091 if [ ! -f stamp-backward ]; then \
82ba99d5
PE
1092 (cd ${backward_builddir} && $(LN_S) $? . || true) ;\
1093 fi ;\
1094 $(STAMP) stamp-backward
4a9d5109
SW
1095
1096stamp-ext: ${ext_headers}
1097 @if [ ! -d "${ext_builddir}" ]; then \
7ec3af37 1098 mkdir -p ${ext_builddir} ;\
4a9d5109 1099 fi ;\
7ec3af37 1100 if [ ! -f stamp-ext ]; then \
82ba99d5
PE
1101 (cd ${ext_builddir} && $(LN_S) $? . || true) ;\
1102 fi ;\
1103 $(STAMP) stamp-ext
4a9d5109 1104
fd1e1726
BK
1105# Have to deal with nested include directories, gah! Strip off source
1106# directory before making the link.
1107stamp-assoc: ${assoc_headers}
1108 @if [ ! -d "${assoc_builddir}" ]; then \
1109 mkdir -p ${assoc_subdirs} ;\
1110 fi ;\
1111 if [ ! -f stamp-assoc ]; then \
1112 (cd ${assoc_builddir} && for h in $?; do \
1113 build_name=`echo $$h | sed -e "s|${assoc_srcdir}|.|g"` ;\
1114 $(LN_S) $$h $${build_name} || true ;\
1115 done) ;\
1116 fi ;\
1117 $(STAMP) stamp-assoc
1118
3febde35
BK
1119stamp-tr1: ${tr1_headers}
1120 @if [ ! -d "${tr1_builddir}" ]; then \
1121 mkdir -p ${tr1_builddir} ;\
1122 fi ;\
1123 if [ ! -f stamp-tr1 ]; then \
1124 (cd ${tr1_builddir} && $(LN_S) $? . || true) ;\
1125 fi ;\
1126 $(STAMP) stamp-tr1
1127
285b36d6
BK
1128stamp-debug: ${debug_headers}
1129 @if [ ! -d "${debug_builddir}" ]; then \
1130 mkdir -p ${debug_builddir} ;\
1131 fi ;\
1132 if [ ! -f stamp-debug ]; then \
1133 (cd ${debug_builddir} && @LN_S@ $? . || true) ;\
1134 fi ;\
1135 $(STAMP) stamp-debug
1136
a30335e9
BK
1137stamp-${host_alias}:
1138 @if [ ! -d ${host_builddir} ]; then \
1139 mkdir -p ${host_builddir} ;\
82ba99d5
PE
1140 fi ;\
1141 $(STAMP) stamp-${host_alias}
843312be 1142
a30335e9
BK
1143# Host includes static.
1144# XXX Missing dependency info for {host_headers_extra}
1145stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias}
1146 @if [ ! -f stamp-host ]; then \
1147 (cd ${host_builddir} ;\
82ba99d5 1148 $(LN_S) ${host_headers} . || true ;\
ca618b60 1149 $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_H) basic_file.h || true ;\
8b0d6051 1150 $(LN_S) ${glibcxx_srcdir}/$(ALLOCATOR_H) c++allocator.h || true ;\
ca618b60
PE
1151 $(LN_S) ${glibcxx_srcdir}/$(CSTDIO_H) c++io.h || true ;\
1152 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_H) c++locale.h || true ;\
1153 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H) . || true ;\
bb2b2a24 1154 $(LN_S) ${glibcxx_srcdir}/$(COMPATIBILITY_H) . || true ;\
ca618b60
PE
1155 $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_H) messages_members.h || true ;\
1156 $(LN_S) ${glibcxx_srcdir}/$(CTIME_H) time_members.h || true ;\
1157 $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_H) codecvt_specializations.h || true);\
82ba99d5
PE
1158 fi ;\
1159 $(STAMP) stamp-host
4a9d5109 1160
a30335e9 1161# Host includes dynamic.
82ba99d5 1162${host_builddir}/c++config.h: ${top_builddir}/config.h \
3d7c150e 1163 ${glibcxx_srcdir}/include/bits/c++config \
a1286ef5
ZW
1164 stamp-${host_alias} \
1165 ${toplevel_srcdir}/gcc/DATESTAMP
3d7c150e 1166 @cat ${glibcxx_srcdir}/include/bits/c++config > $@ ;\
a1286ef5
ZW
1167 sed -e 's/^/#define __GLIBCXX__ /' \
1168 < ${toplevel_srcdir}/gcc/DATESTAMP >> $@ ;\
3d7c150e
BK
1169 sed -e 's/HAVE_/_GLIBCXX_HAVE_/g' \
1170 -e 's/PACKAGE/_GLIBCXX_PACKAGE/g' \
1171 -e 's/VERSION/_GLIBCXX_VERSION/g' \
1172 -e 's/WORDS_/_GLIBCXX_WORDS_/g' \
42ebb17f 1173 < ${CONFIG_HEADER} >> $@ ;\
3d7c150e 1174 echo "#endif // _CXXCONFIG_" >>$@
4a9d5109 1175
a30335e9 1176${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
168aacd9
JM
1177 sed -e '/^#pragma/b' \
1178 -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
ec2075e9 1179 -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
4a9d5109 1180 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
533ab4d1 1181 < ${toplevel_srcdir}/gcc/gthr.h > $@
4a9d5109 1182
a30335e9
BK
1183${host_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
1184 stamp-${host_alias}
3d7c150e
BK
1185 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1186 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
533ab4d1 1187 < ${toplevel_srcdir}/gcc/gthr-single.h > $@
4a9d5109 1188
a30335e9
BK
1189${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
1190 stamp-${host_alias}
3d7c150e
BK
1191 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1192 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
ec2075e9
BK
1193 -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
1194 -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
79d6ba0b
LR
1195 < ${toplevel_srcdir}/gcc/gthr-posix.h > $@
1196
512baaea
D
1197${host_builddir}/gthr-tpf.h: ${toplevel_srcdir}/gcc/gthr-tpf.h \
1198 stamp-${host_alias}
1199 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1200 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
1201 -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
1202 -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
1203 < ${toplevel_srcdir}/gcc/gthr-tpf.h > $@
1204
3d7c150e 1205${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \
a30335e9 1206 stamp-${host_alias}
3d7c150e
BK
1207 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1208 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
ec2075e9
BK
1209 -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
1210 -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
79d6ba0b 1211 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
3d7c150e 1212 < ${toplevel_srcdir}/gcc/${glibcxx_thread_h} > $@
9e57d5ca
BK
1213
1214# Build a precompiled C++ include, stdc++.h.gch.
a30335e9 1215${pch_input}: ${allstamped} ${host_builddir}/c++config.h ${pch_source}
665794a6 1216 touch ${pch_input}; \
8520f704
LR
1217 if [ ! -d "${pch_output_builddir}" ]; then \
1218 mkdir -p ${pch_output_builddir}; \
1219 fi; \
e4cb0c04
PB
1220 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) ${pch_source} -O0 -g -o ${pch_output_builddir}/O0g.gch; \
1221 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) ${pch_source} -O2 -g -o ${pch_output_builddir}/O2g.gch;
9e57d5ca 1222
92eabea2
PE
1223# For robustness sake (in light of junk files or in-source
1224# configuration), copy from the build or source tree to the install
1225# tree using only the human-maintained file lists and directory
1226# components. Yes, with minor differences, this is sheer duplication
1227# of the staging rules above using $(INSTALL_DATA) instead of LN_S and
1228# `$(mkinstalldirs)' instead of `mkdir -p'. In particular,
1229# host_headers_extra are taken out of the build tree staging area;
1230# the rest are taken from the original source tree.
9e57d5ca 1231
92eabea2
PE
1232@GLIBCXX_HOSTED_TRUE@install-data-local: install-headers ${pch_install}
1233@GLIBCXX_HOSTED_FALSE@install-data-local: install-freestanding-headers
1234
1235# This is a subset of the full install-headers rule. We only need <cstddef>,
1236# <limits>, <cstdlib>, <cstdarg>, <new>, <typeinfo>, <exception>, and any
1237# files which they include (and which we provide). The last three headers
1238# are installed by libsupc++, so only the first four and the sub-includes
1239# are copied here.
1240install-freestanding-headers:
1241 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
1242 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir}
1243 for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h; do \
1244 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done
1245 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
1246 $(INSTALL_DATA) ${std_builddir}/limits $(DESTDIR)${gxx_include_dir}/${std_builddir}
1247 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
1248 for file in cstddef cstdlib cstdarg; do \
1249 $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
1250
1251# The real deal.
9e57d5ca 1252install-headers:
90e5b39f
CC
1253 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
1254 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${bits_builddir}
7bfea936 1255 for file in ${bits_headers}; do \
90e5b39f
CC
1256 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
1257 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${backward_builddir}
7bfea936 1258 for file in ${backward_headers}; do \
90e5b39f
CC
1259 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${backward_builddir}; done
1260 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${ext_builddir}
7bfea936 1261 for file in ${ext_headers}; do \
90e5b39f 1262 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${ext_builddir}; done
fd1e1726
BK
1263 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${assoc_builddir}
1264 for dir in ${assoc_subdirs}; do \
1265 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/$${dir} ; done
1266 for file in ${assoc_headers}; do \
1267 install_base=$(DESTDIR)${gxx_include_dir}/${assoc_builddir} ; \
1268 relative_name=`echo $$file | sed -e "s|${assoc_srcdir}|.|g"` ;\
1269 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
3febde35
BK
1270 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${tr1_builddir}
1271 for file in ${tr1_headers}; do \
1272 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${tr1_builddir}; done
90e5b39f 1273 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
73249e33 1274 for file in ${c_base_headers_rename}; do \
90e5b39f 1275 $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
e01c9849 1276 c_base_headers_extra_install='$(c_base_headers_extra)';\
3eb35fcf 1277 for file in $$c_base_headers_extra_install; do \
90e5b39f 1278 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
e01c9849
BK
1279 c_compatibility_headers_install='$(c_compatibility_headers_extra)';\
1280 for file in $$c_compatibility_headers_install; do \
90e5b39f
CC
1281 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}; done
1282 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
73249e33 1283 for file in ${std_headers_rename}; do \
90e5b39f 1284 $(INSTALL_DATA) ${std_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done
285b36d6
BK
1285 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${debug_builddir}
1286 for file in ${debug_headers}; do \
1287 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${debug_builddir}; done
a30335e9
BK
1288 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir}
1289 for file in ${host_headers} ${host_headers_extra} \
1290 ${thread_host_headers}; do \
1291 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done
4a9d5109 1292
9e57d5ca 1293install-pch:
8520f704
LR
1294 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}
1295 for file in ${pch_output_builddir}/*; do \
1296 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}; done
9e57d5ca 1297
c5535768
BK
1298# Stop implicit '.o' make rules from ever stomping on extensionless
1299# headers, in the improbable case where some foolish, crack-addled
1300# developer tries to create them via make in the include build
654421eb
DE
1301# directory. (This is more of an example of how this kind of rule can
1302# be made.)
c5535768
BK
1303.PRECIOUS: $(std_headers_rename) $(c_base_headers_rename)
1304$(std_headers_rename): ; @:
1305$(c_base_headers_rename): ; @:
4a9d5109
SW
1306# Tell versions [3.59,3.63) of GNU make to not export all variables.
1307# Otherwise a system limit (for SysV at least) may be exceeded.
1308.NOEXPORT: