1 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
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.
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
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
64 target_alias = @target_alias@
65 target_triplet = @target@
68 ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
70 BASIC_FILE_CC = @BASIC_FILE_CC@
71 BASIC_FILE_H = @BASIC_FILE_H@
73 CCODECVT_C = @CCODECVT_C@
74 CCODECVT_CC = @CCODECVT_CC@
75 CCODECVT_H = @CCODECVT_H@
76 CCOLLATE_CC = @CCOLLATE_CC@
77 CCTYPE_CC = @CCTYPE_CC@
78 CLOCALE_CC = @CLOCALE_CC@
79 CLOCALE_H = @CLOCALE_H@
80 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
81 CMESSAGES_CC = @CMESSAGES_CC@
82 CMESSAGES_H = @CMESSAGES_H@
83 CMONEY_CC = @CMONEY_CC@
84 CNUMERIC_CC = @CNUMERIC_CC@
90 C_INCLUDE_DIR = @C_INCLUDE_DIR@
91 DEBUG_FLAGS = @DEBUG_FLAGS@
94 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
97 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
98 LIBIO_INCLUDES = @LIBIO_INCLUDES@
99 LIBMATHOBJS = @LIBMATHOBJS@
100 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
101 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
103 LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
106 MAKEINFO = @MAKEINFO@
109 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
110 OPT_LDFLAGS = @OPT_LDFLAGS@
111 OS_INC_SRCDIR = @OS_INC_SRCDIR@
114 SECTION_FLAGS = @SECTION_FLAGS@
115 SECTION_LDFLAGS = @SECTION_LDFLAGS@
117 SYMVER_MAP = @SYMVER_MAP@
118 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
121 WARN_FLAGS = @WARN_FLAGS@
123 baseline_file = @baseline_file@
124 check_msgfmt = @check_msgfmt@
125 enable_shared = @enable_shared@
126 enable_static = @enable_static@
127 glibcpp_CXX = @glibcpp_CXX@
128 glibcpp_MOFILES = @glibcpp_MOFILES@
129 glibcpp_PCHFLAGS = @glibcpp_PCHFLAGS@
130 glibcpp_POFILES = @glibcpp_POFILES@
131 glibcpp_basedir = @glibcpp_basedir@
132 glibcpp_localedir = @glibcpp_localedir@
133 glibcpp_prefixdir = @glibcpp_prefixdir@
134 glibcpp_toolexecdir = @glibcpp_toolexecdir@
135 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
136 ifGNUmake = @ifGNUmake@
137 libio_la = @libio_la@
138 libtool_VERSION = @libtool_VERSION@
139 toplevel_srcdir = @toplevel_srcdir@
141 AUTOMAKE_OPTIONS = 1.3 cygnus
142 MAINT_CHARSET = latin1
144 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
146 # Cross compiler and multilib support.
148 glibcpp_srcdir = @glibcpp_srcdir@
149 glibcpp_builddir = @glibcpp_builddir@
151 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
152 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
153 INCLUDES = -nostdinc++ $(GLIBCPP_INCLUDES) $(LIBSUPCXX_INCLUDES)
155 # Standard C++ includes.
156 std_srcdir = ${glibcpp_srcdir}/include/std
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
189 # Renamed at build time.
190 std_headers_rename = \
222 bits_srcdir = ${glibcpp_srcdir}/include/bits
223 bits_builddir = ./bits
225 ${bits_srcdir}/allocator.h \
226 ${bits_srcdir}/allocator_traits.h \
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 \
238 ${bits_srcdir}/fpos.h \
239 ${bits_srcdir}/fstream.tcc \
240 ${bits_srcdir}/functexcept.h \
241 ${bits_srcdir}/gslice.h \
242 ${bits_srcdir}/gslice_array.h \
243 ${bits_srcdir}/indirect_array.h \
244 ${bits_srcdir}/ios_base.h \
245 ${bits_srcdir}/istream.tcc \
246 ${bits_srcdir}/list.tcc \
247 ${bits_srcdir}/locale_classes.h \
248 ${bits_srcdir}/locale_facets.h \
249 ${bits_srcdir}/locale_facets.tcc \
250 ${bits_srcdir}/localefwd.h \
251 ${bits_srcdir}/mask_array.h \
252 ${bits_srcdir}/ostream.tcc \
253 ${bits_srcdir}/stream_iterator.h \
254 ${bits_srcdir}/streambuf_iterator.h \
255 ${bits_srcdir}/slice_array.h \
256 ${bits_srcdir}/sstream.tcc \
257 ${bits_srcdir}/stl_algo.h \
258 ${bits_srcdir}/stl_algobase.h \
259 ${bits_srcdir}/stl_bvector.h \
260 ${bits_srcdir}/stl_construct.h \
261 ${bits_srcdir}/stl_deque.h \
262 ${bits_srcdir}/stl_function.h \
263 ${bits_srcdir}/stl_heap.h \
264 ${bits_srcdir}/stl_iterator.h \
265 ${bits_srcdir}/stl_iterator_base_funcs.h \
266 ${bits_srcdir}/stl_iterator_base_types.h \
267 ${bits_srcdir}/stl_list.h \
268 ${bits_srcdir}/stl_map.h \
269 ${bits_srcdir}/stl_multimap.h \
270 ${bits_srcdir}/stl_multiset.h \
271 ${bits_srcdir}/stl_numeric.h \
272 ${bits_srcdir}/stl_pair.h \
273 ${bits_srcdir}/stl_queue.h \
274 ${bits_srcdir}/stl_raw_storage_iter.h \
275 ${bits_srcdir}/stl_relops.h \
276 ${bits_srcdir}/stl_set.h \
277 ${bits_srcdir}/stl_stack.h \
278 ${bits_srcdir}/stl_tempbuf.h \
279 ${bits_srcdir}/stl_threads.h \
280 ${bits_srcdir}/stl_tree.h \
281 ${bits_srcdir}/stl_uninitialized.h \
282 ${bits_srcdir}/stl_vector.h \
283 ${bits_srcdir}/streambuf.tcc \
284 ${bits_srcdir}/stringfwd.h \
285 ${bits_srcdir}/type_traits.h \
286 ${bits_srcdir}/valarray_array.h \
287 ${bits_srcdir}/valarray_array.tcc \
288 ${bits_srcdir}/valarray_before.h \
289 ${bits_srcdir}/valarray_after.h \
290 ${bits_srcdir}/vector.tcc
293 backward_srcdir = ${glibcpp_srcdir}/include/backward
294 backward_builddir = ./backward
296 ${backward_srcdir}/complex.h \
297 ${backward_srcdir}/iomanip.h \
298 ${backward_srcdir}/istream.h \
299 ${backward_srcdir}/ostream.h \
300 ${backward_srcdir}/stream.h \
301 ${backward_srcdir}/streambuf.h \
302 ${backward_srcdir}/algo.h \
303 ${backward_srcdir}/algobase.h \
304 ${backward_srcdir}/alloc.h \
305 ${backward_srcdir}/bvector.h \
306 ${backward_srcdir}/defalloc.h \
307 ${backward_srcdir}/deque.h \
308 ${backward_srcdir}/function.h \
309 ${backward_srcdir}/hash_map.h \
310 ${backward_srcdir}/hash_set.h \
311 ${backward_srcdir}/hashtable.h \
312 ${backward_srcdir}/heap.h \
313 ${backward_srcdir}/iostream.h \
314 ${backward_srcdir}/iterator.h \
315 ${backward_srcdir}/list.h \
316 ${backward_srcdir}/map.h \
317 ${backward_srcdir}/multimap.h \
318 ${backward_srcdir}/new.h \
319 ${backward_srcdir}/multiset.h \
320 ${backward_srcdir}/pair.h \
321 ${backward_srcdir}/queue.h \
322 ${backward_srcdir}/rope.h \
323 ${backward_srcdir}/set.h \
324 ${backward_srcdir}/slist.h \
325 ${backward_srcdir}/stack.h \
326 ${backward_srcdir}/tempbuf.h \
327 ${backward_srcdir}/tree.h \
328 ${backward_srcdir}/vector.h \
329 ${backward_srcdir}/fstream.h \
330 ${backward_srcdir}/strstream \
331 ${backward_srcdir}/backward_warning.h
334 ext_srcdir = ${glibcpp_srcdir}/include/ext
337 ${ext_srcdir}/algorithm \
338 ${ext_srcdir}/debug_allocator.h \
339 ${ext_srcdir}/enc_filebuf.h \
340 ${ext_srcdir}/stdio_filebuf.h \
341 ${ext_srcdir}/stdio_sync_filebuf.h \
342 ${ext_srcdir}/functional \
343 ${ext_srcdir}/hash_map \
344 ${ext_srcdir}/hash_set \
345 ${ext_srcdir}/iterator \
346 ${ext_srcdir}/malloc_allocator.h \
347 ${ext_srcdir}/memory \
348 ${ext_srcdir}/mt_allocator.h \
349 ${ext_srcdir}/new_allocator.h \
350 ${ext_srcdir}/numeric \
351 ${ext_srcdir}/pool_allocator.h \
352 ${ext_srcdir}/rb_tree \
354 ${ext_srcdir}/ropeimpl.h \
355 ${ext_srcdir}/slist \
356 ${ext_srcdir}/hash_fun.h \
357 ${ext_srcdir}/hashtable.h
360 # This is the common subset of files that all three "C" header models use.
361 c_base_srcdir = @C_INCLUDE_DIR@
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
383 c_base_headers_rename = \
404 # "C" compatibility headers.
405 c_compatibility_srcdir = ${glibcpp_srcdir}/include/c_compatibility
406 c_compatibility_builddir = .
407 c_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
427 @GLIBCPP_C_HEADERS_C_STD_TRUE@c_base_headers_extra = @GLIBCPP_C_HEADERS_C_STD_TRUE@${c_base_srcdir}/cmath.tcc
428 @GLIBCPP_C_HEADERS_C_STD_FALSE@c_base_headers_extra =
429 @GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@c_compatibility_headers_extra = @GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@${c_compatibility_headers}
430 @GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@c_compatibility_headers_extra =
432 target_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@
433 target_builddir = ./${target_alias}/bits
435 ${target_srcdir}/ctype_base.h \
436 ${target_srcdir}/ctype_inline.h \
437 ${target_srcdir}/ctype_noninline.h \
438 ${target_srcdir}/os_defines.h \
439 ${glibcpp_srcdir}/@ATOMICITY_INC_SRCDIR@/atomicity.h
442 # Non-installed target_header files.
443 target_headers_noinst = \
444 ${glibcpp_srcdir}/@CLOCALE_INTERNAL_H@
447 # These target_headers_extra files are all built with ad hoc naming rules.
448 target_headers_extra = \
449 ${target_builddir}/basic_file.h \
450 ${target_builddir}/c++config.h \
451 ${target_builddir}/c++io.h \
452 ${target_builddir}/c++locale.h \
453 ${target_builddir}/messages_members.h \
454 ${target_builddir}/time_members.h \
455 ${target_builddir}/codecvt_specializations.h
458 thread_target_headers = \
459 ${target_builddir}/gthr.h \
460 ${target_builddir}/gthr-single.h \
461 ${target_builddir}/gthr-posix.h \
462 ${target_builddir}/gthr-default.h
465 pch_input = ${target_builddir}/stdc++.h
466 pch_output_builddir = ${target_builddir}/stdc++.h.gch
467 pch_source = ${glibcpp_srcdir}/include/stdc++.h
468 PCHFLAGS = -Winvalid-pch -Wno-deprecated -x c++-header $(CXXFLAGS)
469 @GLIBCPP_BUILD_PCH_TRUE@pch_build = @GLIBCPP_BUILD_PCH_TRUE@${pch_input}
470 @GLIBCPP_BUILD_PCH_FALSE@pch_build =
471 @GLIBCPP_BUILD_PCH_TRUE@pch_install = @GLIBCPP_BUILD_PCH_TRUE@install-pch
472 @GLIBCPP_BUILD_PCH_FALSE@pch_install =
474 # List of all timestamp files. By keeping only one copy of this list, both
475 # CLEANFILES and all-local are kept up-to-date.
477 stamp-std stamp-bits stamp-c_base stamp-c_compatibility \
478 stamp-backward stamp-ext stamp-target
481 # List of all files that are created by explicit building, editing, or
484 ${target_builddir}/c++config.h \
485 ${thread_target_headers} \
489 # Target includes for threads
490 glibcpp_thread_h = @glibcpp_thread_h@
491 uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
493 # For robustness sake (in light of junk files or in-source
494 # configuration), copy from the build or source tree to the install
495 # tree using only the human-maintained file lists and directory
496 # components. Yes, with minor differences, this is sheer duplication
497 # of the staging rules above using $(INSTALL_DATA) instead of LN_S and
498 # `$(mkinstalldirs)' instead of `mkdir -p'. In particular,
499 # target_headers_extra are taken out of the build tree staging area;
500 # the rest are taken from the original source tree.
501 gxx_include_dir = @gxx_include_dir@
503 # By adding these files here, automake will remove them for 'make clean'
504 CLEANFILES = ${pch_input} ${pch_output_builddir}/*
505 CONFIG_HEADER = ../config.h
507 DIST_COMMON = Makefile.am Makefile.in
510 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
516 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
517 cd $(top_srcdir) && $(AUTOMAKE) --cygnus include/Makefile
519 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
521 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
527 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
531 distdir: $(DISTFILES)
532 @for file in $(DISTFILES); do \
533 if test -f $$file; then d=.; else d=$(srcdir); fi; \
534 if test -d $$d/$$file; then \
535 cp -pr $$d/$$file $(distdir)/$$file; \
537 test -f $(distdir)/$$file \
538 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
539 || cp -p $$d/$$file $(distdir)/$$file || :; \
549 installcheck: installcheck-am
551 install-info: install-info-am
553 install-exec: install-exec-am
555 install-data-am: install-data-local
556 install-data: install-data-am
559 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
562 uninstall: uninstall-am
563 all-am: Makefile all-local
566 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
573 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
576 -rm -f Makefile $(CONFIG_CLEAN_FILES)
577 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
579 maintainer-clean-generic:
580 mostlyclean-am: mostlyclean-generic
582 mostlyclean: mostlyclean-am
584 clean-am: clean-generic mostlyclean-am
588 distclean-am: distclean-generic clean-am
591 distclean: distclean-am
593 maintainer-clean-am: maintainer-clean-generic distclean-am
594 @echo "This command is intended for maintainers to use;"
595 @echo "it deletes files that may require special tools to rebuild."
597 maintainer-clean: maintainer-clean-am
599 .PHONY: tags distdir info-am info dvi-am dvi check check-am \
600 installcheck-am installcheck install-info-am install-info \
601 install-exec-am install-exec install-data-local install-data-am \
602 install-data install-am install uninstall-am uninstall all-local \
603 all-redirect all-am all installdirs mostlyclean-generic \
604 distclean-generic clean-generic maintainer-clean-generic clean \
605 mostlyclean distclean maintainer-clean
608 # Here are the rules for building the headers
609 all-local: ${allstamped} ${allcreated}
611 # This rule is slightly different, in that we must change the name of the
612 # local file from std_foo.h to foo.
613 stamp-std: ${std_headers}
614 @if [ ! -d "${std_builddir}" ]; then \
615 mkdir -p ${std_builddir} ;\
617 if [ ! -f stamp-std ]; then \
618 (cd ${std_builddir} && for h in $?; do \
619 official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
620 @LN_S@ $$h ./$${official_name} || true ;\
622 echo `date` > stamp-std ;\
625 stamp-bits: ${bits_headers}
626 @if [ ! -d "${bits_builddir}" ]; then \
627 mkdir -p ${bits_builddir} ;\
629 if [ ! -f stamp-bits ]; then \
630 (cd ${bits_builddir} && @LN_S@ $? . || true) ;\
631 echo `date` > stamp-bits ;\
634 stamp-c_base: ${c_base_headers} ${c_base_headers_extra}
635 @if [ ! -d "${c_base_builddir}" ]; then \
636 mkdir -p ${c_base_builddir} ;\
638 if [ ! -f stamp-c_base ]; then \
639 (cd ${c_base_builddir} && for h in ${c_base_headers}; do \
640 official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
641 @LN_S@ $$h ./$${official_name} || true ;\
643 if [ ! -z "${c_base_headers_extra}" ]; then \
644 (cd ${bits_builddir} && @LN_S@ ${c_base_headers_extra} . || true) ;\
646 echo `date` > stamp-c_base ;\
649 stamp-c_compatibility: ${c_compatibility_headers_extra}
650 @if [ ! -d "${c_compatibility_builddir}" ]; then \
651 mkdir -p ${c_compatibility_builddir} ;\
653 if [ ! -f stamp-c_compatibility ]; then \
654 if [ ! -z "${c_compatibility_headers_extra}" ]; then \
655 (cd ${c_compatibility_builddir} && @LN_S@ $? . || true) ;\
657 echo `date` > stamp-c_compatibility ;\
660 stamp-backward: ${backward_headers}
661 @if [ ! -d "${backward_builddir}" ]; then \
662 mkdir -p ${backward_builddir} ;\
664 if [ ! -f stamp-backward ]; then \
665 (cd ${backward_builddir} && @LN_S@ $? . || true) ;\
666 echo `date` > stamp-backward ;\
669 stamp-ext: ${ext_headers}
670 @if [ ! -d "${ext_builddir}" ]; then \
671 mkdir -p ${ext_builddir} ;\
673 if [ ! -f stamp-ext ]; then \
674 (cd ${ext_builddir} && @LN_S@ $? . || true) ;\
675 echo `date` > stamp-ext ;\
678 stamp-${target_alias}:
679 @if [ ! -d ${target_builddir} ]; then \
680 mkdir -p ${target_builddir} ;\
681 echo `date` > stamp-${target_alias} ;\
684 # Target includes static.
685 # XXX Missing dependency info for {target_headers_extra}
686 stamp-target: ${target_headers} ${target_headers_noinst} stamp-${target_alias}
687 @if [ ! -f stamp-target ]; then \
688 (cd ${target_builddir} ;\
689 @LN_S@ ${target_headers} . || true ;\
690 @LN_S@ ${glibcpp_srcdir}/@BASIC_FILE_H@ basic_file.h || true ;\
691 @LN_S@ ${glibcpp_srcdir}/@CSTDIO_H@ c++io.h || true ;\
692 @LN_S@ ${glibcpp_srcdir}/@CLOCALE_H@ c++locale.h || true ;\
693 @LN_S@ ${glibcpp_srcdir}/@CLOCALE_INTERNAL_H@ . || true ;\
694 @LN_S@ ${glibcpp_srcdir}/@CMESSAGES_H@ messages_members.h || true ;\
695 @LN_S@ ${glibcpp_srcdir}/@CTIME_H@ time_members.h || true ;\
696 @LN_S@ ${glibcpp_srcdir}/@CCODECVT_H@ codecvt_specializations.h || true);\
697 echo `date` > stamp-target ; \
700 # Target includes dynamic.
701 ${target_builddir}/c++config.h: ${CONFIG_HEADER} \
702 ${glibcpp_srcdir}/include/bits/c++config \
703 stamp-${target_alias}
704 @cat ${glibcpp_srcdir}/include/bits/c++config > $@ ;\
705 sed -e 's/HAVE_/_GLIBCPP_HAVE_/g' \
706 -e 's/PACKAGE/_GLIBCPP_PACKAGE/g' \
707 -e 's/VERSION/_GLIBCPP_VERSION/g' \
708 -e 's/WORDS_/_GLIBCPP_WORDS_/g' \
709 < ${CONFIG_HEADER} >> $@ ;\
710 echo "#endif // _CPP_CPPCONFIG_" >>$@
712 ${target_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${target_alias}
713 sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCPP_\1/g' \
714 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
715 < ${toplevel_srcdir}/gcc/gthr.h > $@
717 ${target_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
718 stamp-${target_alias}
719 sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
720 -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
721 < ${toplevel_srcdir}/gcc/gthr-single.h > $@
723 ${target_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
724 stamp-${target_alias}
725 sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
726 -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
727 -e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
728 < ${toplevel_srcdir}/gcc/gthr-posix.h > $@
730 ${target_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcpp_thread_h} \
731 stamp-${target_alias}
732 sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
733 -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
734 -e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
735 -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
736 < ${toplevel_srcdir}/gcc/${glibcpp_thread_h} > $@
738 # Build a precompiled C++ include, stdc++.h.gch.
739 ${pch_input}: ${allstamped} ${target_builddir}/c++config.h ${pch_source}
740 touch ${pch_input}; \
741 if [ ! -d "${pch_output_builddir}" ]; then \
742 mkdir -p ${pch_output_builddir}; \
744 $(CXX) $(PCHFLAGS) $(INCLUDES) ${pch_source} -O0 -g -o ${pch_output_builddir}/O0g; \
745 $(CXX) $(PCHFLAGS) $(INCLUDES) ${pch_source} -O2 -g -o ${pch_output_builddir}/O2g;
747 install-data-local: install-headers ${pch_install}
750 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
751 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${bits_builddir}
752 for file in ${bits_headers}; do \
753 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
754 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${backward_builddir}
755 for file in ${backward_headers}; do \
756 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${backward_builddir}; done
757 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${ext_builddir}
758 for file in ${ext_headers}; do \
759 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${ext_builddir}; done
760 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
761 for file in ${c_base_headers_rename}; do \
762 $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
763 c_base_headers_extra_install='$(c_base_headers_extra)';\
764 for file in $$c_base_headers_extra_install; do \
765 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done
766 c_compatibility_headers_install='$(c_compatibility_headers_extra)';\
767 for file in $$c_compatibility_headers_install; do \
768 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}; done
769 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
770 for file in ${std_headers_rename}; do \
771 $(INSTALL_DATA) ${std_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done
772 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${target_builddir}
773 for file in ${target_headers} ${target_headers_extra} \
774 ${thread_target_headers}; do \
775 $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${target_builddir}; done
778 $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}
779 for file in ${pch_output_builddir}/*; do \
780 $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}; done
782 # Stop implicit '.o' make rules from ever stomping on extensionless
783 # headers, in the improbable case where some foolish, crack-addled
784 # developer tries to create them via make in the include build
785 # directory. (This is more of an example of how this kind of rule can
787 .PRECIOUS: $(std_headers_rename) $(c_base_headers_rename)
788 $(std_headers_rename): ; @:
789 $(c_base_headers_rename): ; @:
791 # Tell versions [3.59,3.63) of GNU make to not export all variables.
792 # Otherwise a system limit (for SysV at least) may be exceeded.