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