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