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