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