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