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