]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/include/Makefile.in
locale_facets.tcc (num_put::_M_convert_float): Allow one more digit of precision.
[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@
ab3bc736 69AWK = @AWK@
4a9d5109 70BASIC_FILE_H = @BASIC_FILE_H@
33590f13
BK
71CATALOGS = @CATALOGS@
72CATOBJEXT = @CATOBJEXT@
4a9d5109
SW
73CC = @CC@
74CCODECVT_C = @CCODECVT_C@
33590f13 75CCODECVT_H = @CCODECVT_H@
4a9d5109 76CLOCALE_H = @CLOCALE_H@
33590f13 77CMESSAGES_H = @CMESSAGES_H@
4a9d5109 78CPP = @CPP@
f295ecef 79CPU_LIMITS_INC_SRCDIR = @CPU_LIMITS_INC_SRCDIR@
4a9d5109
SW
80CSHADOW_FLAGS = @CSHADOW_FLAGS@
81CSTDIO_H = @CSTDIO_H@
82CXXCPP = @CXXCPP@
83C_INCLUDE_DIR = @C_INCLUDE_DIR@
33590f13 84DATADIRNAME = @DATADIRNAME@
4a9d5109
SW
85DEBUG_FLAGS = @DEBUG_FLAGS@
86DLLTOOL = @DLLTOOL@
54c1bf78 87EXEEXT = @EXEEXT@
4a9d5109
SW
88EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
89GCJ = @GCJ@
90GCJFLAGS = @GCJFLAGS@
33590f13 91GENCAT = @GENCAT@
4a9d5109
SW
92GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
93GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
33590f13
BK
94GMOFILES = @GMOFILES@
95GMSGFMT = @GMSGFMT@
79d6ba0b
LR
96GT_NO = @GT_NO@
97GT_YES = @GT_YES@
98INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
33590f13 99INSTOBJEXT = @INSTOBJEXT@
79d6ba0b 100INTLDEPS = @INTLDEPS@
33590f13
BK
101INTLLIBS = @INTLLIBS@
102INTLOBJS = @INTLOBJS@
4a9d5109
SW
103LIBIO_INCLUDES = @LIBIO_INCLUDES@
104LIBMATHOBJS = @LIBMATHOBJS@
105LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
4a9d5109
SW
106LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
107LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
108LIBTOOL = @LIBTOOL@
109LN_S = @LN_S@
110MAINT = @MAINT@
54c1bf78 111MAKEINFO = @MAKEINFO@
33590f13
BK
112MKINSTALLDIRS = @MKINSTALLDIRS@
113MSGFMT = @MSGFMT@
4a9d5109
SW
114OBJDUMP = @OBJDUMP@
115OBJEXT = @OBJEXT@
116OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
117OPT_LDFLAGS = @OPT_LDFLAGS@
118OS_INC_SRCDIR = @OS_INC_SRCDIR@
119PACKAGE = @PACKAGE@
33590f13
BK
120POFILES = @POFILES@
121POSUB = @POSUB@
4a9d5109
SW
122RANLIB = @RANLIB@
123SECTION_FLAGS = @SECTION_FLAGS@
124SECTION_LDFLAGS = @SECTION_LDFLAGS@
125STRIP = @STRIP@
126TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
127USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
33590f13
BK
128USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
129USE_NLS = @USE_NLS@
4a9d5109
SW
130VERSION = @VERSION@
131WARN_FLAGS = @WARN_FLAGS@
132WERROR = @WERROR@
133enable_shared = @enable_shared@
134enable_static = @enable_static@
135glibcpp_CXX = @glibcpp_CXX@
33590f13 136glibcpp_MOFILES = @glibcpp_MOFILES@
4e10943d 137glibcpp_POFILES = @glibcpp_POFILES@
4a9d5109 138glibcpp_basedir = @glibcpp_basedir@
33590f13 139glibcpp_localedir = @glibcpp_localedir@
4a9d5109
SW
140glibcpp_prefixdir = @glibcpp_prefixdir@
141glibcpp_toolexecdir = @glibcpp_toolexecdir@
142glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
143ifGNUmake = @ifGNUmake@
79d6ba0b 144l = @l@
4a9d5109 145libio_la = @libio_la@
4e10943d
BK
146libtool_VERSION = @libtool_VERSION@
147release_VERSION = @release_VERSION@
4a9d5109
SW
148toplevel_srcdir = @toplevel_srcdir@
149
150AUTOMAKE_OPTIONS = 1.3 gnits
151MAINT_CHARSET = latin1
152
153mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
154
54c1bf78
BK
155# Cross compiler and multilib support.
156CXX = @glibcpp_CXX@
157glibcpp_srcdir = @glibcpp_srcdir@
158glibcpp_builddir = @glibcpp_builddir@
159
4a9d5109
SW
160bits_srcdir = ${glibcpp_srcdir}/include/bits
161bits_builddir = ./bits
79d6ba0b 162bits_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
163
164
165backward_srcdir = ${glibcpp_srcdir}/include/backward
166backward_builddir = ./backward
79d6ba0b 167backward_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
168
169
170ext_srcdir = ${glibcpp_srcdir}/include/ext
171ext_builddir = ./ext
79d6ba0b 172ext_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
173
174
175# This is the common subset of files that all three "C" header models use.
30c1fa76 176c_base_srcdir = @C_INCLUDE_DIR@
73249e33 177c_base_builddir = .
79d6ba0b 178c_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
179
180# Some of the "C" headers need extra files.
79d6ba0b
LR
181c_base_headers_extra = ${c_base_srcdir}/cmath.tcc
182
183c_base_headers_rename = cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype
c5535768 184
4a9d5109
SW
185
186std_srcdir = ${glibcpp_srcdir}/include/std
73249e33 187std_builddir = .
79d6ba0b 188std_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 189
047398eb 190# Renamed at build time.
79d6ba0b 191std_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 192
4a9d5109
SW
193
194target_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@
195target_builddir = ./${target_alias}/bits
79d6ba0b 196target_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
197
198# These extra_target_headers files are all built with ad hoc naming rules.
79d6ba0b 199extra_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
200
201
79d6ba0b 202thread_target_headers = ${target_builddir}/gthr.h ${target_builddir}/gthr-single.h ${target_builddir}/gthr-posix.h ${target_builddir}/gthr-default.h
4a9d5109
SW
203
204
205# List of all timestamp files. By keeping only one copy of this list, both
206# CLEANFILES and all-local are kept up-to-date.
79d6ba0b 207allstamps = stamp-std stamp-bits stamp-c_base stamp-backward stamp-ext ${target_builddir}/stamp-target
4a9d5109 208
54c1bf78
BK
209
210# Target includes for threads
211glibcpp_thread_h = @glibcpp_thread_h@
4a9d5109
SW
212uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
213
7bfea936
LR
214# For robustness sake (in light of junk files or in-source
215# configuration), copy from the build or source tree to the install
216# tree using only the human-maintained file lists and directory
217# components. Yes, with minor differences, this is sheer duplication
218# of the staging rules above using $(INSTALL_DATA) instead of LN_S and
219# `$(INSTALL) -d' instead of `mkdir -p'. In particular,
220# extra_target_headers are taken out of the build tree staging area;
221# the rest are taken from the original source tree.
54c1bf78
BK
222gxx_include_dir = @gxx_include_dir@
223CONFIG_HEADER = ../config.h
224CONFIG_CLEAN_FILES =
225DIST_COMMON = Makefile.am Makefile.in
3d90ff93 226
4a9d5109 227
54c1bf78
BK
228DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
229
79d6ba0b 230TAR = tar
54c1bf78
BK
231GZIP_ENV = --best
232all: all-redirect
233.SUFFIXES:
234$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
047398eb 235 cd $(top_srcdir) && $(AUTOMAKE) --cygnus include/Makefile
54c1bf78 236
047398eb 237Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
54c1bf78
BK
238 cd $(top_builddir) \
239 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
f53d0ff1 240
4a9d5109
SW
241tags: TAGS
242TAGS:
243
4a9d5109 244
54c1bf78 245distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
3d90ff93 246
54c1bf78
BK
247subdir = include
248
249distdir: $(DISTFILES)
250 @for file in $(DISTFILES); do \
047398eb 251 if test -f $$file; then d=.; else d=$(srcdir); fi; \
54c1bf78
BK
252 if test -d $$d/$$file; then \
253 cp -pr $$d/$$file $(distdir)/$$file; \
254 else \
255 test -f $(distdir)/$$file \
256 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
257 || cp -p $$d/$$file $(distdir)/$$file || :; \
258 fi; \
259 done
260info-am:
261info: info-am
262dvi-am:
263dvi: dvi-am
047398eb 264check-am:
54c1bf78
BK
265check: check-am
266installcheck-am:
267installcheck: installcheck-am
047398eb
BK
268install-info-am:
269install-info: install-info-am
54c1bf78 270install-exec-am:
2c1bc4eb 271install-exec: install-exec-am
54c1bf78
BK
272
273install-data-am: install-data-local
2c1bc4eb 274install-data: install-data-am
4a9d5109 275
2c1bc4eb
PC
276install-am: all-am
277 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
54c1bf78
BK
278install: install-am
279uninstall-am:
280uninstall: uninstall-am
281all-am: Makefile all-local
282all-redirect: all-am
f53d0ff1 283install-strip:
54c1bf78
BK
284 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
285installdirs:
286
287
4a9d5109
SW
288mostlyclean-generic:
289
290clean-generic:
4a9d5109
SW
291
292distclean-generic:
54c1bf78
BK
293 -rm -f Makefile $(CONFIG_CLEAN_FILES)
294 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
4a9d5109
SW
295
296maintainer-clean-generic:
54c1bf78 297mostlyclean-am: mostlyclean-generic
2c1bc4eb 298
54c1bf78 299mostlyclean: mostlyclean-am
f53d0ff1 300
54c1bf78 301clean-am: clean-generic mostlyclean-am
f53d0ff1 302
54c1bf78 303clean: clean-am
f53d0ff1 304
54c1bf78
BK
305distclean-am: distclean-generic clean-am
306 -rm -f libtool
f53d0ff1 307
54c1bf78 308distclean: distclean-am
f53d0ff1 309
54c1bf78
BK
310maintainer-clean-am: maintainer-clean-generic distclean-am
311 @echo "This command is intended for maintainers to use;"
312 @echo "it deletes files that may require special tools to rebuild."
4a9d5109
SW
313
314maintainer-clean: maintainer-clean-am
315
54c1bf78 316.PHONY: tags distdir info-am info dvi-am dvi check check-am \
047398eb
BK
317installcheck-am installcheck install-info-am install-info \
318install-exec-am install-exec install-data-local install-data-am \
319install-data install-am install uninstall-am uninstall all-local \
320all-redirect all-am all installdirs mostlyclean-generic \
321distclean-generic clean-generic maintainer-clean-generic clean \
322mostlyclean distclean maintainer-clean
4a9d5109
SW
323
324
325# Here are the rules for building the headers
3fcfe88d 326all-local: ${target_builddir}/c++config.h ${thread_target_headers} ${allstamps}
4a9d5109 327
066930bb
PE
328# This rule is slightly different, in that we must change the name of the
329# local file from std_foo.h to foo.
4a9d5109
SW
330stamp-std: ${std_headers}
331 @if [ ! -d "${std_builddir}" ]; then \
332 mkdir -p ${std_builddir} ;\
333 fi ;\
066930bb
PE
334 (cd ${std_builddir} && for h in $?; do \
335 official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
41fcea28 336 @LN_S@ $$h ./$${official_name} || true ;\
066930bb 337 done) ;\
843312be 338 echo `date` > stamp-std
4a9d5109
SW
339
340stamp-bits: ${bits_headers}
341 @if [ ! -d "${bits_builddir}" ]; then \
342 mkdir -p ${bits_builddir} ;\
343 fi ;\
7bfea936 344 (cd ${bits_builddir} && @LN_S@ $? . || true) ;\
4a9d5109
SW
345 echo `date` > stamp-bits
346
c5535768 347stamp-c_base: ${c_base_headers} ${c_base_headers_extra}
4a9d5109
SW
348 @if [ ! -d "${c_base_builddir}" ]; then \
349 mkdir -p ${c_base_builddir} ;\
350 fi ;\
c5535768
BK
351 (cd ${c_base_builddir} && for h in ${c_base_headers}; do \
352 official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
353 @LN_S@ $$h ./$${official_name} || true ;\
354 done) ;\
355 (cd ${c_base_builddir} && @LN_S@ ${c_base_headers_extra} . || true) ;\
4a9d5109
SW
356 echo `date` > stamp-c_base
357
4a9d5109
SW
358stamp-backward: ${backward_headers}
359 @if [ ! -d "${backward_builddir}" ]; then \
360 mkdir -p ${backward_builddir} ;\
361 fi ;\
7bfea936 362 (cd ${backward_builddir} && @LN_S@ $? . || true) ;\
4a9d5109
SW
363 echo `date` > stamp-backward
364
365stamp-ext: ${ext_headers}
366 @if [ ! -d "${ext_builddir}" ]; then \
367 mkdir -p ${ext_builddir} ;\
368 fi ;\
7bfea936 369 (cd ${ext_builddir} && @LN_S@ $? . || true) ;\
4a9d5109
SW
370 echo `date` > stamp-ext
371
4a9d5109
SW
372stamp-${target_alias}:
373 @if [ ! -d ${target_builddir} ]; then \
374 mkdir -p ${target_builddir} ;\
843312be
BK
375 echo `date` > stamp-${target_alias} ;\
376 fi
377
ea0c0b6e 378# Target includes static.
3fcfe88d 379${target_builddir}/stamp-target: ${target_headers} stamp-${target_alias}
843312be
BK
380 @cd ${target_builddir} ;\
381 if [ ! -f stamp-target ]; then \
7bfea936 382 @LN_S@ ${target_headers} . || true ;\
00532602 383 @LN_S@ ${glibcpp_srcdir}/@BASIC_FILE_H@ basic_file.h || true ;\
7bfea936
LR
384 @LN_S@ ${glibcpp_srcdir}/@CSTDIO_H@ c++io.h || true ;\
385 @LN_S@ ${glibcpp_srcdir}/@CLOCALE_H@ c++locale.h || true ;\
386 @LN_S@ ${glibcpp_srcdir}/@CMESSAGES_H@ messages_members.h || true ;\
387 @LN_S@ ${glibcpp_srcdir}/@CCODECVT_H@ codecvt_specializations.h || true ;\
843312be 388 echo `date` > stamp-target; \
4a9d5109 389 fi
4a9d5109 390
ea0c0b6e 391# Target includes dynamic.
42ebb17f 392${target_builddir}/c++config.h: ${CONFIG_HEADER} \
4a9d5109 393 ${glibcpp_srcdir}/include/bits/c++config \
3fcfe88d 394 stamp-${target_alias}
4a9d5109
SW
395 @cat ${glibcpp_srcdir}/include/bits/c++config > $@ ;\
396 sed -e 's/HAVE_/_GLIBCPP_HAVE_/g' \
397 -e 's/PACKAGE/_GLIBCPP_PACKAGE/g' \
398 -e 's/VERSION/_GLIBCPP_VERSION/g' \
399 -e 's/WORDS_/_GLIBCPP_WORDS_/g' \
42ebb17f 400 < ${CONFIG_HEADER} >> $@ ;\
4a9d5109
SW
401 echo "#endif // _CPP_CPPCONFIG_" >>$@
402
3fcfe88d 403${target_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${target_alias}
4a9d5109
SW
404 sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCPP_\1/g' \
405 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
533ab4d1 406 < ${toplevel_srcdir}/gcc/gthr.h > $@
4a9d5109 407
3fcfe88d
LR
408${target_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
409 stamp-${target_alias}
4a9d5109
SW
410 sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
411 -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
533ab4d1 412 < ${toplevel_srcdir}/gcc/gthr-single.h > $@
4a9d5109 413
79d6ba0b
LR
414${target_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
415 stamp-${target_alias}
416 sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
417 -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
418 -e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
419 < ${toplevel_srcdir}/gcc/gthr-posix.h > $@
420
3fcfe88d
LR
421${target_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcpp_thread_h} \
422 stamp-${target_alias}
4a9d5109
SW
423 sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
424 -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
425 -e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
79d6ba0b 426 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
533ab4d1 427 < ${toplevel_srcdir}/gcc/${glibcpp_thread_h} > $@
4a9d5109 428install-data-local:
7bfea936
LR
429 $(INSTALL) -d ${gxx_include_dir}
430 $(INSTALL) -d ${gxx_include_dir}/${bits_builddir}
431 for file in ${bits_headers}; do \
432 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${bits_builddir}; done
433 $(INSTALL) -d ${gxx_include_dir}/${backward_builddir}
434 for file in ${backward_headers}; do \
435 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${backward_builddir}; done
436 $(INSTALL) -d ${gxx_include_dir}/${ext_builddir}
437 for file in ${ext_headers}; do \
438 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${ext_builddir}; done
439 $(INSTALL) -d ${gxx_include_dir}/${c_base_builddir}
73249e33
LR
440 for file in ${c_base_headers_rename}; do \
441 $(INSTALL_DATA) ${c_base_builddir}/$${file} \
442 ${gxx_include_dir}/${c_base_builddir}; done
c5535768 443 for file in ${c_base_headers_extra}; do \
7bfea936
LR
444 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${c_base_builddir}; done
445 $(INSTALL) -d ${gxx_include_dir}/${std_builddir}
73249e33
LR
446 for file in ${std_headers_rename}; do \
447 $(INSTALL_DATA) ${std_builddir}/$${file} \
448 ${gxx_include_dir}/${std_builddir}; done
7bfea936 449 $(INSTALL) -d ${gxx_include_dir}/${target_builddir}
3fcfe88d
LR
450 for file in ${target_headers} ${extra_target_headers} \
451 ${thread_target_headers}; do \
7bfea936 452 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${target_builddir}; done
4a9d5109 453
843312be
BK
454# By adding these files here, automake will remove them for 'make clean'
455#CLEANFILES = ${allstamps}
54c1bf78 456
c5535768
BK
457# Stop implicit '.o' make rules from ever stomping on extensionless
458# headers, in the improbable case where some foolish, crack-addled
459# developer tries to create them via make in the include build
654421eb
DE
460# directory. (This is more of an example of how this kind of rule can
461# be made.)
c5535768
BK
462.PRECIOUS: $(std_headers_rename) $(c_base_headers_rename)
463$(std_headers_rename): ; @:
464$(c_base_headers_rename): ; @:
465
4a9d5109
SW
466# Tell versions [3.59,3.63) of GNU make to not export all variables.
467# Otherwise a system limit (for SysV at least) may be exceeded.
468.NOEXPORT: