]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/include/Makefile.in
jacks.exp (gcj_jacks_write): Enable "assert" constraint.
[thirdparty/gcc.git] / libstdc++-v3 / include / Makefile.in
CommitLineData
4c4809c1 1# Makefile.in generated by automake 1.7.8 from Makefile.am.
ff66d28f 2# @configure_input@
4a9d5109 3
ff66d28f
PE
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
4a9d5109
SW
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
ff66d28f 15@SET_MAKE@
4a9d5109
SW
16
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19VPATH = @srcdir@
4a9d5109
SW
20pkgdatadir = $(datadir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@
4a9d5109
SW
23top_builddir = ..
24
ff66d28f 25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4a9d5109 26INSTALL = @INSTALL@
ff66d28f
PE
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
4a9d5109
SW
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
4a9d5109 38build_triplet = @build@
4a9d5109 39host_triplet = @host@
4a9d5109 40target_triplet = @target@
ff66d28f
PE
41ACLOCAL = @ACLOCAL@
42AMTAR = @AMTAR@
4a9d5109
SW
43AR = @AR@
44AS = @AS@
45ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
ff66d28f
PE
46AUTOCONF = @AUTOCONF@
47AUTOHEADER = @AUTOHEADER@
48AUTOMAKE = @AUTOMAKE@
ab3bc736 49AWK = @AWK@
6aa43d99 50BASIC_FILE_CC = @BASIC_FILE_CC@
4a9d5109
SW
51BASIC_FILE_H = @BASIC_FILE_H@
52CC = @CC@
6aa43d99 53CCODECVT_CC = @CCODECVT_CC@
33590f13 54CCODECVT_H = @CCODECVT_H@
6aa43d99
BK
55CCOLLATE_CC = @CCOLLATE_CC@
56CCTYPE_CC = @CCTYPE_CC@
ff66d28f 57CFLAGS = @CFLAGS@
6aa43d99 58CLOCALE_CC = @CLOCALE_CC@
4a9d5109 59CLOCALE_H = @CLOCALE_H@
6aa43d99
BK
60CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
61CMESSAGES_CC = @CMESSAGES_CC@
33590f13 62CMESSAGES_H = @CMESSAGES_H@
6aa43d99
BK
63CMONEY_CC = @CMONEY_CC@
64CNUMERIC_CC = @CNUMERIC_CC@
4a9d5109 65CPP = @CPP@
ff66d28f 66CPPFLAGS = @CPPFLAGS@
4a9d5109 67CSTDIO_H = @CSTDIO_H@
6aa43d99 68CTIME_CC = @CTIME_CC@
1c26d8fd 69CTIME_H = @CTIME_H@
ff66d28f 70CXX = @CXX@
4a9d5109 71CXXCPP = @CXXCPP@
ff66d28f
PE
72CXXFLAGS = @CXXFLAGS@
73CYGPATH_W = @CYGPATH_W@
4a9d5109
SW
74C_INCLUDE_DIR = @C_INCLUDE_DIR@
75DEBUG_FLAGS = @DEBUG_FLAGS@
ff66d28f
PE
76DEFS = @DEFS@
77ECHO_C = @ECHO_C@
78ECHO_N = @ECHO_N@
79ECHO_T = @ECHO_T@
80EGREP = @EGREP@
54c1bf78 81EXEEXT = @EXEEXT@
4a9d5109 82EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
ff66d28f
PE
83GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
84GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
ff66d28f
PE
85GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
86GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
87GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE = @GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@
88GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE = @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@
89GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
90GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
91GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
92GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
93GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
94GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
92eabea2
PE
95GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
96GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
ff66d28f
PE
97GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
98GLIBCXX_TEST_ABI_FALSE = @GLIBCXX_TEST_ABI_FALSE@
99GLIBCXX_TEST_ABI_TRUE = @GLIBCXX_TEST_ABI_TRUE@
100GLIBCXX_TEST_WCHAR_T_FALSE = @GLIBCXX_TEST_WCHAR_T_FALSE@
101GLIBCXX_TEST_WCHAR_T_TRUE = @GLIBCXX_TEST_WCHAR_T_TRUE@
102INSTALL_DATA = @INSTALL_DATA@
103INSTALL_PROGRAM = @INSTALL_PROGRAM@
104INSTALL_SCRIPT = @INSTALL_SCRIPT@
105INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
4a9d5109 106LIBMATHOBJS = @LIBMATHOBJS@
ff66d28f
PE
107LIBOBJS = @LIBOBJS@
108LIBS = @LIBS@
4a9d5109
SW
109LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
110LIBTOOL = @LIBTOOL@
263c6fa8 111LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
4a9d5109 112LN_S = @LN_S@
ff66d28f 113LTLIBOBJS = @LTLIBOBJS@
4a9d5109 114MAINT = @MAINT@
ff66d28f
PE
115MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
116MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
54c1bf78 117MAKEINFO = @MAKEINFO@
4a9d5109
SW
118OBJEXT = @OBJEXT@
119OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
120OPT_LDFLAGS = @OPT_LDFLAGS@
121OS_INC_SRCDIR = @OS_INC_SRCDIR@
122PACKAGE = @PACKAGE@
ff66d28f
PE
123PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
124PACKAGE_NAME = @PACKAGE_NAME@
125PACKAGE_STRING = @PACKAGE_STRING@
126PACKAGE_TARNAME = @PACKAGE_TARNAME@
127PACKAGE_VERSION = @PACKAGE_VERSION@
128PATH_SEPARATOR = @PATH_SEPARATOR@
4a9d5109
SW
129RANLIB = @RANLIB@
130SECTION_FLAGS = @SECTION_FLAGS@
131SECTION_LDFLAGS = @SECTION_LDFLAGS@
ff66d28f
PE
132SET_MAKE = @SET_MAKE@
133SHELL = @SHELL@
4a9d5109 134STRIP = @STRIP@
6aa43d99 135SYMVER_MAP = @SYMVER_MAP@
4a9d5109 136TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
33590f13 137USE_NLS = @USE_NLS@
4a9d5109
SW
138VERSION = @VERSION@
139WARN_FLAGS = @WARN_FLAGS@
140WERROR = @WERROR@
ff66d28f
PE
141ac_ct_AR = @ac_ct_AR@
142ac_ct_AS = @ac_ct_AS@
143ac_ct_CC = @ac_ct_CC@
144ac_ct_CXX = @ac_ct_CXX@
145ac_ct_RANLIB = @ac_ct_RANLIB@
146ac_ct_STRIP = @ac_ct_STRIP@
147am__leading_dot = @am__leading_dot@
44f0760e 148baseline_dir = @baseline_dir@
ff66d28f
PE
149bindir = @bindir@
150build = @build@
151build_alias = @build_alias@
152build_cpu = @build_cpu@
153build_os = @build_os@
154build_vendor = @build_vendor@
501e321e 155check_msgfmt = @check_msgfmt@
ff66d28f 156datadir = @datadir@
4a9d5109
SW
157enable_shared = @enable_shared@
158enable_static = @enable_static@
ff66d28f 159exec_prefix = @exec_prefix@
3d7c150e
BK
160glibcxx_MOFILES = @glibcxx_MOFILES@
161glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
162glibcxx_POFILES = @glibcxx_POFILES@
ff66d28f 163glibcxx_builddir = @glibcxx_builddir@
3d7c150e
BK
164glibcxx_localedir = @glibcxx_localedir@
165glibcxx_prefixdir = @glibcxx_prefixdir@
ff66d28f 166glibcxx_srcdir = @glibcxx_srcdir@
ff66d28f 167glibcxx_thread_h = @glibcxx_thread_h@
3d7c150e
BK
168glibcxx_toolexecdir = @glibcxx_toolexecdir@
169glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
ff66d28f
PE
170gxx_include_dir = @gxx_include_dir@
171host = @host@
172host_alias = @host_alias@
173host_cpu = @host_cpu@
174host_os = @host_os@
175host_vendor = @host_vendor@
176includedir = @includedir@
177infodir = @infodir@
178install_sh = @install_sh@
179libdir = @libdir@
180libexecdir = @libexecdir@
4e10943d 181libtool_VERSION = @libtool_VERSION@
ff66d28f
PE
182localstatedir = @localstatedir@
183mandir = @mandir@
184multi_basedir = @multi_basedir@
185oldincludedir = @oldincludedir@
186port_specific_symbol_files = @port_specific_symbol_files@
187prefix = @prefix@
188program_transform_name = @program_transform_name@
189sbindir = @sbindir@
190sharedstatedir = @sharedstatedir@
191sysconfdir = @sysconfdir@
192target = @target@
193target_alias = @target_alias@
194target_cpu = @target_cpu@
195target_os = @target_os@
196target_vendor = @target_vendor@
4a9d5109
SW
197toplevel_srcdir = @toplevel_srcdir@
198
4a9d5109
SW
199MAINT_CHARSET = latin1
200
201mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
0df3f383 202PWD_COMMAND = $${PWDCMD-pwd}
82ba99d5 203STAMP = echo timestamp >
0df3f383
PE
204
205toolexecdir = $(glibcxx_toolexecdir)
206toolexeclibdir = $(glibcxx_toolexeclibdir)
207
208# These bits are all figured out from configure. Look in acinclude.m4
209# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
210CONFIG_CXXFLAGS = \
211 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
212
213WARN_CXXFLAGS = \
214 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
215
216
217# -I/-D flags to pass when compiling.
218AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
ab77073f
BK
219
220# Standard C++ includes.
3d7c150e 221std_srcdir = ${glibcxx_srcdir}/include/std
ab77073f 222std_builddir = .
53c2acdf
BK
223std_headers = \
224 ${std_srcdir}/std_algorithm.h \
225 ${std_srcdir}/std_bitset.h \
226 ${std_srcdir}/std_complex.h \
227 ${std_srcdir}/std_deque.h \
228 ${std_srcdir}/std_fstream.h \
229 ${std_srcdir}/std_functional.h \
230 ${std_srcdir}/std_iomanip.h \
231 ${std_srcdir}/std_ios.h \
232 ${std_srcdir}/std_iosfwd.h \
233 ${std_srcdir}/std_iostream.h \
234 ${std_srcdir}/std_istream.h \
235 ${std_srcdir}/std_iterator.h \
236 ${std_srcdir}/std_limits.h \
237 ${std_srcdir}/std_list.h \
238 ${std_srcdir}/std_locale.h \
239 ${std_srcdir}/std_map.h \
240 ${std_srcdir}/std_memory.h \
241 ${std_srcdir}/std_numeric.h \
242 ${std_srcdir}/std_ostream.h \
243 ${std_srcdir}/std_queue.h \
244 ${std_srcdir}/std_set.h \
245 ${std_srcdir}/std_sstream.h \
246 ${std_srcdir}/std_stack.h \
247 ${std_srcdir}/std_stdexcept.h \
248 ${std_srcdir}/std_streambuf.h \
249 ${std_srcdir}/std_string.h \
250 ${std_srcdir}/std_utility.h \
251 ${std_srcdir}/std_valarray.h \
252 ${std_srcdir}/std_vector.h
ab77073f 253
82ba99d5 254# Renamed at build time.
53c2acdf
BK
255std_headers_rename = \
256 algorithm \
257 bitset \
258 complex \
259 deque \
260 fstream \
261 functional \
262 iomanip \
263 ios \
264 iosfwd \
265 iostream \
266 istream \
267 iterator \
268 limits \
269 list \
270 locale \
271 map \
272 memory \
273 numeric \
274 ostream \
275 queue \
276 set \
277 sstream \
278 stack \
279 stdexcept \
280 streambuf \
281 string \
282 utility \
283 valarray \
284 vector
ab77073f
BK
285
286
3d7c150e 287bits_srcdir = ${glibcxx_srcdir}/include/bits
4a9d5109 288bits_builddir = ./bits
53c2acdf 289bits_headers = \
1ff9402d
BK
290 ${bits_srcdir}/allocator.h \
291 ${bits_srcdir}/allocator_traits.h \
53c2acdf
BK
292 ${bits_srcdir}/basic_ios.h \
293 ${bits_srcdir}/basic_ios.tcc \
294 ${bits_srcdir}/basic_string.h \
295 ${bits_srcdir}/basic_string.tcc \
296 ${bits_srcdir}/boost_concept_check.h \
297 ${bits_srcdir}/char_traits.h \
298 ${bits_srcdir}/codecvt.h \
299 ${bits_srcdir}/concept_check.h \
300 ${bits_srcdir}/cpp_type_traits.h \
301 ${bits_srcdir}/demangle.h \
302 ${bits_srcdir}/deque.tcc \
53c2acdf
BK
303 ${bits_srcdir}/fstream.tcc \
304 ${bits_srcdir}/functexcept.h \
305 ${bits_srcdir}/gslice.h \
306 ${bits_srcdir}/gslice_array.h \
307 ${bits_srcdir}/indirect_array.h \
308 ${bits_srcdir}/ios_base.h \
309 ${bits_srcdir}/istream.tcc \
310 ${bits_srcdir}/list.tcc \
311 ${bits_srcdir}/locale_classes.h \
312 ${bits_srcdir}/locale_facets.h \
313 ${bits_srcdir}/locale_facets.tcc \
314 ${bits_srcdir}/localefwd.h \
315 ${bits_srcdir}/mask_array.h \
316 ${bits_srcdir}/ostream.tcc \
4c4809c1 317 ${bits_srcdir}/postypes.h \
53c2acdf
BK
318 ${bits_srcdir}/stream_iterator.h \
319 ${bits_srcdir}/streambuf_iterator.h \
320 ${bits_srcdir}/slice_array.h \
321 ${bits_srcdir}/sstream.tcc \
322 ${bits_srcdir}/stl_algo.h \
323 ${bits_srcdir}/stl_algobase.h \
53c2acdf
BK
324 ${bits_srcdir}/stl_bvector.h \
325 ${bits_srcdir}/stl_construct.h \
326 ${bits_srcdir}/stl_deque.h \
327 ${bits_srcdir}/stl_function.h \
328 ${bits_srcdir}/stl_heap.h \
329 ${bits_srcdir}/stl_iterator.h \
330 ${bits_srcdir}/stl_iterator_base_funcs.h \
331 ${bits_srcdir}/stl_iterator_base_types.h \
332 ${bits_srcdir}/stl_list.h \
333 ${bits_srcdir}/stl_map.h \
334 ${bits_srcdir}/stl_multimap.h \
335 ${bits_srcdir}/stl_multiset.h \
336 ${bits_srcdir}/stl_numeric.h \
337 ${bits_srcdir}/stl_pair.h \
53c2acdf
BK
338 ${bits_srcdir}/stl_queue.h \
339 ${bits_srcdir}/stl_raw_storage_iter.h \
340 ${bits_srcdir}/stl_relops.h \
341 ${bits_srcdir}/stl_set.h \
342 ${bits_srcdir}/stl_stack.h \
343 ${bits_srcdir}/stl_tempbuf.h \
344 ${bits_srcdir}/stl_threads.h \
345 ${bits_srcdir}/stl_tree.h \
346 ${bits_srcdir}/stl_uninitialized.h \
347 ${bits_srcdir}/stl_vector.h \
348 ${bits_srcdir}/streambuf.tcc \
349 ${bits_srcdir}/stringfwd.h \
350 ${bits_srcdir}/type_traits.h \
351 ${bits_srcdir}/valarray_array.h \
352 ${bits_srcdir}/valarray_array.tcc \
353 ${bits_srcdir}/valarray_before.h \
354 ${bits_srcdir}/valarray_after.h \
355 ${bits_srcdir}/vector.tcc
4a9d5109
SW
356
357
3d7c150e 358backward_srcdir = ${glibcxx_srcdir}/include/backward
4a9d5109 359backward_builddir = ./backward
53c2acdf
BK
360backward_headers = \
361 ${backward_srcdir}/complex.h \
362 ${backward_srcdir}/iomanip.h \
363 ${backward_srcdir}/istream.h \
364 ${backward_srcdir}/ostream.h \
365 ${backward_srcdir}/stream.h \
366 ${backward_srcdir}/streambuf.h \
367 ${backward_srcdir}/algo.h \
368 ${backward_srcdir}/algobase.h \
369 ${backward_srcdir}/alloc.h \
370 ${backward_srcdir}/bvector.h \
371 ${backward_srcdir}/defalloc.h \
372 ${backward_srcdir}/deque.h \
373 ${backward_srcdir}/function.h \
374 ${backward_srcdir}/hash_map.h \
375 ${backward_srcdir}/hash_set.h \
376 ${backward_srcdir}/hashtable.h \
377 ${backward_srcdir}/heap.h \
378 ${backward_srcdir}/iostream.h \
379 ${backward_srcdir}/iterator.h \
380 ${backward_srcdir}/list.h \
381 ${backward_srcdir}/map.h \
382 ${backward_srcdir}/multimap.h \
383 ${backward_srcdir}/new.h \
384 ${backward_srcdir}/multiset.h \
385 ${backward_srcdir}/pair.h \
386 ${backward_srcdir}/queue.h \
387 ${backward_srcdir}/rope.h \
388 ${backward_srcdir}/set.h \
389 ${backward_srcdir}/slist.h \
390 ${backward_srcdir}/stack.h \
391 ${backward_srcdir}/tempbuf.h \
392 ${backward_srcdir}/tree.h \
393 ${backward_srcdir}/vector.h \
394 ${backward_srcdir}/fstream.h \
395 ${backward_srcdir}/strstream \
396 ${backward_srcdir}/backward_warning.h
4a9d5109
SW
397
398
3d7c150e 399ext_srcdir = ${glibcxx_srcdir}/include/ext
4a9d5109 400ext_builddir = ./ext
53c2acdf
BK
401ext_headers = \
402 ${ext_srcdir}/algorithm \
1ff9402d 403 ${ext_srcdir}/debug_allocator.h \
53c2acdf
BK
404 ${ext_srcdir}/enc_filebuf.h \
405 ${ext_srcdir}/stdio_filebuf.h \
51ff8149 406 ${ext_srcdir}/stdio_sync_filebuf.h \
53c2acdf
BK
407 ${ext_srcdir}/functional \
408 ${ext_srcdir}/hash_map \
409 ${ext_srcdir}/hash_set \
410 ${ext_srcdir}/iterator \
1ff9402d 411 ${ext_srcdir}/malloc_allocator.h \
53c2acdf 412 ${ext_srcdir}/memory \
1ff9402d
BK
413 ${ext_srcdir}/mt_allocator.h \
414 ${ext_srcdir}/new_allocator.h \
53c2acdf 415 ${ext_srcdir}/numeric \
9e7facfd 416 ${ext_srcdir}/pod_char_traits.h \
1ff9402d 417 ${ext_srcdir}/pool_allocator.h \
53c2acdf
BK
418 ${ext_srcdir}/rb_tree \
419 ${ext_srcdir}/rope \
420 ${ext_srcdir}/ropeimpl.h \
421 ${ext_srcdir}/slist \
b2acb86f 422 ${ext_srcdir}/hash_fun.h \
82ba99d5 423 ${ext_srcdir}/hashtable.h
4a9d5109
SW
424
425
426# This is the common subset of files that all three "C" header models use.
ca618b60 427c_base_srcdir = $(C_INCLUDE_DIR)
73249e33 428c_base_builddir = .
53c2acdf
BK
429c_base_headers = \
430 ${c_base_srcdir}/std_cassert.h \
431 ${c_base_srcdir}/std_cctype.h \
432 ${c_base_srcdir}/std_cerrno.h \
433 ${c_base_srcdir}/std_cfloat.h \
434 ${c_base_srcdir}/std_ciso646.h \
435 ${c_base_srcdir}/std_climits.h \
436 ${c_base_srcdir}/std_clocale.h \
437 ${c_base_srcdir}/std_cmath.h \
438 ${c_base_srcdir}/std_csetjmp.h \
439 ${c_base_srcdir}/std_csignal.h \
440 ${c_base_srcdir}/std_cstdarg.h \
441 ${c_base_srcdir}/std_cstddef.h \
442 ${c_base_srcdir}/std_cstdio.h \
443 ${c_base_srcdir}/std_cstdlib.h \
444 ${c_base_srcdir}/std_cstring.h \
445 ${c_base_srcdir}/std_ctime.h \
446 ${c_base_srcdir}/std_cwchar.h \
82ba99d5 447 ${c_base_srcdir}/std_cwctype.h
53c2acdf
BK
448
449c_base_headers_rename = \
450 cassert \
451 cctype \
452 cerrno \
453 cfloat \
454 ciso646 \
455 climits \
456 clocale \
457 cmath \
458 csetjmp \
459 csignal \
460 cstdarg \
461 cstddef \
462 cstdio \
463 cstdlib \
464 cstring \
465 ctime \
466 cwchar \
82ba99d5 467 cwctype
83144cfc 468
e01c9849
BK
469
470# "C" compatibility headers.
3d7c150e 471c_compatibility_srcdir = ${glibcxx_srcdir}/include/c_compatibility
e01c9849 472c_compatibility_builddir = .
53c2acdf
BK
473c_compatibility_headers = \
474 ${c_compatibility_srcdir}/assert.h \
475 ${c_compatibility_srcdir}/ctype.h \
476 ${c_compatibility_srcdir}/errno.h \
477 ${c_compatibility_srcdir}/float.h \
478 ${c_compatibility_srcdir}/iso646.h \
479 ${c_compatibility_srcdir}/limits.h \
480 ${c_compatibility_srcdir}/locale.h \
481 ${c_compatibility_srcdir}/math.h \
482 ${c_compatibility_srcdir}/setjmp.h \
483 ${c_compatibility_srcdir}/signal.h \
484 ${c_compatibility_srcdir}/stdarg.h \
485 ${c_compatibility_srcdir}/stddef.h \
486 ${c_compatibility_srcdir}/stdio.h \
487 ${c_compatibility_srcdir}/stdlib.h \
488 ${c_compatibility_srcdir}/string.h \
489 ${c_compatibility_srcdir}/time.h \
490 ${c_compatibility_srcdir}/wchar.h \
82ba99d5 491 ${c_compatibility_srcdir}/wctype.h
53c2acdf 492
ff66d28f
PE
493
494# Some of the different "C" header models need extra files.
495# Some "C" header schemes require the "C" compatibility headers.
496# For --enable-cheaders=c_std
82ba99d5 497@GLIBCXX_C_HEADERS_C_STD_TRUE@c_base_headers_extra = ${c_base_srcdir}/cmath.tcc
4c4809c1 498@GLIBCXX_C_HEADERS_C_STD_FALSE@c_base_headers_extra =
3d7c150e 499@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@c_compatibility_headers_extra =
4a9d5109 500
ff66d28f
PE
501@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@c_compatibility_headers_extra = ${c_compatibility_headers}
502
ca618b60 503host_srcdir = ${glibcxx_srcdir}/$(OS_INC_SRCDIR)
a30335e9
BK
504host_builddir = ./${host_alias}/bits
505host_headers = \
506 ${host_srcdir}/ctype_base.h \
507 ${host_srcdir}/ctype_inline.h \
508 ${host_srcdir}/ctype_noninline.h \
509 ${host_srcdir}/os_defines.h \
4c4809c1 510 ${glibcxx_srcdir}/$(ATOMICITY_INC_SRCDIR)/atomicity.h
7bfea936 511
6aa43d99 512
a30335e9
BK
513# Non-installed host_header files.
514host_headers_noinst = \
ca618b60 515 ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H)
6aa43d99
BK
516
517
a30335e9
BK
518# These host_headers_extra files are all built with ad hoc naming rules.
519host_headers_extra = \
520 ${host_builddir}/basic_file.h \
521 ${host_builddir}/c++config.h \
522 ${host_builddir}/c++io.h \
523 ${host_builddir}/c++locale.h \
524 ${host_builddir}/messages_members.h \
525 ${host_builddir}/time_members.h \
526 ${host_builddir}/codecvt_specializations.h
8520f704
LR
527
528
a30335e9
BK
529thread_host_headers = \
530 ${host_builddir}/gthr.h \
531 ${host_builddir}/gthr-single.h \
532 ${host_builddir}/gthr-posix.h \
533 ${host_builddir}/gthr-default.h
8520f704
LR
534
535
a30335e9
BK
536pch_input = ${host_builddir}/stdc++.h
537pch_output_builddir = ${host_builddir}/stdc++.h.gch
3d7c150e 538pch_source = ${glibcxx_srcdir}/include/stdc++.h
9e57d5ca 539PCHFLAGS = -Winvalid-pch -Wno-deprecated -x c++-header $(CXXFLAGS)
3d7c150e 540@GLIBCXX_BUILD_PCH_FALSE@pch_build =
4c4809c1 541@GLIBCXX_BUILD_PCH_TRUE@pch_build = ${pch_input}
3d7c150e 542@GLIBCXX_BUILD_PCH_FALSE@pch_install =
4c4809c1 543@GLIBCXX_BUILD_PCH_TRUE@pch_install = install-pch
628c731a 544
4a9d5109
SW
545# List of all timestamp files. By keeping only one copy of this list, both
546# CLEANFILES and all-local are kept up-to-date.
53c2acdf
BK
547allstamped = \
548 stamp-std stamp-bits stamp-c_base stamp-c_compatibility \
82ba99d5 549 stamp-backward stamp-ext stamp-host
628c731a 550
4a9d5109 551
9e57d5ca
BK
552# List of all files that are created by explicit building, editing, or
553# catenation.
53c2acdf 554allcreated = \
a30335e9
BK
555 ${host_builddir}/c++config.h \
556 ${thread_host_headers} \
53c2acdf 557 ${pch_build}
9e57d5ca 558
ca618b60
PE
559
560# Host includes for threads
4a9d5109
SW
561uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
562
ab77073f 563# By adding these files here, automake will remove them for 'make clean'
53c2acdf 564CLEANFILES = ${pch_input} ${pch_output_builddir}/*
ff66d28f
PE
565subdir = include
566ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
567CONFIG_HEADER = $(top_builddir)/config.h
568CONFIG_CLEAN_FILES =
569depcomp =
570am__depfiles_maybe =
571DIST_SOURCES =
4c4809c1
BK
572DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/fragment.am \
573 Makefile.am
ff66d28f 574all: all-am
54c1bf78 575
54c1bf78 576.SUFFIXES:
0df3f383 577$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/fragment.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
ff66d28f
PE
578 cd $(top_srcdir) && \
579 $(AUTOMAKE) --foreign include/Makefile
580Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
581 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
582
583mostlyclean-libtool:
584 -rm -f *.lo
54c1bf78 585
ff66d28f
PE
586clean-libtool:
587 -rm -rf .libs _libs
f53d0ff1 588
ff66d28f
PE
589distclean-libtool:
590 -rm -f libtool
591uninstall-info-am:
4a9d5109
SW
592tags: TAGS
593TAGS:
594
ff66d28f
PE
595ctags: CTAGS
596CTAGS:
4a9d5109 597
ff66d28f 598DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
3d90ff93 599
ff66d28f
PE
600top_distdir = ..
601distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
54c1bf78
BK
602
603distdir: $(DISTFILES)
0df3f383 604 $(mkinstalldirs) $(distdir)/..
ff66d28f
PE
605 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
606 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
607 list='$(DISTFILES)'; for file in $$list; do \
608 case $$file in \
609 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
610 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
611 esac; \
612 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
613 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
614 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
615 dir="/$$dir"; \
616 $(mkinstalldirs) "$(distdir)$$dir"; \
617 else \
618 dir=''; \
619 fi; \
54c1bf78 620 if test -d $$d/$$file; then \
ff66d28f
PE
621 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
622 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
623 fi; \
624 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
54c1bf78
BK
625 else \
626 test -f $(distdir)/$$file \
ff66d28f
PE
627 || cp -p $$d/$$file $(distdir)/$$file \
628 || exit 1; \
54c1bf78
BK
629 fi; \
630 done
ff66d28f 631check-am: all-am
54c1bf78 632check: check-am
ff66d28f 633all-am: Makefile all-local
54c1bf78 634
ff66d28f
PE
635installdirs:
636install: install-am
637install-exec: install-exec-am
2c1bc4eb 638install-data: install-data-am
ff66d28f 639uninstall: uninstall-am
4a9d5109 640
2c1bc4eb
PC
641install-am: all-am
642 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
54c1bf78 643
ff66d28f
PE
644installcheck: installcheck-am
645install-strip:
646 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
647 INSTALL_STRIP_FLAG=-s \
648 `test -z '$(STRIP)' || \
649 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
4a9d5109
SW
650mostlyclean-generic:
651
652clean-generic:
ab77073f 653 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
4a9d5109
SW
654
655distclean-generic:
4c4809c1 656 -rm -f $(CONFIG_CLEAN_FILES)
4a9d5109
SW
657
658maintainer-clean-generic:
ff66d28f
PE
659 @echo "This command is intended for maintainers to use"
660 @echo "it deletes files that may require special tools to rebuild."
661clean: clean-am
2c1bc4eb 662
ff66d28f 663clean-am: clean-generic clean-libtool mostlyclean-am
f53d0ff1 664
ff66d28f 665distclean: distclean-am
4c4809c1 666 -rm -f Makefile
ff66d28f 667distclean-am: clean-am distclean-generic distclean-libtool
f53d0ff1 668
ff66d28f 669dvi: dvi-am
f53d0ff1 670
ff66d28f 671dvi-am:
f53d0ff1 672
ff66d28f
PE
673info: info-am
674
675info-am:
676
677install-data-am: install-data-local
678
679install-exec-am:
680
681install-info: install-info-am
682
683install-man:
684
685installcheck-am:
4a9d5109
SW
686
687maintainer-clean: maintainer-clean-am
4c4809c1 688 -rm -f Makefile
ff66d28f
PE
689maintainer-clean-am: distclean-am maintainer-clean-generic
690
691mostlyclean: mostlyclean-am
692
693mostlyclean-am: mostlyclean-generic mostlyclean-libtool
694
695pdf: pdf-am
696
697pdf-am:
698
699ps: ps-am
700
701ps-am:
702
703uninstall-am: uninstall-info-am
704
705.PHONY: all all-am all-local check check-am clean clean-generic \
706 clean-libtool distclean distclean-generic distclean-libtool \
707 distdir dvi dvi-am info info-am install install-am install-data \
708 install-data-am install-data-local install-exec install-exec-am \
709 install-info install-info-am install-man install-strip \
710 installcheck installcheck-am installdirs maintainer-clean \
711 maintainer-clean-generic mostlyclean mostlyclean-generic \
712 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
713 uninstall-info-am
4a9d5109
SW
714
715
716# Here are the rules for building the headers
82ba99d5 717all-local: ${allstamped} ${allcreated}
4a9d5109 718
066930bb
PE
719# This rule is slightly different, in that we must change the name of the
720# local file from std_foo.h to foo.
4a9d5109
SW
721stamp-std: ${std_headers}
722 @if [ ! -d "${std_builddir}" ]; then \
723 mkdir -p ${std_builddir} ;\
724 fi ;\
7ec3af37
BK
725 if [ ! -f stamp-std ]; then \
726 (cd ${std_builddir} && for h in $?; do \
727 official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
82ba99d5 728 $(LN_S) $$h ./$${official_name} || true ;\
7ec3af37 729 done) ;\
82ba99d5
PE
730 fi ;\
731 $(STAMP) stamp-std
ab77073f 732
4a9d5109
SW
733stamp-bits: ${bits_headers}
734 @if [ ! -d "${bits_builddir}" ]; then \
735 mkdir -p ${bits_builddir} ;\
736 fi ;\
7ec3af37 737 if [ ! -f stamp-bits ]; then \
82ba99d5
PE
738 (cd ${bits_builddir} && $(LN_S) $? . || true) ;\
739 fi ;\
740 $(STAMP) stamp-bits
4a9d5109 741
82ba99d5 742stamp-c_base: stamp-bits ${c_base_headers} ${c_base_headers_extra}
4a9d5109
SW
743 @if [ ! -d "${c_base_builddir}" ]; then \
744 mkdir -p ${c_base_builddir} ;\
745 fi ;\
7ec3af37 746 if [ ! -f stamp-c_base ]; then \
9e57d5ca
BK
747 (cd ${c_base_builddir} && for h in ${c_base_headers}; do \
748 official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
82ba99d5 749 $(LN_S) $$h ./$${official_name} || true ;\
9e57d5ca 750 done) ;\
7ec3af37 751 if [ ! -z "${c_base_headers_extra}" ]; then \
82ba99d5 752 (cd ${bits_builddir} && $(LN_S) ${c_base_headers_extra} . || true) ;\
7ec3af37 753 fi ;\
82ba99d5
PE
754 fi ;\
755 $(STAMP) stamp-c_base
4a9d5109 756
e01c9849
BK
757stamp-c_compatibility: ${c_compatibility_headers_extra}
758 @if [ ! -d "${c_compatibility_builddir}" ]; then \
759 mkdir -p ${c_compatibility_builddir} ;\
760 fi ;\
7ec3af37
BK
761 if [ ! -f stamp-c_compatibility ]; then \
762 if [ ! -z "${c_compatibility_headers_extra}" ]; then \
82ba99d5 763 (cd ${c_compatibility_builddir} && $(LN_S) $? . || true) ;\
7ec3af37 764 fi ;\
82ba99d5
PE
765 fi ;\
766 $(STAMP) stamp-c_compatibility
e01c9849 767
4a9d5109
SW
768stamp-backward: ${backward_headers}
769 @if [ ! -d "${backward_builddir}" ]; then \
770 mkdir -p ${backward_builddir} ;\
771 fi ;\
7ec3af37 772 if [ ! -f stamp-backward ]; then \
82ba99d5
PE
773 (cd ${backward_builddir} && $(LN_S) $? . || true) ;\
774 fi ;\
775 $(STAMP) stamp-backward
4a9d5109
SW
776
777stamp-ext: ${ext_headers}
778 @if [ ! -d "${ext_builddir}" ]; then \
7ec3af37 779 mkdir -p ${ext_builddir} ;\
4a9d5109 780 fi ;\
7ec3af37 781 if [ ! -f stamp-ext ]; then \
82ba99d5
PE
782 (cd ${ext_builddir} && $(LN_S) $? . || true) ;\
783 fi ;\
784 $(STAMP) stamp-ext
4a9d5109 785
a30335e9
BK
786stamp-${host_alias}:
787 @if [ ! -d ${host_builddir} ]; then \
788 mkdir -p ${host_builddir} ;\
82ba99d5
PE
789 fi ;\
790 $(STAMP) stamp-${host_alias}
843312be 791
a30335e9
BK
792# Host includes static.
793# XXX Missing dependency info for {host_headers_extra}
794stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias}
795 @if [ ! -f stamp-host ]; then \
796 (cd ${host_builddir} ;\
82ba99d5 797 $(LN_S) ${host_headers} . || true ;\
ca618b60
PE
798 $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_H) basic_file.h || true ;\
799 $(LN_S) ${glibcxx_srcdir}/$(CSTDIO_H) c++io.h || true ;\
800 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_H) c++locale.h || true ;\
801 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H) . || true ;\
802 $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_H) messages_members.h || true ;\
803 $(LN_S) ${glibcxx_srcdir}/$(CTIME_H) time_members.h || true ;\
804 $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_H) codecvt_specializations.h || true);\
82ba99d5
PE
805 fi ;\
806 $(STAMP) stamp-host
4a9d5109 807
a30335e9 808# Host includes dynamic.
82ba99d5 809${host_builddir}/c++config.h: ${top_builddir}/config.h \
3d7c150e 810 ${glibcxx_srcdir}/include/bits/c++config \
a30335e9 811 stamp-${host_alias}
3d7c150e
BK
812 @cat ${glibcxx_srcdir}/include/bits/c++config > $@ ;\
813 sed -e 's/HAVE_/_GLIBCXX_HAVE_/g' \
814 -e 's/PACKAGE/_GLIBCXX_PACKAGE/g' \
815 -e 's/VERSION/_GLIBCXX_VERSION/g' \
816 -e 's/WORDS_/_GLIBCXX_WORDS_/g' \
42ebb17f 817 < ${CONFIG_HEADER} >> $@ ;\
3d7c150e 818 echo "#endif // _CXXCONFIG_" >>$@
4a9d5109 819
a30335e9 820${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
3d7c150e 821 sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
4a9d5109 822 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
533ab4d1 823 < ${toplevel_srcdir}/gcc/gthr.h > $@
4a9d5109 824
a30335e9
BK
825${host_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
826 stamp-${host_alias}
3d7c150e
BK
827 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
828 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
533ab4d1 829 < ${toplevel_srcdir}/gcc/gthr-single.h > $@
4a9d5109 830
a30335e9
BK
831${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
832 stamp-${host_alias}
3d7c150e
BK
833 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
834 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
835 -e 's/\(${uppercase}*WEAK\)/_GLIBCXX_\1/g' \
79d6ba0b
LR
836 < ${toplevel_srcdir}/gcc/gthr-posix.h > $@
837
3d7c150e 838${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \
a30335e9 839 stamp-${host_alias}
3d7c150e
BK
840 sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
841 -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
842 -e 's/\(${uppercase}*WEAK\)/_GLIBCXX_\1/g' \
79d6ba0b 843 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
3d7c150e 844 < ${toplevel_srcdir}/gcc/${glibcxx_thread_h} > $@
9e57d5ca
BK
845
846# Build a precompiled C++ include, stdc++.h.gch.
a30335e9 847${pch_input}: ${allstamped} ${host_builddir}/c++config.h ${pch_source}
9e57d5ca 848 touch ${pch_input}; \
8520f704
LR
849 if [ ! -d "${pch_output_builddir}" ]; then \
850 mkdir -p ${pch_output_builddir}; \
851 fi; \
0df3f383
PE
852 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) ${pch_source} -O0 -g -o ${pch_output_builddir}/O0g; \
853 $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) ${pch_source} -O2 -g -o ${pch_output_builddir}/O2g;
9e57d5ca 854
92eabea2
PE
855# For robustness sake (in light of junk files or in-source
856# configuration), copy from the build or source tree to the install
857# tree using only the human-maintained file lists and directory
858# components. Yes, with minor differences, this is sheer duplication
859# of the staging rules above using $(INSTALL_DATA) instead of LN_S and
860# `$(mkinstalldirs)' instead of `mkdir -p'. In particular,
861# host_headers_extra are taken out of the build tree staging area;
862# the rest are taken from the original source tree.
9e57d5ca 863
92eabea2
PE
864@GLIBCXX_HOSTED_TRUE@install-data-local: install-headers ${pch_install}
865@GLIBCXX_HOSTED_FALSE@install-data-local: install-freestanding-headers
866
867# This is a subset of the full install-headers rule. We only need <cstddef>,
868# <limits>, <cstdlib>, <cstdarg>, <new>, <typeinfo>, <exception>, and any
869# files which they include (and which we provide). The last three headers
870# are installed by libsupc++, so only the first four and the sub-includes
871# are copied here.
872install-freestanding-headers:
873 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
874 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir}
875 for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h; do \
876 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done
877 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
878 $(INSTALL_DATA) ${std_builddir}/limits $(DESTDIR)${gxx_include_dir}/${std_builddir}
879 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
880 for file in cstddef cstdlib cstdarg; do \
881 $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
882
883# The real deal.
9e57d5ca 884install-headers:
90e5b39f
CC
885 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
886 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${bits_builddir}
7bfea936 887 for file in ${bits_headers}; do \
90e5b39f
CC
888 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
889 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${backward_builddir}
7bfea936 890 for file in ${backward_headers}; do \
90e5b39f
CC
891 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${backward_builddir}; done
892 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${ext_builddir}
7bfea936 893 for file in ${ext_headers}; do \
90e5b39f
CC
894 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${ext_builddir}; done
895 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
73249e33 896 for file in ${c_base_headers_rename}; do \
90e5b39f 897 $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
e01c9849 898 c_base_headers_extra_install='$(c_base_headers_extra)';\
3eb35fcf 899 for file in $$c_base_headers_extra_install; do \
90e5b39f 900 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
e01c9849
BK
901 c_compatibility_headers_install='$(c_compatibility_headers_extra)';\
902 for file in $$c_compatibility_headers_install; do \
90e5b39f
CC
903 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}; done
904 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
73249e33 905 for file in ${std_headers_rename}; do \
90e5b39f 906 $(INSTALL_DATA) ${std_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done
a30335e9
BK
907 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir}
908 for file in ${host_headers} ${host_headers_extra} \
909 ${thread_host_headers}; do \
910 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done
4a9d5109 911
9e57d5ca 912install-pch:
8520f704
LR
913 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}
914 for file in ${pch_output_builddir}/*; do \
915 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}; done
9e57d5ca 916
c5535768
BK
917# Stop implicit '.o' make rules from ever stomping on extensionless
918# headers, in the improbable case where some foolish, crack-addled
919# developer tries to create them via make in the include build
654421eb
DE
920# directory. (This is more of an example of how this kind of rule can
921# be made.)
c5535768
BK
922.PRECIOUS: $(std_headers_rename) $(c_base_headers_rename)
923$(std_headers_rename): ; @:
924$(c_base_headers_rename): ; @:
4a9d5109
SW
925# Tell versions [3.59,3.63) of GNU make to not export all variables.
926# Otherwise a system limit (for SysV at least) may be exceeded.
927.NOEXPORT: