]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/include/Makefile.in
Makefile.am (c_base_headers_rename): New.
[thirdparty/gcc.git] / libstdc++-v3 / include / Makefile.in
CommitLineData
047398eb 1# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
4a9d5109 2
047398eb 3# Copyright (C) 1994, 1995-8, 1999, 2001 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@
69BASIC_FILE_H = @BASIC_FILE_H@
e08138aa 70BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
33590f13
BK
71CATALOGS = @CATALOGS@
72CATOBJEXT = @CATOBJEXT@
4a9d5109
SW
73CC = @CC@
74CCODECVT_C = @CCODECVT_C@
33590f13 75CCODECVT_H = @CCODECVT_H@
4a9d5109 76CLOCALE_H = @CLOCALE_H@
33590f13 77CMESSAGES_H = @CMESSAGES_H@
4a9d5109 78CPP = @CPP@
f295ecef 79CPU_LIMITS_INC_SRCDIR = @CPU_LIMITS_INC_SRCDIR@
4a9d5109
SW
80CSHADOW_FLAGS = @CSHADOW_FLAGS@
81CSTDIO_H = @CSTDIO_H@
82CXXCPP = @CXXCPP@
83C_INCLUDE_DIR = @C_INCLUDE_DIR@
33590f13 84DATADIRNAME = @DATADIRNAME@
4a9d5109
SW
85DEBUG_FLAGS = @DEBUG_FLAGS@
86DLLTOOL = @DLLTOOL@
54c1bf78 87EXEEXT = @EXEEXT@
4a9d5109
SW
88EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
89GCJ = @GCJ@
90GCJFLAGS = @GCJFLAGS@
33590f13 91GENCAT = @GENCAT@
e08138aa 92GLIBC21 = @GLIBC21@
4a9d5109
SW
93GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
94GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
33590f13
BK
95GMOFILES = @GMOFILES@
96GMSGFMT = @GMSGFMT@
33590f13 97INSTOBJEXT = @INSTOBJEXT@
e08138aa 98INTLBISON = @INTLBISON@
33590f13
BK
99INTLLIBS = @INTLLIBS@
100INTLOBJS = @INTLOBJS@
e08138aa
BK
101INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
102LIBICONV = @LIBICONV@
4a9d5109
SW
103LIBIO_INCLUDES = @LIBIO_INCLUDES@
104LIBMATHOBJS = @LIBMATHOBJS@
105LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
4a9d5109
SW
106LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
107LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
108LIBTOOL = @LIBTOOL@
109LN_S = @LN_S@
110MAINT = @MAINT@
54c1bf78 111MAKEINFO = @MAKEINFO@
33590f13
BK
112MKINSTALLDIRS = @MKINSTALLDIRS@
113MSGFMT = @MSGFMT@
4a9d5109
SW
114OBJDUMP = @OBJDUMP@
115OBJEXT = @OBJEXT@
116OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
117OPT_LDFLAGS = @OPT_LDFLAGS@
118OS_INC_SRCDIR = @OS_INC_SRCDIR@
119PACKAGE = @PACKAGE@
33590f13
BK
120POFILES = @POFILES@
121POSUB = @POSUB@
4a9d5109
SW
122RANLIB = @RANLIB@
123SECTION_FLAGS = @SECTION_FLAGS@
124SECTION_LDFLAGS = @SECTION_LDFLAGS@
125STRIP = @STRIP@
126TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
127USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
33590f13
BK
128USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
129USE_NLS = @USE_NLS@
4a9d5109
SW
130VERSION = @VERSION@
131WARN_FLAGS = @WARN_FLAGS@
132WERROR = @WERROR@
133enable_shared = @enable_shared@
134enable_static = @enable_static@
135glibcpp_CXX = @glibcpp_CXX@
33590f13 136glibcpp_MOFILES = @glibcpp_MOFILES@
4e10943d 137glibcpp_POFILES = @glibcpp_POFILES@
4a9d5109 138glibcpp_basedir = @glibcpp_basedir@
33590f13 139glibcpp_localedir = @glibcpp_localedir@
4a9d5109
SW
140glibcpp_prefixdir = @glibcpp_prefixdir@
141glibcpp_toolexecdir = @glibcpp_toolexecdir@
142glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
143ifGNUmake = @ifGNUmake@
144libio_la = @libio_la@
4e10943d
BK
145libtool_VERSION = @libtool_VERSION@
146release_VERSION = @release_VERSION@
4a9d5109
SW
147toplevel_srcdir = @toplevel_srcdir@
148
149AUTOMAKE_OPTIONS = 1.3 gnits
150MAINT_CHARSET = latin1
151
152mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
153
54c1bf78
BK
154# Cross compiler and multilib support.
155CXX = @glibcpp_CXX@
156glibcpp_srcdir = @glibcpp_srcdir@
157glibcpp_builddir = @glibcpp_builddir@
158
4a9d5109
SW
159bits_srcdir = ${glibcpp_srcdir}/include/bits
160bits_builddir = ./bits
066930bb
PE
161bits_headers = \
162 ${bits_srcdir}/basic_file.h \
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
4a9d5109
SW
226
227
228backward_srcdir = ${glibcpp_srcdir}/include/backward
229backward_builddir = ./backward
066930bb
PE
230backward_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
4a9d5109
SW
268
269
270ext_srcdir = ${glibcpp_srcdir}/include/ext
271ext_builddir = ./ext
066930bb
PE
272ext_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
4a9d5109
SW
287
288
289# This is the common subset of files that all three "C" header models use.
30c1fa76 290c_base_srcdir = @C_INCLUDE_DIR@
54c1bf78 291c_base_builddir = ./
066930bb 292c_base_headers = \
c5535768
BK
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.
313c_base_headers_extra = \
066930bb 314 ${c_base_srcdir}/cmath.tcc
4a9d5109 315
c5535768
BK
316c_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
4a9d5109
SW
336
337std_srcdir = ${glibcpp_srcdir}/include/std
338std_builddir = ./
066930bb
PE
339std_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
4a9d5109 369
047398eb
BK
370# Renamed at build time.
371std_headers_rename = \
c5535768
BK
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 \
047398eb 391 ${std_builddir}/queue \
c5535768
BK
392 set \
393 sstream \
394 stack \
395 stdexcept \
396 streambuf \
397 string \
398 utility \
399 valarray \
400 vector
047398eb 401
4a9d5109
SW
402
403target_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@
404target_builddir = ./${target_alias}/bits
066930bb
PE
405target_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
7bfea936
LR
412
413# These extra_target_headers files are all built with ad hoc naming rules.
066930bb
PE
414extra_target_headers = \
415 ${target_builddir}/basic_file_model.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
4a9d5109
SW
421
422
423thread_builddir = ./${target_alias}/bits
066930bb
PE
424thread_headers = \
425 ${thread_builddir}/gthr.h \
426 ${thread_builddir}/gthr-single.h \
427 ${thread_builddir}/gthr-default.h
4a9d5109
SW
428
429
430# List of all timestamp files. By keeping only one copy of this list, both
431# CLEANFILES and all-local are kept up-to-date.
066930bb
PE
432allstamps = stamp-std stamp-bits stamp-c_base stamp-backward stamp-ext \
433 stamp-target stamp-thread
4a9d5109 434
54c1bf78
BK
435
436# Target includes for threads
437glibcpp_thread_h = @glibcpp_thread_h@
4a9d5109
SW
438uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
439
7bfea936
LR
440# For robustness sake (in light of junk files or in-source
441# configuration), copy from the build or source tree to the install
442# tree using only the human-maintained file lists and directory
443# components. Yes, with minor differences, this is sheer duplication
444# of the staging rules above using $(INSTALL_DATA) instead of LN_S and
445# `$(INSTALL) -d' instead of `mkdir -p'. In particular,
446# extra_target_headers are taken out of the build tree staging area;
447# the rest are taken from the original source tree.
54c1bf78
BK
448gxx_include_dir = @gxx_include_dir@
449CONFIG_HEADER = ../config.h
450CONFIG_CLEAN_FILES =
451DIST_COMMON = Makefile.am Makefile.in
3d90ff93 452
4a9d5109 453
54c1bf78
BK
454DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
455
066930bb 456TAR = gtar
54c1bf78
BK
457GZIP_ENV = --best
458all: all-redirect
459.SUFFIXES:
460$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
047398eb 461 cd $(top_srcdir) && $(AUTOMAKE) --cygnus include/Makefile
54c1bf78 462
047398eb 463Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
54c1bf78
BK
464 cd $(top_builddir) \
465 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
f53d0ff1 466
4a9d5109
SW
467tags: TAGS
468TAGS:
469
4a9d5109 470
54c1bf78 471distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
3d90ff93 472
54c1bf78
BK
473subdir = include
474
475distdir: $(DISTFILES)
476 @for file in $(DISTFILES); do \
047398eb 477 if test -f $$file; then d=.; else d=$(srcdir); fi; \
54c1bf78
BK
478 if test -d $$d/$$file; then \
479 cp -pr $$d/$$file $(distdir)/$$file; \
480 else \
481 test -f $(distdir)/$$file \
482 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
483 || cp -p $$d/$$file $(distdir)/$$file || :; \
484 fi; \
485 done
486info-am:
487info: info-am
488dvi-am:
489dvi: dvi-am
047398eb 490check-am:
54c1bf78
BK
491check: check-am
492installcheck-am:
493installcheck: installcheck-am
047398eb
BK
494install-info-am:
495install-info: install-info-am
54c1bf78 496install-exec-am:
2c1bc4eb 497install-exec: install-exec-am
54c1bf78
BK
498
499install-data-am: install-data-local
2c1bc4eb 500install-data: install-data-am
4a9d5109 501
2c1bc4eb
PC
502install-am: all-am
503 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
54c1bf78
BK
504install: install-am
505uninstall-am:
506uninstall: uninstall-am
507all-am: Makefile all-local
508all-redirect: all-am
f53d0ff1 509install-strip:
54c1bf78
BK
510 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
511installdirs:
512
513
4a9d5109
SW
514mostlyclean-generic:
515
516clean-generic:
4a9d5109
SW
517
518distclean-generic:
54c1bf78
BK
519 -rm -f Makefile $(CONFIG_CLEAN_FILES)
520 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
4a9d5109
SW
521
522maintainer-clean-generic:
54c1bf78 523mostlyclean-am: mostlyclean-generic
2c1bc4eb 524
54c1bf78 525mostlyclean: mostlyclean-am
f53d0ff1 526
54c1bf78 527clean-am: clean-generic mostlyclean-am
f53d0ff1 528
54c1bf78 529clean: clean-am
f53d0ff1 530
54c1bf78
BK
531distclean-am: distclean-generic clean-am
532 -rm -f libtool
f53d0ff1 533
54c1bf78 534distclean: distclean-am
f53d0ff1 535
54c1bf78
BK
536maintainer-clean-am: maintainer-clean-generic distclean-am
537 @echo "This command is intended for maintainers to use;"
538 @echo "it deletes files that may require special tools to rebuild."
4a9d5109
SW
539
540maintainer-clean: maintainer-clean-am
541
54c1bf78 542.PHONY: tags distdir info-am info dvi-am dvi check check-am \
047398eb
BK
543installcheck-am installcheck install-info-am install-info \
544install-exec-am install-exec install-data-local install-data-am \
545install-data install-am install uninstall-am uninstall all-local \
546all-redirect all-am all installdirs mostlyclean-generic \
547distclean-generic clean-generic maintainer-clean-generic clean \
548mostlyclean distclean maintainer-clean
4a9d5109
SW
549
550
551# Here are the rules for building the headers
4e10943d 552all-local: ${target_builddir}/c++config.h ${allstamps}
4a9d5109 553
066930bb
PE
554# This rule is slightly different, in that we must change the name of the
555# local file from std_foo.h to foo.
4a9d5109
SW
556stamp-std: ${std_headers}
557 @if [ ! -d "${std_builddir}" ]; then \
558 mkdir -p ${std_builddir} ;\
559 fi ;\
066930bb
PE
560 (cd ${std_builddir} && for h in $?; do \
561 official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
41fcea28 562 @LN_S@ $$h ./$${official_name} || true ;\
066930bb 563 done) ;\
843312be 564 echo `date` > stamp-std
4a9d5109
SW
565
566stamp-bits: ${bits_headers}
567 @if [ ! -d "${bits_builddir}" ]; then \
568 mkdir -p ${bits_builddir} ;\
569 fi ;\
7bfea936 570 (cd ${bits_builddir} && @LN_S@ $? . || true) ;\
4a9d5109
SW
571 echo `date` > stamp-bits
572
c5535768 573stamp-c_base: ${c_base_headers} ${c_base_headers_extra}
4a9d5109
SW
574 @if [ ! -d "${c_base_builddir}" ]; then \
575 mkdir -p ${c_base_builddir} ;\
576 fi ;\
c5535768
BK
577 (cd ${c_base_builddir} && for h in ${c_base_headers}; do \
578 official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
579 @LN_S@ $$h ./$${official_name} || true ;\
580 done) ;\
581 (cd ${c_base_builddir} && @LN_S@ ${c_base_headers_extra} . || true) ;\
4a9d5109
SW
582 echo `date` > stamp-c_base
583
4a9d5109
SW
584stamp-backward: ${backward_headers}
585 @if [ ! -d "${backward_builddir}" ]; then \
586 mkdir -p ${backward_builddir} ;\
587 fi ;\
7bfea936 588 (cd ${backward_builddir} && @LN_S@ $? . || true) ;\
4a9d5109
SW
589 echo `date` > stamp-backward
590
591stamp-ext: ${ext_headers}
592 @if [ ! -d "${ext_builddir}" ]; then \
593 mkdir -p ${ext_builddir} ;\
594 fi ;\
7bfea936 595 (cd ${ext_builddir} && @LN_S@ $? . || true) ;\
4a9d5109
SW
596 echo `date` > stamp-ext
597
4e10943d 598# This target is special. The timestamp on a directory gets modified
4a9d5109
SW
599# whenever a file it contains gets modified, and that'll throw off all the
600# build dependencies that need this target. On the other hand, someone
ea0c0b6e 601# could delete the directory and not the stamp file, faking out make.
4a9d5109 602${target_builddir}: stamp-${target_alias}
4a9d5109
SW
603stamp-${target_alias}:
604 @if [ ! -d ${target_builddir} ]; then \
605 mkdir -p ${target_builddir} ;\
843312be
BK
606 echo `date` > stamp-${target_alias} ;\
607 fi
608
ea0c0b6e 609# Target includes static.
843312be
BK
610stamp-target: ${target_headers} ${target_builddir}
611 @cd ${target_builddir} ;\
612 if [ ! -f stamp-target ]; then \
7bfea936
LR
613 @LN_S@ ${target_headers} . || true ;\
614 @LN_S@ ${glibcpp_srcdir}/@BASIC_FILE_H@ basic_file_model.h || true ;\
615 @LN_S@ ${glibcpp_srcdir}/@CSTDIO_H@ c++io.h || true ;\
616 @LN_S@ ${glibcpp_srcdir}/@CLOCALE_H@ c++locale.h || true ;\
617 @LN_S@ ${glibcpp_srcdir}/@CMESSAGES_H@ messages_members.h || true ;\
618 @LN_S@ ${glibcpp_srcdir}/@CCODECVT_H@ codecvt_specializations.h || true ;\
843312be 619 echo `date` > stamp-target; \
4a9d5109 620 fi
4a9d5109 621
ea0c0b6e 622# Target includes dynamic.
ff144428 623${target_builddir}/c++config.h: ../config.h \
4a9d5109
SW
624 ${glibcpp_srcdir}/include/bits/c++config \
625 ${target_builddir}
626 @cat ${glibcpp_srcdir}/include/bits/c++config > $@ ;\
627 sed -e 's/HAVE_/_GLIBCPP_HAVE_/g' \
628 -e 's/PACKAGE/_GLIBCPP_PACKAGE/g' \
629 -e 's/VERSION/_GLIBCPP_VERSION/g' \
630 -e 's/WORDS_/_GLIBCPP_WORDS_/g' \
631 < ${glibcpp_builddir}/config.h >> $@ ;\
632 echo "#endif // _CPP_CPPCONFIG_" >>$@
633
843312be
BK
634stamp-thread: ${thread_headers} ${thread_builddir}
635 @echo `date` > stamp-thread
636
4a9d5109
SW
637${thread_builddir}/gthr.h:
638 sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCPP_\1/g' \
639 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
533ab4d1 640 < ${toplevel_srcdir}/gcc/gthr.h > $@
4a9d5109
SW
641
642${thread_builddir}/gthr-single.h:
643 sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
644 -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
533ab4d1 645 < ${toplevel_srcdir}/gcc/gthr-single.h > $@
4a9d5109
SW
646
647${thread_builddir}/gthr-default.h:
648 sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
649 -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
650 -e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
533ab4d1 651 < ${toplevel_srcdir}/gcc/${glibcpp_thread_h} > $@
4a9d5109 652install-data-local:
7bfea936
LR
653 $(INSTALL) -d ${gxx_include_dir}
654 $(INSTALL) -d ${gxx_include_dir}/${bits_builddir}
655 for file in ${bits_headers}; do \
656 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${bits_builddir}; done
657 $(INSTALL) -d ${gxx_include_dir}/${backward_builddir}
658 for file in ${backward_headers}; do \
659 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${backward_builddir}; done
660 $(INSTALL) -d ${gxx_include_dir}/${ext_builddir}
661 for file in ${ext_headers}; do \
662 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${ext_builddir}; done
663 $(INSTALL) -d ${gxx_include_dir}/${c_base_builddir}
c5535768
BK
664 for file in ${c_base_builddir}/${c_base_headers_rename}; do \
665 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${c_base_builddir}; done
666 for file in ${c_base_headers_extra}; do \
7bfea936
LR
667 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${c_base_builddir}; done
668 $(INSTALL) -d ${gxx_include_dir}/${std_builddir}
c5535768 669 for file in ${std_builddir}/${std_headers_rename}; do \
7bfea936
LR
670 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${std_builddir}; done
671 $(INSTALL) -d ${gxx_include_dir}/${target_builddir}
672 for file in ${target_headers} ${extra_target_headers}; do \
673 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${target_builddir}; done
674 $(INSTALL) -d ${gxx_include_dir}/${thread_builddir}
675 for file in ${thread_headers}; do \
676 $(INSTALL_DATA) $${file} ${gxx_include_dir}/${thread_builddir}; done
4a9d5109 677
843312be
BK
678# By adding these files here, automake will remove them for 'make clean'
679#CLEANFILES = ${allstamps}
54c1bf78 680
c5535768
BK
681# Stop implicit '.o' make rules from ever stomping on extensionless
682# headers, in the improbable case where some foolish, crack-addled
683# developer tries to create them via make in the include build
684# directory.
685.PRECIOUS: $(std_headers_rename) $(c_base_headers_rename)
686$(std_headers_rename): ; @:
687$(c_base_headers_rename): ; @:
688
4a9d5109
SW
689# Tell versions [3.59,3.63) of GNU make to not export all variables.
690# Otherwise a system limit (for SysV at least) may be exceeded.
691.NOEXPORT: