]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/include/Makefile.in
re PR target/23816 (ICE in extract_insn, at recog.c:2084)
[thirdparty/gcc.git] / libstdc++-v3 / include / Makefile.in
CommitLineData
c35a51a5 1# Makefile.in generated by automake 1.9.6 from Makefile.am.
ff66d28f 2# @configure_input@
4a9d5109 3
7eaf73d7 4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
a9fdd472 5# 2003, 2004, 2005 Free Software Foundation, Inc.
4a9d5109
SW
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
ff66d28f 15@SET_MAKE@
4a9d5109
SW
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
4a9d5109
SW
19pkgdatadir = $(datadir)/@PACKAGE@
20pkglibdir = $(libdir)/@PACKAGE@
21pkgincludedir = $(includedir)/@PACKAGE@
4a9d5109 22top_builddir = ..
ff66d28f 23am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4a9d5109 24INSTALL = @INSTALL@
ff66d28f
PE
25install_sh_DATA = $(install_sh) -c -m 644
26install_sh_PROGRAM = $(install_sh) -c
27install_sh_SCRIPT = $(install_sh) -c
28INSTALL_HEADER = $(INSTALL_DATA)
29transform = $(program_transform_name)
4a9d5109
SW
30NORMAL_INSTALL = :
31PRE_INSTALL = :
32POST_INSTALL = :
33NORMAL_UNINSTALL = :
34PRE_UNINSTALL = :
35POST_UNINSTALL = :
4a9d5109 36build_triplet = @build@
4a9d5109 37host_triplet = @host@
4a9d5109 38target_triplet = @target@
7eaf73d7
KC
39DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
40 $(top_srcdir)/fragment.am
41subdir = include
42ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
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
c35a51a5
BK
441
442# The ability for make and the underlying host to deal with this
443# unweildy list as one entire entity is not a sure thing, and may
444# cause build errors. Thus, split one list into five smaller ones.
445assoc_headers1 = \
fd1e1726
BK
446 ${assoc_srcdir}/detail/tree_assoc_cntnr/constructor_destructor_fn_imps.hpp \
447 ${assoc_srcdir}/detail/type_utils.hpp \
448 ${assoc_srcdir}/detail/order_statistics_imp.hpp \
449 ${assoc_srcdir}/detail/basic_assoc_cntnr/d_find_fn_imps.hpp \
450 ${assoc_srcdir}/detail/basic_assoc_cntnr/d_insert_fn_imps.hpp \
451 ${assoc_srcdir}/detail/basic_assoc_cntnr/extract_key.hpp \
452 ${assoc_srcdir}/detail/basic_assoc_cntnr/erase_fn_imps.hpp \
453 ${assoc_srcdir}/detail/basic_assoc_cntnr/insert_fn_imps.hpp \
454 ${assoc_srcdir}/detail/basic_assoc_cntnr/constructor_destructor_fn_imps.hpp \
455 ${assoc_srcdir}/detail/basic_assoc_cntnr/info_fn_imps.hpp \
456 ${assoc_srcdir}/detail/basic_assoc_cntnr/iterators_fn_imps.hpp \
457 ${assoc_srcdir}/detail/basic_assoc_cntnr/d_extract_key.hpp \
458 ${assoc_srcdir}/detail/basic_assoc_cntnr/constructors_destructor_fn_imps.hpp \
459 ${assoc_srcdir}/detail/splay_tree_/erase_fn_imps.hpp \
460 ${assoc_srcdir}/detail/splay_tree_/splay_tree_.hpp \
461 ${assoc_srcdir}/detail/splay_tree_/node.hpp \
462 ${assoc_srcdir}/detail/splay_tree_/insert_fn_imps.hpp \
463 ${assoc_srcdir}/detail/splay_tree_/find_fn_imps.hpp \
464 ${assoc_srcdir}/detail/splay_tree_/splay_fn_imps.hpp \
465 ${assoc_srcdir}/detail/splay_tree_/split_join_fn_imps.hpp \
466 ${assoc_srcdir}/detail/splay_tree_/info_fn_imps.hpp \
467 ${assoc_srcdir}/detail/splay_tree_/debug_fn_imps.hpp \
468 ${assoc_srcdir}/detail/splay_tree_/constructors_destructor_fn_imps.hpp \
469 ${assoc_srcdir}/detail/typelist/typelist_transform.hpp \
470 ${assoc_srcdir}/detail/typelist/typelist_apply.hpp \
471 ${assoc_srcdir}/detail/typelist/typelist_filter.hpp \
472 ${assoc_srcdir}/detail/typelist/typelist_at_index.hpp \
473 ${assoc_srcdir}/detail/typelist/typelist_contains.hpp \
474 ${assoc_srcdir}/detail/typelist/typelist_append.hpp \
475 ${assoc_srcdir}/detail/typelist/typelist_typelist_append.hpp \
476 ${assoc_srcdir}/detail/ds_trait_imp.hpp \
477 ${assoc_srcdir}/detail/basic_hash_assoc_cntnr/resize_fn_imps.hpp \
478 ${assoc_srcdir}/detail/basic_hash_assoc_cntnr/constructor_destructor_fn_imps.hpp \
c35a51a5
BK
479 ${assoc_srcdir}/detail/basic_hash_assoc_cntnr/constructors_destructor_fn_imps.hpp
480
481assoc_headers2 = \
fd1e1726
BK
482 ${assoc_srcdir}/detail/cc_ht_map_/resize_store_hash_fn_imps.hpp \
483 ${assoc_srcdir}/detail/cc_ht_map_/find_store_hash_fn_imps.hpp \
484 ${assoc_srcdir}/detail/cc_ht_map_/erase_no_store_hash_fn_imps.hpp \
485 ${assoc_srcdir}/detail/cc_ht_map_/resize_fn_imps.hpp \
486 ${assoc_srcdir}/detail/cc_ht_map_/debug_store_hash_fn_imps.hpp \
487 ${assoc_srcdir}/detail/cc_ht_map_/erase_fn_imps.hpp \
488 ${assoc_srcdir}/detail/cc_ht_map_/policy_access_fn_imps.hpp \
489 ${assoc_srcdir}/detail/cc_ht_map_/cmp_fn_imps.hpp \
490 ${assoc_srcdir}/detail/cc_ht_map_/insert_no_store_hash_fn_imps.hpp \
491 ${assoc_srcdir}/detail/cc_ht_map_/insert_fn_imps.hpp \
492 ${assoc_srcdir}/detail/cc_ht_map_/find_fn_imps.hpp \
493 ${assoc_srcdir}/detail/cc_ht_map_/find_no_store_hash_fn_imps.hpp \
494 ${assoc_srcdir}/detail/cc_ht_map_/cond_key_dtor_entry_dealtor.hpp \
495 ${assoc_srcdir}/detail/cc_ht_map_/constructor_destructor_fn_imps.hpp \
496 ${assoc_srcdir}/detail/cc_ht_map_/entry_list_fn_imps.hpp \
497 ${assoc_srcdir}/detail/cc_ht_map_/constructor_destructor_store_hash_fn_imps.hpp \
498 ${assoc_srcdir}/detail/cc_ht_map_/erase_store_hash_fn_imps.hpp \
499 ${assoc_srcdir}/detail/cc_ht_map_/cc_ht_map_.hpp \
500 ${assoc_srcdir}/detail/cc_ht_map_/constructor_destructor_no_store_hash_fn_imps.hpp \
501 ${assoc_srcdir}/detail/cc_ht_map_/standard_policies.hpp \
502 ${assoc_srcdir}/detail/cc_ht_map_/info_fn_imps.hpp \
503 ${assoc_srcdir}/detail/cc_ht_map_/iterators_fn_imps.hpp \
504 ${assoc_srcdir}/detail/cc_ht_map_/insert_store_hash_fn_imps.hpp \
505 ${assoc_srcdir}/detail/cc_ht_map_/debug_fn_imps.hpp \
506 ${assoc_srcdir}/detail/cc_ht_map_/size_fn_imps.hpp \
507 ${assoc_srcdir}/detail/cc_ht_map_/debug_no_store_hash_fn_imps.hpp \
508 ${assoc_srcdir}/detail/cc_ht_map_/resize_no_store_hash_fn_imps.hpp \
509 ${assoc_srcdir}/detail/gp_ht_map_/resize_store_hash_fn_imps.hpp \
510 ${assoc_srcdir}/detail/gp_ht_map_/find_store_hash_fn_imps.hpp \
511 ${assoc_srcdir}/detail/gp_ht_map_/erase_no_store_hash_fn_imps.hpp \
512 ${assoc_srcdir}/detail/gp_ht_map_/resize_fn_imps.hpp \
513 ${assoc_srcdir}/detail/gp_ht_map_/debug_store_hash_fn_imps.hpp \
514 ${assoc_srcdir}/detail/gp_ht_map_/erase_fn_imps.hpp \
515 ${assoc_srcdir}/detail/gp_ht_map_/policy_access_fn_imps.hpp \
516 ${assoc_srcdir}/detail/gp_ht_map_/insert_no_store_hash_fn_imps.hpp \
517 ${assoc_srcdir}/detail/gp_ht_map_/insert_fn_imps.hpp \
518 ${assoc_srcdir}/detail/gp_ht_map_/find_fn_imps.hpp \
519 ${assoc_srcdir}/detail/gp_ht_map_/find_no_store_hash_fn_imps.hpp \
520 ${assoc_srcdir}/detail/gp_ht_map_/constructor_destructor_fn_imps.hpp \
521 ${assoc_srcdir}/detail/gp_ht_map_/constructor_destructor_store_hash_fn_imps.hpp \
522 ${assoc_srcdir}/detail/gp_ht_map_/erase_store_hash_fn_imps.hpp \
523 ${assoc_srcdir}/detail/gp_ht_map_/constructor_destructor_no_store_hash_fn_imps.hpp \
524 ${assoc_srcdir}/detail/gp_ht_map_/info_fn_imps.hpp \
525 ${assoc_srcdir}/detail/gp_ht_map_/insert_store_hash_fn_imps.hpp \
526 ${assoc_srcdir}/detail/gp_ht_map_/debug_fn_imps.hpp \
527 ${assoc_srcdir}/detail/gp_ht_map_/gp_ht_map_.hpp \
528 ${assoc_srcdir}/detail/gp_ht_map_/iterator_fn_imps.hpp \
529 ${assoc_srcdir}/detail/gp_ht_map_/debug_no_store_hash_fn_imps.hpp \
c35a51a5
BK
530 ${assoc_srcdir}/detail/gp_ht_map_/resize_no_store_hash_fn_imps.hpp
531
532assoc_headers3 = \
fd1e1726
BK
533 ${assoc_srcdir}/detail/tree_policy/order_statistics_imp.hpp \
534 ${assoc_srcdir}/detail/tree_policy/null_node_updator_imp.hpp \
535 ${assoc_srcdir}/detail/types_traits.hpp \
536 ${assoc_srcdir}/detail/mapping_level_imp.hpp \
537 ${assoc_srcdir}/detail/map_debug_base.hpp \
538 ${assoc_srcdir}/detail/resize_policy/ht_prime_size_policy_imp.hpp \
539 ${assoc_srcdir}/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp \
540 ${assoc_srcdir}/detail/resize_policy/hash_prime_size_policy_imp.hpp \
541 ${assoc_srcdir}/detail/resize_policy/size_base.hpp \
542 ${assoc_srcdir}/detail/resize_policy/cc_hash_max_collision_resize_trigger_imp.hpp \
543 ${assoc_srcdir}/detail/resize_policy/hash_exponential_size_policy_imp.hpp \
544 ${assoc_srcdir}/detail/resize_policy/hash_standard_resize_policy_imp.hpp \
545 ${assoc_srcdir}/detail/bin_search_tree_/cond_dtor_entry_dealtor.hpp \
546 ${assoc_srcdir}/detail/bin_search_tree_/find_iterators.hpp \
547 ${assoc_srcdir}/detail/bin_search_tree_/erase_fn_imps.hpp \
548 ${assoc_srcdir}/detail/bin_search_tree_/insert_fn_imps.hpp \
549 ${assoc_srcdir}/detail/bin_search_tree_/find_fn_imps.hpp \
550 ${assoc_srcdir}/detail/bin_search_tree_/cond_key_dtor_entry_dealtor.hpp \
551 ${assoc_srcdir}/detail/bin_search_tree_/node_iterators.hpp \
552 ${assoc_srcdir}/detail/bin_search_tree_/bin_search_tree_.hpp \
553 ${assoc_srcdir}/detail/bin_search_tree_/split_join_fn_imps.hpp \
554 ${assoc_srcdir}/detail/bin_search_tree_/rotate_fn_imps.hpp \
555 ${assoc_srcdir}/detail/bin_search_tree_/info_fn_imps.hpp \
556 ${assoc_srcdir}/detail/bin_search_tree_/iterators_fn_imps.hpp \
557 ${assoc_srcdir}/detail/bin_search_tree_/r_erase_fn_imps.hpp \
558 ${assoc_srcdir}/detail/bin_search_tree_/debug_fn_imps.hpp \
559 ${assoc_srcdir}/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp \
560 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/r_range_iteration_fn_imps.hpp \
561 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/erase_fn_imps.hpp \
562 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/policy_access_fn_imps.hpp \
563 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/constructor_destructor_fn_imps.hpp \
564 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/split_join_fn_imps.hpp \
565 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/r_erase_fn_imps.hpp \
566 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/range_iteration_fn_imps.hpp \
567 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/constructors_destructor_fn_imps.hpp \
568 ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/node_iteration_fn_imps.hpp \
c35a51a5
BK
569 ${assoc_srcdir}/detail/cc_hash_assoc_cntnr/constructor_destructor_fn_imps.hpp
570
571assoc_headers4 = \
fd1e1726
BK
572 ${assoc_srcdir}/detail/assoc_cntnr_base.hpp \
573 ${assoc_srcdir}/detail/ms_category_imp.hpp \
574 ${assoc_srcdir}/detail/hash_types_traits.hpp \
575 ${assoc_srcdir}/detail/typelist.hpp \
576 ${assoc_srcdir}/detail/value_type_adapter/invalidation_guarantee_selector.hpp \
577 ${assoc_srcdir}/detail/value_type_adapter/erase_fn_imps.hpp \
578 ${assoc_srcdir}/detail/value_type_adapter/iterator.hpp \
579 ${assoc_srcdir}/detail/value_type_adapter/constructor_destructor_and_related.hpp \
580 ${assoc_srcdir}/detail/value_type_adapter/value_type_traits.hpp \
581 ${assoc_srcdir}/detail/value_type_adapter/insert_fn_imps.hpp \
582 ${assoc_srcdir}/detail/value_type_adapter/find_fn_imps.hpp \
583 ${assoc_srcdir}/detail/value_type_adapter/ref_pair.hpp \
584 ${assoc_srcdir}/detail/value_type_adapter/it_value_type_traits.hpp \
585 ${assoc_srcdir}/detail/value_type_adapter/info_fn_imps.hpp \
586 ${assoc_srcdir}/detail/value_type_adapter/erase_if_pred.hpp \
587 ${assoc_srcdir}/detail/value_type_adapter/value_type_adapter.hpp \
588 ${assoc_srcdir}/detail/value_type_adapter/iterator_fn_imps.hpp \
589 ${assoc_srcdir}/detail/lu_policy/mtf_lu_policy_imp.hpp \
590 ${assoc_srcdir}/detail/lu_policy/counter_lu_policy_imp.hpp \
591 ${assoc_srcdir}/detail/lu_policy/counter_lu_metadata_imp.hpp \
592 ${assoc_srcdir}/detail/gp_hash_assoc_cntnr/constructor_destructor_fn_imps.hpp \
593 ${assoc_srcdir}/detail/unordered_iterator/find_iterator.hpp \
594 ${assoc_srcdir}/detail/unordered_iterator/iterator.hpp \
595 ${assoc_srcdir}/detail/unordered_iterator/const_iterator.hpp \
596 ${assoc_srcdir}/detail/unordered_iterator/const_find_iterator.hpp \
597 ${assoc_srcdir}/detail/standard_policies.hpp \
598 ${assoc_srcdir}/detail/standard_sizes.hpp \
599 ${assoc_srcdir}/detail/ov_tree_map_/erase_fn_imps.hpp \
600 ${assoc_srcdir}/detail/ov_tree_map_/insert_fn_imps.hpp \
601 ${assoc_srcdir}/detail/ov_tree_map_/find_fn_imps.hpp \
602 ${assoc_srcdir}/detail/ov_tree_map_/ov_tree_map_.hpp \
603 ${assoc_srcdir}/detail/ov_tree_map_/node_iterators.hpp \
604 ${assoc_srcdir}/detail/ov_tree_map_/split_join_fn_imps.hpp \
605 ${assoc_srcdir}/detail/ov_tree_map_/cond_dtor.hpp \
606 ${assoc_srcdir}/detail/ov_tree_map_/info_fn_imps.hpp \
607 ${assoc_srcdir}/detail/ov_tree_map_/iterators_fn_imps.hpp \
608 ${assoc_srcdir}/detail/ov_tree_map_/debug_fn_imps.hpp \
c35a51a5
BK
609 ${assoc_srcdir}/detail/ov_tree_map_/constructors_destructor_fn_imps.hpp
610
611assoc_headers5 = \
fd1e1726
BK
612 ${assoc_srcdir}/detail/lu_assoc_cntnr/policy_access_fn_imps.hpp \
613 ${assoc_srcdir}/detail/lu_assoc_cntnr/constructor_destructor_fn_imps.hpp \
614 ${assoc_srcdir}/detail/hash_fn/linear_probe_fn_imp.hpp \
615 ${assoc_srcdir}/detail/hash_fn/mod_based_range_hashing.hpp \
616 ${assoc_srcdir}/detail/hash_fn/direct_mod_range_hashing_imp.hpp \
617 ${assoc_srcdir}/detail/hash_fn/probe_fn_base.hpp \
618 ${assoc_srcdir}/detail/hash_fn/ranged_probe_fn.hpp \
619 ${assoc_srcdir}/detail/hash_fn/quadratic_probe_fn_imp.hpp \
620 ${assoc_srcdir}/detail/hash_fn/direct_mask_range_hashing_imp.hpp \
621 ${assoc_srcdir}/detail/hash_fn/ranged_hash_fn.hpp \
622 ${assoc_srcdir}/detail/hash_fn/mask_based_range_hashing.hpp \
623 ${assoc_srcdir}/detail/eq_fn/eq_by_less.hpp \
624 ${assoc_srcdir}/detail/eq_fn/hash_eq_fn.hpp \
625 ${assoc_srcdir}/detail/rb_tree_map_/erase_fn_imps.hpp \
626 ${assoc_srcdir}/detail/rb_tree_map_/node.hpp \
627 ${assoc_srcdir}/detail/rb_tree_map_/insert_fn_imps.hpp \
628 ${assoc_srcdir}/detail/rb_tree_map_/find_fn_imps.hpp \
629 ${assoc_srcdir}/detail/rb_tree_map_/split_join_fn_imps.hpp \
630 ${assoc_srcdir}/detail/rb_tree_map_/rb_tree_.hpp \
631 ${assoc_srcdir}/detail/rb_tree_map_/info_fn_imps.hpp \
632 ${assoc_srcdir}/detail/rb_tree_map_/debug_fn_imps.hpp \
633 ${assoc_srcdir}/detail/rb_tree_map_/constructors_destructor_fn_imps.hpp \
634 ${assoc_srcdir}/detail/lu_map_/lu_map_.hpp \
635 ${assoc_srcdir}/detail/lu_map_/erase_fn_imps.hpp \
636 ${assoc_srcdir}/detail/lu_map_/policy_access_fn_imps.hpp \
637 ${assoc_srcdir}/detail/lu_map_/insert_fn_imps.hpp \
638 ${assoc_srcdir}/detail/lu_map_/find_fn_imps.hpp \
639 ${assoc_srcdir}/detail/lu_map_/constructor_destructor_fn_imps.hpp \
640 ${assoc_srcdir}/detail/lu_map_/info_fn_imps.hpp \
641 ${assoc_srcdir}/detail/lu_map_/iterators_fn_imps.hpp \
642 ${assoc_srcdir}/detail/lu_map_/debug_fn_imps.hpp \
643 ${assoc_srcdir}/detail/constructors_destructor_fn_imps.hpp \
644 ${assoc_srcdir}/detail/ms_trait_imp.hpp \
645 ${assoc_srcdir}/detail/cond_dealtor.hpp \
646 ${assoc_srcdir}/hash_policy.hpp \
647 ${assoc_srcdir}/trivial_iterator_def.hpp \
648 ${assoc_srcdir}/ds_trait.hpp \
649 ${assoc_srcdir}/exception.hpp \
650 ${assoc_srcdir}/tree_policy.hpp \
651 ${assoc_srcdir}/lu_policy.hpp \
652 ${assoc_srcdir}/ms_trait.hpp \
653 ${assoc_srcdir}/assoc_cntnr.hpp \
654 ${assoc_srcdir}/data_type.hpp
655
3d7c150e 656ext_srcdir = ${glibcxx_srcdir}/include/ext
fd1e1726 657ext_builddir = ./ext
53c2acdf
BK
658ext_headers = \
659 ${ext_srcdir}/algorithm \
3febde35 660 ${ext_srcdir}/array_allocator.h \
009368db 661 ${ext_srcdir}/bitmap_allocator.h \
825bd0e1 662 ${ext_srcdir}/codecvt_specializations.h \
1ff9402d 663 ${ext_srcdir}/debug_allocator.h \
53c2acdf 664 ${ext_srcdir}/stdio_filebuf.h \
51ff8149 665 ${ext_srcdir}/stdio_sync_filebuf.h \
53c2acdf
BK
666 ${ext_srcdir}/functional \
667 ${ext_srcdir}/hash_map \
668 ${ext_srcdir}/hash_set \
fd1e1726
BK
669 ${ext_srcdir}/hash_fun.h \
670 ${ext_srcdir}/hashtable.h \
53c2acdf 671 ${ext_srcdir}/iterator \
1ff9402d 672 ${ext_srcdir}/malloc_allocator.h \
53c2acdf 673 ${ext_srcdir}/memory \
1ff9402d
BK
674 ${ext_srcdir}/mt_allocator.h \
675 ${ext_srcdir}/new_allocator.h \
53c2acdf 676 ${ext_srcdir}/numeric \
9e7facfd 677 ${ext_srcdir}/pod_char_traits.h \
1ff9402d 678 ${ext_srcdir}/pool_allocator.h \
53c2acdf
BK
679 ${ext_srcdir}/rb_tree \
680 ${ext_srcdir}/rope \
681 ${ext_srcdir}/ropeimpl.h \
682 ${ext_srcdir}/slist \
872d8fea
PC
683 ${ext_srcdir}/typelist.h \
684 ${ext_srcdir}/rc_string_base.h \
685 ${ext_srcdir}/sso_string_base.h \
686 ${ext_srcdir}/vstring.h \
687 ${ext_srcdir}/vstring.tcc \
688 ${ext_srcdir}/vstring_fwd.h \
689 ${ext_srcdir}/vstring_util.h
4a9d5109 690
3febde35
BK
691tr1_srcdir = ${glibcxx_srcdir}/include/tr1
692tr1_builddir = ./tr1
693tr1_headers = \
a520f0b0 694 ${tr1_srcdir}/array \
59cffcf6
DG
695 ${tr1_srcdir}/bind_repeat.h \
696 ${tr1_srcdir}/bind_iterate.h \
b758b22a 697 ${tr1_srcdir}/boost_shared_ptr.h \
59cffcf6 698 ${tr1_srcdir}/mu_iterate.h \
f2ede5d6 699 ${tr1_srcdir}/functional \
0179f2c6 700 ${tr1_srcdir}/functional_iterate.h \
7dfded91 701 ${tr1_srcdir}/memory \
59cffcf6 702 ${tr1_srcdir}/ref_fwd.h \
3c235000
DG
703 ${tr1_srcdir}/ref_wrap_iterate.h \
704 ${tr1_srcdir}/repeat.h \
f2ede5d6 705 ${tr1_srcdir}/tuple \
59cffcf6 706 ${tr1_srcdir}/tuple_iterate.h \
493bc460 707 ${tr1_srcdir}/utility \
821c5063 708 ${tr1_srcdir}/type_traits \
180ecd6a
MA
709 ${tr1_srcdir}/type_traits_fwd.h \
710 ${tr1_srcdir}/hashtable \
711 ${tr1_srcdir}/unordered_set \
712 ${tr1_srcdir}/unordered_map
4a9d5109 713
ab9b9d2c 714
4a9d5109 715# This is the common subset of files that all three "C" header models use.
ca618b60 716c_base_srcdir = $(C_INCLUDE_DIR)
73249e33 717c_base_builddir = .
53c2acdf
BK
718c_base_headers = \
719 ${c_base_srcdir}/std_cassert.h \
720 ${c_base_srcdir}/std_cctype.h \
721 ${c_base_srcdir}/std_cerrno.h \
722 ${c_base_srcdir}/std_cfloat.h \
723 ${c_base_srcdir}/std_ciso646.h \
724 ${c_base_srcdir}/std_climits.h \
725 ${c_base_srcdir}/std_clocale.h \
726 ${c_base_srcdir}/std_cmath.h \
727 ${c_base_srcdir}/std_csetjmp.h \
728 ${c_base_srcdir}/std_csignal.h \
729 ${c_base_srcdir}/std_cstdarg.h \
730 ${c_base_srcdir}/std_cstddef.h \
731 ${c_base_srcdir}/std_cstdio.h \
732 ${c_base_srcdir}/std_cstdlib.h \
733 ${c_base_srcdir}/std_cstring.h \
734 ${c_base_srcdir}/std_ctime.h \
735 ${c_base_srcdir}/std_cwchar.h \
82ba99d5 736 ${c_base_srcdir}/std_cwctype.h
53c2acdf
BK
737
738c_base_headers_rename = \
739 cassert \
740 cctype \
741 cerrno \
742 cfloat \
743 ciso646 \
744 climits \
745 clocale \
746 cmath \
747 csetjmp \
748 csignal \
749 cstdarg \
750 cstddef \
751 cstdio \
752 cstdlib \
753 cstring \
754 ctime \
755 cwchar \
82ba99d5 756 cwctype
83144cfc 757
e01c9849
BK
758
759# "C" compatibility headers.
3d7c150e 760c_compatibility_srcdir = ${glibcxx_srcdir}/include/c_compatibility
e01c9849 761c_compatibility_builddir = .
53c2acdf
BK
762c_compatibility_headers = \
763 ${c_compatibility_srcdir}/assert.h \
764 ${c_compatibility_srcdir}/ctype.h \
765 ${c_compatibility_srcdir}/errno.h \
766 ${c_compatibility_srcdir}/float.h \
767 ${c_compatibility_srcdir}/iso646.h \
768 ${c_compatibility_srcdir}/limits.h \
769 ${c_compatibility_srcdir}/locale.h \
770 ${c_compatibility_srcdir}/math.h \
771 ${c_compatibility_srcdir}/setjmp.h \
772 ${c_compatibility_srcdir}/signal.h \
773 ${c_compatibility_srcdir}/stdarg.h \
774 ${c_compatibility_srcdir}/stddef.h \
775 ${c_compatibility_srcdir}/stdio.h \
776 ${c_compatibility_srcdir}/stdlib.h \
777 ${c_compatibility_srcdir}/string.h \
778 ${c_compatibility_srcdir}/time.h \
779 ${c_compatibility_srcdir}/wchar.h \
82ba99d5 780 ${c_compatibility_srcdir}/wctype.h
53c2acdf 781
ff66d28f 782
285b36d6
BK
783# Debug mode headers
784debug_srcdir = ${glibcxx_srcdir}/include/debug
785debug_builddir = ./debug
786debug_headers = \
787 ${debug_srcdir}/bitset \
788 ${debug_srcdir}/debug.h \
789 ${debug_srcdir}/deque \
790 ${debug_srcdir}/formatter.h \
d2763ab5 791 ${debug_srcdir}/functions.h \
285b36d6
BK
792 ${debug_srcdir}/hash_map \
793 ${debug_srcdir}/hash_map.h \
794 ${debug_srcdir}/hash_multimap.h \
795 ${debug_srcdir}/hash_multiset.h \
796 ${debug_srcdir}/hash_set \
797 ${debug_srcdir}/hash_set.h \
798 ${debug_srcdir}/list \
799 ${debug_srcdir}/map \
d2763ab5 800 ${debug_srcdir}/macros.h \
285b36d6
BK
801 ${debug_srcdir}/map.h \
802 ${debug_srcdir}/multimap.h \
803 ${debug_srcdir}/multiset.h \
804 ${debug_srcdir}/safe_base.h \
805 ${debug_srcdir}/safe_iterator.h \
806 ${debug_srcdir}/safe_iterator.tcc \
807 ${debug_srcdir}/safe_sequence.h \
808 ${debug_srcdir}/set \
809 ${debug_srcdir}/set.h \
810 ${debug_srcdir}/string \
811 ${debug_srcdir}/vector
812
ec2075e9 813@GLIBCXX_C_HEADERS_C_STD_FALSE@c_base_headers_extra =
285b36d6 814
ff66d28f
PE
815# Some of the different "C" header models need extra files.
816# Some "C" header schemes require the "C" compatibility headers.
817# For --enable-cheaders=c_std
82ba99d5 818@GLIBCXX_C_HEADERS_C_STD_TRUE@c_base_headers_extra = ${c_base_srcdir}/cmath.tcc
40fcf31b 819@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@c_compatibility_headers_extra =
ec2075e9 820@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@c_compatibility_headers_extra = ${c_compatibility_headers}
ca618b60 821host_srcdir = ${glibcxx_srcdir}/$(OS_INC_SRCDIR)
a30335e9
BK
822host_builddir = ./${host_alias}/bits
823host_headers = \
824 ${host_srcdir}/ctype_base.h \
825 ${host_srcdir}/ctype_inline.h \
826 ${host_srcdir}/ctype_noninline.h \
827 ${host_srcdir}/os_defines.h \
1568430f
PB
828 ${glibcxx_srcdir}/$(ATOMIC_WORD_SRCDIR)/atomic_word.h \
829 ${glibcxx_srcdir}/$(ABI_TWEAKS_SRCDIR)/cxxabi_tweaks.h
7bfea936 830
6aa43d99 831
a30335e9 832# Non-installed host_header files.
bb2b2a24 833COMPATIBILITY_H = config/abi/compatibility.h
a30335e9 834host_headers_noinst = \
bb2b2a24
BK
835 ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H) \
836 ${glibcxx_srcdir}/$(COMPATIBILITY_H)
6aa43d99
BK
837
838
a30335e9
BK
839# These host_headers_extra files are all built with ad hoc naming rules.
840host_headers_extra = \
841 ${host_builddir}/basic_file.h \
842 ${host_builddir}/c++config.h \
8b0d6051 843 ${host_builddir}/c++allocator.h \
a30335e9
BK
844 ${host_builddir}/c++io.h \
845 ${host_builddir}/c++locale.h \
846 ${host_builddir}/messages_members.h \
825bd0e1 847 ${host_builddir}/time_members.h
8520f704 848
a30335e9
BK
849thread_host_headers = \
850 ${host_builddir}/gthr.h \
851 ${host_builddir}/gthr-single.h \
852 ${host_builddir}/gthr-posix.h \
512baaea 853 ${host_builddir}/gthr-tpf.h \
a30335e9 854 ${host_builddir}/gthr-default.h
8520f704 855
a30335e9
BK
856pch_input = ${host_builddir}/stdc++.h
857pch_output_builddir = ${host_builddir}/stdc++.h.gch
3d7c150e 858pch_source = ${glibcxx_srcdir}/include/stdc++.h
9e57d5ca 859PCHFLAGS = -Winvalid-pch -Wno-deprecated -x c++-header $(CXXFLAGS)
4c24b21a 860@GLIBCXX_BUILD_PCH_FALSE@pch_build =
7eaf73d7 861@GLIBCXX_BUILD_PCH_TRUE@pch_build = ${pch_input}
4c24b21a 862@GLIBCXX_BUILD_PCH_FALSE@pch_install =
7eaf73d7 863@GLIBCXX_BUILD_PCH_TRUE@pch_install = install-pch
628c731a 864
4a9d5109
SW
865# List of all timestamp files. By keeping only one copy of this list, both
866# CLEANFILES and all-local are kept up-to-date.
53c2acdf
BK
867allstamped = \
868 stamp-std stamp-bits stamp-c_base stamp-c_compatibility \
fd1e1726 869 stamp-backward stamp-ext stamp-assoc stamp-tr1 stamp-debug stamp-host
628c731a 870
4a9d5109 871
9e57d5ca
BK
872# List of all files that are created by explicit building, editing, or
873# catenation.
53c2acdf 874allcreated = \
a30335e9
BK
875 ${host_builddir}/c++config.h \
876 ${thread_host_headers} \
53c2acdf 877 ${pch_build}
9e57d5ca 878
ca618b60
PE
879
880# Host includes for threads
4a9d5109
SW
881uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
882
ab77073f 883# By adding these files here, automake will remove them for 'make clean'
53c2acdf 884CLEANFILES = ${pch_input} ${pch_output_builddir}/*
ff66d28f 885all: all-am
54c1bf78 886
54c1bf78 887.SUFFIXES:
7eaf73d7
KC
888$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
889 @for dep in $?; do \
890 case '$(am__configure_deps)' in \
891 *$$dep*) \
892 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
893 && exit 0; \
894 exit 1;; \
895 esac; \
896 done; \
897 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps include/Makefile'; \
ff66d28f 898 cd $(top_srcdir) && \
7eaf73d7
KC
899 $(AUTOMAKE) --foreign --ignore-deps include/Makefile
900Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
901 @case '$?' in \
902 *config.status*) \
903 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
904 *) \
905 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
906 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
907 esac;
908
909$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
910 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
911
912$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
913 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
914$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
915 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
ff66d28f
PE
916
917mostlyclean-libtool:
918 -rm -f *.lo
54c1bf78 919
ff66d28f
PE
920clean-libtool:
921 -rm -rf .libs _libs
f53d0ff1 922
ff66d28f
PE
923distclean-libtool:
924 -rm -f libtool
925uninstall-info-am:
4a9d5109
SW
926tags: TAGS
927TAGS:
928
ff66d28f
PE
929ctags: CTAGS
930CTAGS:
4a9d5109 931
54c1bf78
BK
932
933distdir: $(DISTFILES)
7eaf73d7 934 $(mkdir_p) $(distdir)/..
ff66d28f
PE
935 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
936 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
937 list='$(DISTFILES)'; for file in $$list; do \
938 case $$file in \
939 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
940 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
941 esac; \
942 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
943 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
944 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
945 dir="/$$dir"; \
7eaf73d7 946 $(mkdir_p) "$(distdir)$$dir"; \
ff66d28f
PE
947 else \
948 dir=''; \
949 fi; \
54c1bf78 950 if test -d $$d/$$file; then \
ff66d28f
PE
951 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
952 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
953 fi; \
954 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
54c1bf78
BK
955 else \
956 test -f $(distdir)/$$file \
ff66d28f
PE
957 || cp -p $$d/$$file $(distdir)/$$file \
958 || exit 1; \
54c1bf78
BK
959 fi; \
960 done
ff66d28f 961check-am: all-am
54c1bf78 962check: check-am
ff66d28f 963all-am: Makefile all-local
ff66d28f
PE
964installdirs:
965install: install-am
966install-exec: install-exec-am
2c1bc4eb 967install-data: install-data-am
ff66d28f 968uninstall: uninstall-am
4a9d5109 969
2c1bc4eb
PC
970install-am: all-am
971 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
54c1bf78 972
ff66d28f
PE
973installcheck: installcheck-am
974install-strip:
975 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
ec2075e9 976 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
ff66d28f
PE
977 `test -z '$(STRIP)' || \
978 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
4a9d5109
SW
979mostlyclean-generic:
980
981clean-generic:
ab77073f 982 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
4a9d5109
SW
983
984distclean-generic:
a60945f8 985 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
4a9d5109
SW
986
987maintainer-clean-generic:
ff66d28f
PE
988 @echo "This command is intended for maintainers to use"
989 @echo "it deletes files that may require special tools to rebuild."
990clean: clean-am
2c1bc4eb 991
ff66d28f 992clean-am: clean-generic clean-libtool mostlyclean-am
f53d0ff1 993
ff66d28f 994distclean: distclean-am
4c4809c1 995 -rm -f Makefile
ff66d28f 996distclean-am: clean-am distclean-generic distclean-libtool
f53d0ff1 997
ff66d28f 998dvi: dvi-am
f53d0ff1 999
ff66d28f 1000dvi-am:
f53d0ff1 1001
7eaf73d7
KC
1002html: html-am
1003
ff66d28f
PE
1004info: info-am
1005
1006info-am:
1007
1008install-data-am: install-data-local
1009
1010install-exec-am:
1011
1012install-info: install-info-am
1013
1014install-man:
1015
1016installcheck-am:
4a9d5109
SW
1017
1018maintainer-clean: maintainer-clean-am
4c4809c1 1019 -rm -f Makefile
ff66d28f
PE
1020maintainer-clean-am: distclean-am maintainer-clean-generic
1021
1022mostlyclean: mostlyclean-am
1023
1024mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1025
1026pdf: pdf-am
1027
1028pdf-am:
1029
1030ps: ps-am
1031
1032ps-am:
1033
1034uninstall-am: uninstall-info-am
1035
1036.PHONY: all all-am all-local check check-am clean clean-generic \
1037 clean-libtool distclean distclean-generic distclean-libtool \
7eaf73d7
KC
1038 distdir dvi dvi-am html html-am info info-am install \
1039 install-am install-data install-data-am install-data-local \
1040 install-exec install-exec-am install-info install-info-am \
1041 install-man install-strip installcheck installcheck-am \
1042 installdirs maintainer-clean maintainer-clean-generic \
1043 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
1044 ps ps-am uninstall uninstall-am uninstall-info-am
4a9d5109
SW
1045
1046
1047# Here are the rules for building the headers
82ba99d5 1048all-local: ${allstamped} ${allcreated}
4a9d5109 1049
066930bb
PE
1050# This rule is slightly different, in that we must change the name of the
1051# local file from std_foo.h to foo.
4a9d5109
SW
1052stamp-std: ${std_headers}
1053 @if [ ! -d "${std_builddir}" ]; then \
1054 mkdir -p ${std_builddir} ;\
1055 fi ;\
7ec3af37
BK
1056 if [ ! -f stamp-std ]; then \
1057 (cd ${std_builddir} && for h in $?; do \
fd1e1726
BK
1058 build_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
1059 $(LN_S) $$h ./$${build_name} || true ;\
7ec3af37 1060 done) ;\
82ba99d5
PE
1061 fi ;\
1062 $(STAMP) stamp-std
ab77073f 1063
4a9d5109
SW
1064stamp-bits: ${bits_headers}
1065 @if [ ! -d "${bits_builddir}" ]; then \
1066 mkdir -p ${bits_builddir} ;\
1067 fi ;\
7ec3af37 1068 if [ ! -f stamp-bits ]; then \
82ba99d5
PE
1069 (cd ${bits_builddir} && $(LN_S) $? . || true) ;\
1070 fi ;\
1071 $(STAMP) stamp-bits
4a9d5109 1072
82ba99d5 1073stamp-c_base: stamp-bits ${c_base_headers} ${c_base_headers_extra}
4a9d5109
SW
1074 @if [ ! -d "${c_base_builddir}" ]; then \
1075 mkdir -p ${c_base_builddir} ;\
1076 fi ;\
7ec3af37 1077 if [ ! -f stamp-c_base ]; then \
9e57d5ca 1078 (cd ${c_base_builddir} && for h in ${c_base_headers}; do \
fd1e1726
BK
1079 build_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
1080 $(LN_S) $$h ./$${build_name} || true ;\
9e57d5ca 1081 done) ;\
7ec3af37 1082 if [ ! -z "${c_base_headers_extra}" ]; then \
82ba99d5 1083 (cd ${bits_builddir} && $(LN_S) ${c_base_headers_extra} . || true) ;\
7ec3af37 1084 fi ;\
82ba99d5
PE
1085 fi ;\
1086 $(STAMP) stamp-c_base
4a9d5109 1087
e01c9849
BK
1088stamp-c_compatibility: ${c_compatibility_headers_extra}
1089 @if [ ! -d "${c_compatibility_builddir}" ]; then \
1090 mkdir -p ${c_compatibility_builddir} ;\
1091 fi ;\
7ec3af37
BK
1092 if [ ! -f stamp-c_compatibility ]; then \
1093 if [ ! -z "${c_compatibility_headers_extra}" ]; then \
82ba99d5 1094 (cd ${c_compatibility_builddir} && $(LN_S) $? . || true) ;\
7ec3af37 1095 fi ;\
82ba99d5
PE
1096 fi ;\
1097 $(STAMP) stamp-c_compatibility
e01c9849 1098
4a9d5109
SW
1099stamp-backward: ${backward_headers}
1100 @if [ ! -d "${backward_builddir}" ]; then \
1101 mkdir -p ${backward_builddir} ;\
1102 fi ;\
7ec3af37 1103 if [ ! -f stamp-backward ]; then \
82ba99d5
PE
1104 (cd ${backward_builddir} && $(LN_S) $? . || true) ;\
1105 fi ;\
1106 $(STAMP) stamp-backward
4a9d5109
SW
1107
1108stamp-ext: ${ext_headers}
1109 @if [ ! -d "${ext_builddir}" ]; then \
7ec3af37 1110 mkdir -p ${ext_builddir} ;\
4a9d5109 1111 fi ;\
7ec3af37 1112 if [ ! -f stamp-ext ]; then \
82ba99d5
PE
1113 (cd ${ext_builddir} && $(LN_S) $? . || true) ;\
1114 fi ;\
1115 $(STAMP) stamp-ext
4a9d5109 1116
fd1e1726
BK
1117# Have to deal with nested include directories, gah! Strip off source
1118# directory before making the link.
c35a51a5
BK
1119# XXX check ${assoc_headers}
1120stamp-assoc:
fd1e1726
BK
1121 @if [ ! -d "${assoc_builddir}" ]; then \
1122 mkdir -p ${assoc_subdirs} ;\
1123 fi ;\
1124 if [ ! -f stamp-assoc ]; then \
c35a51a5
BK
1125 (cd ${assoc_builddir} && for h in ${assoc_headers1}; do \
1126 build_name=`echo $$h | sed -e "s|${assoc_srcdir}|.|g"` ;\
1127 $(LN_S) $$h $${build_name} || true ;\
1128 done) ;\
1129 (cd ${assoc_builddir} && for h in ${assoc_headers2}; do \
1130 build_name=`echo $$h | sed -e "s|${assoc_srcdir}|.|g"` ;\
1131 $(LN_S) $$h $${build_name} || true ;\
1132 done) ;\
1133 (cd ${assoc_builddir} && for h in ${assoc_headers3}; do \
1134 build_name=`echo $$h | sed -e "s|${assoc_srcdir}|.|g"` ;\
1135 $(LN_S) $$h $${build_name} || true ;\
1136 done) ;\
1137 (cd ${assoc_builddir} && for h in ${assoc_headers4}; do \
1138 build_name=`echo $$h | sed -e "s|${assoc_srcdir}|.|g"` ;\
1139 $(LN_S) $$h $${build_name} || true ;\
1140 done) ;\
1141 (cd ${assoc_builddir} && for h in ${assoc_headers5}; do \
fd1e1726
BK
1142 build_name=`echo $$h | sed -e "s|${assoc_srcdir}|.|g"` ;\
1143 $(LN_S) $$h $${build_name} || true ;\
1144 done) ;\
1145 fi ;\
1146 $(STAMP) stamp-assoc
1147
3febde35
BK
1148stamp-tr1: ${tr1_headers}
1149 @if [ ! -d "${tr1_builddir}" ]; then \
1150 mkdir -p ${tr1_builddir} ;\
1151 fi ;\
1152 if [ ! -f stamp-tr1 ]; then \
1153 (cd ${tr1_builddir} && $(LN_S) $? . || true) ;\
1154 fi ;\
1155 $(STAMP) stamp-tr1
1156
285b36d6
BK
1157stamp-debug: ${debug_headers}
1158 @if [ ! -d "${debug_builddir}" ]; then \
1159 mkdir -p ${debug_builddir} ;\
1160 fi ;\
1161 if [ ! -f stamp-debug ]; then \
1162 (cd ${debug_builddir} && @LN_S@ $? . || true) ;\
1163 fi ;\
1164 $(STAMP) stamp-debug
1165
a30335e9
BK
1166stamp-${host_alias}:
1167 @if [ ! -d ${host_builddir} ]; then \
1168 mkdir -p ${host_builddir} ;\
82ba99d5
PE
1169 fi ;\
1170 $(STAMP) stamp-${host_alias}
843312be 1171
a30335e9
BK
1172# Host includes static.
1173# XXX Missing dependency info for {host_headers_extra}
1174stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias}
1175 @if [ ! -f stamp-host ]; then \
1176 (cd ${host_builddir} ;\
82ba99d5 1177 $(LN_S) ${host_headers} . || true ;\
ca618b60 1178 $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_H) basic_file.h || true ;\
8b0d6051 1179 $(LN_S) ${glibcxx_srcdir}/$(ALLOCATOR_H) c++allocator.h || true ;\
ca618b60
PE
1180 $(LN_S) ${glibcxx_srcdir}/$(CSTDIO_H) c++io.h || true ;\
1181 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_H) c++locale.h || true ;\
1182 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H) . || true ;\
bb2b2a24 1183 $(LN_S) ${glibcxx_srcdir}/$(COMPATIBILITY_H) . || true ;\
ca618b60
PE
1184 $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_H) messages_members.h || true ;\
1185 $(LN_S) ${glibcxx_srcdir}/$(CTIME_H) time_members.h || true ;\
1186 $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_H) codecvt_specializations.h || true);\
82ba99d5
PE
1187 fi ;\
1188 $(STAMP) stamp-host
4a9d5109 1189
a30335e9 1190# Host includes dynamic.
82ba99d5 1191${host_builddir}/c++config.h: ${top_builddir}/config.h \
3d7c150e 1192 ${glibcxx_srcdir}/include/bits/c++config \
a1286ef5
ZW
1193 stamp-${host_alias} \
1194 ${toplevel_srcdir}/gcc/DATESTAMP
3d7c150e 1195 @cat ${glibcxx_srcdir}/include/bits/c++config > $@ ;\
a1286ef5
ZW
1196 sed -e 's/^/#define __GLIBCXX__ /' \
1197 < ${toplevel_srcdir}/gcc/DATESTAMP >> $@ ;\
3d7c150e
BK
1198 sed -e 's/HAVE_/_GLIBCXX_HAVE_/g' \
1199 -e 's/PACKAGE/_GLIBCXX_PACKAGE/g' \
1200 -e 's/VERSION/_GLIBCXX_VERSION/g' \
1201 -e 's/WORDS_/_GLIBCXX_WORDS_/g' \
42ebb17f 1202 < ${CONFIG_HEADER} >> $@ ;\
3d7c150e 1203 echo "#endif // _CXXCONFIG_" >>$@
4a9d5109 1204
a30335e9 1205${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
168aacd9
JM
1206 sed -e '/^#pragma/b' \
1207 -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
ec2075e9 1208 -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
4a9d5109 1209 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
533ab4d1 1210 < ${toplevel_srcdir}/gcc/gthr.h > $@
4a9d5109 1211
a30335e9
BK
1212${host_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
1213 stamp-${host_alias}
3d7c150e
BK
1214 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1215 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
533ab4d1 1216 < ${toplevel_srcdir}/gcc/gthr-single.h > $@
4a9d5109 1217
a30335e9
BK
1218${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
1219 stamp-${host_alias}
3d7c150e
BK
1220 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1221 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
ec2075e9
BK
1222 -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
1223 -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
79d6ba0b
LR
1224 < ${toplevel_srcdir}/gcc/gthr-posix.h > $@
1225
512baaea
D
1226${host_builddir}/gthr-tpf.h: ${toplevel_srcdir}/gcc/gthr-tpf.h \
1227 stamp-${host_alias}
1228 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1229 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
1230 -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
1231 -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
1232 < ${toplevel_srcdir}/gcc/gthr-tpf.h > $@
1233
3d7c150e 1234${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \
a30335e9 1235 stamp-${host_alias}
3d7c150e
BK
1236 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
1237 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
ec2075e9
BK
1238 -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
1239 -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
79d6ba0b 1240 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
3d7c150e 1241 < ${toplevel_srcdir}/gcc/${glibcxx_thread_h} > $@
9e57d5ca
BK
1242
1243# Build a precompiled C++ include, stdc++.h.gch.
a30335e9 1244${pch_input}: ${allstamped} ${host_builddir}/c++config.h ${pch_source}
665794a6 1245 touch ${pch_input}; \
8520f704
LR
1246 if [ ! -d "${pch_output_builddir}" ]; then \
1247 mkdir -p ${pch_output_builddir}; \
1248 fi; \
e4cb0c04
PB
1249 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) ${pch_source} -O0 -g -o ${pch_output_builddir}/O0g.gch; \
1250 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) ${pch_source} -O2 -g -o ${pch_output_builddir}/O2g.gch;
9e57d5ca 1251
92eabea2
PE
1252# For robustness sake (in light of junk files or in-source
1253# configuration), copy from the build or source tree to the install
1254# tree using only the human-maintained file lists and directory
1255# components. Yes, with minor differences, this is sheer duplication
1256# of the staging rules above using $(INSTALL_DATA) instead of LN_S and
1257# `$(mkinstalldirs)' instead of `mkdir -p'. In particular,
1258# host_headers_extra are taken out of the build tree staging area;
1259# the rest are taken from the original source tree.
9e57d5ca 1260
92eabea2
PE
1261@GLIBCXX_HOSTED_TRUE@install-data-local: install-headers ${pch_install}
1262@GLIBCXX_HOSTED_FALSE@install-data-local: install-freestanding-headers
1263
1264# This is a subset of the full install-headers rule. We only need <cstddef>,
1265# <limits>, <cstdlib>, <cstdarg>, <new>, <typeinfo>, <exception>, and any
1266# files which they include (and which we provide). The last three headers
1267# are installed by libsupc++, so only the first four and the sub-includes
1268# are copied here.
1269install-freestanding-headers:
1270 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
1271 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir}
1272 for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h; do \
1273 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done
1274 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
1275 $(INSTALL_DATA) ${std_builddir}/limits $(DESTDIR)${gxx_include_dir}/${std_builddir}
1276 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
1277 for file in cstddef cstdlib cstdarg; do \
1278 $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
1279
1280# The real deal.
9e57d5ca 1281install-headers:
90e5b39f
CC
1282 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
1283 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${bits_builddir}
7bfea936 1284 for file in ${bits_headers}; do \
90e5b39f
CC
1285 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
1286 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${backward_builddir}
7bfea936 1287 for file in ${backward_headers}; do \
90e5b39f
CC
1288 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${backward_builddir}; done
1289 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${ext_builddir}
7bfea936 1290 for file in ${ext_headers}; do \
90e5b39f 1291 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${ext_builddir}; done
fd1e1726
BK
1292 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${assoc_builddir}
1293 for dir in ${assoc_subdirs}; do \
1294 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/$${dir} ; done
c35a51a5
BK
1295 for file in ${assoc_headers1}; do \
1296 install_base=$(DESTDIR)${gxx_include_dir}/${assoc_builddir} ; \
1297 relative_name=`echo $$file | sed -e "s|${assoc_srcdir}|.|g"` ;\
1298 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
1299 for file in ${assoc_headers2}; do \
1300 install_base=$(DESTDIR)${gxx_include_dir}/${assoc_builddir} ; \
1301 relative_name=`echo $$file | sed -e "s|${assoc_srcdir}|.|g"` ;\
1302 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
1303 for file in ${assoc_headers3}; do \
1304 install_base=$(DESTDIR)${gxx_include_dir}/${assoc_builddir} ; \
1305 relative_name=`echo $$file | sed -e "s|${assoc_srcdir}|.|g"` ;\
1306 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
1307 for file in ${assoc_headers4}; do \
1308 install_base=$(DESTDIR)${gxx_include_dir}/${assoc_builddir} ; \
1309 relative_name=`echo $$file | sed -e "s|${assoc_srcdir}|.|g"` ;\
1310 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
1311 for file in ${assoc_headers5}; do \
fd1e1726
BK
1312 install_base=$(DESTDIR)${gxx_include_dir}/${assoc_builddir} ; \
1313 relative_name=`echo $$file | sed -e "s|${assoc_srcdir}|.|g"` ;\
1314 $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
3febde35
BK
1315 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${tr1_builddir}
1316 for file in ${tr1_headers}; do \
1317 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${tr1_builddir}; done
90e5b39f 1318 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
73249e33 1319 for file in ${c_base_headers_rename}; do \
90e5b39f 1320 $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
e01c9849 1321 c_base_headers_extra_install='$(c_base_headers_extra)';\
3eb35fcf 1322 for file in $$c_base_headers_extra_install; do \
90e5b39f 1323 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
e01c9849
BK
1324 c_compatibility_headers_install='$(c_compatibility_headers_extra)';\
1325 for file in $$c_compatibility_headers_install; do \
90e5b39f
CC
1326 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}; done
1327 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
73249e33 1328 for file in ${std_headers_rename}; do \
90e5b39f 1329 $(INSTALL_DATA) ${std_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done
285b36d6
BK
1330 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${debug_builddir}
1331 for file in ${debug_headers}; do \
1332 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${debug_builddir}; done
a30335e9
BK
1333 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir}
1334 for file in ${host_headers} ${host_headers_extra} \
1335 ${thread_host_headers}; do \
1336 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done
4a9d5109 1337
9e57d5ca 1338install-pch:
8520f704
LR
1339 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}
1340 for file in ${pch_output_builddir}/*; do \
1341 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}; done
9e57d5ca 1342
c5535768
BK
1343# Stop implicit '.o' make rules from ever stomping on extensionless
1344# headers, in the improbable case where some foolish, crack-addled
1345# developer tries to create them via make in the include build
654421eb
DE
1346# directory. (This is more of an example of how this kind of rule can
1347# be made.)
c5535768
BK
1348.PRECIOUS: $(std_headers_rename) $(c_base_headers_rename)
1349$(std_headers_rename): ; @:
1350$(c_base_headers_rename): ; @:
4a9d5109
SW
1351# Tell versions [3.59,3.63) of GNU make to not export all variables.
1352# Otherwise a system limit (for SysV at least) may be exceeded.
1353.NOEXPORT: