OSDN Git Service

2002-03-19 Steve Ellcey <sje@cup.hp.com>
[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 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
72 CATALOGS = @CATALOGS@
73 CATOBJEXT = @CATOBJEXT@
74 CC = @CC@
75 CCODECVT_C = @CCODECVT_C@
76 CCODECVT_H = @CCODECVT_H@
77 CLOCALE_H = @CLOCALE_H@
78 CMESSAGES_H = @CMESSAGES_H@
79 CPP = @CPP@
80 CPU_LIMITS_INC_SRCDIR = @CPU_LIMITS_INC_SRCDIR@
81 CSHADOW_FLAGS = @CSHADOW_FLAGS@
82 CSTDIO_H = @CSTDIO_H@
83 CXXCPP = @CXXCPP@
84 C_INCLUDE_DIR = @C_INCLUDE_DIR@
85 DATADIRNAME = @DATADIRNAME@
86 DEBUG_FLAGS = @DEBUG_FLAGS@
87 DLLTOOL = @DLLTOOL@
88 EXEEXT = @EXEEXT@
89 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
90 GCJ = @GCJ@
91 GCJFLAGS = @GCJFLAGS@
92 GENCAT = @GENCAT@
93 GLIBC21 = @GLIBC21@
94 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
95 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
96 GMOFILES = @GMOFILES@
97 GMSGFMT = @GMSGFMT@
98 INSTOBJEXT = @INSTOBJEXT@
99 INTLBISON = @INTLBISON@
100 INTLLIBS = @INTLLIBS@
101 INTLOBJS = @INTLOBJS@
102 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
103 LIBICONV = @LIBICONV@
104 LIBIO_INCLUDES = @LIBIO_INCLUDES@
105 LIBMATHOBJS = @LIBMATHOBJS@
106 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
107 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
108 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
109 LIBTOOL = @LIBTOOL@
110 LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
111 LN_S = @LN_S@
112 MAINT = @MAINT@
113 MAKEINFO = @MAKEINFO@
114 MKINSTALLDIRS = @MKINSTALLDIRS@
115 MSGFMT = @MSGFMT@
116 OBJDUMP = @OBJDUMP@
117 OBJEXT = @OBJEXT@
118 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
119 OPT_LDFLAGS = @OPT_LDFLAGS@
120 OS_INC_SRCDIR = @OS_INC_SRCDIR@
121 PACKAGE = @PACKAGE@
122 POFILES = @POFILES@
123 POSUB = @POSUB@
124 RANLIB = @RANLIB@
125 SECTION_FLAGS = @SECTION_FLAGS@
126 SECTION_LDFLAGS = @SECTION_LDFLAGS@
127 STRIP = @STRIP@
128 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
129 USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
130 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
131 USE_NLS = @USE_NLS@
132 VERSION = @VERSION@
133 WARN_FLAGS = @WARN_FLAGS@
134 WERROR = @WERROR@
135 enable_shared = @enable_shared@
136 enable_static = @enable_static@
137 glibcpp_CXX = @glibcpp_CXX@
138 glibcpp_MOFILES = @glibcpp_MOFILES@
139 glibcpp_POFILES = @glibcpp_POFILES@
140 glibcpp_basedir = @glibcpp_basedir@
141 glibcpp_localedir = @glibcpp_localedir@
142 glibcpp_prefixdir = @glibcpp_prefixdir@
143 glibcpp_toolexecdir = @glibcpp_toolexecdir@
144 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
145 ifGNUmake = @ifGNUmake@
146 libio_la = @libio_la@
147 libtool_VERSION = @libtool_VERSION@
148 release_VERSION = @release_VERSION@
149 toplevel_srcdir = @toplevel_srcdir@
150
151 AUTOMAKE_OPTIONS = 1.3 gnits
152 MAINT_CHARSET = latin1
153
154 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
155
156 # Cross compiler and multilib support.
157 CXX = @glibcpp_CXX@
158 glibcpp_srcdir = @glibcpp_srcdir@
159 glibcpp_builddir = @glibcpp_builddir@
160
161 bits_srcdir = ${glibcpp_srcdir}/include/bits
162 bits_builddir = ./bits
163 bits_headers = \
164         ${bits_srcdir}/basic_ios.h \
165         ${bits_srcdir}/basic_ios.tcc \
166         ${bits_srcdir}/basic_string.h \
167         ${bits_srcdir}/basic_string.tcc \
168         ${bits_srcdir}/boost_concept_check.h \
169         ${bits_srcdir}/char_traits.h \
170         ${bits_srcdir}/codecvt.h \
171         ${bits_srcdir}/concept_check.h \
172         ${bits_srcdir}/cpp_type_traits.h \
173         ${bits_srcdir}/fpos.h \
174         ${bits_srcdir}/fstream.tcc \
175         ${bits_srcdir}/functexcept.h \
176         ${bits_srcdir}/generic_shadow.h \
177         ${bits_srcdir}/gslice.h \
178         ${bits_srcdir}/gslice_array.h \
179         ${bits_srcdir}/indirect_array.h \
180         ${bits_srcdir}/ios_base.h \
181         ${bits_srcdir}/istream.tcc \
182         ${bits_srcdir}/locale_facets.h \
183         ${bits_srcdir}/locale_facets.tcc \
184         ${bits_srcdir}/localefwd.h \
185         ${bits_srcdir}/mask_array.h \
186         ${bits_srcdir}/ostream.tcc \
187         ${bits_srcdir}/pthread_allocimpl.h \
188         ${bits_srcdir}/stream_iterator.h \
189         ${bits_srcdir}/streambuf_iterator.h \
190         ${bits_srcdir}/slice.h \
191         ${bits_srcdir}/slice_array.h \
192         ${bits_srcdir}/sstream.tcc \
193         ${bits_srcdir}/stl_algo.h \
194         ${bits_srcdir}/stl_algobase.h \
195         ${bits_srcdir}/stl_alloc.h \
196         ${bits_srcdir}/stl_bvector.h \
197         ${bits_srcdir}/stl_construct.h \
198         ${bits_srcdir}/stl_deque.h \
199         ${bits_srcdir}/stl_function.h \
200         ${bits_srcdir}/stl_heap.h \
201         ${bits_srcdir}/stl_iterator.h \
202         ${bits_srcdir}/stl_iterator_base_funcs.h \
203         ${bits_srcdir}/stl_iterator_base_types.h \
204         ${bits_srcdir}/stl_list.h \
205         ${bits_srcdir}/stl_map.h \
206         ${bits_srcdir}/stl_multimap.h \
207         ${bits_srcdir}/stl_multiset.h \
208         ${bits_srcdir}/stl_numeric.h \
209         ${bits_srcdir}/stl_pair.h \
210         ${bits_srcdir}/stl_pthread_alloc.h \
211         ${bits_srcdir}/stl_queue.h \
212         ${bits_srcdir}/stl_raw_storage_iter.h \
213         ${bits_srcdir}/stl_relops.h \
214         ${bits_srcdir}/stl_set.h \
215         ${bits_srcdir}/stl_stack.h \
216         ${bits_srcdir}/stl_tempbuf.h \
217         ${bits_srcdir}/stl_threads.h \
218         ${bits_srcdir}/stl_tree.h \
219         ${bits_srcdir}/stl_uninitialized.h \
220         ${bits_srcdir}/stl_vector.h \
221         ${bits_srcdir}/streambuf.tcc \
222         ${bits_srcdir}/stringfwd.h \
223         ${bits_srcdir}/type_traits.h \
224         ${bits_srcdir}/valarray_array.h \
225         ${bits_srcdir}/valarray_array.tcc \
226         ${bits_srcdir}/valarray_meta.h
227
228
229 backward_srcdir = ${glibcpp_srcdir}/include/backward
230 backward_builddir = ./backward
231 backward_headers = \
232         ${backward_srcdir}/complex.h \
233         ${backward_srcdir}/iomanip.h \
234         ${backward_srcdir}/istream.h \
235         ${backward_srcdir}/ostream.h \
236         ${backward_srcdir}/stream.h \
237         ${backward_srcdir}/streambuf.h \
238         ${backward_srcdir}/algo.h \
239         ${backward_srcdir}/algobase.h \
240         ${backward_srcdir}/alloc.h \
241         ${backward_srcdir}/bvector.h \
242         ${backward_srcdir}/defalloc.h \
243         ${backward_srcdir}/deque.h \
244         ${backward_srcdir}/function.h \
245         ${backward_srcdir}/hash_map.h \
246         ${backward_srcdir}/hash_set.h \
247         ${backward_srcdir}/hashtable.h \
248         ${backward_srcdir}/heap.h \
249         ${backward_srcdir}/iostream.h \
250         ${backward_srcdir}/iterator.h \
251         ${backward_srcdir}/list.h \
252         ${backward_srcdir}/map.h \
253         ${backward_srcdir}/multimap.h \
254         ${backward_srcdir}/new.h \
255         ${backward_srcdir}/multiset.h \
256         ${backward_srcdir}/pair.h \
257         ${backward_srcdir}/queue.h \
258         ${backward_srcdir}/rope.h \
259         ${backward_srcdir}/set.h \
260         ${backward_srcdir}/slist.h \
261         ${backward_srcdir}/stack.h \
262         ${backward_srcdir}/tempbuf.h \
263         ${backward_srcdir}/tree.h \
264         ${backward_srcdir}/vector.h \
265         ${backward_srcdir}/fstream.h \
266         ${backward_srcdir}/strstream.h \
267         ${backward_srcdir}/strstream \
268         ${backward_srcdir}/backward_warning.h
269
270
271 ext_srcdir = ${glibcpp_srcdir}/include/ext
272 ext_builddir = ./ext
273 ext_headers = \
274         ${ext_srcdir}/algorithm \
275         ${ext_srcdir}/functional \
276         ${ext_srcdir}/hash_map \
277         ${ext_srcdir}/hash_set \
278         ${ext_srcdir}/iterator \
279         ${ext_srcdir}/memory \
280         ${ext_srcdir}/numeric \
281         ${ext_srcdir}/rb_tree \
282         ${ext_srcdir}/rope \
283         ${ext_srcdir}/ropeimpl.h \
284         ${ext_srcdir}/slist \
285         ${ext_srcdir}/stl_hash_fun.h \
286         ${ext_srcdir}/stl_hashtable.h \
287         ${ext_srcdir}/stl_rope.h
288
289
290 # This is the common subset of files that all three "C" header models use.
291 c_base_srcdir = @C_INCLUDE_DIR@
292 c_base_builddir = .
293 c_base_headers = \
294         ${c_base_srcdir}/std_cassert.h \
295         ${c_base_srcdir}/std_cctype.h \
296         ${c_base_srcdir}/std_cerrno.h \
297         ${c_base_srcdir}/std_cfloat.h \
298         ${c_base_srcdir}/std_ciso646.h \
299         ${c_base_srcdir}/std_climits.h \
300         ${c_base_srcdir}/std_clocale.h \
301         ${c_base_srcdir}/std_cmath.h \
302         ${c_base_srcdir}/std_csetjmp.h \
303         ${c_base_srcdir}/std_csignal.h \
304         ${c_base_srcdir}/std_cstdarg.h \
305         ${c_base_srcdir}/std_cstddef.h \
306         ${c_base_srcdir}/std_cstdio.h \
307         ${c_base_srcdir}/std_cstdlib.h \
308         ${c_base_srcdir}/std_cstring.h \
309         ${c_base_srcdir}/std_ctime.h \
310         ${c_base_srcdir}/std_cwchar.h \
311         ${c_base_srcdir}/std_cwctype.h 
312
313 # Some of the "C" headers need extra files.
314 c_base_headers_extra = \
315         ${c_base_srcdir}/cmath.tcc 
316
317 c_base_headers_rename = \
318         cassert \
319         cctype \
320         cerrno \
321         cfloat \
322         ciso646 \
323         climits \
324         clocale \
325         cmath \
326         csetjmp \
327         csignal \
328         cstdarg \
329         cstddef \
330         cstdio \
331         cstdlib \
332         cstring \
333         ctime \
334         cwchar \
335         cwctype 
336
337
338 std_srcdir = ${glibcpp_srcdir}/include/std
339 std_builddir = .
340 std_headers = \
341         ${std_srcdir}/std_algorithm.h \
342         ${std_srcdir}/std_bitset.h \
343         ${std_srcdir}/std_complex.h \
344         ${std_srcdir}/std_deque.h \
345         ${std_srcdir}/std_fstream.h \
346         ${std_srcdir}/std_functional.h \
347         ${std_srcdir}/std_iomanip.h \
348         ${std_srcdir}/std_ios.h \
349         ${std_srcdir}/std_iosfwd.h \
350         ${std_srcdir}/std_iostream.h \
351         ${std_srcdir}/std_istream.h \
352         ${std_srcdir}/std_iterator.h \
353         ${std_srcdir}/std_limits.h \
354         ${std_srcdir}/std_list.h \
355         ${std_srcdir}/std_locale.h \
356         ${std_srcdir}/std_map.h \
357         ${std_srcdir}/std_memory.h \
358         ${std_srcdir}/std_numeric.h \
359         ${std_srcdir}/std_ostream.h \
360         ${std_srcdir}/std_queue.h \
361         ${std_srcdir}/std_set.h \
362         ${std_srcdir}/std_sstream.h \
363         ${std_srcdir}/std_stack.h \
364         ${std_srcdir}/std_stdexcept.h \
365         ${std_srcdir}/std_streambuf.h \
366         ${std_srcdir}/std_string.h \
367         ${std_srcdir}/std_utility.h \
368         ${std_srcdir}/std_valarray.h \
369         ${std_srcdir}/std_vector.h
370
371 # Renamed at build time. 
372 std_headers_rename = \
373         algorithm \
374         bitset \
375         complex \
376         deque \
377         fstream \
378         functional \
379         iomanip \
380         ios \
381         iosfwd \
382         iostream \
383         istream \
384         iterator \
385         limits \
386         list \
387         locale \
388         map \
389         memory \
390         numeric \
391         ostream \
392         queue \
393         set \
394         sstream \
395         stack \
396         stdexcept \
397         streambuf \
398         string \
399         utility \
400         valarray \
401         vector
402
403
404 target_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@
405 target_builddir = ./${target_alias}/bits
406 target_headers = \
407         ${target_srcdir}/ctype_base.h \
408         ${target_srcdir}/ctype_inline.h \
409         ${target_srcdir}/ctype_noninline.h \
410         ${target_srcdir}/os_defines.h \
411         ${glibcpp_srcdir}/@ATOMICITY_INC_SRCDIR@/atomicity.h \
412         ${glibcpp_srcdir}/@CPU_LIMITS_INC_SRCDIR@/cpu_limits.h 
413
414 # These extra_target_headers files are all built with ad hoc naming rules.
415 extra_target_headers = \
416         ${target_builddir}/basic_file.h \
417         ${target_builddir}/c++config.h \
418         ${target_builddir}/c++io.h \
419         ${target_builddir}/c++locale.h \
420         ${target_builddir}/messages_members.h \
421         ${target_builddir}/codecvt_specializations.h
422
423
424 thread_target_headers = \
425         ${target_builddir}/gthr.h \
426         ${target_builddir}/gthr-single.h \
427         ${target_builddir}/gthr-posix.h \
428         ${target_builddir}/gthr-default.h
429
430
431 # List of all timestamp files.  By keeping only one copy of this list, both
432 # CLEANFILES and all-local are kept up-to-date.
433 allstamps = stamp-std stamp-bits stamp-c_base stamp-backward stamp-ext \
434         ${target_builddir}/stamp-target
435
436
437 # Target includes for threads
438 glibcpp_thread_h = @glibcpp_thread_h@
439 uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
440
441 # For robustness sake (in light of junk files or in-source
442 # configuration), copy from the build or source tree to the install
443 # tree using only the human-maintained file lists and directory
444 # components.  Yes, with minor differences, this is sheer duplication
445 # of the staging rules above using $(INSTALL_DATA) instead of LN_S and
446 # `$(INSTALL) -d' instead of `mkdir -p'.  In particular,
447 # extra_target_headers are taken out of the build tree staging area;
448 # the rest are taken from the original source tree.
449 gxx_include_dir = @gxx_include_dir@
450 CONFIG_HEADER = ../config.h
451 CONFIG_CLEAN_FILES = 
452 DIST_COMMON =  Makefile.am Makefile.in
453
454
455 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
456
457 TAR = gtar
458 GZIP_ENV = --best
459 all: all-redirect
460 .SUFFIXES:
461 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
462         cd $(top_srcdir) && $(AUTOMAKE) --cygnus include/Makefile
463
464 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
465         cd $(top_builddir) \
466           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
467
468 tags: TAGS
469 TAGS:
470
471
472 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
473
474 subdir = include
475
476 distdir: $(DISTFILES)
477         @for file in $(DISTFILES); do \
478           if test -f $$file; then d=.; else d=$(srcdir); fi; \
479           if test -d $$d/$$file; then \
480             cp -pr $$d/$$file $(distdir)/$$file; \
481           else \
482             test -f $(distdir)/$$file \
483             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
484             || cp -p $$d/$$file $(distdir)/$$file || :; \
485           fi; \
486         done
487 info-am:
488 info: info-am
489 dvi-am:
490 dvi: dvi-am
491 check-am:
492 check: check-am
493 installcheck-am:
494 installcheck: installcheck-am
495 install-info-am: 
496 install-info: install-info-am
497 install-exec-am:
498 install-exec: install-exec-am
499
500 install-data-am: install-data-local
501 install-data: install-data-am
502
503 install-am: all-am
504         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
505 install: install-am
506 uninstall-am:
507 uninstall: uninstall-am
508 all-am: Makefile all-local
509 all-redirect: all-am
510 install-strip:
511         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
512 installdirs:
513
514
515 mostlyclean-generic:
516
517 clean-generic:
518
519 distclean-generic:
520         -rm -f Makefile $(CONFIG_CLEAN_FILES)
521         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
522
523 maintainer-clean-generic:
524 mostlyclean-am:  mostlyclean-generic
525
526 mostlyclean: mostlyclean-am
527
528 clean-am:  clean-generic mostlyclean-am
529
530 clean: clean-am
531
532 distclean-am:  distclean-generic clean-am
533         -rm -f libtool
534
535 distclean: distclean-am
536
537 maintainer-clean-am:  maintainer-clean-generic distclean-am
538         @echo "This command is intended for maintainers to use;"
539         @echo "it deletes files that may require special tools to rebuild."
540
541 maintainer-clean: maintainer-clean-am
542
543 .PHONY: tags distdir info-am info dvi-am dvi check check-am \
544 installcheck-am installcheck install-info-am install-info \
545 install-exec-am install-exec install-data-local install-data-am \
546 install-data install-am install uninstall-am uninstall all-local \
547 all-redirect all-am all installdirs mostlyclean-generic \
548 distclean-generic clean-generic maintainer-clean-generic clean \
549 mostlyclean distclean maintainer-clean
550
551
552 # Here are the rules for building the headers
553 all-local: ${target_builddir}/c++config.h ${thread_target_headers} ${allstamps}
554
555 # This rule is slightly different, in that we must change the name of the
556 # local file from std_foo.h to foo.
557 stamp-std: ${std_headers}
558         @if [ ! -d "${std_builddir}" ]; then \
559           mkdir -p ${std_builddir} ;\
560         fi ;\
561         (cd ${std_builddir} && for h in $?; do \
562           official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
563           @LN_S@ $$h ./$${official_name} || true ;\
564         done) ;\
565         echo `date` > stamp-std 
566
567 stamp-bits: ${bits_headers}
568         @if [ ! -d "${bits_builddir}" ]; then \
569           mkdir -p ${bits_builddir} ;\
570         fi ;\
571         (cd ${bits_builddir} && @LN_S@ $? . || true) ;\
572         echo `date` > stamp-bits
573
574 stamp-c_base: ${c_base_headers} ${c_base_headers_extra}
575         @if [ ! -d "${c_base_builddir}" ]; then \
576           mkdir -p ${c_base_builddir} ;\
577         fi ;\
578         (cd ${c_base_builddir} && for h in ${c_base_headers}; do \
579           official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
580           @LN_S@ $$h ./$${official_name} || true ;\
581         done) ;\
582         (cd ${c_base_builddir} && @LN_S@ ${c_base_headers_extra}  . || true) ;\
583         echo `date` > stamp-c_base
584
585 stamp-backward: ${backward_headers}
586         @if [ ! -d "${backward_builddir}" ]; then \
587           mkdir -p ${backward_builddir} ;\
588         fi ;\
589         (cd ${backward_builddir} && @LN_S@ $? . || true) ;\
590         echo `date` > stamp-backward
591
592 stamp-ext: ${ext_headers}
593         @if [ ! -d "${ext_builddir}" ]; then \
594           mkdir -p ${ext_builddir} ;\
595         fi ;\
596         (cd ${ext_builddir} && @LN_S@ $? . || true) ;\
597         echo `date` > stamp-ext
598
599 stamp-${target_alias}:
600         @if [ ! -d ${target_builddir} ]; then \
601           mkdir -p ${target_builddir} ;\
602           echo `date` > stamp-${target_alias} ;\
603         fi
604
605 # Target includes static.
606 ${target_builddir}/stamp-target: ${target_headers} stamp-${target_alias}
607         @cd ${target_builddir} ;\
608         if [ ! -f stamp-target ]; then \
609           @LN_S@ ${target_headers} . || true ;\
610           @LN_S@ ${glibcpp_srcdir}/@BASIC_FILE_H@ basic_file.h || true ;\
611           @LN_S@ ${glibcpp_srcdir}/@CSTDIO_H@ c++io.h || true ;\
612           @LN_S@ ${glibcpp_srcdir}/@CLOCALE_H@ c++locale.h || true ;\
613           @LN_S@ ${glibcpp_srcdir}/@CMESSAGES_H@ messages_members.h || true ;\
614           @LN_S@ ${glibcpp_srcdir}/@CCODECVT_H@ codecvt_specializations.h || true ;\
615           echo `date` > stamp-target; \
616         fi
617
618 # Target includes dynamic.
619 ${target_builddir}/c++config.h: ${CONFIG_HEADER} \
620                                 ${glibcpp_srcdir}/include/bits/c++config \
621                                 stamp-${target_alias}
622         @cat ${glibcpp_srcdir}/include/bits/c++config > $@ ;\
623         sed -e 's/HAVE_/_GLIBCPP_HAVE_/g' \
624             -e 's/PACKAGE/_GLIBCPP_PACKAGE/g' \
625             -e 's/VERSION/_GLIBCPP_VERSION/g' \
626             -e 's/WORDS_/_GLIBCPP_WORDS_/g' \
627             < ${CONFIG_HEADER} >> $@ ;\
628         echo "#endif // _CPP_CPPCONFIG_" >>$@
629
630 ${target_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${target_alias}
631         sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCPP_\1/g' \
632             -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
633             < ${toplevel_srcdir}/gcc/gthr.h > $@
634
635 ${target_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
636                                   stamp-${target_alias}
637         sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
638             -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
639             < ${toplevel_srcdir}/gcc/gthr-single.h > $@
640
641 ${target_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
642                                    stamp-${target_alias}
643         sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
644             -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
645             -e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
646             < ${toplevel_srcdir}/gcc/gthr-posix.h > $@
647
648 ${target_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcpp_thread_h} \
649                                    stamp-${target_alias}
650         sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
651             -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
652             -e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
653             -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
654             < ${toplevel_srcdir}/gcc/${glibcpp_thread_h} > $@
655 install-data-local:
656         $(INSTALL) -d ${gxx_include_dir}
657         $(INSTALL) -d ${gxx_include_dir}/${bits_builddir}
658         for file in ${bits_headers}; do \
659           $(INSTALL_DATA) $${file} ${gxx_include_dir}/${bits_builddir}; done
660         $(INSTALL) -d ${gxx_include_dir}/${backward_builddir}
661         for file in ${backward_headers}; do \
662           $(INSTALL_DATA) $${file} ${gxx_include_dir}/${backward_builddir}; done
663         $(INSTALL) -d ${gxx_include_dir}/${ext_builddir}
664         for file in ${ext_headers}; do \
665           $(INSTALL_DATA) $${file} ${gxx_include_dir}/${ext_builddir}; done
666         $(INSTALL) -d ${gxx_include_dir}/${c_base_builddir}
667         for file in ${c_base_headers_rename}; do \
668           $(INSTALL_DATA) ${c_base_builddir}/$${file} \
669             ${gxx_include_dir}/${c_base_builddir}; done
670         for file in ${c_base_headers_extra}; do \
671           $(INSTALL_DATA) $${file} ${gxx_include_dir}/${c_base_builddir}; done
672         $(INSTALL) -d ${gxx_include_dir}/${std_builddir}
673         for file in ${std_headers_rename}; do \
674           $(INSTALL_DATA) ${std_builddir}/$${file} \
675             ${gxx_include_dir}/${std_builddir}; done
676         $(INSTALL) -d ${gxx_include_dir}/${target_builddir}
677         for file in ${target_headers} ${extra_target_headers} \
678          ${thread_target_headers}; do \
679           $(INSTALL_DATA) $${file} ${gxx_include_dir}/${target_builddir}; done
680
681 # By adding these files here, automake will remove them for 'make clean'
682 #CLEANFILES = ${allstamps}
683
684 # Stop implicit '.o' make rules from ever stomping on extensionless
685 # headers, in the improbable case where some foolish, crack-addled
686 # developer tries to create them via make in the include build
687 # directory. (This is more of an example of how this kind of rule can
688 # be made.)
689 .PRECIOUS: $(std_headers_rename) $(c_base_headers_rename)
690 $(std_headers_rename): ; @:
691 $(c_base_headers_rename): ; @:
692
693 # Tell versions [3.59,3.63) of GNU make to not export all variables.
694 # Otherwise a system limit (for SysV at least) may be exceeded.
695 .NOEXPORT: