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