* dwarf2out.c (concat_loc_descriptor): Add can_use_fbreg argument,
[official-gcc.git] / libstdc++-v3 / include / Makefile.am
blob869a01a29a6b12db25d04d8b70ad255ff3682e16
1 ## Makefile for the include subdirectory of the GNU C++ Standard library.
2 ##
3 ## Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4 ##
5 ## This file is part of the libstdc++ version 3 distribution.
6 ## Process this file with automake to produce Makefile.in.
8 ## This file is part of the GNU ISO C++ Library.  This library is free
9 ## software; you can redistribute it and/or modify it under the
10 ## terms of the GNU General Public License as published by the
11 ## Free Software Foundation; either version 2, or (at your option)
12 ## any later version.
14 ## This library is distributed in the hope that it will be useful,
15 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 ## GNU General Public License for more details.
19 ## You should have received a copy of the GNU General Public License along
20 ## with this library; see the file COPYING.  If not, write to the Free
21 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
22 ## USA.
24 include $(top_srcdir)/fragment.am
26 # Standard C++ includes.
27 std_srcdir = ${glibcxx_srcdir}/include/std
28 std_builddir = .
29 std_headers = \
30         ${std_srcdir}/std_algorithm.h \
31         ${std_srcdir}/std_bitset.h \
32         ${std_srcdir}/std_complex.h \
33         ${std_srcdir}/std_deque.h \
34         ${std_srcdir}/std_fstream.h \
35         ${std_srcdir}/std_functional.h \
36         ${std_srcdir}/std_iomanip.h \
37         ${std_srcdir}/std_ios.h \
38         ${std_srcdir}/std_iosfwd.h \
39         ${std_srcdir}/std_iostream.h \
40         ${std_srcdir}/std_istream.h \
41         ${std_srcdir}/std_iterator.h \
42         ${std_srcdir}/std_limits.h \
43         ${std_srcdir}/std_list.h \
44         ${std_srcdir}/std_locale.h \
45         ${std_srcdir}/std_map.h \
46         ${std_srcdir}/std_memory.h \
47         ${std_srcdir}/std_numeric.h \
48         ${std_srcdir}/std_ostream.h \
49         ${std_srcdir}/std_queue.h \
50         ${std_srcdir}/std_set.h \
51         ${std_srcdir}/std_sstream.h \
52         ${std_srcdir}/std_stack.h \
53         ${std_srcdir}/std_stdexcept.h \
54         ${std_srcdir}/std_streambuf.h \
55         ${std_srcdir}/std_string.h \
56         ${std_srcdir}/std_utility.h \
57         ${std_srcdir}/std_valarray.h \
58         ${std_srcdir}/std_vector.h
59 # Renamed at build time.
60 std_headers_rename = \
61         algorithm \
62         bitset \
63         complex \
64         deque \
65         fstream \
66         functional \
67         iomanip \
68         ios \
69         iosfwd \
70         iostream \
71         istream \
72         iterator \
73         limits \
74         list \
75         locale \
76         map \
77         memory \
78         numeric \
79         ostream \
80         queue \
81         set \
82         sstream \
83         stack \
84         stdexcept \
85         streambuf \
86         string \
87         utility \
88         valarray \
89         vector
91 bits_srcdir = ${glibcxx_srcdir}/include/bits
92 bits_builddir = ./bits
93 bits_headers = \
94         ${bits_srcdir}/allocator.h \
95         ${bits_srcdir}/atomicity.h \
96         ${bits_srcdir}/basic_ios.h \
97         ${bits_srcdir}/basic_ios.tcc \
98         ${bits_srcdir}/basic_string.h \
99         ${bits_srcdir}/basic_string.tcc \
100         ${bits_srcdir}/boost_concept_check.h \
101         ${bits_srcdir}/char_traits.h \
102         ${bits_srcdir}/codecvt.h \
103         ${bits_srcdir}/concept_check.h \
104         ${bits_srcdir}/concurrence.h \
105         ${bits_srcdir}/cpp_type_traits.h \
106         ${bits_srcdir}/deque.tcc \
107         ${bits_srcdir}/fstream.tcc \
108         ${bits_srcdir}/functexcept.h \
109         ${bits_srcdir}/gslice.h \
110         ${bits_srcdir}/gslice_array.h \
111         ${bits_srcdir}/indirect_array.h \
112         ${bits_srcdir}/ios_base.h \
113         ${bits_srcdir}/istream.tcc \
114         ${bits_srcdir}/list.tcc \
115         ${bits_srcdir}/locale_classes.h \
116         ${bits_srcdir}/locale_facets.h \
117         ${bits_srcdir}/locale_facets.tcc \
118         ${bits_srcdir}/localefwd.h \
119         ${bits_srcdir}/mask_array.h \
120         ${bits_srcdir}/ostream.tcc \
121         ${bits_srcdir}/postypes.h \
122         ${bits_srcdir}/stream_iterator.h \
123         ${bits_srcdir}/streambuf_iterator.h \
124         ${bits_srcdir}/slice_array.h \
125         ${bits_srcdir}/sstream.tcc \
126         ${bits_srcdir}/stl_algo.h \
127         ${bits_srcdir}/stl_algobase.h \
128         ${bits_srcdir}/stl_bvector.h \
129         ${bits_srcdir}/stl_construct.h \
130         ${bits_srcdir}/stl_deque.h \
131         ${bits_srcdir}/stl_function.h \
132         ${bits_srcdir}/stl_heap.h \
133         ${bits_srcdir}/stl_iterator.h \
134         ${bits_srcdir}/stl_iterator_base_funcs.h \
135         ${bits_srcdir}/stl_iterator_base_types.h \
136         ${bits_srcdir}/stl_list.h \
137         ${bits_srcdir}/stl_map.h \
138         ${bits_srcdir}/stl_multimap.h \
139         ${bits_srcdir}/stl_multiset.h \
140         ${bits_srcdir}/stl_numeric.h \
141         ${bits_srcdir}/stl_pair.h \
142         ${bits_srcdir}/stl_queue.h \
143         ${bits_srcdir}/stl_raw_storage_iter.h \
144         ${bits_srcdir}/stl_relops.h \
145         ${bits_srcdir}/stl_set.h \
146         ${bits_srcdir}/stl_stack.h \
147         ${bits_srcdir}/stl_tempbuf.h \
148         ${bits_srcdir}/stl_tree.h \
149         ${bits_srcdir}/stl_uninitialized.h \
150         ${bits_srcdir}/stl_vector.h \
151         ${bits_srcdir}/streambuf.tcc \
152         ${bits_srcdir}/stringfwd.h \
153         ${bits_srcdir}/valarray_array.h \
154         ${bits_srcdir}/valarray_array.tcc \
155         ${bits_srcdir}/valarray_before.h \
156         ${bits_srcdir}/valarray_after.h \
157         ${bits_srcdir}/vector.tcc
159 backward_srcdir = ${glibcxx_srcdir}/include/backward
160 backward_builddir = ./backward
161 backward_headers = \
162         ${backward_srcdir}/complex.h \
163         ${backward_srcdir}/iomanip.h \
164         ${backward_srcdir}/istream.h \
165         ${backward_srcdir}/ostream.h \
166         ${backward_srcdir}/stream.h \
167         ${backward_srcdir}/streambuf.h \
168         ${backward_srcdir}/algo.h \
169         ${backward_srcdir}/algobase.h \
170         ${backward_srcdir}/alloc.h \
171         ${backward_srcdir}/bvector.h \
172         ${backward_srcdir}/defalloc.h \
173         ${backward_srcdir}/deque.h \
174         ${backward_srcdir}/function.h \
175         ${backward_srcdir}/hash_map.h \
176         ${backward_srcdir}/hash_set.h \
177         ${backward_srcdir}/hashtable.h \
178         ${backward_srcdir}/heap.h \
179         ${backward_srcdir}/iostream.h \
180         ${backward_srcdir}/iterator.h \
181         ${backward_srcdir}/list.h \
182         ${backward_srcdir}/map.h \
183         ${backward_srcdir}/multimap.h \
184         ${backward_srcdir}/new.h \
185         ${backward_srcdir}/multiset.h \
186         ${backward_srcdir}/pair.h \
187         ${backward_srcdir}/queue.h \
188         ${backward_srcdir}/rope.h \
189         ${backward_srcdir}/set.h \
190         ${backward_srcdir}/slist.h \
191         ${backward_srcdir}/stack.h \
192         ${backward_srcdir}/tempbuf.h \
193         ${backward_srcdir}/tree.h \
194         ${backward_srcdir}/vector.h \
195         ${backward_srcdir}/fstream.h \
196         ${backward_srcdir}/strstream \
197         ${backward_srcdir}/backward_warning.h
200 assoc_srcdir = ${glibcxx_srcdir}/include/ext/pb_assoc
201 assoc_builddir = ./ext/pb_assoc
203 assoc_subdirs = \
204         ${assoc_builddir}/detail \
205         ${assoc_builddir}/detail/tree_assoc_cntnr \
206         ${assoc_builddir}/detail/basic_assoc_cntnr \
207         ${assoc_builddir}/detail/splay_tree_ \
208         ${assoc_builddir}/detail/typelist \
209         ${assoc_builddir}/detail/basic_hash_assoc_cntnr \
210         ${assoc_builddir}/detail/cc_ht_map_ \
211         ${assoc_builddir}/detail/gp_ht_map_ \
212         ${assoc_builddir}/detail/tree_policy \
213         ${assoc_builddir}/detail/resize_policy \
214         ${assoc_builddir}/detail/bin_search_tree_ \
215         ${assoc_builddir}/detail/basic_tree_assoc_cntnr \
216         ${assoc_builddir}/detail/cc_hash_assoc_cntnr \
217         ${assoc_builddir}/detail/value_type_adapter \
218         ${assoc_builddir}/detail/lu_policy \
219         ${assoc_builddir}/detail/gp_hash_assoc_cntnr \
220         ${assoc_builddir}/detail/unordered_iterator \
221         ${assoc_builddir}/detail/ov_tree_map_ \
222         ${assoc_builddir}/detail/lu_assoc_cntnr \
223         ${assoc_builddir}/detail/hash_fn \
224         ${assoc_builddir}/detail/eq_fn \
225         ${assoc_builddir}/detail/rb_tree_map_ \
226         ${assoc_builddir}/detail/lu_map_
228 assoc_headers = \
229         ${assoc_srcdir}/detail/tree_assoc_cntnr/constructor_destructor_fn_imps.hpp \
230         ${assoc_srcdir}/detail/type_utils.hpp \
231         ${assoc_srcdir}/detail/order_statistics_imp.hpp \
232         ${assoc_srcdir}/detail/basic_assoc_cntnr/d_find_fn_imps.hpp \
233         ${assoc_srcdir}/detail/basic_assoc_cntnr/d_insert_fn_imps.hpp \
234         ${assoc_srcdir}/detail/basic_assoc_cntnr/extract_key.hpp \
235         ${assoc_srcdir}/detail/basic_assoc_cntnr/erase_fn_imps.hpp \
236         ${assoc_srcdir}/detail/basic_assoc_cntnr/insert_fn_imps.hpp \
237         ${assoc_srcdir}/detail/basic_assoc_cntnr/constructor_destructor_fn_imps.hpp \
238         ${assoc_srcdir}/detail/basic_assoc_cntnr/info_fn_imps.hpp \
239         ${assoc_srcdir}/detail/basic_assoc_cntnr/iterators_fn_imps.hpp \
240         ${assoc_srcdir}/detail/basic_assoc_cntnr/d_extract_key.hpp \
241         ${assoc_srcdir}/detail/basic_assoc_cntnr/constructors_destructor_fn_imps.hpp \
242         ${assoc_srcdir}/detail/splay_tree_/erase_fn_imps.hpp \
243         ${assoc_srcdir}/detail/splay_tree_/splay_tree_.hpp \
244         ${assoc_srcdir}/detail/splay_tree_/node.hpp \
245         ${assoc_srcdir}/detail/splay_tree_/insert_fn_imps.hpp \
246         ${assoc_srcdir}/detail/splay_tree_/find_fn_imps.hpp \
247         ${assoc_srcdir}/detail/splay_tree_/splay_fn_imps.hpp \
248         ${assoc_srcdir}/detail/splay_tree_/split_join_fn_imps.hpp \
249         ${assoc_srcdir}/detail/splay_tree_/info_fn_imps.hpp \
250         ${assoc_srcdir}/detail/splay_tree_/debug_fn_imps.hpp \
251         ${assoc_srcdir}/detail/splay_tree_/constructors_destructor_fn_imps.hpp \
252         ${assoc_srcdir}/detail/typelist/typelist_transform.hpp \
253         ${assoc_srcdir}/detail/typelist/typelist_apply.hpp \
254         ${assoc_srcdir}/detail/typelist/typelist_filter.hpp \
255         ${assoc_srcdir}/detail/typelist/typelist_at_index.hpp \
256         ${assoc_srcdir}/detail/typelist/typelist_contains.hpp \
257         ${assoc_srcdir}/detail/typelist/typelist_append.hpp \
258         ${assoc_srcdir}/detail/typelist/typelist_typelist_append.hpp \
259         ${assoc_srcdir}/detail/ds_trait_imp.hpp \
260         ${assoc_srcdir}/detail/basic_hash_assoc_cntnr/resize_fn_imps.hpp \
261         ${assoc_srcdir}/detail/basic_hash_assoc_cntnr/constructor_destructor_fn_imps.hpp \
262         ${assoc_srcdir}/detail/basic_hash_assoc_cntnr/constructors_destructor_fn_imps.hpp \
263         ${assoc_srcdir}/detail/cc_ht_map_/resize_store_hash_fn_imps.hpp \
264         ${assoc_srcdir}/detail/cc_ht_map_/find_store_hash_fn_imps.hpp \
265         ${assoc_srcdir}/detail/cc_ht_map_/erase_no_store_hash_fn_imps.hpp \
266         ${assoc_srcdir}/detail/cc_ht_map_/resize_fn_imps.hpp \
267         ${assoc_srcdir}/detail/cc_ht_map_/debug_store_hash_fn_imps.hpp \
268         ${assoc_srcdir}/detail/cc_ht_map_/erase_fn_imps.hpp \
269         ${assoc_srcdir}/detail/cc_ht_map_/policy_access_fn_imps.hpp \
270         ${assoc_srcdir}/detail/cc_ht_map_/cmp_fn_imps.hpp \
271         ${assoc_srcdir}/detail/cc_ht_map_/insert_no_store_hash_fn_imps.hpp \
272         ${assoc_srcdir}/detail/cc_ht_map_/insert_fn_imps.hpp \
273         ${assoc_srcdir}/detail/cc_ht_map_/find_fn_imps.hpp \
274         ${assoc_srcdir}/detail/cc_ht_map_/find_no_store_hash_fn_imps.hpp \
275         ${assoc_srcdir}/detail/cc_ht_map_/cond_key_dtor_entry_dealtor.hpp \
276         ${assoc_srcdir}/detail/cc_ht_map_/constructor_destructor_fn_imps.hpp \
277         ${assoc_srcdir}/detail/cc_ht_map_/entry_list_fn_imps.hpp \
278         ${assoc_srcdir}/detail/cc_ht_map_/constructor_destructor_store_hash_fn_imps.hpp \
279         ${assoc_srcdir}/detail/cc_ht_map_/erase_store_hash_fn_imps.hpp \
280         ${assoc_srcdir}/detail/cc_ht_map_/cc_ht_map_.hpp \
281         ${assoc_srcdir}/detail/cc_ht_map_/constructor_destructor_no_store_hash_fn_imps.hpp \
282         ${assoc_srcdir}/detail/cc_ht_map_/standard_policies.hpp \
283         ${assoc_srcdir}/detail/cc_ht_map_/info_fn_imps.hpp \
284         ${assoc_srcdir}/detail/cc_ht_map_/iterators_fn_imps.hpp \
285         ${assoc_srcdir}/detail/cc_ht_map_/insert_store_hash_fn_imps.hpp \
286         ${assoc_srcdir}/detail/cc_ht_map_/debug_fn_imps.hpp \
287         ${assoc_srcdir}/detail/cc_ht_map_/size_fn_imps.hpp \
288         ${assoc_srcdir}/detail/cc_ht_map_/debug_no_store_hash_fn_imps.hpp \
289         ${assoc_srcdir}/detail/cc_ht_map_/resize_no_store_hash_fn_imps.hpp \
290         ${assoc_srcdir}/detail/gp_ht_map_/resize_store_hash_fn_imps.hpp \
291         ${assoc_srcdir}/detail/gp_ht_map_/find_store_hash_fn_imps.hpp \
292         ${assoc_srcdir}/detail/gp_ht_map_/erase_no_store_hash_fn_imps.hpp \
293         ${assoc_srcdir}/detail/gp_ht_map_/resize_fn_imps.hpp \
294         ${assoc_srcdir}/detail/gp_ht_map_/debug_store_hash_fn_imps.hpp \
295         ${assoc_srcdir}/detail/gp_ht_map_/erase_fn_imps.hpp \
296         ${assoc_srcdir}/detail/gp_ht_map_/policy_access_fn_imps.hpp \
297         ${assoc_srcdir}/detail/gp_ht_map_/insert_no_store_hash_fn_imps.hpp \
298         ${assoc_srcdir}/detail/gp_ht_map_/insert_fn_imps.hpp \
299         ${assoc_srcdir}/detail/gp_ht_map_/find_fn_imps.hpp \
300         ${assoc_srcdir}/detail/gp_ht_map_/find_no_store_hash_fn_imps.hpp \
301         ${assoc_srcdir}/detail/gp_ht_map_/constructor_destructor_fn_imps.hpp \
302         ${assoc_srcdir}/detail/gp_ht_map_/constructor_destructor_store_hash_fn_imps.hpp \
303         ${assoc_srcdir}/detail/gp_ht_map_/erase_store_hash_fn_imps.hpp \
304         ${assoc_srcdir}/detail/gp_ht_map_/constructor_destructor_no_store_hash_fn_imps.hpp \
305         ${assoc_srcdir}/detail/gp_ht_map_/info_fn_imps.hpp \
306         ${assoc_srcdir}/detail/gp_ht_map_/insert_store_hash_fn_imps.hpp \
307         ${assoc_srcdir}/detail/gp_ht_map_/debug_fn_imps.hpp \
308         ${assoc_srcdir}/detail/gp_ht_map_/gp_ht_map_.hpp \
309         ${assoc_srcdir}/detail/gp_ht_map_/iterator_fn_imps.hpp \
310         ${assoc_srcdir}/detail/gp_ht_map_/debug_no_store_hash_fn_imps.hpp \
311         ${assoc_srcdir}/detail/gp_ht_map_/resize_no_store_hash_fn_imps.hpp \
312         ${assoc_srcdir}/detail/tree_policy/order_statistics_imp.hpp \
313         ${assoc_srcdir}/detail/tree_policy/null_node_updator_imp.hpp \
314         ${assoc_srcdir}/detail/types_traits.hpp \
315         ${assoc_srcdir}/detail/mapping_level_imp.hpp \
316         ${assoc_srcdir}/detail/map_debug_base.hpp \
317         ${assoc_srcdir}/detail/resize_policy/ht_prime_size_policy_imp.hpp \
318         ${assoc_srcdir}/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp \
319         ${assoc_srcdir}/detail/resize_policy/hash_prime_size_policy_imp.hpp \
320         ${assoc_srcdir}/detail/resize_policy/size_base.hpp \
321         ${assoc_srcdir}/detail/resize_policy/cc_hash_max_collision_resize_trigger_imp.hpp \
322         ${assoc_srcdir}/detail/resize_policy/hash_exponential_size_policy_imp.hpp \
323         ${assoc_srcdir}/detail/resize_policy/hash_standard_resize_policy_imp.hpp \
324         ${assoc_srcdir}/detail/bin_search_tree_/cond_dtor_entry_dealtor.hpp \
325         ${assoc_srcdir}/detail/bin_search_tree_/find_iterators.hpp \
326         ${assoc_srcdir}/detail/bin_search_tree_/erase_fn_imps.hpp \
327         ${assoc_srcdir}/detail/bin_search_tree_/insert_fn_imps.hpp \
328         ${assoc_srcdir}/detail/bin_search_tree_/find_fn_imps.hpp \
329         ${assoc_srcdir}/detail/bin_search_tree_/cond_key_dtor_entry_dealtor.hpp \
330         ${assoc_srcdir}/detail/bin_search_tree_/node_iterators.hpp \
331         ${assoc_srcdir}/detail/bin_search_tree_/bin_search_tree_.hpp \
332         ${assoc_srcdir}/detail/bin_search_tree_/split_join_fn_imps.hpp \
333         ${assoc_srcdir}/detail/bin_search_tree_/rotate_fn_imps.hpp \
334         ${assoc_srcdir}/detail/bin_search_tree_/info_fn_imps.hpp \
335         ${assoc_srcdir}/detail/bin_search_tree_/iterators_fn_imps.hpp \
336         ${assoc_srcdir}/detail/bin_search_tree_/r_erase_fn_imps.hpp \
337         ${assoc_srcdir}/detail/bin_search_tree_/debug_fn_imps.hpp \
338         ${assoc_srcdir}/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp \
339         ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/r_range_iteration_fn_imps.hpp \
340         ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/erase_fn_imps.hpp \
341         ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/policy_access_fn_imps.hpp \
342         ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/constructor_destructor_fn_imps.hpp \
343         ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/split_join_fn_imps.hpp \
344         ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/r_erase_fn_imps.hpp \
345         ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/range_iteration_fn_imps.hpp \
346         ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/constructors_destructor_fn_imps.hpp \
347         ${assoc_srcdir}/detail/basic_tree_assoc_cntnr/node_iteration_fn_imps.hpp \
348         ${assoc_srcdir}/detail/cc_hash_assoc_cntnr/constructor_destructor_fn_imps.hpp \
349         ${assoc_srcdir}/detail/assoc_cntnr_base.hpp \
350         ${assoc_srcdir}/detail/ms_category_imp.hpp \
351         ${assoc_srcdir}/detail/hash_types_traits.hpp \
352         ${assoc_srcdir}/detail/typelist.hpp \
353         ${assoc_srcdir}/detail/value_type_adapter/invalidation_guarantee_selector.hpp \
354         ${assoc_srcdir}/detail/value_type_adapter/erase_fn_imps.hpp \
355         ${assoc_srcdir}/detail/value_type_adapter/iterator.hpp \
356         ${assoc_srcdir}/detail/value_type_adapter/constructor_destructor_and_related.hpp \
357         ${assoc_srcdir}/detail/value_type_adapter/value_type_traits.hpp \
358         ${assoc_srcdir}/detail/value_type_adapter/insert_fn_imps.hpp \
359         ${assoc_srcdir}/detail/value_type_adapter/find_fn_imps.hpp \
360         ${assoc_srcdir}/detail/value_type_adapter/ref_pair.hpp \
361         ${assoc_srcdir}/detail/value_type_adapter/it_value_type_traits.hpp \
362         ${assoc_srcdir}/detail/value_type_adapter/info_fn_imps.hpp \
363         ${assoc_srcdir}/detail/value_type_adapter/erase_if_pred.hpp \
364         ${assoc_srcdir}/detail/value_type_adapter/value_type_adapter.hpp \
365         ${assoc_srcdir}/detail/value_type_adapter/iterator_fn_imps.hpp \
366         ${assoc_srcdir}/detail/lu_policy/mtf_lu_policy_imp.hpp \
367         ${assoc_srcdir}/detail/lu_policy/counter_lu_policy_imp.hpp \
368         ${assoc_srcdir}/detail/lu_policy/counter_lu_metadata_imp.hpp \
369         ${assoc_srcdir}/detail/gp_hash_assoc_cntnr/constructor_destructor_fn_imps.hpp \
370         ${assoc_srcdir}/detail/unordered_iterator/find_iterator.hpp \
371         ${assoc_srcdir}/detail/unordered_iterator/iterator.hpp \
372         ${assoc_srcdir}/detail/unordered_iterator/const_iterator.hpp \
373         ${assoc_srcdir}/detail/unordered_iterator/const_find_iterator.hpp \
374         ${assoc_srcdir}/detail/standard_policies.hpp \
375         ${assoc_srcdir}/detail/standard_sizes.hpp \
376         ${assoc_srcdir}/detail/ov_tree_map_/erase_fn_imps.hpp \
377         ${assoc_srcdir}/detail/ov_tree_map_/insert_fn_imps.hpp \
378         ${assoc_srcdir}/detail/ov_tree_map_/find_fn_imps.hpp \
379         ${assoc_srcdir}/detail/ov_tree_map_/ov_tree_map_.hpp \
380         ${assoc_srcdir}/detail/ov_tree_map_/node_iterators.hpp \
381         ${assoc_srcdir}/detail/ov_tree_map_/split_join_fn_imps.hpp \
382         ${assoc_srcdir}/detail/ov_tree_map_/cond_dtor.hpp \
383         ${assoc_srcdir}/detail/ov_tree_map_/info_fn_imps.hpp \
384         ${assoc_srcdir}/detail/ov_tree_map_/iterators_fn_imps.hpp \
385         ${assoc_srcdir}/detail/ov_tree_map_/debug_fn_imps.hpp \
386         ${assoc_srcdir}/detail/ov_tree_map_/constructors_destructor_fn_imps.hpp \
387         ${assoc_srcdir}/detail/lu_assoc_cntnr/policy_access_fn_imps.hpp \
388         ${assoc_srcdir}/detail/lu_assoc_cntnr/constructor_destructor_fn_imps.hpp \
389         ${assoc_srcdir}/detail/hash_fn/linear_probe_fn_imp.hpp \
390         ${assoc_srcdir}/detail/hash_fn/mod_based_range_hashing.hpp \
391         ${assoc_srcdir}/detail/hash_fn/direct_mod_range_hashing_imp.hpp \
392         ${assoc_srcdir}/detail/hash_fn/probe_fn_base.hpp \
393         ${assoc_srcdir}/detail/hash_fn/ranged_probe_fn.hpp \
394         ${assoc_srcdir}/detail/hash_fn/quadratic_probe_fn_imp.hpp \
395         ${assoc_srcdir}/detail/hash_fn/direct_mask_range_hashing_imp.hpp \
396         ${assoc_srcdir}/detail/hash_fn/ranged_hash_fn.hpp \
397         ${assoc_srcdir}/detail/hash_fn/mask_based_range_hashing.hpp \
398         ${assoc_srcdir}/detail/eq_fn/eq_by_less.hpp \
399         ${assoc_srcdir}/detail/eq_fn/hash_eq_fn.hpp \
400         ${assoc_srcdir}/detail/rb_tree_map_/erase_fn_imps.hpp \
401         ${assoc_srcdir}/detail/rb_tree_map_/node.hpp \
402         ${assoc_srcdir}/detail/rb_tree_map_/insert_fn_imps.hpp \
403         ${assoc_srcdir}/detail/rb_tree_map_/find_fn_imps.hpp \
404         ${assoc_srcdir}/detail/rb_tree_map_/split_join_fn_imps.hpp \
405         ${assoc_srcdir}/detail/rb_tree_map_/rb_tree_.hpp \
406         ${assoc_srcdir}/detail/rb_tree_map_/info_fn_imps.hpp \
407         ${assoc_srcdir}/detail/rb_tree_map_/debug_fn_imps.hpp \
408         ${assoc_srcdir}/detail/rb_tree_map_/constructors_destructor_fn_imps.hpp \
409         ${assoc_srcdir}/detail/lu_map_/lu_map_.hpp \
410         ${assoc_srcdir}/detail/lu_map_/erase_fn_imps.hpp \
411         ${assoc_srcdir}/detail/lu_map_/policy_access_fn_imps.hpp \
412         ${assoc_srcdir}/detail/lu_map_/insert_fn_imps.hpp \
413         ${assoc_srcdir}/detail/lu_map_/find_fn_imps.hpp \
414         ${assoc_srcdir}/detail/lu_map_/constructor_destructor_fn_imps.hpp \
415         ${assoc_srcdir}/detail/lu_map_/info_fn_imps.hpp \
416         ${assoc_srcdir}/detail/lu_map_/iterators_fn_imps.hpp \
417         ${assoc_srcdir}/detail/lu_map_/debug_fn_imps.hpp \
418         ${assoc_srcdir}/detail/constructors_destructor_fn_imps.hpp \
419         ${assoc_srcdir}/detail/ms_trait_imp.hpp \
420         ${assoc_srcdir}/detail/cond_dealtor.hpp \
421         ${assoc_srcdir}/hash_policy.hpp \
422         ${assoc_srcdir}/trivial_iterator_def.hpp \
423         ${assoc_srcdir}/ds_trait.hpp \
424         ${assoc_srcdir}/exception.hpp \
425         ${assoc_srcdir}/tree_policy.hpp \
426         ${assoc_srcdir}/lu_policy.hpp \
427         ${assoc_srcdir}/ms_trait.hpp \
428         ${assoc_srcdir}/assoc_cntnr.hpp \
429         ${assoc_srcdir}/data_type.hpp 
432 ext_srcdir = ${glibcxx_srcdir}/include/ext
433 ext_builddir = ./ext 
434 ext_headers = \
435         ${ext_srcdir}/algorithm \
436         ${ext_srcdir}/array_allocator.h \
437         ${ext_srcdir}/bitmap_allocator.h \
438         ${ext_srcdir}/codecvt_specializations.h \
439         ${ext_srcdir}/debug_allocator.h \
440         ${ext_srcdir}/stdio_filebuf.h \
441         ${ext_srcdir}/stdio_sync_filebuf.h \
442         ${ext_srcdir}/functional \
443         ${ext_srcdir}/hash_map \
444         ${ext_srcdir}/hash_set \
445         ${ext_srcdir}/hash_fun.h \
446         ${ext_srcdir}/hashtable.h \
447         ${ext_srcdir}/iterator \
448         ${ext_srcdir}/malloc_allocator.h \
449         ${ext_srcdir}/memory \
450         ${ext_srcdir}/mt_allocator.h \
451         ${ext_srcdir}/new_allocator.h \
452         ${ext_srcdir}/numeric \
453         ${ext_srcdir}/pod_char_traits.h \
454         ${ext_srcdir}/pool_allocator.h \
455         ${ext_srcdir}/rb_tree \
456         ${ext_srcdir}/rope \
457         ${ext_srcdir}/ropeimpl.h \
458         ${ext_srcdir}/slist \
459         ${ext_srcdir}/typelist.h \
460         ${ext_srcdir}/rc_string_base.h \
461         ${ext_srcdir}/sso_string_base.h \
462         ${ext_srcdir}/vstring.h \
463         ${ext_srcdir}/vstring.tcc \
464         ${ext_srcdir}/vstring_fwd.h \
465         ${ext_srcdir}/vstring_util.h    
468 tr1_srcdir = ${glibcxx_srcdir}/include/tr1
469 tr1_builddir = ./tr1
470 tr1_headers = \
471         ${tr1_srcdir}/array \
472         ${tr1_srcdir}/bind_repeat.h \
473         ${tr1_srcdir}/bind_iterate.h \
474         ${tr1_srcdir}/boost_shared_ptr.h \
475         ${tr1_srcdir}/mu_iterate.h \
476         ${tr1_srcdir}/functional \
477         ${tr1_srcdir}/functional_iterate.h \
478         ${tr1_srcdir}/memory \
479         ${tr1_srcdir}/ref_fwd.h \
480         ${tr1_srcdir}/ref_wrap_iterate.h \
481         ${tr1_srcdir}/repeat.h \
482         ${tr1_srcdir}/tuple \
483         ${tr1_srcdir}/tuple_iterate.h \
484         ${tr1_srcdir}/utility \
485         ${tr1_srcdir}/type_traits \
486         ${tr1_srcdir}/type_traits_fwd.h \
487         ${tr1_srcdir}/hashtable \
488         ${tr1_srcdir}/unordered_set \
489         ${tr1_srcdir}/unordered_map
492 # This is the common subset of files that all three "C" header models use.
493 c_base_srcdir = $(C_INCLUDE_DIR)
494 c_base_builddir = .
495 c_base_headers = \
496         ${c_base_srcdir}/std_cassert.h \
497         ${c_base_srcdir}/std_cctype.h \
498         ${c_base_srcdir}/std_cerrno.h \
499         ${c_base_srcdir}/std_cfloat.h \
500         ${c_base_srcdir}/std_ciso646.h \
501         ${c_base_srcdir}/std_climits.h \
502         ${c_base_srcdir}/std_clocale.h \
503         ${c_base_srcdir}/std_cmath.h \
504         ${c_base_srcdir}/std_csetjmp.h \
505         ${c_base_srcdir}/std_csignal.h \
506         ${c_base_srcdir}/std_cstdarg.h \
507         ${c_base_srcdir}/std_cstddef.h \
508         ${c_base_srcdir}/std_cstdio.h \
509         ${c_base_srcdir}/std_cstdlib.h \
510         ${c_base_srcdir}/std_cstring.h \
511         ${c_base_srcdir}/std_ctime.h \
512         ${c_base_srcdir}/std_cwchar.h \
513         ${c_base_srcdir}/std_cwctype.h
514 c_base_headers_rename = \
515         cassert \
516         cctype \
517         cerrno \
518         cfloat \
519         ciso646 \
520         climits \
521         clocale \
522         cmath \
523         csetjmp \
524         csignal \
525         cstdarg \
526         cstddef \
527         cstdio \
528         cstdlib \
529         cstring \
530         ctime \
531         cwchar \
532         cwctype
534 # "C" compatibility headers.
535 c_compatibility_srcdir = ${glibcxx_srcdir}/include/c_compatibility
536 c_compatibility_builddir = .
537 c_compatibility_headers = \
538         ${c_compatibility_srcdir}/assert.h \
539         ${c_compatibility_srcdir}/ctype.h \
540         ${c_compatibility_srcdir}/errno.h \
541         ${c_compatibility_srcdir}/float.h \
542         ${c_compatibility_srcdir}/iso646.h \
543         ${c_compatibility_srcdir}/limits.h \
544         ${c_compatibility_srcdir}/locale.h \
545         ${c_compatibility_srcdir}/math.h \
546         ${c_compatibility_srcdir}/setjmp.h \
547         ${c_compatibility_srcdir}/signal.h \
548         ${c_compatibility_srcdir}/stdarg.h \
549         ${c_compatibility_srcdir}/stddef.h \
550         ${c_compatibility_srcdir}/stdio.h \
551         ${c_compatibility_srcdir}/stdlib.h \
552         ${c_compatibility_srcdir}/string.h \
553         ${c_compatibility_srcdir}/time.h \
554         ${c_compatibility_srcdir}/wchar.h \
555         ${c_compatibility_srcdir}/wctype.h
557 # Debug mode headers
558 debug_srcdir = ${glibcxx_srcdir}/include/debug
559 debug_builddir = ./debug
560 debug_headers = \
561         ${debug_srcdir}/bitset \
562         ${debug_srcdir}/debug.h \
563         ${debug_srcdir}/deque \
564         ${debug_srcdir}/formatter.h \
565         ${debug_srcdir}/functions.h \
566         ${debug_srcdir}/hash_map \
567         ${debug_srcdir}/hash_map.h \
568         ${debug_srcdir}/hash_multimap.h \
569         ${debug_srcdir}/hash_multiset.h \
570         ${debug_srcdir}/hash_set \
571         ${debug_srcdir}/hash_set.h \
572         ${debug_srcdir}/list \
573         ${debug_srcdir}/map \
574         ${debug_srcdir}/macros.h \
575         ${debug_srcdir}/map.h \
576         ${debug_srcdir}/multimap.h \
577         ${debug_srcdir}/multiset.h \
578         ${debug_srcdir}/safe_base.h \
579         ${debug_srcdir}/safe_iterator.h \
580         ${debug_srcdir}/safe_iterator.tcc \
581         ${debug_srcdir}/safe_sequence.h \
582         ${debug_srcdir}/set \
583         ${debug_srcdir}/set.h \
584         ${debug_srcdir}/string \
585         ${debug_srcdir}/vector
587 # Some of the different "C" header models need extra files.
588 # Some "C" header schemes require the "C" compatibility headers.
589 # For --enable-cheaders=c_std
590 if GLIBCXX_C_HEADERS_C_STD
591 c_base_headers_extra = ${c_base_srcdir}/cmath.tcc
592 else
593 c_base_headers_extra =
594 endif
596 if GLIBCXX_C_HEADERS_COMPATIBILITY
597 c_compatibility_headers_extra = ${c_compatibility_headers}
598 else
599 c_compatibility_headers_extra =
600 endif
602 host_srcdir = ${glibcxx_srcdir}/$(OS_INC_SRCDIR)
603 host_builddir = ./${host_alias}/bits
604 host_headers = \
605         ${host_srcdir}/ctype_base.h \
606         ${host_srcdir}/ctype_inline.h \
607         ${host_srcdir}/ctype_noninline.h \
608         ${host_srcdir}/os_defines.h \
609         ${glibcxx_srcdir}/$(ATOMIC_WORD_SRCDIR)/atomic_word.h \
610         ${glibcxx_srcdir}/$(ABI_TWEAKS_SRCDIR)/cxxabi_tweaks.h
612 # Non-installed host_header files.
613 COMPATIBILITY_H = config/abi/compatibility.h
614 host_headers_noinst = \
615         ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H) \
616         ${glibcxx_srcdir}/$(COMPATIBILITY_H)
618 # These host_headers_extra files are all built with ad hoc naming rules.
619 host_headers_extra = \
620         ${host_builddir}/basic_file.h \
621         ${host_builddir}/c++config.h \
622         ${host_builddir}/c++allocator.h \
623         ${host_builddir}/c++io.h \
624         ${host_builddir}/c++locale.h \
625         ${host_builddir}/messages_members.h \
626         ${host_builddir}/time_members.h 
628 thread_host_headers = \
629         ${host_builddir}/gthr.h \
630         ${host_builddir}/gthr-single.h \
631         ${host_builddir}/gthr-posix.h \
632         ${host_builddir}/gthr-tpf.h \
633         ${host_builddir}/gthr-default.h
635 pch_input = ${host_builddir}/stdc++.h
636 pch_output_builddir = ${host_builddir}/stdc++.h.gch
637 pch_source = ${glibcxx_srcdir}/include/stdc++.h
638 PCHFLAGS=-Winvalid-pch -Wno-deprecated -x c++-header $(CXXFLAGS)
639 if GLIBCXX_BUILD_PCH
640 pch_build = ${pch_input}
641 pch_install = install-pch
642 else
643 pch_build =
644 pch_install =
645 endif
647 # List of all timestamp files.  By keeping only one copy of this list, both
648 # CLEANFILES and all-local are kept up-to-date.
649 allstamped = \
650         stamp-std stamp-bits stamp-c_base stamp-c_compatibility \
651         stamp-backward stamp-ext stamp-assoc stamp-tr1 stamp-debug stamp-host
653 # List of all files that are created by explicit building, editing, or
654 # catenation.
655 allcreated = \
656         ${host_builddir}/c++config.h \
657         ${thread_host_headers} \
658         ${pch_build}
660 # Here are the rules for building the headers
661 all-local: ${allstamped} ${allcreated}
663 # This rule is slightly different, in that we must change the name of the
664 # local file from std_foo.h to foo.
665 stamp-std: ${std_headers}
666         @if [ ! -d "${std_builddir}" ]; then \
667           mkdir -p ${std_builddir} ;\
668         fi ;\
669         if [ ! -f stamp-std ]; then \
670           (cd ${std_builddir} && for h in $?; do \
671             build_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
672             $(LN_S) $$h ./$${build_name} || true ;\
673           done) ;\
674         fi ;\
675         $(STAMP) stamp-std
677 stamp-bits: ${bits_headers}
678         @if [ ! -d "${bits_builddir}" ]; then \
679           mkdir -p ${bits_builddir} ;\
680         fi ;\
681         if [ ! -f stamp-bits ]; then \
682           (cd ${bits_builddir} && $(LN_S) $? . || true) ;\
683         fi ;\
684         $(STAMP) stamp-bits
686 stamp-c_base: stamp-bits ${c_base_headers} ${c_base_headers_extra}
687         @if [ ! -d "${c_base_builddir}" ]; then \
688           mkdir -p ${c_base_builddir} ;\
689         fi ;\
690         if [ ! -f stamp-c_base ]; then \
691           (cd ${c_base_builddir} && for h in ${c_base_headers}; do \
692             build_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
693             $(LN_S) $$h ./$${build_name} || true ;\
694           done) ;\
695           if [ ! -z "${c_base_headers_extra}" ]; then \
696           (cd ${bits_builddir} && $(LN_S) ${c_base_headers_extra}  . || true) ;\
697           fi ;\
698         fi ;\
699         $(STAMP) stamp-c_base
701 stamp-c_compatibility: ${c_compatibility_headers_extra}
702         @if [ ! -d "${c_compatibility_builddir}" ]; then \
703           mkdir -p ${c_compatibility_builddir} ;\
704         fi ;\
705         if [ ! -f stamp-c_compatibility ]; then \
706           if [ ! -z "${c_compatibility_headers_extra}" ]; then \
707             (cd ${c_compatibility_builddir} && $(LN_S) $? . || true) ;\
708           fi ;\
709         fi ;\
710         $(STAMP) stamp-c_compatibility
712 stamp-backward: ${backward_headers}
713         @if [ ! -d "${backward_builddir}" ]; then \
714           mkdir -p ${backward_builddir} ;\
715         fi ;\
716         if [ ! -f stamp-backward ]; then \
717           (cd ${backward_builddir} && $(LN_S) $? . || true) ;\
718         fi ;\
719         $(STAMP) stamp-backward
721 stamp-ext: ${ext_headers}
722         @if [ ! -d "${ext_builddir}" ]; then \
723             mkdir -p ${ext_builddir} ;\
724         fi ;\
725         if [ ! -f stamp-ext ]; then \
726           (cd ${ext_builddir} && $(LN_S) $? . || true) ;\
727         fi ;\
728         $(STAMP) stamp-ext
730 # Have to deal with nested include directories, gah! Strip off source
731 # directory before making the link.
732 stamp-assoc: ${assoc_headers}
733         @if [ ! -d "${assoc_builddir}" ]; then \
734             mkdir -p ${assoc_subdirs} ;\
735         fi ;\
736         if [ ! -f stamp-assoc ]; then \
737           (cd ${assoc_builddir} && for h in $?; do \
738             build_name=`echo $$h | sed -e "s|${assoc_srcdir}|.|g"` ;\
739             $(LN_S) $$h $${build_name} || true ;\
740           done) ;\
741         fi ;\
742         $(STAMP) stamp-assoc
744 stamp-tr1: ${tr1_headers}
745         @if [ ! -d "${tr1_builddir}" ]; then \
746             mkdir -p ${tr1_builddir} ;\
747         fi ;\
748         if [ ! -f stamp-tr1 ]; then \
749           (cd ${tr1_builddir} && $(LN_S) $? . || true) ;\
750         fi ;\
751         $(STAMP) stamp-tr1
753 stamp-debug: ${debug_headers}
754         @if [ ! -d "${debug_builddir}" ]; then \
755           mkdir -p ${debug_builddir} ;\
756         fi ;\
757         if [ ! -f stamp-debug ]; then \
758           (cd ${debug_builddir} && @LN_S@ $? . || true) ;\
759         fi ;\
760         $(STAMP) stamp-debug
762 stamp-${host_alias}:
763         @if [ ! -d ${host_builddir} ]; then \
764           mkdir -p ${host_builddir} ;\
765         fi ;\
766         $(STAMP) stamp-${host_alias}
768 # Host includes static.
769 # XXX Missing dependency info for {host_headers_extra}
770 stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias}
771         @if [ ! -f stamp-host ]; then \
772           (cd ${host_builddir} ;\
773           $(LN_S) ${host_headers} . || true ;\
774           $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_H) basic_file.h || true ;\
775           $(LN_S) ${glibcxx_srcdir}/$(ALLOCATOR_H) c++allocator.h || true ;\
776           $(LN_S) ${glibcxx_srcdir}/$(CSTDIO_H) c++io.h || true ;\
777           $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_H) c++locale.h || true ;\
778           $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H) . || true ;\
779           $(LN_S) ${glibcxx_srcdir}/$(COMPATIBILITY_H) . || true ;\
780           $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_H) messages_members.h || true ;\
781           $(LN_S) ${glibcxx_srcdir}/$(CTIME_H) time_members.h || true ;\
782           $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_H) codecvt_specializations.h || true);\
783         fi ;\
784         $(STAMP) stamp-host
786 # Host includes dynamic.
787 ${host_builddir}/c++config.h: ${top_builddir}/config.h \
788                                 ${glibcxx_srcdir}/include/bits/c++config \
789                                 stamp-${host_alias} \
790                                 ${toplevel_srcdir}/gcc/DATESTAMP
791         @cat ${glibcxx_srcdir}/include/bits/c++config > $@ ;\
792         sed -e 's/^/#define __GLIBCXX__ /' \
793             < ${toplevel_srcdir}/gcc/DATESTAMP >> $@ ;\
794         sed -e 's/HAVE_/_GLIBCXX_HAVE_/g' \
795             -e 's/PACKAGE/_GLIBCXX_PACKAGE/g' \
796             -e 's/VERSION/_GLIBCXX_VERSION/g' \
797             -e 's/WORDS_/_GLIBCXX_WORDS_/g' \
798             < ${CONFIG_HEADER} >> $@ ;\
799         echo "#endif // _CXXCONFIG_" >>$@
801 # Host includes for threads
802 uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
804 ${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
805         sed -e '/^#pragma/b' \
806             -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
807             -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
808             -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
809             < ${toplevel_srcdir}/gcc/gthr.h > $@
811 ${host_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
812                                   stamp-${host_alias}
813         sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
814             -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
815             < ${toplevel_srcdir}/gcc/gthr-single.h > $@
817 ${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
818                                    stamp-${host_alias}
819         sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
820             -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
821             -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
822             -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
823             < ${toplevel_srcdir}/gcc/gthr-posix.h > $@
825 ${host_builddir}/gthr-tpf.h: ${toplevel_srcdir}/gcc/gthr-tpf.h \
826                                    stamp-${host_alias}
827         sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
828             -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
829             -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
830             -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
831             < ${toplevel_srcdir}/gcc/gthr-tpf.h > $@
833 ${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \
834                                    stamp-${host_alias}
835         sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
836             -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
837             -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
838             -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
839             -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
840             < ${toplevel_srcdir}/gcc/${glibcxx_thread_h} > $@
842 # Build a precompiled C++ include, stdc++.h.gch.
843 ${pch_input}: ${allstamped} ${host_builddir}/c++config.h ${pch_source}
844         touch ${pch_input}; \
845         if [ ! -d "${pch_output_builddir}" ]; then \
846           mkdir -p ${pch_output_builddir}; \
847         fi; \
848         $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) ${pch_source} -O0 -g -o ${pch_output_builddir}/O0g.gch; \
849         $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) ${pch_source} -O2 -g -o ${pch_output_builddir}/O2g.gch;
851 # For robustness sake (in light of junk files or in-source
852 # configuration), copy from the build or source tree to the install
853 # tree using only the human-maintained file lists and directory
854 # components.  Yes, with minor differences, this is sheer duplication
855 # of the staging rules above using $(INSTALL_DATA) instead of LN_S and
856 # `$(mkinstalldirs)' instead of `mkdir -p'.  In particular,
857 # host_headers_extra are taken out of the build tree staging area;
858 # the rest are taken from the original source tree.
860 if GLIBCXX_HOSTED
861 install-data-local: install-headers ${pch_install}
862 else
863 install-data-local: install-freestanding-headers
864 endif
866 # This is a subset of the full install-headers rule.  We only need <cstddef>,
867 # <limits>, <cstdlib>, <cstdarg>, <new>, <typeinfo>, <exception>, and any
868 # files which they include (and which we provide).  The last three headers
869 # are installed by libsupc++, so only the first four and the sub-includes
870 # are copied here.
871 install-freestanding-headers:
872         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
873         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir}
874         for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h; do \
875           $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done
876         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
877         $(INSTALL_DATA) ${std_builddir}/limits $(DESTDIR)${gxx_include_dir}/${std_builddir}
878         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
879         for file in cstddef cstdlib cstdarg; do \
880           $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
882 # The real deal.
883 install-headers:
884         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
885         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${bits_builddir}
886         for file in ${bits_headers}; do \
887           $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
888         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${backward_builddir}
889         for file in ${backward_headers}; do \
890           $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${backward_builddir}; done
891         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${ext_builddir}
892         for file in ${ext_headers}; do \
893           $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${ext_builddir}; done
894         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${assoc_builddir}
895         for dir in ${assoc_subdirs}; do \
896           $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/$${dir} ; done
897         for file in ${assoc_headers}; do \
898           install_base=$(DESTDIR)${gxx_include_dir}/${assoc_builddir} ; \
899           relative_name=`echo $$file | sed -e "s|${assoc_srcdir}|.|g"` ;\
900           $(INSTALL_DATA) $${file} $${install_base}/$${relative_name} ; done
901         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${tr1_builddir}
902         for file in ${tr1_headers}; do \
903           $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${tr1_builddir}; done
904         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
905         for file in ${c_base_headers_rename}; do \
906           $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
907         c_base_headers_extra_install='$(c_base_headers_extra)';\
908         for file in $$c_base_headers_extra_install; do \
909           $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
910         c_compatibility_headers_install='$(c_compatibility_headers_extra)';\
911         for file in $$c_compatibility_headers_install; do \
912           $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}; done
913         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
914         for file in ${std_headers_rename}; do \
915           $(INSTALL_DATA) ${std_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done
916         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${debug_builddir}
917         for file in ${debug_headers}; do \
918           $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${debug_builddir}; done
919         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir}
920         for file in ${host_headers} ${host_headers_extra} \
921          ${thread_host_headers}; do \
922           $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done
924 install-pch:
925         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}
926         for file in ${pch_output_builddir}/*; do \
927           $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}; done
929 # By adding these files here, automake will remove them for 'make clean'
930 CLEANFILES = ${pch_input} ${pch_output_builddir}/*
932 # Stop implicit '.o' make rules from ever stomping on extensionless
933 # headers, in the improbable case where some foolish, crack-addled
934 # developer tries to create them via make in the include build
935 # directory. (This is more of an example of how this kind of rule can
936 # be made.)
937 .PRECIOUS: $(std_headers_rename) $(c_base_headers_rename)
938 $(std_headers_rename): ; @:
939 $(c_base_headers_rename): ; @: