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