OSDN Git Service

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