1 ## Makefile for the include subdirectory of the GNU C++ Standard library.
3 ## Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
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)
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,
24 include $(top_srcdir)/fragment.am
26 # Standard C++ includes.
27 std_srcdir = ${glibcxx_srcdir}/include/std
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 = \
91 bits_srcdir = ${glibcxx_srcdir}/include/bits
92 bits_builddir = ./bits
94 ${bits_srcdir}/allocator.h \
95 ${bits_srcdir}/allocator_traits.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}/cpp_type_traits.h \
105 ${bits_srcdir}/demangle.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_threads.h \
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 \
154 ${bits_srcdir}/type_traits.h \
155 ${bits_srcdir}/valarray_array.h \
156 ${bits_srcdir}/valarray_array.tcc \
157 ${bits_srcdir}/valarray_before.h \
158 ${bits_srcdir}/valarray_after.h \
159 ${bits_srcdir}/vector.tcc
161 backward_srcdir = ${glibcxx_srcdir}/include/backward
162 backward_builddir = ./backward
164 ${backward_srcdir}/complex.h \
165 ${backward_srcdir}/iomanip.h \
166 ${backward_srcdir}/istream.h \
167 ${backward_srcdir}/ostream.h \
168 ${backward_srcdir}/stream.h \
169 ${backward_srcdir}/streambuf.h \
170 ${backward_srcdir}/algo.h \
171 ${backward_srcdir}/algobase.h \
172 ${backward_srcdir}/alloc.h \
173 ${backward_srcdir}/bvector.h \
174 ${backward_srcdir}/defalloc.h \
175 ${backward_srcdir}/deque.h \
176 ${backward_srcdir}/function.h \
177 ${backward_srcdir}/hash_map.h \
178 ${backward_srcdir}/hash_set.h \
179 ${backward_srcdir}/hashtable.h \
180 ${backward_srcdir}/heap.h \
181 ${backward_srcdir}/iostream.h \
182 ${backward_srcdir}/iterator.h \
183 ${backward_srcdir}/list.h \
184 ${backward_srcdir}/map.h \
185 ${backward_srcdir}/multimap.h \
186 ${backward_srcdir}/new.h \
187 ${backward_srcdir}/multiset.h \
188 ${backward_srcdir}/pair.h \
189 ${backward_srcdir}/queue.h \
190 ${backward_srcdir}/rope.h \
191 ${backward_srcdir}/set.h \
192 ${backward_srcdir}/slist.h \
193 ${backward_srcdir}/stack.h \
194 ${backward_srcdir}/tempbuf.h \
195 ${backward_srcdir}/tree.h \
196 ${backward_srcdir}/vector.h \
197 ${backward_srcdir}/fstream.h \
198 ${backward_srcdir}/strstream \
199 ${backward_srcdir}/backward_warning.h
201 ext_srcdir = ${glibcxx_srcdir}/include/ext
204 ${ext_srcdir}/algorithm \
205 ${ext_srcdir}/debug_allocator.h \
206 ${ext_srcdir}/enc_filebuf.h \
207 ${ext_srcdir}/stdio_filebuf.h \
208 ${ext_srcdir}/stdio_sync_filebuf.h \
209 ${ext_srcdir}/functional \
210 ${ext_srcdir}/hash_map \
211 ${ext_srcdir}/hash_set \
212 ${ext_srcdir}/iterator \
213 ${ext_srcdir}/malloc_allocator.h \
214 ${ext_srcdir}/memory \
215 ${ext_srcdir}/mt_allocator.h \
216 ${ext_srcdir}/new_allocator.h \
217 ${ext_srcdir}/numeric \
218 ${ext_srcdir}/pod_char_traits.h \
219 ${ext_srcdir}/pool_allocator.h \
220 ${ext_srcdir}/rb_tree \
222 ${ext_srcdir}/ropeimpl.h \
223 ${ext_srcdir}/slist \
224 ${ext_srcdir}/hash_fun.h \
225 ${ext_srcdir}/hashtable.h
228 # This is the common subset of files that all three "C" header models use.
229 c_base_srcdir = $(C_INCLUDE_DIR)
232 ${c_base_srcdir}/std_cassert.h \
233 ${c_base_srcdir}/std_cctype.h \
234 ${c_base_srcdir}/std_cerrno.h \
235 ${c_base_srcdir}/std_cfloat.h \
236 ${c_base_srcdir}/std_ciso646.h \
237 ${c_base_srcdir}/std_climits.h \
238 ${c_base_srcdir}/std_clocale.h \
239 ${c_base_srcdir}/std_cmath.h \
240 ${c_base_srcdir}/std_csetjmp.h \
241 ${c_base_srcdir}/std_csignal.h \
242 ${c_base_srcdir}/std_cstdarg.h \
243 ${c_base_srcdir}/std_cstddef.h \
244 ${c_base_srcdir}/std_cstdio.h \
245 ${c_base_srcdir}/std_cstdlib.h \
246 ${c_base_srcdir}/std_cstring.h \
247 ${c_base_srcdir}/std_ctime.h \
248 ${c_base_srcdir}/std_cwchar.h \
249 ${c_base_srcdir}/std_cwctype.h
250 c_base_headers_rename = \
270 # "C" compatibility headers.
271 c_compatibility_srcdir = ${glibcxx_srcdir}/include/c_compatibility
272 c_compatibility_builddir = .
273 c_compatibility_headers = \
274 ${c_compatibility_srcdir}/assert.h \
275 ${c_compatibility_srcdir}/ctype.h \
276 ${c_compatibility_srcdir}/errno.h \
277 ${c_compatibility_srcdir}/float.h \
278 ${c_compatibility_srcdir}/iso646.h \
279 ${c_compatibility_srcdir}/limits.h \
280 ${c_compatibility_srcdir}/locale.h \
281 ${c_compatibility_srcdir}/math.h \
282 ${c_compatibility_srcdir}/setjmp.h \
283 ${c_compatibility_srcdir}/signal.h \
284 ${c_compatibility_srcdir}/stdarg.h \
285 ${c_compatibility_srcdir}/stddef.h \
286 ${c_compatibility_srcdir}/stdio.h \
287 ${c_compatibility_srcdir}/stdlib.h \
288 ${c_compatibility_srcdir}/string.h \
289 ${c_compatibility_srcdir}/time.h \
290 ${c_compatibility_srcdir}/wchar.h \
291 ${c_compatibility_srcdir}/wctype.h
293 # Some of the different "C" header models need extra files.
294 # Some "C" header schemes require the "C" compatibility headers.
295 # For --enable-cheaders=c_std
296 if GLIBCXX_C_HEADERS_C_STD
297 c_base_headers_extra = ${c_base_srcdir}/cmath.tcc
299 c_base_headers_extra =
302 if GLIBCXX_C_HEADERS_COMPATIBILITY
303 c_compatibility_headers_extra = ${c_compatibility_headers}
305 c_compatibility_headers_extra =
308 host_srcdir = ${glibcxx_srcdir}/$(OS_INC_SRCDIR)
309 host_builddir = ./${host_alias}/bits
311 ${host_srcdir}/ctype_base.h \
312 ${host_srcdir}/ctype_inline.h \
313 ${host_srcdir}/ctype_noninline.h \
314 ${host_srcdir}/os_defines.h \
315 ${glibcxx_srcdir}/$(ATOMICITY_INC_SRCDIR)/atomicity.h
317 # Non-installed host_header files.
318 host_headers_noinst = \
319 ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H)
321 # These host_headers_extra files are all built with ad hoc naming rules.
322 host_headers_extra = \
323 ${host_builddir}/basic_file.h \
324 ${host_builddir}/c++config.h \
325 ${host_builddir}/c++io.h \
326 ${host_builddir}/c++locale.h \
327 ${host_builddir}/messages_members.h \
328 ${host_builddir}/time_members.h \
329 ${host_builddir}/codecvt_specializations.h
331 thread_host_headers = \
332 ${host_builddir}/gthr.h \
333 ${host_builddir}/gthr-single.h \
334 ${host_builddir}/gthr-posix.h \
335 ${host_builddir}/gthr-default.h
337 pch_input = ${host_builddir}/stdc++.h
338 pch_output_builddir = ${host_builddir}/stdc++.h.gch
339 pch_source = ${glibcxx_srcdir}/include/stdc++.h
340 PCHFLAGS=-Winvalid-pch -Wno-deprecated -x c++-header $(CXXFLAGS)
342 pch_build = ${pch_input}
343 pch_install = install-pch
349 # List of all timestamp files. By keeping only one copy of this list, both
350 # CLEANFILES and all-local are kept up-to-date.
352 stamp-std stamp-bits stamp-c_base stamp-c_compatibility \
353 stamp-backward stamp-ext stamp-host
355 # List of all files that are created by explicit building, editing, or
358 ${host_builddir}/c++config.h \
359 ${thread_host_headers} \
362 # Here are the rules for building the headers
363 all-local: ${allstamped} ${allcreated}
365 # This rule is slightly different, in that we must change the name of the
366 # local file from std_foo.h to foo.
367 stamp-std: ${std_headers}
368 @if [ ! -d "${std_builddir}" ]; then \
369 mkdir -p ${std_builddir} ;\
371 if [ ! -f stamp-std ]; then \
372 (cd ${std_builddir} && for h in $?; do \
373 official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
374 $(LN_S) $$h ./$${official_name} || true ;\
379 stamp-bits: ${bits_headers}
380 @if [ ! -d "${bits_builddir}" ]; then \
381 mkdir -p ${bits_builddir} ;\
383 if [ ! -f stamp-bits ]; then \
384 (cd ${bits_builddir} && $(LN_S) $? . || true) ;\
388 stamp-c_base: stamp-bits ${c_base_headers} ${c_base_headers_extra}
389 @if [ ! -d "${c_base_builddir}" ]; then \
390 mkdir -p ${c_base_builddir} ;\
392 if [ ! -f stamp-c_base ]; then \
393 (cd ${c_base_builddir} && for h in ${c_base_headers}; do \
394 official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
395 $(LN_S) $$h ./$${official_name} || true ;\
397 if [ ! -z "${c_base_headers_extra}" ]; then \
398 (cd ${bits_builddir} && $(LN_S) ${c_base_headers_extra} . || true) ;\
401 $(STAMP) stamp-c_base
403 stamp-c_compatibility: ${c_compatibility_headers_extra}
404 @if [ ! -d "${c_compatibility_builddir}" ]; then \
405 mkdir -p ${c_compatibility_builddir} ;\
407 if [ ! -f stamp-c_compatibility ]; then \
408 if [ ! -z "${c_compatibility_headers_extra}" ]; then \
409 (cd ${c_compatibility_builddir} && $(LN_S) $? . || true) ;\
412 $(STAMP) stamp-c_compatibility
414 stamp-backward: ${backward_headers}
415 @if [ ! -d "${backward_builddir}" ]; then \
416 mkdir -p ${backward_builddir} ;\
418 if [ ! -f stamp-backward ]; then \
419 (cd ${backward_builddir} && $(LN_S) $? . || true) ;\
421 $(STAMP) stamp-backward
423 stamp-ext: ${ext_headers}
424 @if [ ! -d "${ext_builddir}" ]; then \
425 mkdir -p ${ext_builddir} ;\
427 if [ ! -f stamp-ext ]; then \
428 (cd ${ext_builddir} && $(LN_S) $? . || true) ;\
433 @if [ ! -d ${host_builddir} ]; then \
434 mkdir -p ${host_builddir} ;\
436 $(STAMP) stamp-${host_alias}
438 # Host includes static.
439 # XXX Missing dependency info for {host_headers_extra}
440 stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias}
441 @if [ ! -f stamp-host ]; then \
442 (cd ${host_builddir} ;\
443 $(LN_S) ${host_headers} . || true ;\
444 $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_H) basic_file.h || true ;\
445 $(LN_S) ${glibcxx_srcdir}/$(CSTDIO_H) c++io.h || true ;\
446 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_H) c++locale.h || true ;\
447 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H) . || true ;\
448 $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_H) messages_members.h || true ;\
449 $(LN_S) ${glibcxx_srcdir}/$(CTIME_H) time_members.h || true ;\
450 $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_H) codecvt_specializations.h || true);\
454 # Host includes dynamic.
455 ${host_builddir}/c++config.h: ${top_builddir}/config.h \
456 ${glibcxx_srcdir}/include/bits/c++config \
458 @cat ${glibcxx_srcdir}/include/bits/c++config > $@ ;\
459 sed -e 's/HAVE_/_GLIBCXX_HAVE_/g' \
460 -e 's/PACKAGE/_GLIBCXX_PACKAGE/g' \
461 -e 's/VERSION/_GLIBCXX_VERSION/g' \
462 -e 's/WORDS_/_GLIBCXX_WORDS_/g' \
463 < ${CONFIG_HEADER} >> $@ ;\
464 echo "#endif // _CXXCONFIG_" >>$@
466 # Host includes for threads
467 uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
469 ${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
470 sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
471 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
472 < ${toplevel_srcdir}/gcc/gthr.h > $@
474 ${host_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
476 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
477 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
478 < ${toplevel_srcdir}/gcc/gthr-single.h > $@
480 ${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
482 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
483 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
484 -e 's/\(${uppercase}*WEAK\)/_GLIBCXX_\1/g' \
485 < ${toplevel_srcdir}/gcc/gthr-posix.h > $@
487 ${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \
489 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
490 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
491 -e 's/\(${uppercase}*WEAK\)/_GLIBCXX_\1/g' \
492 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
493 < ${toplevel_srcdir}/gcc/${glibcxx_thread_h} > $@
495 # Build a precompiled C++ include, stdc++.h.gch.
496 ${pch_input}: ${allstamped} ${host_builddir}/c++config.h ${pch_source}
497 touch ${pch_input}; \
498 if [ ! -d "${pch_output_builddir}" ]; then \
499 mkdir -p ${pch_output_builddir}; \
501 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) ${pch_source} -O0 -g -o ${pch_output_builddir}/O0g; \
502 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) ${pch_source} -O2 -g -o ${pch_output_builddir}/O2g;
504 # For robustness sake (in light of junk files or in-source
505 # configuration), copy from the build or source tree to the install
506 # tree using only the human-maintained file lists and directory
507 # components. Yes, with minor differences, this is sheer duplication
508 # of the staging rules above using $(INSTALL_DATA) instead of LN_S and
509 # `$(mkinstalldirs)' instead of `mkdir -p'. In particular,
510 # host_headers_extra are taken out of the build tree staging area;
511 # the rest are taken from the original source tree.
514 install-data-local: install-headers ${pch_install}
516 install-data-local: install-freestanding-headers
519 # This is a subset of the full install-headers rule. We only need <cstddef>,
520 # <limits>, <cstdlib>, <cstdarg>, <new>, <typeinfo>, <exception>, and any
521 # files which they include (and which we provide). The last three headers
522 # are installed by libsupc++, so only the first four and the sub-includes
524 install-freestanding-headers:
525 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
526 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir}
527 for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h; do \
528 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done
529 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
530 $(INSTALL_DATA) ${std_builddir}/limits $(DESTDIR)${gxx_include_dir}/${std_builddir}
531 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
532 for file in cstddef cstdlib cstdarg; do \
533 $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
537 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
538 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${bits_builddir}
539 for file in ${bits_headers}; do \
540 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
541 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${backward_builddir}
542 for file in ${backward_headers}; do \
543 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${backward_builddir}; done
544 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${ext_builddir}
545 for file in ${ext_headers}; do \
546 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${ext_builddir}; done
547 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
548 for file in ${c_base_headers_rename}; do \
549 $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
550 c_base_headers_extra_install='$(c_base_headers_extra)';\
551 for file in $$c_base_headers_extra_install; do \
552 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
553 c_compatibility_headers_install='$(c_compatibility_headers_extra)';\
554 for file in $$c_compatibility_headers_install; do \
555 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}; done
556 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
557 for file in ${std_headers_rename}; do \
558 $(INSTALL_DATA) ${std_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done
559 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir}
560 for file in ${host_headers} ${host_headers_extra} \
561 ${thread_host_headers}; do \
562 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done
565 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}
566 for file in ${pch_output_builddir}/*; do \
567 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}; done
569 # By adding these files here, automake will remove them for 'make clean'
570 CLEANFILES = ${pch_input} ${pch_output_builddir}/*
572 # Stop implicit '.o' make rules from ever stomping on extensionless
573 # headers, in the improbable case where some foolish, crack-addled
574 # developer tries to create them via make in the include build
575 # directory. (This is more of an example of how this kind of rule can
577 .PRECIOUS: $(std_headers_rename) $(c_base_headers_rename)
578 $(std_headers_rename): ; @:
579 $(c_base_headers_rename): ; @: