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