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 MAINT_CHARSET = latin1
26 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
28 # Cross compiler and multilib support.
29 glibcxx_srcdir=@glibcxx_srcdir@
30 glibcxx_builddir=@glibcxx_builddir@
32 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
33 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
34 INCLUDES = -nostdinc++ $(GLIBCXX_INCLUDES) $(LIBSUPCXX_INCLUDES)
36 # Standard C++ includes.
37 std_srcdir = ${glibcxx_srcdir}/include/std
40 ${std_srcdir}/std_algorithm.h \
41 ${std_srcdir}/std_bitset.h \
42 ${std_srcdir}/std_complex.h \
43 ${std_srcdir}/std_deque.h \
44 ${std_srcdir}/std_fstream.h \
45 ${std_srcdir}/std_functional.h \
46 ${std_srcdir}/std_iomanip.h \
47 ${std_srcdir}/std_ios.h \
48 ${std_srcdir}/std_iosfwd.h \
49 ${std_srcdir}/std_iostream.h \
50 ${std_srcdir}/std_istream.h \
51 ${std_srcdir}/std_iterator.h \
52 ${std_srcdir}/std_limits.h \
53 ${std_srcdir}/std_list.h \
54 ${std_srcdir}/std_locale.h \
55 ${std_srcdir}/std_map.h \
56 ${std_srcdir}/std_memory.h \
57 ${std_srcdir}/std_numeric.h \
58 ${std_srcdir}/std_ostream.h \
59 ${std_srcdir}/std_queue.h \
60 ${std_srcdir}/std_set.h \
61 ${std_srcdir}/std_sstream.h \
62 ${std_srcdir}/std_stack.h \
63 ${std_srcdir}/std_stdexcept.h \
64 ${std_srcdir}/std_streambuf.h \
65 ${std_srcdir}/std_string.h \
66 ${std_srcdir}/std_utility.h \
67 ${std_srcdir}/std_valarray.h \
68 ${std_srcdir}/std_vector.h
69 # Renamed at build time.
70 std_headers_rename = \
101 bits_srcdir = ${glibcxx_srcdir}/include/bits
102 bits_builddir = ./bits
104 ${bits_srcdir}/allocator.h \
105 ${bits_srcdir}/allocator_traits.h \
106 ${bits_srcdir}/basic_ios.h \
107 ${bits_srcdir}/basic_ios.tcc \
108 ${bits_srcdir}/basic_string.h \
109 ${bits_srcdir}/basic_string.tcc \
110 ${bits_srcdir}/boost_concept_check.h \
111 ${bits_srcdir}/char_traits.h \
112 ${bits_srcdir}/codecvt.h \
113 ${bits_srcdir}/concept_check.h \
114 ${bits_srcdir}/cpp_type_traits.h \
115 ${bits_srcdir}/demangle.h \
116 ${bits_srcdir}/deque.tcc \
117 ${bits_srcdir}/fstream.tcc \
118 ${bits_srcdir}/functexcept.h \
119 ${bits_srcdir}/gslice.h \
120 ${bits_srcdir}/gslice_array.h \
121 ${bits_srcdir}/indirect_array.h \
122 ${bits_srcdir}/ios_base.h \
123 ${bits_srcdir}/istream.tcc \
124 ${bits_srcdir}/list.tcc \
125 ${bits_srcdir}/locale_classes.h \
126 ${bits_srcdir}/locale_facets.h \
127 ${bits_srcdir}/locale_facets.tcc \
128 ${bits_srcdir}/localefwd.h \
129 ${bits_srcdir}/mask_array.h \
130 ${bits_srcdir}/ostream.tcc \
131 ${bits_srcdir}/stream_iterator.h \
132 ${bits_srcdir}/streambuf_iterator.h \
133 ${bits_srcdir}/slice_array.h \
134 ${bits_srcdir}/sstream.tcc \
135 ${bits_srcdir}/stl_algo.h \
136 ${bits_srcdir}/stl_algobase.h \
137 ${bits_srcdir}/stl_bvector.h \
138 ${bits_srcdir}/stl_construct.h \
139 ${bits_srcdir}/stl_deque.h \
140 ${bits_srcdir}/stl_function.h \
141 ${bits_srcdir}/stl_heap.h \
142 ${bits_srcdir}/stl_iterator.h \
143 ${bits_srcdir}/stl_iterator_base_funcs.h \
144 ${bits_srcdir}/stl_iterator_base_types.h \
145 ${bits_srcdir}/stl_list.h \
146 ${bits_srcdir}/stl_map.h \
147 ${bits_srcdir}/stl_multimap.h \
148 ${bits_srcdir}/stl_multiset.h \
149 ${bits_srcdir}/stl_numeric.h \
150 ${bits_srcdir}/stl_pair.h \
151 ${bits_srcdir}/stl_queue.h \
152 ${bits_srcdir}/stl_raw_storage_iter.h \
153 ${bits_srcdir}/stl_relops.h \
154 ${bits_srcdir}/stl_set.h \
155 ${bits_srcdir}/stl_stack.h \
156 ${bits_srcdir}/stl_tempbuf.h \
157 ${bits_srcdir}/stl_threads.h \
158 ${bits_srcdir}/stl_tree.h \
159 ${bits_srcdir}/stl_uninitialized.h \
160 ${bits_srcdir}/stl_vector.h \
161 ${bits_srcdir}/streambuf.tcc \
162 ${bits_srcdir}/stringfwd.h \
163 ${bits_srcdir}/type_traits.h \
164 ${bits_srcdir}/valarray_array.h \
165 ${bits_srcdir}/valarray_array.tcc \
166 ${bits_srcdir}/valarray_before.h \
167 ${bits_srcdir}/valarray_after.h \
168 ${bits_srcdir}/vector.tcc
170 backward_srcdir = ${glibcxx_srcdir}/include/backward
171 backward_builddir = ./backward
173 ${backward_srcdir}/complex.h \
174 ${backward_srcdir}/iomanip.h \
175 ${backward_srcdir}/istream.h \
176 ${backward_srcdir}/ostream.h \
177 ${backward_srcdir}/stream.h \
178 ${backward_srcdir}/streambuf.h \
179 ${backward_srcdir}/algo.h \
180 ${backward_srcdir}/algobase.h \
181 ${backward_srcdir}/alloc.h \
182 ${backward_srcdir}/bvector.h \
183 ${backward_srcdir}/defalloc.h \
184 ${backward_srcdir}/deque.h \
185 ${backward_srcdir}/function.h \
186 ${backward_srcdir}/hash_map.h \
187 ${backward_srcdir}/hash_set.h \
188 ${backward_srcdir}/hashtable.h \
189 ${backward_srcdir}/heap.h \
190 ${backward_srcdir}/iostream.h \
191 ${backward_srcdir}/iterator.h \
192 ${backward_srcdir}/list.h \
193 ${backward_srcdir}/map.h \
194 ${backward_srcdir}/multimap.h \
195 ${backward_srcdir}/new.h \
196 ${backward_srcdir}/multiset.h \
197 ${backward_srcdir}/pair.h \
198 ${backward_srcdir}/queue.h \
199 ${backward_srcdir}/rope.h \
200 ${backward_srcdir}/set.h \
201 ${backward_srcdir}/slist.h \
202 ${backward_srcdir}/stack.h \
203 ${backward_srcdir}/tempbuf.h \
204 ${backward_srcdir}/tree.h \
205 ${backward_srcdir}/vector.h \
206 ${backward_srcdir}/fstream.h \
207 ${backward_srcdir}/strstream \
208 ${backward_srcdir}/backward_warning.h
210 ext_srcdir = ${glibcxx_srcdir}/include/ext
213 ${ext_srcdir}/algorithm \
214 ${ext_srcdir}/debug_allocator.h \
215 ${ext_srcdir}/enc_filebuf.h \
216 ${ext_srcdir}/stdio_filebuf.h \
217 ${ext_srcdir}/stdio_sync_filebuf.h \
218 ${ext_srcdir}/functional \
219 ${ext_srcdir}/hash_map \
220 ${ext_srcdir}/hash_set \
221 ${ext_srcdir}/iterator \
222 ${ext_srcdir}/malloc_allocator.h \
223 ${ext_srcdir}/memory \
224 ${ext_srcdir}/mt_allocator.h \
225 ${ext_srcdir}/new_allocator.h \
226 ${ext_srcdir}/numeric \
227 ${ext_srcdir}/pod_char_traits.h \
228 ${ext_srcdir}/pool_allocator.h \
229 ${ext_srcdir}/rb_tree \
231 ${ext_srcdir}/ropeimpl.h \
232 ${ext_srcdir}/slist \
233 ${ext_srcdir}/hash_fun.h \
234 ${ext_srcdir}/hashtable.h
237 # This is the common subset of files that all three "C" header models use.
238 c_base_srcdir = @C_INCLUDE_DIR@
241 ${c_base_srcdir}/std_cassert.h \
242 ${c_base_srcdir}/std_cctype.h \
243 ${c_base_srcdir}/std_cerrno.h \
244 ${c_base_srcdir}/std_cfloat.h \
245 ${c_base_srcdir}/std_ciso646.h \
246 ${c_base_srcdir}/std_climits.h \
247 ${c_base_srcdir}/std_clocale.h \
248 ${c_base_srcdir}/std_cmath.h \
249 ${c_base_srcdir}/std_csetjmp.h \
250 ${c_base_srcdir}/std_csignal.h \
251 ${c_base_srcdir}/std_cstdarg.h \
252 ${c_base_srcdir}/std_cstddef.h \
253 ${c_base_srcdir}/std_cstdio.h \
254 ${c_base_srcdir}/std_cstdlib.h \
255 ${c_base_srcdir}/std_cstring.h \
256 ${c_base_srcdir}/std_ctime.h \
257 ${c_base_srcdir}/std_cwchar.h \
258 ${c_base_srcdir}/std_cwctype.h
259 c_base_headers_rename = \
279 # "C" compatibility headers.
280 c_compatibility_srcdir = ${glibcxx_srcdir}/include/c_compatibility
281 c_compatibility_builddir = .
282 c_compatibility_headers = \
283 ${c_compatibility_srcdir}/assert.h \
284 ${c_compatibility_srcdir}/ctype.h \
285 ${c_compatibility_srcdir}/errno.h \
286 ${c_compatibility_srcdir}/float.h \
287 ${c_compatibility_srcdir}/iso646.h \
288 ${c_compatibility_srcdir}/limits.h \
289 ${c_compatibility_srcdir}/locale.h \
290 ${c_compatibility_srcdir}/math.h \
291 ${c_compatibility_srcdir}/setjmp.h \
292 ${c_compatibility_srcdir}/signal.h \
293 ${c_compatibility_srcdir}/stdarg.h \
294 ${c_compatibility_srcdir}/stddef.h \
295 ${c_compatibility_srcdir}/stdio.h \
296 ${c_compatibility_srcdir}/stdlib.h \
297 ${c_compatibility_srcdir}/string.h \
298 ${c_compatibility_srcdir}/time.h \
299 ${c_compatibility_srcdir}/wchar.h \
300 ${c_compatibility_srcdir}/wctype.h
302 # Some of the different "C" header models need extra files.
303 # Some "C" header schemes require the "C" compatibility headers.
304 # For --enable-cheaders=c_std
305 if GLIBCXX_C_HEADERS_C_STD
306 c_base_headers_extra = ${c_base_srcdir}/cmath.tcc
308 c_base_headers_extra =
311 if GLIBCXX_C_HEADERS_COMPATIBILITY
312 c_compatibility_headers_extra = ${c_compatibility_headers}
314 c_compatibility_headers_extra =
317 host_srcdir = ${glibcxx_srcdir}/@OS_INC_SRCDIR@
318 host_builddir = ./${host_alias}/bits
320 ${host_srcdir}/ctype_base.h \
321 ${host_srcdir}/ctype_inline.h \
322 ${host_srcdir}/ctype_noninline.h \
323 ${host_srcdir}/os_defines.h \
324 ${glibcxx_srcdir}/@ATOMICITY_INC_SRCDIR@/atomicity.h \
325 ${glibcxx_srcdir}/@FPOS_INC_SRCDIR@/fpos.h
327 # Non-installed host_header files.
328 host_headers_noinst = \
329 ${glibcxx_srcdir}/@CLOCALE_INTERNAL_H@
331 # These host_headers_extra files are all built with ad hoc naming rules.
332 host_headers_extra = \
333 ${host_builddir}/basic_file.h \
334 ${host_builddir}/c++config.h \
335 ${host_builddir}/c++io.h \
336 ${host_builddir}/c++locale.h \
337 ${host_builddir}/messages_members.h \
338 ${host_builddir}/time_members.h \
339 ${host_builddir}/codecvt_specializations.h
341 thread_host_headers = \
342 ${host_builddir}/gthr.h \
343 ${host_builddir}/gthr-single.h \
344 ${host_builddir}/gthr-posix.h \
345 ${host_builddir}/gthr-default.h
347 pch_input = ${host_builddir}/stdc++.h
348 pch_output_builddir = ${host_builddir}/stdc++.h.gch
349 pch_source = ${glibcxx_srcdir}/include/stdc++.h
350 PCHFLAGS=-Winvalid-pch -Wno-deprecated -x c++-header $(CXXFLAGS)
352 pch_build = ${pch_input}
353 pch_install = install-pch
359 # List of all timestamp files. By keeping only one copy of this list, both
360 # CLEANFILES and all-local are kept up-to-date.
362 stamp-std stamp-bits stamp-c_base stamp-c_compatibility \
363 stamp-backward stamp-ext stamp-host
365 # List of all files that are created by explicit building, editing, or
368 ${host_builddir}/c++config.h \
369 ${thread_host_headers} \
372 # Here are the rules for building the headers
373 all-local: ${allstamped} ${allcreated}
375 # This rule is slightly different, in that we must change the name of the
376 # local file from std_foo.h to foo.
377 stamp-std: ${std_headers}
378 @if [ ! -d "${std_builddir}" ]; then \
379 mkdir -p ${std_builddir} ;\
381 if [ ! -f stamp-std ]; then \
382 (cd ${std_builddir} && for h in $?; do \
383 official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
384 @LN_S@ $$h ./$${official_name} || true ;\
386 echo `date` > stamp-std ;\
389 stamp-bits: ${bits_headers}
390 @if [ ! -d "${bits_builddir}" ]; then \
391 mkdir -p ${bits_builddir} ;\
393 if [ ! -f stamp-bits ]; then \
394 (cd ${bits_builddir} && @LN_S@ $? . || true) ;\
395 echo `date` > stamp-bits ;\
398 stamp-c_base: stamp-bits ${c_base_headers} ${c_base_headers_extra}
399 @if [ ! -d "${c_base_builddir}" ]; then \
400 mkdir -p ${c_base_builddir} ;\
402 if [ ! -f stamp-c_base ]; then \
403 (cd ${c_base_builddir} && for h in ${c_base_headers}; do \
404 official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
405 @LN_S@ $$h ./$${official_name} || true ;\
407 if [ ! -z "${c_base_headers_extra}" ]; then \
408 (cd ${bits_builddir} && @LN_S@ ${c_base_headers_extra} . || true) ;\
410 echo `date` > stamp-c_base ;\
413 stamp-c_compatibility: ${c_compatibility_headers_extra}
414 @if [ ! -d "${c_compatibility_builddir}" ]; then \
415 mkdir -p ${c_compatibility_builddir} ;\
417 if [ ! -f stamp-c_compatibility ]; then \
418 if [ ! -z "${c_compatibility_headers_extra}" ]; then \
419 (cd ${c_compatibility_builddir} && @LN_S@ $? . || true) ;\
421 echo `date` > stamp-c_compatibility ;\
424 stamp-backward: ${backward_headers}
425 @if [ ! -d "${backward_builddir}" ]; then \
426 mkdir -p ${backward_builddir} ;\
428 if [ ! -f stamp-backward ]; then \
429 (cd ${backward_builddir} && @LN_S@ $? . || true) ;\
430 echo `date` > stamp-backward ;\
433 stamp-ext: ${ext_headers}
434 @if [ ! -d "${ext_builddir}" ]; then \
435 mkdir -p ${ext_builddir} ;\
437 if [ ! -f stamp-ext ]; then \
438 (cd ${ext_builddir} && @LN_S@ $? . || true) ;\
439 echo `date` > stamp-ext ;\
443 @if [ ! -d ${host_builddir} ]; then \
444 mkdir -p ${host_builddir} ;\
445 echo `date` > stamp-${host_alias} ;\
448 # Host includes static.
449 # XXX Missing dependency info for {host_headers_extra}
450 stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias}
451 @if [ ! -f stamp-host ]; then \
452 (cd ${host_builddir} ;\
453 @LN_S@ ${host_headers} . || true ;\
454 @LN_S@ ${glibcxx_srcdir}/@BASIC_FILE_H@ basic_file.h || true ;\
455 @LN_S@ ${glibcxx_srcdir}/@CSTDIO_H@ c++io.h || true ;\
456 @LN_S@ ${glibcxx_srcdir}/@CLOCALE_H@ c++locale.h || true ;\
457 @LN_S@ ${glibcxx_srcdir}/@CLOCALE_INTERNAL_H@ . || true ;\
458 @LN_S@ ${glibcxx_srcdir}/@CMESSAGES_H@ messages_members.h || true ;\
459 @LN_S@ ${glibcxx_srcdir}/@CTIME_H@ time_members.h || true ;\
460 @LN_S@ ${glibcxx_srcdir}/@CCODECVT_H@ codecvt_specializations.h || true);\
461 echo `date` > stamp-host ; \
464 # Host includes dynamic.
465 ${host_builddir}/c++config.h: ${CONFIG_HEADER} \
466 ${glibcxx_srcdir}/include/bits/c++config \
468 @cat ${glibcxx_srcdir}/include/bits/c++config > $@ ;\
469 sed -e 's/HAVE_/_GLIBCXX_HAVE_/g' \
470 -e 's/PACKAGE/_GLIBCXX_PACKAGE/g' \
471 -e 's/VERSION/_GLIBCXX_VERSION/g' \
472 -e 's/WORDS_/_GLIBCXX_WORDS_/g' \
473 < ${CONFIG_HEADER} >> $@ ;\
474 echo "#endif // _CXXCONFIG_" >>$@
476 # Host includes for threads
477 glibcxx_thread_h = @glibcxx_thread_h@
478 uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
480 ${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
481 sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
482 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
483 < ${toplevel_srcdir}/gcc/gthr.h > $@
485 ${host_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
487 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
488 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
489 < ${toplevel_srcdir}/gcc/gthr-single.h > $@
491 ${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
493 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
494 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
495 -e 's/\(${uppercase}*WEAK\)/_GLIBCXX_\1/g' \
496 < ${toplevel_srcdir}/gcc/gthr-posix.h > $@
498 ${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \
500 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
501 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
502 -e 's/\(${uppercase}*WEAK\)/_GLIBCXX_\1/g' \
503 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
504 < ${toplevel_srcdir}/gcc/${glibcxx_thread_h} > $@
506 # Build a precompiled C++ include, stdc++.h.gch.
507 ${pch_input}: ${allstamped} ${host_builddir}/c++config.h ${pch_source}
508 touch ${pch_input}; \
509 if [ ! -d "${pch_output_builddir}" ]; then \
510 mkdir -p ${pch_output_builddir}; \
512 $(CXX) $(PCHFLAGS) $(INCLUDES) ${pch_source} -O0 -g -o ${pch_output_builddir}/O0g; \
513 $(CXX) $(PCHFLAGS) $(INCLUDES) ${pch_source} -O2 -g -o ${pch_output_builddir}/O2g;
515 # For robustness sake (in light of junk files or in-source
516 # configuration), copy from the build or source tree to the install
517 # tree using only the human-maintained file lists and directory
518 # components. Yes, with minor differences, this is sheer duplication
519 # of the staging rules above using $(INSTALL_DATA) instead of LN_S and
520 # `$(mkinstalldirs)' instead of `mkdir -p'. In particular,
521 # host_headers_extra are taken out of the build tree staging area;
522 # the rest are taken from the original source tree.
523 gxx_include_dir = @gxx_include_dir@
525 install-data-local: install-headers ${pch_install}
528 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
529 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${bits_builddir}
530 for file in ${bits_headers}; do \
531 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
532 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${backward_builddir}
533 for file in ${backward_headers}; do \
534 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${backward_builddir}; done
535 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${ext_builddir}
536 for file in ${ext_headers}; do \
537 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${ext_builddir}; done
538 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
539 for file in ${c_base_headers_rename}; do \
540 $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
541 c_base_headers_extra_install='$(c_base_headers_extra)';\
542 for file in $$c_base_headers_extra_install; do \
543 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
544 c_compatibility_headers_install='$(c_compatibility_headers_extra)';\
545 for file in $$c_compatibility_headers_install; do \
546 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}; done
547 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
548 for file in ${std_headers_rename}; do \
549 $(INSTALL_DATA) ${std_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done
550 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir}
551 for file in ${host_headers} ${host_headers_extra} \
552 ${thread_host_headers}; do \
553 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done
556 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}
557 for file in ${pch_output_builddir}/*; do \
558 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}; done
560 # By adding these files here, automake will remove them for 'make clean'
561 CLEANFILES = ${pch_input} ${pch_output_builddir}/*
563 # Stop implicit '.o' make rules from ever stomping on extensionless
564 # headers, in the improbable case where some foolish, crack-addled
565 # developer tries to create them via make in the include build
566 # directory. (This is more of an example of how this kind of rule can
568 .PRECIOUS: $(std_headers_rename) $(c_base_headers_rename)
569 $(std_headers_rename): ; @:
570 $(c_base_headers_rename): ; @: