]>
Commit | Line | Data |
---|---|---|
4a9d5109 SW |
1 | ## Makefile for the include subdirectory of the GNU C++ Standard library. |
2 | ## | |
7bfea936 | 3 | ## Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
4a9d5109 SW |
4 | ## |
5 | ## This file is part of the libstdc++ version 3 distribution. | |
6 | ## Process this file with automake to produce Makefile.in. | |
7 | ||
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. | |
13 | ||
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. | |
18 | ||
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. | |
23 | ||
4a9d5109 SW |
24 | AUTOMAKE_OPTIONS = 1.3 gnits |
25 | MAINT_CHARSET = latin1 | |
26 | ||
27 | mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs | |
28 | ||
29 | # Cross compiler and multilib support. | |
30 | CXX = @glibcpp_CXX@ | |
31 | glibcpp_srcdir=@glibcpp_srcdir@ | |
32 | glibcpp_builddir=@glibcpp_builddir@ | |
33 | ||
34 | bits_srcdir = ${glibcpp_srcdir}/include/bits | |
35 | bits_builddir = ./bits | |
36 | bits_headers = \ | |
4a9d5109 SW |
37 | ${bits_srcdir}/basic_ios.h \ |
38 | ${bits_srcdir}/basic_ios.tcc \ | |
39 | ${bits_srcdir}/basic_string.h \ | |
40 | ${bits_srcdir}/basic_string.tcc \ | |
41 | ${bits_srcdir}/boost_concept_check.h \ | |
42 | ${bits_srcdir}/char_traits.h \ | |
43 | ${bits_srcdir}/codecvt.h \ | |
44 | ${bits_srcdir}/concept_check.h \ | |
45 | ${bits_srcdir}/cpp_type_traits.h \ | |
46 | ${bits_srcdir}/fpos.h \ | |
47 | ${bits_srcdir}/fstream.tcc \ | |
48 | ${bits_srcdir}/functexcept.h \ | |
49 | ${bits_srcdir}/generic_shadow.h \ | |
50 | ${bits_srcdir}/gslice.h \ | |
51 | ${bits_srcdir}/gslice_array.h \ | |
52 | ${bits_srcdir}/indirect_array.h \ | |
53 | ${bits_srcdir}/ios_base.h \ | |
54 | ${bits_srcdir}/istream.tcc \ | |
55 | ${bits_srcdir}/locale_facets.h \ | |
56 | ${bits_srcdir}/locale_facets.tcc \ | |
57 | ${bits_srcdir}/localefwd.h \ | |
58 | ${bits_srcdir}/mask_array.h \ | |
59 | ${bits_srcdir}/ostream.tcc \ | |
60 | ${bits_srcdir}/pthread_allocimpl.h \ | |
61 | ${bits_srcdir}/stream_iterator.h \ | |
62 | ${bits_srcdir}/streambuf_iterator.h \ | |
63 | ${bits_srcdir}/slice.h \ | |
64 | ${bits_srcdir}/slice_array.h \ | |
65 | ${bits_srcdir}/sstream.tcc \ | |
4a9d5109 SW |
66 | ${bits_srcdir}/stl_algo.h \ |
67 | ${bits_srcdir}/stl_algobase.h \ | |
68 | ${bits_srcdir}/stl_alloc.h \ | |
69 | ${bits_srcdir}/stl_bvector.h \ | |
70 | ${bits_srcdir}/stl_construct.h \ | |
71 | ${bits_srcdir}/stl_deque.h \ | |
72 | ${bits_srcdir}/stl_function.h \ | |
73 | ${bits_srcdir}/stl_heap.h \ | |
74 | ${bits_srcdir}/stl_iterator.h \ | |
75 | ${bits_srcdir}/stl_iterator_base_funcs.h \ | |
76 | ${bits_srcdir}/stl_iterator_base_types.h \ | |
77 | ${bits_srcdir}/stl_list.h \ | |
78 | ${bits_srcdir}/stl_map.h \ | |
79 | ${bits_srcdir}/stl_multimap.h \ | |
80 | ${bits_srcdir}/stl_multiset.h \ | |
81 | ${bits_srcdir}/stl_numeric.h \ | |
82 | ${bits_srcdir}/stl_pair.h \ | |
83 | ${bits_srcdir}/stl_pthread_alloc.h \ | |
84 | ${bits_srcdir}/stl_queue.h \ | |
85 | ${bits_srcdir}/stl_raw_storage_iter.h \ | |
86 | ${bits_srcdir}/stl_relops.h \ | |
87 | ${bits_srcdir}/stl_set.h \ | |
88 | ${bits_srcdir}/stl_stack.h \ | |
89 | ${bits_srcdir}/stl_tempbuf.h \ | |
90 | ${bits_srcdir}/stl_threads.h \ | |
91 | ${bits_srcdir}/stl_tree.h \ | |
92 | ${bits_srcdir}/stl_uninitialized.h \ | |
93 | ${bits_srcdir}/stl_vector.h \ | |
94 | ${bits_srcdir}/streambuf.tcc \ | |
95 | ${bits_srcdir}/stringfwd.h \ | |
96 | ${bits_srcdir}/type_traits.h \ | |
97 | ${bits_srcdir}/valarray_array.h \ | |
98 | ${bits_srcdir}/valarray_array.tcc \ | |
99 | ${bits_srcdir}/valarray_meta.h | |
100 | ||
101 | backward_srcdir = ${glibcpp_srcdir}/include/backward | |
102 | backward_builddir = ./backward | |
103 | backward_headers = \ | |
104 | ${backward_srcdir}/complex.h \ | |
105 | ${backward_srcdir}/iomanip.h \ | |
106 | ${backward_srcdir}/istream.h \ | |
107 | ${backward_srcdir}/ostream.h \ | |
108 | ${backward_srcdir}/stream.h \ | |
109 | ${backward_srcdir}/streambuf.h \ | |
110 | ${backward_srcdir}/algo.h \ | |
111 | ${backward_srcdir}/algobase.h \ | |
112 | ${backward_srcdir}/alloc.h \ | |
113 | ${backward_srcdir}/bvector.h \ | |
114 | ${backward_srcdir}/defalloc.h \ | |
115 | ${backward_srcdir}/deque.h \ | |
116 | ${backward_srcdir}/function.h \ | |
117 | ${backward_srcdir}/hash_map.h \ | |
118 | ${backward_srcdir}/hash_set.h \ | |
119 | ${backward_srcdir}/hashtable.h \ | |
120 | ${backward_srcdir}/heap.h \ | |
121 | ${backward_srcdir}/iostream.h \ | |
122 | ${backward_srcdir}/iterator.h \ | |
123 | ${backward_srcdir}/list.h \ | |
124 | ${backward_srcdir}/map.h \ | |
125 | ${backward_srcdir}/multimap.h \ | |
126 | ${backward_srcdir}/new.h \ | |
127 | ${backward_srcdir}/multiset.h \ | |
128 | ${backward_srcdir}/pair.h \ | |
129 | ${backward_srcdir}/queue.h \ | |
130 | ${backward_srcdir}/rope.h \ | |
131 | ${backward_srcdir}/set.h \ | |
132 | ${backward_srcdir}/slist.h \ | |
133 | ${backward_srcdir}/stack.h \ | |
134 | ${backward_srcdir}/tempbuf.h \ | |
135 | ${backward_srcdir}/tree.h \ | |
136 | ${backward_srcdir}/vector.h \ | |
137 | ${backward_srcdir}/fstream.h \ | |
138 | ${backward_srcdir}/strstream.h \ | |
139 | ${backward_srcdir}/strstream \ | |
140 | ${backward_srcdir}/backward_warning.h | |
141 | ||
142 | ext_srcdir = ${glibcpp_srcdir}/include/ext | |
143 | ext_builddir = ./ext | |
144 | ext_headers = \ | |
2c1bc4eb | 145 | ${ext_srcdir}/algorithm \ |
01b0d4b8 | 146 | ${ext_srcdir}/functional \ |
3d90ff93 PE |
147 | ${ext_srcdir}/hash_map \ |
148 | ${ext_srcdir}/hash_set \ | |
149 | ${ext_srcdir}/iterator \ | |
f53d0ff1 | 150 | ${ext_srcdir}/memory \ |
01b0d4b8 | 151 | ${ext_srcdir}/numeric \ |
3b007b5d | 152 | ${ext_srcdir}/rb_tree \ |
4a9d5109 SW |
153 | ${ext_srcdir}/rope \ |
154 | ${ext_srcdir}/ropeimpl.h \ | |
4a9d5109 | 155 | ${ext_srcdir}/slist \ |
3d90ff93 | 156 | ${ext_srcdir}/stl_hash_fun.h \ |
4a9d5109 | 157 | ${ext_srcdir}/stl_hashtable.h \ |
3d90ff93 | 158 | ${ext_srcdir}/stl_rope.h |
4a9d5109 SW |
159 | |
160 | # This is the common subset of files that all three "C" header models use. | |
30c1fa76 | 161 | c_base_srcdir = @C_INCLUDE_DIR@ |
73249e33 | 162 | c_base_builddir = . |
4a9d5109 | 163 | c_base_headers = \ |
c5535768 BK |
164 | ${c_base_srcdir}/std_cassert.h \ |
165 | ${c_base_srcdir}/std_cctype.h \ | |
166 | ${c_base_srcdir}/std_cerrno.h \ | |
167 | ${c_base_srcdir}/std_cfloat.h \ | |
168 | ${c_base_srcdir}/std_ciso646.h \ | |
169 | ${c_base_srcdir}/std_climits.h \ | |
170 | ${c_base_srcdir}/std_clocale.h \ | |
171 | ${c_base_srcdir}/std_cmath.h \ | |
172 | ${c_base_srcdir}/std_csetjmp.h \ | |
173 | ${c_base_srcdir}/std_csignal.h \ | |
174 | ${c_base_srcdir}/std_cstdarg.h \ | |
175 | ${c_base_srcdir}/std_cstddef.h \ | |
176 | ${c_base_srcdir}/std_cstdio.h \ | |
177 | ${c_base_srcdir}/std_cstdlib.h \ | |
178 | ${c_base_srcdir}/std_cstring.h \ | |
179 | ${c_base_srcdir}/std_ctime.h \ | |
180 | ${c_base_srcdir}/std_cwchar.h \ | |
181 | ${c_base_srcdir}/std_cwctype.h | |
182 | # Some of the "C" headers need extra files. | |
183 | c_base_headers_extra = \ | |
4a9d5109 | 184 | ${c_base_srcdir}/cmath.tcc |
c5535768 BK |
185 | c_base_headers_rename = \ |
186 | cassert \ | |
187 | cctype \ | |
188 | cerrno \ | |
189 | cfloat \ | |
190 | ciso646 \ | |
191 | climits \ | |
192 | clocale \ | |
193 | cmath \ | |
194 | csetjmp \ | |
195 | csignal \ | |
196 | cstdarg \ | |
197 | cstddef \ | |
198 | cstdio \ | |
199 | cstdlib \ | |
200 | cstring \ | |
201 | ctime \ | |
202 | cwchar \ | |
203 | cwctype | |
4a9d5109 | 204 | |
4a9d5109 | 205 | std_srcdir = ${glibcpp_srcdir}/include/std |
73249e33 | 206 | std_builddir = . |
4a9d5109 | 207 | std_headers = \ |
066930bb PE |
208 | ${std_srcdir}/std_algorithm.h \ |
209 | ${std_srcdir}/std_bitset.h \ | |
210 | ${std_srcdir}/std_complex.h \ | |
211 | ${std_srcdir}/std_deque.h \ | |
212 | ${std_srcdir}/std_fstream.h \ | |
213 | ${std_srcdir}/std_functional.h \ | |
214 | ${std_srcdir}/std_iomanip.h \ | |
215 | ${std_srcdir}/std_ios.h \ | |
216 | ${std_srcdir}/std_iosfwd.h \ | |
217 | ${std_srcdir}/std_iostream.h \ | |
218 | ${std_srcdir}/std_istream.h \ | |
219 | ${std_srcdir}/std_iterator.h \ | |
220 | ${std_srcdir}/std_limits.h \ | |
221 | ${std_srcdir}/std_list.h \ | |
222 | ${std_srcdir}/std_locale.h \ | |
223 | ${std_srcdir}/std_map.h \ | |
224 | ${std_srcdir}/std_memory.h \ | |
225 | ${std_srcdir}/std_numeric.h \ | |
226 | ${std_srcdir}/std_ostream.h \ | |
227 | ${std_srcdir}/std_queue.h \ | |
228 | ${std_srcdir}/std_set.h \ | |
229 | ${std_srcdir}/std_sstream.h \ | |
230 | ${std_srcdir}/std_stack.h \ | |
231 | ${std_srcdir}/std_stdexcept.h \ | |
232 | ${std_srcdir}/std_streambuf.h \ | |
233 | ${std_srcdir}/std_string.h \ | |
234 | ${std_srcdir}/std_utility.h \ | |
235 | ${std_srcdir}/std_valarray.h \ | |
236 | ${std_srcdir}/std_vector.h | |
047398eb BK |
237 | # Renamed at build time. |
238 | std_headers_rename = \ | |
c5535768 BK |
239 | algorithm \ |
240 | bitset \ | |
241 | complex \ | |
242 | deque \ | |
243 | fstream \ | |
244 | functional \ | |
245 | iomanip \ | |
246 | ios \ | |
247 | iosfwd \ | |
248 | iostream \ | |
249 | istream \ | |
250 | iterator \ | |
251 | limits \ | |
252 | list \ | |
253 | locale \ | |
254 | map \ | |
255 | memory \ | |
256 | numeric \ | |
257 | ostream \ | |
73249e33 | 258 | queue \ |
c5535768 BK |
259 | set \ |
260 | sstream \ | |
261 | stack \ | |
262 | stdexcept \ | |
263 | streambuf \ | |
264 | string \ | |
265 | utility \ | |
266 | valarray \ | |
267 | vector | |
4a9d5109 SW |
268 | |
269 | target_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@ | |
270 | target_builddir = ./${target_alias}/bits | |
271 | target_headers = \ | |
272 | ${target_srcdir}/ctype_base.h \ | |
273 | ${target_srcdir}/ctype_inline.h \ | |
274 | ${target_srcdir}/ctype_noninline.h \ | |
275 | ${target_srcdir}/os_defines.h \ | |
9f3c078e | 276 | ${glibcpp_srcdir}/@ATOMICITY_INC_SRCDIR@/atomicity.h \ |
f295ecef | 277 | ${glibcpp_srcdir}/@CPU_LIMITS_INC_SRCDIR@/cpu_limits.h |
7bfea936 LR |
278 | # These extra_target_headers files are all built with ad hoc naming rules. |
279 | extra_target_headers = \ | |
00532602 | 280 | ${target_builddir}/basic_file.h \ |
7bfea936 LR |
281 | ${target_builddir}/c++config.h \ |
282 | ${target_builddir}/c++io.h \ | |
283 | ${target_builddir}/c++locale.h \ | |
284 | ${target_builddir}/messages_members.h \ | |
285 | ${target_builddir}/codecvt_specializations.h | |
4a9d5109 SW |
286 | |
287 | thread_builddir = ./${target_alias}/bits | |
288 | thread_headers = \ | |
289 | ${thread_builddir}/gthr.h \ | |
290 | ${thread_builddir}/gthr-single.h \ | |
291 | ${thread_builddir}/gthr-default.h | |
292 | ||
293 | # List of all timestamp files. By keeping only one copy of this list, both | |
294 | # CLEANFILES and all-local are kept up-to-date. | |
4a9d5109 | 295 | allstamps = stamp-std stamp-bits stamp-c_base stamp-backward stamp-ext \ |
843312be | 296 | stamp-target stamp-thread |
4a9d5109 | 297 | |
4a9d5109 SW |
298 | |
299 | # Here are the rules for building the headers | |
4e10943d | 300 | all-local: ${target_builddir}/c++config.h ${allstamps} |
4a9d5109 | 301 | |
066930bb PE |
302 | # This rule is slightly different, in that we must change the name of the |
303 | # local file from std_foo.h to foo. | |
4a9d5109 SW |
304 | stamp-std: ${std_headers} |
305 | @if [ ! -d "${std_builddir}" ]; then \ | |
306 | mkdir -p ${std_builddir} ;\ | |
307 | fi ;\ | |
066930bb PE |
308 | (cd ${std_builddir} && for h in $?; do \ |
309 | official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\ | |
41fcea28 | 310 | @LN_S@ $$h ./$${official_name} || true ;\ |
066930bb | 311 | done) ;\ |
843312be | 312 | echo `date` > stamp-std |
4a9d5109 SW |
313 | |
314 | stamp-bits: ${bits_headers} | |
315 | @if [ ! -d "${bits_builddir}" ]; then \ | |
316 | mkdir -p ${bits_builddir} ;\ | |
317 | fi ;\ | |
7bfea936 | 318 | (cd ${bits_builddir} && @LN_S@ $? . || true) ;\ |
4a9d5109 SW |
319 | echo `date` > stamp-bits |
320 | ||
c5535768 | 321 | stamp-c_base: ${c_base_headers} ${c_base_headers_extra} |
4a9d5109 SW |
322 | @if [ ! -d "${c_base_builddir}" ]; then \ |
323 | mkdir -p ${c_base_builddir} ;\ | |
324 | fi ;\ | |
c5535768 BK |
325 | (cd ${c_base_builddir} && for h in ${c_base_headers}; do \ |
326 | official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\ | |
327 | @LN_S@ $$h ./$${official_name} || true ;\ | |
328 | done) ;\ | |
329 | (cd ${c_base_builddir} && @LN_S@ ${c_base_headers_extra} . || true) ;\ | |
4a9d5109 SW |
330 | echo `date` > stamp-c_base |
331 | ||
4a9d5109 SW |
332 | stamp-backward: ${backward_headers} |
333 | @if [ ! -d "${backward_builddir}" ]; then \ | |
334 | mkdir -p ${backward_builddir} ;\ | |
335 | fi ;\ | |
7bfea936 | 336 | (cd ${backward_builddir} && @LN_S@ $? . || true) ;\ |
4a9d5109 SW |
337 | echo `date` > stamp-backward |
338 | ||
339 | stamp-ext: ${ext_headers} | |
340 | @if [ ! -d "${ext_builddir}" ]; then \ | |
341 | mkdir -p ${ext_builddir} ;\ | |
342 | fi ;\ | |
7bfea936 | 343 | (cd ${ext_builddir} && @LN_S@ $? . || true) ;\ |
4a9d5109 SW |
344 | echo `date` > stamp-ext |
345 | ||
4e10943d | 346 | # This target is special. The timestamp on a directory gets modified |
4a9d5109 SW |
347 | # whenever a file it contains gets modified, and that'll throw off all the |
348 | # build dependencies that need this target. On the other hand, someone | |
843312be | 349 | # could delete the directory and not the stamp file, faking out make. |
4a9d5109 | 350 | ${target_builddir}: stamp-${target_alias} |
4a9d5109 SW |
351 | stamp-${target_alias}: |
352 | @if [ ! -d ${target_builddir} ]; then \ | |
353 | mkdir -p ${target_builddir} ;\ | |
843312be BK |
354 | echo `date` > stamp-${target_alias} ;\ |
355 | fi | |
356 | ||
357 | # Target includes static. | |
358 | stamp-target: ${target_headers} ${target_builddir} | |
359 | @cd ${target_builddir} ;\ | |
360 | if [ ! -f stamp-target ]; then \ | |
7bfea936 | 361 | @LN_S@ ${target_headers} . || true ;\ |
00532602 | 362 | @LN_S@ ${glibcpp_srcdir}/@BASIC_FILE_H@ basic_file.h || true ;\ |
7bfea936 LR |
363 | @LN_S@ ${glibcpp_srcdir}/@CSTDIO_H@ c++io.h || true ;\ |
364 | @LN_S@ ${glibcpp_srcdir}/@CLOCALE_H@ c++locale.h || true ;\ | |
365 | @LN_S@ ${glibcpp_srcdir}/@CMESSAGES_H@ messages_members.h || true ;\ | |
366 | @LN_S@ ${glibcpp_srcdir}/@CCODECVT_H@ codecvt_specializations.h || true ;\ | |
843312be | 367 | echo `date` > stamp-target; \ |
4a9d5109 | 368 | fi |
4a9d5109 | 369 | |
843312be | 370 | # Target includes dynamic. |
ff144428 | 371 | ${target_builddir}/c++config.h: ../config.h \ |
4a9d5109 SW |
372 | ${glibcpp_srcdir}/include/bits/c++config \ |
373 | ${target_builddir} | |
374 | @cat ${glibcpp_srcdir}/include/bits/c++config > $@ ;\ | |
375 | sed -e 's/HAVE_/_GLIBCPP_HAVE_/g' \ | |
376 | -e 's/PACKAGE/_GLIBCPP_PACKAGE/g' \ | |
377 | -e 's/VERSION/_GLIBCPP_VERSION/g' \ | |
378 | -e 's/WORDS_/_GLIBCPP_WORDS_/g' \ | |
379 | < ${glibcpp_builddir}/config.h >> $@ ;\ | |
380 | echo "#endif // _CPP_CPPCONFIG_" >>$@ | |
381 | ||
843312be | 382 | # Target includes for threads |
4a9d5109 SW |
383 | glibcpp_thread_h = @glibcpp_thread_h@ |
384 | uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_] | |
385 | ||
843312be BK |
386 | stamp-thread: ${thread_headers} ${thread_builddir} |
387 | @echo `date` > stamp-thread | |
388 | ||
389 | ||
4a9d5109 SW |
390 | ${thread_builddir}/gthr.h: |
391 | sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCPP_\1/g' \ | |
392 | -e 's,^#include "\(.*\)",#include <bits/\1>,g' \ | |
533ab4d1 | 393 | < ${toplevel_srcdir}/gcc/gthr.h > $@ |
4a9d5109 SW |
394 | |
395 | ${thread_builddir}/gthr-single.h: | |
396 | sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \ | |
397 | -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \ | |
533ab4d1 | 398 | < ${toplevel_srcdir}/gcc/gthr-single.h > $@ |
4a9d5109 SW |
399 | |
400 | ${thread_builddir}/gthr-default.h: | |
401 | sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \ | |
402 | -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \ | |
403 | -e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \ | |
533ab4d1 | 404 | < ${toplevel_srcdir}/gcc/${glibcpp_thread_h} > $@ |
4a9d5109 | 405 | |
7bfea936 LR |
406 | # For robustness sake (in light of junk files or in-source |
407 | # configuration), copy from the build or source tree to the install | |
408 | # tree using only the human-maintained file lists and directory | |
409 | # components. Yes, with minor differences, this is sheer duplication | |
410 | # of the staging rules above using $(INSTALL_DATA) instead of LN_S and | |
411 | # `$(INSTALL) -d' instead of `mkdir -p'. In particular, | |
412 | # extra_target_headers are taken out of the build tree staging area; | |
413 | # the rest are taken from the original source tree. | |
4a9d5109 | 414 | gxx_include_dir = @gxx_include_dir@ |
4a9d5109 | 415 | install-data-local: |
7bfea936 LR |
416 | $(INSTALL) -d ${gxx_include_dir} |
417 | $(INSTALL) -d ${gxx_include_dir}/${bits_builddir} | |
418 | for file in ${bits_headers}; do \ | |
419 | $(INSTALL_DATA) $${file} ${gxx_include_dir}/${bits_builddir}; done | |
420 | $(INSTALL) -d ${gxx_include_dir}/${backward_builddir} | |
421 | for file in ${backward_headers}; do \ | |
422 | $(INSTALL_DATA) $${file} ${gxx_include_dir}/${backward_builddir}; done | |
423 | $(INSTALL) -d ${gxx_include_dir}/${ext_builddir} | |
424 | for file in ${ext_headers}; do \ | |
425 | $(INSTALL_DATA) $${file} ${gxx_include_dir}/${ext_builddir}; done | |
426 | $(INSTALL) -d ${gxx_include_dir}/${c_base_builddir} | |
73249e33 LR |
427 | for file in ${c_base_headers_rename}; do \ |
428 | $(INSTALL_DATA) ${c_base_builddir}/$${file} \ | |
429 | ${gxx_include_dir}/${c_base_builddir}; done | |
c5535768 | 430 | for file in ${c_base_headers_extra}; do \ |
7bfea936 LR |
431 | $(INSTALL_DATA) $${file} ${gxx_include_dir}/${c_base_builddir}; done |
432 | $(INSTALL) -d ${gxx_include_dir}/${std_builddir} | |
73249e33 LR |
433 | for file in ${std_headers_rename}; do \ |
434 | $(INSTALL_DATA) ${std_builddir}/$${file} \ | |
435 | ${gxx_include_dir}/${std_builddir}; done | |
7bfea936 LR |
436 | $(INSTALL) -d ${gxx_include_dir}/${target_builddir} |
437 | for file in ${target_headers} ${extra_target_headers}; do \ | |
438 | $(INSTALL_DATA) $${file} ${gxx_include_dir}/${target_builddir}; done | |
439 | $(INSTALL) -d ${gxx_include_dir}/${thread_builddir} | |
440 | for file in ${thread_headers}; do \ | |
441 | $(INSTALL_DATA) $${file} ${gxx_include_dir}/${thread_builddir}; done | |
4a9d5109 | 442 | |
4e10943d | 443 | # By adding these files here, automake will remove them for 'make clean' |
843312be | 444 | #CLEANFILES = ${allstamps} |
c5535768 BK |
445 | |
446 | # Stop implicit '.o' make rules from ever stomping on extensionless | |
447 | # headers, in the improbable case where some foolish, crack-addled | |
448 | # developer tries to create them via make in the include build | |
449 | # directory. (This is more of an example of how this kind of rule can | |
450 | # be made.) | |
451 | .PRECIOUS: $(std_headers_rename) $(c_base_headers_rename) | |
452 | $(std_headers_rename): ; @: | |
453 | $(c_base_headers_rename): ; @: |