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