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