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