OSDN Git Service

* include/Makefile.am (thread_target_headers): Unconditionally
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / include / Makefile.in
1 # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
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
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DESTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = ..
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
63 host_triplet = @host@
64 target_alias = @target_alias@
65 target_triplet = @target@
66 AR = @AR@
67 AS = @AS@
68 ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
69 AWK = @AWK@
70 BASIC_FILE_H = @BASIC_FILE_H@
71 CATALOGS = @CATALOGS@
72 CATOBJEXT = @CATOBJEXT@
73 CC = @CC@
74 CCODECVT_C = @CCODECVT_C@
75 CCODECVT_H = @CCODECVT_H@
76 CLOCALE_H = @CLOCALE_H@
77 CMESSAGES_H = @CMESSAGES_H@
78 CPP = @CPP@
79 CPU_LIMITS_INC_SRCDIR = @CPU_LIMITS_INC_SRCDIR@
80 CSHADOW_FLAGS = @CSHADOW_FLAGS@
81 CSTDIO_H = @CSTDIO_H@
82 CXXCPP = @CXXCPP@
83 C_INCLUDE_DIR = @C_INCLUDE_DIR@
84 DATADIRNAME = @DATADIRNAME@
85 DEBUG_FLAGS = @DEBUG_FLAGS@
86 DLLTOOL = @DLLTOOL@
87 EXEEXT = @EXEEXT@
88 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
89 GCJ = @GCJ@
90 GCJFLAGS = @GCJFLAGS@
91 GENCAT = @GENCAT@
92 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
93 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
94 GMOFILES = @GMOFILES@
95 GMSGFMT = @GMSGFMT@
96 GT_NO = @GT_NO@
97 GT_YES = @GT_YES@
98 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
99 INSTOBJEXT = @INSTOBJEXT@
100 INTLDEPS = @INTLDEPS@
101 INTLLIBS = @INTLLIBS@
102 INTLOBJS = @INTLOBJS@
103 LIBIO_INCLUDES = @LIBIO_INCLUDES@
104 LIBMATHOBJS = @LIBMATHOBJS@
105 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
106 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
107 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
108 LIBTOOL = @LIBTOOL@
109 LN_S = @LN_S@
110 MAINT = @MAINT@
111 MAKEINFO = @MAKEINFO@
112 MKINSTALLDIRS = @MKINSTALLDIRS@
113 MSGFMT = @MSGFMT@
114 OBJDUMP = @OBJDUMP@
115 OBJEXT = @OBJEXT@
116 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
117 OPT_LDFLAGS = @OPT_LDFLAGS@
118 OS_INC_SRCDIR = @OS_INC_SRCDIR@
119 PACKAGE = @PACKAGE@
120 POFILES = @POFILES@
121 POSUB = @POSUB@
122 RANLIB = @RANLIB@
123 SECTION_FLAGS = @SECTION_FLAGS@
124 SECTION_LDFLAGS = @SECTION_LDFLAGS@
125 STRIP = @STRIP@
126 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
127 USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
128 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
129 USE_NLS = @USE_NLS@
130 VERSION = @VERSION@
131 WARN_FLAGS = @WARN_FLAGS@
132 WERROR = @WERROR@
133 enable_shared = @enable_shared@
134 enable_static = @enable_static@
135 glibcpp_CXX = @glibcpp_CXX@
136 glibcpp_MOFILES = @glibcpp_MOFILES@
137 glibcpp_POFILES = @glibcpp_POFILES@
138 glibcpp_basedir = @glibcpp_basedir@
139 glibcpp_localedir = @glibcpp_localedir@
140 glibcpp_prefixdir = @glibcpp_prefixdir@
141 glibcpp_toolexecdir = @glibcpp_toolexecdir@
142 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
143 ifGNUmake = @ifGNUmake@
144 l = @l@
145 libio_la = @libio_la@
146 libtool_VERSION = @libtool_VERSION@
147 release_VERSION = @release_VERSION@
148 toplevel_srcdir = @toplevel_srcdir@
149
150 AUTOMAKE_OPTIONS = 1.3 gnits
151 MAINT_CHARSET = latin1
152
153 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
154
155 # Cross compiler and multilib support.
156 CXX = @glibcpp_CXX@
157 glibcpp_srcdir = @glibcpp_srcdir@
158 glibcpp_builddir = @glibcpp_builddir@
159
160 bits_srcdir = ${glibcpp_srcdir}/include/bits
161 bits_builddir = ./bits
162 bits_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
163
164
165 backward_srcdir = ${glibcpp_srcdir}/include/backward
166 backward_builddir = ./backward
167 backward_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
168
169
170 ext_srcdir = ${glibcpp_srcdir}/include/ext
171 ext_builddir = ./ext
172 ext_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
173
174
175 # This is the common subset of files that all three "C" header models use.
176 c_base_srcdir = @C_INCLUDE_DIR@
177 c_base_builddir = .
178 c_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 
179
180 # Some of the "C" headers need extra files.
181 c_base_headers_extra =          ${c_base_srcdir}/cmath.tcc 
182
183 c_base_headers_rename =         cassert         cctype  cerrno  cfloat  ciso646         climits         clocale         cmath   csetjmp         csignal         cstdarg         cstddef         cstdio  cstdlib         cstring         ctime   cwchar  cwctype 
184
185
186 std_srcdir = ${glibcpp_srcdir}/include/std
187 std_builddir = .
188 std_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
189
190 # Renamed at build time. 
191 std_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
192
193
194 target_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@
195 target_builddir = ./${target_alias}/bits
196 target_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 
197
198 # These extra_target_headers files are all built with ad hoc naming rules.
199 extra_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
200
201
202 thread_target_headers =         ${target_builddir}/gthr.h       ${target_builddir}/gthr-single.h        ${target_builddir}/gthr-posix.h         ${target_builddir}/gthr-default.h
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.
207 allstamps = stamp-std stamp-bits stamp-c_base stamp-backward stamp-ext  ${target_builddir}/stamp-target
208
209
210 # Target includes for threads
211 glibcpp_thread_h = @glibcpp_thread_h@
212 uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
213
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.
222 gxx_include_dir = @gxx_include_dir@
223 CONFIG_HEADER = ../config.h
224 CONFIG_CLEAN_FILES = 
225 DIST_COMMON =  Makefile.am Makefile.in
226
227
228 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
229
230 TAR = tar
231 GZIP_ENV = --best
232 all: all-redirect
233 .SUFFIXES:
234 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
235         cd $(top_srcdir) && $(AUTOMAKE) --cygnus include/Makefile
236
237 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
238         cd $(top_builddir) \
239           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
240
241 tags: TAGS
242 TAGS:
243
244
245 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
246
247 subdir = include
248
249 distdir: $(DISTFILES)
250         @for file in $(DISTFILES); do \
251           if test -f $$file; then d=.; else d=$(srcdir); fi; \
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
260 info-am:
261 info: info-am
262 dvi-am:
263 dvi: dvi-am
264 check-am:
265 check: check-am
266 installcheck-am:
267 installcheck: installcheck-am
268 install-info-am: 
269 install-info: install-info-am
270 install-exec-am:
271 install-exec: install-exec-am
272
273 install-data-am: install-data-local
274 install-data: install-data-am
275
276 install-am: all-am
277         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
278 install: install-am
279 uninstall-am:
280 uninstall: uninstall-am
281 all-am: Makefile all-local
282 all-redirect: all-am
283 install-strip:
284         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
285 installdirs:
286
287
288 mostlyclean-generic:
289
290 clean-generic:
291
292 distclean-generic:
293         -rm -f Makefile $(CONFIG_CLEAN_FILES)
294         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
295
296 maintainer-clean-generic:
297 mostlyclean-am:  mostlyclean-generic
298
299 mostlyclean: mostlyclean-am
300
301 clean-am:  clean-generic mostlyclean-am
302
303 clean: clean-am
304
305 distclean-am:  distclean-generic clean-am
306         -rm -f libtool
307
308 distclean: distclean-am
309
310 maintainer-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."
313
314 maintainer-clean: maintainer-clean-am
315
316 .PHONY: tags distdir info-am info dvi-am dvi check check-am \
317 installcheck-am installcheck install-info-am install-info \
318 install-exec-am install-exec install-data-local install-data-am \
319 install-data install-am install uninstall-am uninstall all-local \
320 all-redirect all-am all installdirs mostlyclean-generic \
321 distclean-generic clean-generic maintainer-clean-generic clean \
322 mostlyclean distclean maintainer-clean
323
324
325 # Here are the rules for building the headers
326 all-local: ${target_builddir}/c++config.h ${thread_target_headers} ${allstamps}
327
328 # This rule is slightly different, in that we must change the name of the
329 # local file from std_foo.h to foo.
330 stamp-std: ${std_headers}
331         @if [ ! -d "${std_builddir}" ]; then \
332           mkdir -p ${std_builddir} ;\
333         fi ;\
334         (cd ${std_builddir} && for h in $?; do \
335           official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
336           @LN_S@ $$h ./$${official_name} || true ;\
337         done) ;\
338         echo `date` > stamp-std 
339
340 stamp-bits: ${bits_headers}
341         @if [ ! -d "${bits_builddir}" ]; then \
342           mkdir -p ${bits_builddir} ;\
343         fi ;\
344         (cd ${bits_builddir} && @LN_S@ $? . || true) ;\
345         echo `date` > stamp-bits
346
347 stamp-c_base: ${c_base_headers} ${c_base_headers_extra}
348         @if [ ! -d "${c_base_builddir}" ]; then \
349           mkdir -p ${c_base_builddir} ;\
350         fi ;\
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) ;\
356         echo `date` > stamp-c_base
357
358 stamp-backward: ${backward_headers}
359         @if [ ! -d "${backward_builddir}" ]; then \
360           mkdir -p ${backward_builddir} ;\
361         fi ;\
362         (cd ${backward_builddir} && @LN_S@ $? . || true) ;\
363         echo `date` > stamp-backward
364
365 stamp-ext: ${ext_headers}
366         @if [ ! -d "${ext_builddir}" ]; then \
367           mkdir -p ${ext_builddir} ;\
368         fi ;\
369         (cd ${ext_builddir} && @LN_S@ $? . || true) ;\
370         echo `date` > stamp-ext
371
372 stamp-${target_alias}:
373         @if [ ! -d ${target_builddir} ]; then \
374           mkdir -p ${target_builddir} ;\
375           echo `date` > stamp-${target_alias} ;\
376         fi
377
378 # Target includes static.
379 ${target_builddir}/stamp-target: ${target_headers} stamp-${target_alias}
380         @cd ${target_builddir} ;\
381         if [ ! -f stamp-target ]; then \
382           @LN_S@ ${target_headers} . || true ;\
383           @LN_S@ ${glibcpp_srcdir}/@BASIC_FILE_H@ basic_file.h || true ;\
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 ;\
388           echo `date` > stamp-target; \
389         fi
390
391 # Target includes dynamic.
392 ${target_builddir}/c++config.h: ${CONFIG_HEADER} \
393                                 ${glibcpp_srcdir}/include/bits/c++config \
394                                 stamp-${target_alias}
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' \
400             < ${CONFIG_HEADER} >> $@ ;\
401         echo "#endif // _CPP_CPPCONFIG_" >>$@
402
403 ${target_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${target_alias}
404         sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCPP_\1/g' \
405             -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
406             < ${toplevel_srcdir}/gcc/gthr.h > $@
407
408 ${target_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
409                                   stamp-${target_alias}
410         sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
411             -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
412             < ${toplevel_srcdir}/gcc/gthr-single.h > $@
413
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
421 ${target_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcpp_thread_h} \
422                                    stamp-${target_alias}
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' \
426             -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
427             < ${toplevel_srcdir}/gcc/${glibcpp_thread_h} > $@
428 install-data-local:
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}
440         for file in ${c_base_headers_rename}; do \
441           $(INSTALL_DATA) ${c_base_builddir}/$${file} \
442             ${gxx_include_dir}/${c_base_builddir}; done
443         for file in ${c_base_headers_extra}; do \
444           $(INSTALL_DATA) $${file} ${gxx_include_dir}/${c_base_builddir}; done
445         $(INSTALL) -d ${gxx_include_dir}/${std_builddir}
446         for file in ${std_headers_rename}; do \
447           $(INSTALL_DATA) ${std_builddir}/$${file} \
448             ${gxx_include_dir}/${std_builddir}; done
449         $(INSTALL) -d ${gxx_include_dir}/${target_builddir}
450         for file in ${target_headers} ${extra_target_headers} \
451          ${thread_target_headers}; do \
452           $(INSTALL_DATA) $${file} ${gxx_include_dir}/${target_builddir}; done
453
454 # By adding these files here, automake will remove them for 'make clean'
455 #CLEANFILES = ${allstamps}
456
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
460 # directory. (This is more of an example of how this kind of rule can
461 # be made.)
462 .PRECIOUS: $(std_headers_rename) $(c_base_headers_rename)
463 $(std_headers_rename): ; @:
464 $(c_base_headers_rename): ; @:
465
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: