]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/include/Makefile.in
* doc/rtl.texi (Constants): Close @code tag.
[thirdparty/gcc.git] / libstdc++-v3 / include / Makefile.in
CommitLineData
047398eb 1# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
4a9d5109 2
047398eb 3# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
4a9d5109
SW
4# This Makefile.in is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11# PARTICULAR PURPOSE.
12
13
14SHELL = @SHELL@
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
20exec_prefix = @exec_prefix@
21
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
30infodir = @infodir@
31mandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
54c1bf78
BK
34
35DESTDIR =
36
4a9d5109
SW
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
54c1bf78 40
4a9d5109
SW
41top_builddir = ..
42
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
47
48INSTALL = @INSTALL@
54c1bf78 49INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
4a9d5109
SW
50INSTALL_DATA = @INSTALL_DATA@
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
54c1bf78 53
4a9d5109
SW
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
60build_alias = @build_alias@
61build_triplet = @build@
62host_alias = @host_alias@
63host_triplet = @host@
64target_alias = @target_alias@
65target_triplet = @target@
66AR = @AR@
67AS = @AS@
68ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
69BASIC_FILE_H = @BASIC_FILE_H@
33590f13
BK
70CATALOGS = @CATALOGS@
71CATOBJEXT = @CATOBJEXT@
4a9d5109
SW
72CC = @CC@
73CCODECVT_C = @CCODECVT_C@
33590f13 74CCODECVT_H = @CCODECVT_H@
4a9d5109 75CLOCALE_H = @CLOCALE_H@
33590f13 76CMESSAGES_H = @CMESSAGES_H@
4a9d5109 77CPP = @CPP@
f295ecef 78CPU_LIMITS_INC_SRCDIR = @CPU_LIMITS_INC_SRCDIR@
4a9d5109
SW
79CSHADOW_FLAGS = @CSHADOW_FLAGS@
80CSTDIO_H = @CSTDIO_H@
81CXXCPP = @CXXCPP@
82C_INCLUDE_DIR = @C_INCLUDE_DIR@
33590f13 83DATADIRNAME = @DATADIRNAME@
4a9d5109
SW
84DEBUG_FLAGS = @DEBUG_FLAGS@
85DLLTOOL = @DLLTOOL@
54c1bf78 86EXEEXT = @EXEEXT@
4a9d5109
SW
87EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
88GCJ = @GCJ@
89GCJFLAGS = @GCJFLAGS@
33590f13 90GENCAT = @GENCAT@
4a9d5109
SW
91GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
92GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
33590f13
BK
93GMOFILES = @GMOFILES@
94GMSGFMT = @GMSGFMT@
3fcfe88d
LR
95GT_NO = @GT_NO@
96GT_YES = @GT_YES@
97INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
33590f13 98INSTOBJEXT = @INSTOBJEXT@
3fcfe88d 99INTLDEPS = @INTLDEPS@
33590f13
BK
100INTLLIBS = @INTLLIBS@
101INTLOBJS = @INTLOBJS@
4a9d5109
SW
102LIBIO_INCLUDES = @LIBIO_INCLUDES@
103LIBMATHOBJS = @LIBMATHOBJS@
104LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
4a9d5109
SW
105LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
106LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
107LIBTOOL = @LIBTOOL@
108LN_S = @LN_S@
109MAINT = @MAINT@
54c1bf78 110MAKEINFO = @MAKEINFO@
33590f13
BK
111MKINSTALLDIRS = @MKINSTALLDIRS@
112MSGFMT = @MSGFMT@
4a9d5109
SW
113OBJDUMP = @OBJDUMP@
114OBJEXT = @OBJEXT@
115OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
116OPT_LDFLAGS = @OPT_LDFLAGS@
117OS_INC_SRCDIR = @OS_INC_SRCDIR@
118PACKAGE = @PACKAGE@
33590f13
BK
119POFILES = @POFILES@
120POSUB = @POSUB@
4a9d5109
SW
121RANLIB = @RANLIB@
122SECTION_FLAGS = @SECTION_FLAGS@
123SECTION_LDFLAGS = @SECTION_LDFLAGS@
124STRIP = @STRIP@
125TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
126USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
33590f13
BK
127USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
128USE_NLS = @USE_NLS@
4a9d5109
SW
129VERSION = @VERSION@
130WARN_FLAGS = @WARN_FLAGS@
131WERROR = @WERROR@
132enable_shared = @enable_shared@
133enable_static = @enable_static@
134glibcpp_CXX = @glibcpp_CXX@
33590f13 135glibcpp_MOFILES = @glibcpp_MOFILES@
4e10943d 136glibcpp_POFILES = @glibcpp_POFILES@
4a9d5109 137glibcpp_basedir = @glibcpp_basedir@
33590f13 138glibcpp_localedir = @glibcpp_localedir@
4a9d5109
SW
139glibcpp_prefixdir = @glibcpp_prefixdir@
140glibcpp_toolexecdir = @glibcpp_toolexecdir@
141glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
142ifGNUmake = @ifGNUmake@
3fcfe88d 143l = @l@
4a9d5109 144libio_la = @libio_la@
4e10943d
BK
145libtool_VERSION = @libtool_VERSION@
146release_VERSION = @release_VERSION@
4a9d5109
SW
147toplevel_srcdir = @toplevel_srcdir@
148
149AUTOMAKE_OPTIONS = 1.3 gnits
150MAINT_CHARSET = latin1
151
152mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
153
54c1bf78
BK
154# Cross compiler and multilib support.
155CXX = @glibcpp_CXX@
156glibcpp_srcdir = @glibcpp_srcdir@
157glibcpp_builddir = @glibcpp_builddir@
158
4a9d5109
SW
159bits_srcdir = ${glibcpp_srcdir}/include/bits
160bits_builddir = ./bits
3fcfe88d 161bits_headers = ${bits_srcdir}/basic_ios.h ${bits_srcdir}/basic_ios.tcc ${bits_srcdir}/basic_string.h ${bits_srcdir}/basic_string.tcc ${bits_srcdir}/boost_concept_check.h ${bits_srcdir}/char_traits.h ${bits_srcdir}/codecvt.h ${bits_srcdir}/concept_check.h ${bits_srcdir}/cpp_type_traits.h ${bits_srcdir}/fpos.h ${bits_srcdir}/fstream.tcc ${bits_srcdir}/functexcept.h ${bits_srcdir}/generic_shadow.h ${bits_srcdir}/gslice.h ${bits_srcdir}/gslice_array.h ${bits_srcdir}/indirect_array.h ${bits_srcdir}/ios_base.h ${bits_srcdir}/istream.tcc ${bits_srcdir}/locale_facets.h ${bits_srcdir}/locale_facets.tcc ${bits_srcdir}/localefwd.h ${bits_srcdir}/mask_array.h ${bits_srcdir}/ostream.tcc ${bits_srcdir}/pthread_allocimpl.h ${bits_srcdir}/stream_iterator.h ${bits_srcdir}/streambuf_iterator.h ${bits_srcdir}/slice.h ${bits_srcdir}/slice_array.h ${bits_srcdir}/sstream.tcc ${bits_srcdir}/stl_algo.h ${bits_srcdir}/stl_algobase.h ${bits_srcdir}/stl_alloc.h ${bits_srcdir}/stl_bvector.h ${bits_srcdir}/stl_construct.h ${bits_srcdir}/stl_deque.h ${bits_srcdir}/stl_function.h ${bits_srcdir}/stl_heap.h ${bits_srcdir}/stl_iterator.h ${bits_srcdir}/stl_iterator_base_funcs.h ${bits_srcdir}/stl_iterator_base_types.h ${bits_srcdir}/stl_list.h ${bits_srcdir}/stl_map.h ${bits_srcdir}/stl_multimap.h ${bits_srcdir}/stl_multiset.h ${bits_srcdir}/stl_numeric.h ${bits_srcdir}/stl_pair.h ${bits_srcdir}/stl_pthread_alloc.h ${bits_srcdir}/stl_queue.h ${bits_srcdir}/stl_raw_storage_iter.h ${bits_srcdir}/stl_relops.h ${bits_srcdir}/stl_set.h ${bits_srcdir}/stl_stack.h ${bits_srcdir}/stl_tempbuf.h ${bits_srcdir}/stl_threads.h ${bits_srcdir}/stl_tree.h ${bits_srcdir}/stl_uninitialized.h ${bits_srcdir}/stl_vector.h ${bits_srcdir}/streambuf.tcc ${bits_srcdir}/stringfwd.h ${bits_srcdir}/type_traits.h ${bits_srcdir}/valarray_array.h ${bits_srcdir}/valarray_array.tcc ${bits_srcdir}/valarray_meta.h
4a9d5109
SW
162
163
164backward_srcdir = ${glibcpp_srcdir}/include/backward
165backward_builddir = ./backward
3fcfe88d 166backward_headers = ${backward_srcdir}/complex.h ${backward_srcdir}/iomanip.h ${backward_srcdir}/istream.h ${backward_srcdir}/ostream.h ${backward_srcdir}/stream.h ${backward_srcdir}/streambuf.h ${backward_srcdir}/algo.h ${backward_srcdir}/algobase.h ${backward_srcdir}/alloc.h ${backward_srcdir}/bvector.h ${backward_srcdir}/defalloc.h ${backward_srcdir}/deque.h ${backward_srcdir}/function.h ${backward_srcdir}/hash_map.h ${backward_srcdir}/hash_set.h ${backward_srcdir}/hashtable.h ${backward_srcdir}/heap.h ${backward_srcdir}/iostream.h ${backward_srcdir}/iterator.h ${backward_srcdir}/list.h ${backward_srcdir}/map.h ${backward_srcdir}/multimap.h ${backward_srcdir}/new.h ${backward_srcdir}/multiset.h ${backward_srcdir}/pair.h ${backward_srcdir}/queue.h ${backward_srcdir}/rope.h ${backward_srcdir}/set.h ${backward_srcdir}/slist.h ${backward_srcdir}/stack.h ${backward_srcdir}/tempbuf.h ${backward_srcdir}/tree.h ${backward_srcdir}/vector.h ${backward_srcdir}/fstream.h ${backward_srcdir}/strstream.h ${backward_srcdir}/strstream ${backward_srcdir}/backward_warning.h
4a9d5109
SW
167
168
169ext_srcdir = ${glibcpp_srcdir}/include/ext
170ext_builddir = ./ext
3fcfe88d 171ext_headers = ${ext_srcdir}/algorithm ${ext_srcdir}/functional ${ext_srcdir}/hash_map ${ext_srcdir}/hash_set ${ext_srcdir}/iterator ${ext_srcdir}/memory ${ext_srcdir}/numeric ${ext_srcdir}/rb_tree ${ext_srcdir}/rope ${ext_srcdir}/ropeimpl.h ${ext_srcdir}/slist ${ext_srcdir}/stl_hash_fun.h ${ext_srcdir}/stl_hashtable.h ${ext_srcdir}/stl_rope.h
4a9d5109
SW
172
173
174# This is the common subset of files that all three "C" header models use.
30c1fa76 175c_base_srcdir = @C_INCLUDE_DIR@
73249e33 176c_base_builddir = .
3fcfe88d 177c_base_headers = ${c_base_srcdir}/std_cassert.h ${c_base_srcdir}/std_cctype.h ${c_base_srcdir}/std_cerrno.h ${c_base_srcdir}/std_cfloat.h ${c_base_srcdir}/std_ciso646.h ${c_base_srcdir}/std_climits.h ${c_base_srcdir}/std_clocale.h ${c_base_srcdir}/std_cmath.h ${c_base_srcdir}/std_csetjmp.h ${c_base_srcdir}/std_csignal.h ${c_base_srcdir}/std_cstdarg.h ${c_base_srcdir}/std_cstddef.h ${c_base_srcdir}/std_cstdio.h ${c_base_srcdir}/std_cstdlib.h ${c_base_srcdir}/std_cstring.h ${c_base_srcdir}/std_ctime.h ${c_base_srcdir}/std_cwchar.h ${c_base_srcdir}/std_cwctype.h
c5535768
BK
178
179# Some of the "C" headers need extra files.
3fcfe88d
LR
180c_base_headers_extra = ${c_base_srcdir}/cmath.tcc
181
182c_base_headers_rename = cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype
c5535768 183
4a9d5109
SW
184
185std_srcdir = ${glibcpp_srcdir}/include/std
73249e33 186std_builddir = .
3fcfe88d 187std_headers = ${std_srcdir}/std_algorithm.h ${std_srcdir}/std_bitset.h ${std_srcdir}/std_complex.h ${std_srcdir}/std_deque.h ${std_srcdir}/std_fstream.h ${std_srcdir}/std_functional.h ${std_srcdir}/std_iomanip.h ${std_srcdir}/std_ios.h ${std_srcdir}/std_iosfwd.h ${std_srcdir}/std_iostream.h ${std_srcdir}/std_istream.h ${std_srcdir}/std_iterator.h ${std_srcdir}/std_limits.h ${std_srcdir}/std_list.h ${std_srcdir}/std_locale.h ${std_srcdir}/std_map.h ${std_srcdir}/std_memory.h ${std_srcdir}/std_numeric.h ${std_srcdir}/std_ostream.h ${std_srcdir}/std_queue.h ${std_srcdir}/std_set.h ${std_srcdir}/std_sstream.h ${std_srcdir}/std_stack.h ${std_srcdir}/std_stdexcept.h ${std_srcdir}/std_streambuf.h ${std_srcdir}/std_string.h ${std_srcdir}/std_utility.h ${std_srcdir}/std_valarray.h ${std_srcdir}/std_vector.h
4a9d5109 188
047398eb 189# Renamed at build time.
3fcfe88d 190std_headers_rename = algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector
047398eb 191
4a9d5109
SW
192
193target_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@
194target_builddir = ./${target_alias}/bits
3fcfe88d 195target_headers = ${target_srcdir}/ctype_base.h ${target_srcdir}/ctype_inline.h ${target_srcdir}/ctype_noninline.h ${target_srcdir}/os_defines.h ${glibcpp_srcdir}/@ATOMICITY_INC_SRCDIR@/atomicity.h ${glibcpp_srcdir}/@CPU_LIMITS_INC_SRCDIR@/cpu_limits.h
7bfea936
LR
196
197# These extra_target_headers files are all built with ad hoc naming rules.
3fcfe88d 198extra_target_headers = ${target_builddir}/basic_file.h ${target_builddir}/c++config.h ${target_builddir}/c++io.h ${target_builddir}/c++locale.h ${target_builddir}/messages_members.h ${target_builddir}/codecvt_specializations.h
4a9d5109
SW
199
200
3fcfe88d 201thread_target_headers = ${target_builddir}/gthr.h ${target_builddir}/gthr-single.h ${target_builddir}/gthr-default.h
4a9d5109
SW
202
203
204# List of all timestamp files. By keeping only one copy of this list, both
205# CLEANFILES and all-local are kept up-to-date.
3fcfe88d 206allstamps = stamp-std stamp-bits stamp-c_base stamp-backward stamp-ext ${target_builddir}/stamp-target
4a9d5109 207
54c1bf78
BK
208
209# Target includes for threads
210glibcpp_thread_h = @glibcpp_thread_h@
4a9d5109
SW
211uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
212
7bfea936
LR
213# For robustness sake (in light of junk files or in-source
214# configuration), copy from the build or source tree to the install
215# tree using only the human-maintained file lists and directory
216# components. Yes, with minor differences, this is sheer duplication
217# of the staging rules above using $(INSTALL_DATA) instead of LN_S and
218# `$(INSTALL) -d' instead of `mkdir -p'. In particular,
219# extra_target_headers are taken out of the build tree staging area;
220# the rest are taken from the original source tree.
54c1bf78
BK
221gxx_include_dir = @gxx_include_dir@
222CONFIG_HEADER = ../config.h
223CONFIG_CLEAN_FILES =
224DIST_COMMON = Makefile.am Makefile.in
3d90ff93 225
4a9d5109 226
54c1bf78
BK
227DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
228
3fcfe88d 229TAR = tar
54c1bf78
BK
230GZIP_ENV = --best
231all: all-redirect
232.SUFFIXES:
233$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
047398eb 234 cd $(top_srcdir) && $(AUTOMAKE) --cygnus include/Makefile
54c1bf78 235
047398eb 236Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
54c1bf78
BK
237 cd $(top_builddir) \
238 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
f53d0ff1 239
4a9d5109
SW
240tags: TAGS
241TAGS:
242
4a9d5109 243
54c1bf78 244distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
3d90ff93 245
54c1bf78
BK
246subdir = include
247
248distdir: $(DISTFILES)
249 @for file in $(DISTFILES); do \
047398eb 250 if test -f $$file; then d=.; else d=$(srcdir); fi; \
54c1bf78
BK
251 if test -d $$d/$$file; then \
252 cp -pr $$d/$$file $(distdir)/$$file; \
253 else \
254 test -f $(distdir)/$$file \
255 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
256 || cp -p $$d/$$file $(distdir)/$$file || :; \
257 fi; \
258 done
259info-am:
260info: info-am
261dvi-am:
262dvi: dvi-am
047398eb 263check-am:
54c1bf78
BK
264check: check-am
265installcheck-am:
266installcheck: installcheck-am
047398eb
BK
267install-info-am:
268install-info: install-info-am
54c1bf78 269install-exec-am:
2c1bc4eb 270install-exec: install-exec-am
54c1bf78
BK
271
272install-data-am: install-data-local
2c1bc4eb 273install-data: install-data-am
4a9d5109 274
2c1bc4eb
PC
275install-am: all-am
276 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
54c1bf78
BK
277install: install-am
278uninstall-am:
279uninstall: uninstall-am
280all-am: Makefile all-local
281all-redirect: all-am
f53d0ff1 282install-strip:
54c1bf78
BK
283 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
284installdirs:
285
286
4a9d5109
SW
287mostlyclean-generic:
288
289clean-generic:
4a9d5109
SW
290
291distclean-generic:
54c1bf78
BK
292 -rm -f Makefile $(CONFIG_CLEAN_FILES)
293 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
4a9d5109
SW
294
295maintainer-clean-generic:
54c1bf78 296mostlyclean-am: mostlyclean-generic
2c1bc4eb 297
54c1bf78 298mostlyclean: mostlyclean-am
f53d0ff1 299
54c1bf78 300clean-am: clean-generic mostlyclean-am
f53d0ff1 301
54c1bf78 302clean: clean-am
f53d0ff1 303
54c1bf78
BK
304distclean-am: distclean-generic clean-am
305 -rm -f libtool
f53d0ff1 306
54c1bf78 307distclean: distclean-am
f53d0ff1 308
54c1bf78
BK
309maintainer-clean-am: maintainer-clean-generic distclean-am
310 @echo "This command is intended for maintainers to use;"
311 @echo "it deletes files that may require special tools to rebuild."
4a9d5109
SW
312
313maintainer-clean: maintainer-clean-am
314
54c1bf78 315.PHONY: tags distdir info-am info dvi-am dvi check check-am \
047398eb
BK
316installcheck-am installcheck install-info-am install-info \
317install-exec-am install-exec install-data-local install-data-am \
318install-data install-am install uninstall-am uninstall all-local \
319all-redirect all-am all installdirs mostlyclean-generic \
320distclean-generic clean-generic maintainer-clean-generic clean \
321mostlyclean distclean maintainer-clean
4a9d5109
SW
322
323
324# Here are the rules for building the headers
3fcfe88d 325all-local: ${target_builddir}/c++config.h ${thread_target_headers} ${allstamps}
4a9d5109 326
066930bb
PE
327# This rule is slightly different, in that we must change the name of the
328# local file from std_foo.h to foo.
4a9d5109
SW
329stamp-std: ${std_headers}
330 @if [ ! -d "${std_builddir}" ]; then \
331 mkdir -p ${std_builddir} ;\
332 fi ;\
066930bb
PE
333 (cd ${std_builddir} && for h in $?; do \
334 official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
41fcea28 335 @LN_S@ $$h ./$${official_name} || true ;\
066930bb 336 done) ;\
843312be 337 echo `date` > stamp-std
4a9d5109
SW
338
339stamp-bits: ${bits_headers}
340 @if [ ! -d "${bits_builddir}" ]; then \
341 mkdir -p ${bits_builddir} ;\
342 fi ;\
7bfea936 343 (cd ${bits_builddir} && @LN_S@ $? . || true) ;\
4a9d5109
SW
344 echo `date` > stamp-bits
345
c5535768 346stamp-c_base: ${c_base_headers} ${c_base_headers_extra}
4a9d5109
SW
347 @if [ ! -d "${c_base_builddir}" ]; then \
348 mkdir -p ${c_base_builddir} ;\
349 fi ;\
c5535768
BK
350 (cd ${c_base_builddir} && for h in ${c_base_headers}; do \
351 official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
352 @LN_S@ $$h ./$${official_name} || true ;\
353 done) ;\
354 (cd ${c_base_builddir} && @LN_S@ ${c_base_headers_extra} . || true) ;\
4a9d5109
SW
355 echo `date` > stamp-c_base
356
4a9d5109
SW
357stamp-backward: ${backward_headers}
358 @if [ ! -d "${backward_builddir}" ]; then \
359 mkdir -p ${backward_builddir} ;\
360 fi ;\
7bfea936 361 (cd ${backward_builddir} && @LN_S@ $? . || true) ;\
4a9d5109
SW
362 echo `date` > stamp-backward
363
364stamp-ext: ${ext_headers}
365 @if [ ! -d "${ext_builddir}" ]; then \
366 mkdir -p ${ext_builddir} ;\
367 fi ;\
7bfea936 368 (cd ${ext_builddir} && @LN_S@ $? . || true) ;\
4a9d5109
SW
369 echo `date` > stamp-ext
370
4a9d5109
SW
371stamp-${target_alias}:
372 @if [ ! -d ${target_builddir} ]; then \
373 mkdir -p ${target_builddir} ;\
843312be
BK
374 echo `date` > stamp-${target_alias} ;\
375 fi
376
ea0c0b6e 377# Target includes static.
3fcfe88d 378${target_builddir}/stamp-target: ${target_headers} stamp-${target_alias}
843312be
BK
379 @cd ${target_builddir} ;\
380 if [ ! -f stamp-target ]; then \
7bfea936 381 @LN_S@ ${target_headers} . || true ;\
00532602 382 @LN_S@ ${glibcpp_srcdir}/@BASIC_FILE_H@ basic_file.h || true ;\
7bfea936
LR
383 @LN_S@ ${glibcpp_srcdir}/@CSTDIO_H@ c++io.h || true ;\
384 @LN_S@ ${glibcpp_srcdir}/@CLOCALE_H@ c++locale.h || true ;\
385 @LN_S@ ${glibcpp_srcdir}/@CMESSAGES_H@ messages_members.h || true ;\
386 @LN_S@ ${glibcpp_srcdir}/@CCODECVT_H@ codecvt_specializations.h || true ;\
843312be 387 echo `date` > stamp-target; \
4a9d5109 388 fi
4a9d5109 389
ea0c0b6e 390# Target includes dynamic.
3fcfe88d 391${target_builddir}/c++config.h: ${glibcpp_builddir}/config.h \
4a9d5109 392 ${glibcpp_srcdir}/include/bits/c++config \
3fcfe88d 393 stamp-${target_alias}
4a9d5109
SW
394 @cat ${glibcpp_srcdir}/include/bits/c++config > $@ ;\
395 sed -e 's/HAVE_/_GLIBCPP_HAVE_/g' \
396 -e 's/PACKAGE/_GLIBCPP_PACKAGE/g' \
397 -e 's/VERSION/_GLIBCPP_VERSION/g' \
398 -e 's/WORDS_/_GLIBCPP_WORDS_/g' \
399 < ${glibcpp_builddir}/config.h >> $@ ;\
400 echo "#endif // _CPP_CPPCONFIG_" >>$@
401
3fcfe88d 402${target_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${target_alias}
4a9d5109
SW
403 sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCPP_\1/g' \
404 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
533ab4d1 405 < ${toplevel_srcdir}/gcc/gthr.h > $@
4a9d5109 406
3fcfe88d
LR
407${target_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
408 stamp-${target_alias}
4a9d5109
SW
409 sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
410 -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
533ab4d1 411 < ${toplevel_srcdir}/gcc/gthr-single.h > $@
4a9d5109 412
3fcfe88d
LR
413${target_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcpp_thread_h} \
414 stamp-${target_alias}
4a9d5109
SW
415 sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
416 -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
417 -e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
533ab4d1 418 < ${toplevel_srcdir}/gcc/${glibcpp_thread_h} > $@
4a9d5109 419install-data-local:
7bfea936
LR
420 $(INSTALL) -d ${gxx_include_dir}
421 $(INSTALL) -d ${gxx_include_dir}/${bits_builddir}
422 for file in ${bits_headers}; do \
423 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${bits_builddir}; done
424 $(INSTALL) -d ${gxx_include_dir}/${backward_builddir}
425 for file in ${backward_headers}; do \
426 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${backward_builddir}; done
427 $(INSTALL) -d ${gxx_include_dir}/${ext_builddir}
428 for file in ${ext_headers}; do \
429 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${ext_builddir}; done
430 $(INSTALL) -d ${gxx_include_dir}/${c_base_builddir}
73249e33
LR
431 for file in ${c_base_headers_rename}; do \
432 $(INSTALL_DATA) ${c_base_builddir}/$${file} \
433 ${gxx_include_dir}/${c_base_builddir}; done
c5535768 434 for file in ${c_base_headers_extra}; do \
7bfea936
LR
435 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${c_base_builddir}; done
436 $(INSTALL) -d ${gxx_include_dir}/${std_builddir}
73249e33
LR
437 for file in ${std_headers_rename}; do \
438 $(INSTALL_DATA) ${std_builddir}/$${file} \
439 ${gxx_include_dir}/${std_builddir}; done
7bfea936 440 $(INSTALL) -d ${gxx_include_dir}/${target_builddir}
3fcfe88d
LR
441 for file in ${target_headers} ${extra_target_headers} \
442 ${thread_target_headers}; do \
7bfea936 443 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${target_builddir}; done
4a9d5109 444
843312be
BK
445# By adding these files here, automake will remove them for 'make clean'
446#CLEANFILES = ${allstamps}
54c1bf78 447
c5535768
BK
448# Stop implicit '.o' make rules from ever stomping on extensionless
449# headers, in the improbable case where some foolish, crack-addled
450# developer tries to create them via make in the include build
654421eb
DE
451# directory. (This is more of an example of how this kind of rule can
452# be made.)
c5535768
BK
453.PRECIOUS: $(std_headers_rename) $(c_base_headers_rename)
454$(std_headers_rename): ; @:
455$(c_base_headers_rename): ; @:
456
4a9d5109
SW
457# Tell versions [3.59,3.63) of GNU make to not export all variables.
458# Otherwise a system limit (for SysV at least) may be exceeded.
459.NOEXPORT: