1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 top_srcdir = @top_srcdir@
19 pkgdatadir = $(datadir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25 install_sh_DATA = $(install_sh) -c -m 644
26 install_sh_PROGRAM = $(install_sh) -c
27 install_sh_SCRIPT = $(install_sh) -c
28 INSTALL_HEADER = $(INSTALL_DATA)
29 transform = $(program_transform_name)
36 build_triplet = @build@
38 target_triplet = @target@
39 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
40 $(top_srcdir)/fragment.am
42 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43 am__aclocal_m4_deps = $(top_srcdir)/../config/enable.m4 \
44 $(top_srcdir)/../config/lead-dot.m4 \
45 $(top_srcdir)/../config/no-executables.m4 \
46 $(top_srcdir)/../libtool.m4 $(top_srcdir)/crossconfig.m4 \
47 $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
48 $(top_srcdir)/../config/tls.m4 $(top_srcdir)/configure.ac
49 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
51 CONFIG_HEADER = $(top_builddir)/config.h
53 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
54 am__vpath_adj = case $$p in \
55 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
58 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
59 am__installdirs = "$(DESTDIR)$(toolexeclibdir)"
60 toolexeclibLTLIBRARIES_INSTALL = $(INSTALL)
61 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
62 am__objects_1 = atomicity.lo codecvt_members.lo collate_members.lo \
63 ctype_members.lo messages_members.lo monetary_members.lo \
64 numeric_members.lo time_members.lo
65 am__objects_2 = basic_file.lo c++locale.lo
66 am__objects_3 = bitmap_allocator.lo pool_allocator.lo mt_allocator.lo \
67 codecvt.lo compatibility.lo complex_io.lo ctype.lo debug.lo \
68 debug_list.lo functexcept.lo globals_locale.lo globals_io.lo \
69 ios.lo ios_failure.lo ios_init.lo ios_locale.lo limits.lo \
70 list.lo locale.lo locale_init.lo locale_facets.lo \
71 localename.lo stdexcept.lo strstream.lo tree.lo \
72 allocator-inst.lo concept-inst.lo fstream-inst.lo ext-inst.lo \
73 io-inst.lo istream-inst.lo istream.lo locale-inst.lo \
74 locale-misc-inst.lo misc-inst.lo ostream-inst.lo \
75 sstream-inst.lo streambuf-inst.lo streambuf.lo string-inst.lo \
76 valarray-inst.lo wlocale-inst.lo wstring-inst.lo \
77 $(am__objects_1) $(am__objects_2)
78 am_libstdc___la_OBJECTS = $(am__objects_3)
79 libstdc___la_OBJECTS = $(am_libstdc___la_OBJECTS)
80 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
83 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
84 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
86 SOURCES = $(libstdc___la_SOURCES)
87 DIST_SOURCES = $(libstdc___la_SOURCES)
90 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
91 VPATH = $(top_srcdir)/src:$(top_srcdir)
92 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
94 ALLOCATOR_H = @ALLOCATOR_H@
95 ALLOCATOR_NAME = @ALLOCATOR_NAME@
99 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
100 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
101 AUTOCONF = @AUTOCONF@
102 AUTOHEADER = @AUTOHEADER@
103 AUTOMAKE = @AUTOMAKE@
105 BASIC_FILE_CC = @BASIC_FILE_CC@
106 BASIC_FILE_H = @BASIC_FILE_H@
108 CCODECVT_CC = @CCODECVT_CC@
109 CCOLLATE_CC = @CCOLLATE_CC@
110 CCTYPE_CC = @CCTYPE_CC@
112 CLOCALE_CC = @CLOCALE_CC@
113 CLOCALE_H = @CLOCALE_H@
114 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
115 CMESSAGES_CC = @CMESSAGES_CC@
116 CMESSAGES_H = @CMESSAGES_H@
117 CMONEY_CC = @CMONEY_CC@
118 CNUMERIC_CC = @CNUMERIC_CC@
120 CPPFLAGS = @CPPFLAGS@
121 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
122 CSTDIO_H = @CSTDIO_H@
123 CTIME_CC = @CTIME_CC@
127 CXXFLAGS = @CXXFLAGS@
128 CYGPATH_W = @CYGPATH_W@
129 C_INCLUDE_DIR = @C_INCLUDE_DIR@
130 DEBUG_FLAGS = @DEBUG_FLAGS@
136 ENABLE_SYMVERS_DARWIN_EXPORT_FALSE = @ENABLE_SYMVERS_DARWIN_EXPORT_FALSE@
137 ENABLE_SYMVERS_DARWIN_EXPORT_TRUE = @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@
138 ENABLE_SYMVERS_GNU_FALSE = @ENABLE_SYMVERS_GNU_FALSE@
139 ENABLE_SYMVERS_GNU_TRUE = @ENABLE_SYMVERS_GNU_TRUE@
141 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
142 GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
143 GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
144 GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
145 GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
146 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
147 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
148 GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
149 GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
150 GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
151 GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
152 GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
153 GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
154 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
155 INSTALL_DATA = @INSTALL_DATA@
156 INSTALL_PROGRAM = @INSTALL_PROGRAM@
157 INSTALL_SCRIPT = @INSTALL_SCRIPT@
158 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
159 LIBICONV = @LIBICONV@
160 LIBMATHOBJS = @LIBMATHOBJS@
163 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
166 LTLIBOBJS = @LTLIBOBJS@
168 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
169 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
170 MAKEINFO = @MAKEINFO@
172 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
173 OPT_LDFLAGS = @OPT_LDFLAGS@
174 OS_INC_SRCDIR = @OS_INC_SRCDIR@
176 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
177 PACKAGE_NAME = @PACKAGE_NAME@
178 PACKAGE_STRING = @PACKAGE_STRING@
179 PACKAGE_TARNAME = @PACKAGE_TARNAME@
180 PACKAGE_VERSION = @PACKAGE_VERSION@
181 PATH_SEPARATOR = @PATH_SEPARATOR@
183 SECTION_FLAGS = @SECTION_FLAGS@
184 SECTION_LDFLAGS = @SECTION_LDFLAGS@
185 SET_MAKE = @SET_MAKE@
188 SYMVER_MAP = @SYMVER_MAP@
189 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
192 WARN_FLAGS = @WARN_FLAGS@
194 ac_ct_AR = @ac_ct_AR@
195 ac_ct_AS = @ac_ct_AS@
196 ac_ct_CC = @ac_ct_CC@
197 ac_ct_CXX = @ac_ct_CXX@
198 ac_ct_RANLIB = @ac_ct_RANLIB@
199 ac_ct_STRIP = @ac_ct_STRIP@
200 am__leading_dot = @am__leading_dot@
202 am__untar = @am__untar@
203 baseline_dir = @baseline_dir@
206 build_alias = @build_alias@
207 build_cpu = @build_cpu@
208 build_os = @build_os@
209 build_vendor = @build_vendor@
210 check_msgfmt = @check_msgfmt@
212 enable_shared = @enable_shared@
213 enable_static = @enable_static@
214 exec_prefix = @exec_prefix@
215 glibcxx_MOFILES = @glibcxx_MOFILES@
216 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
217 glibcxx_POFILES = @glibcxx_POFILES@
218 glibcxx_builddir = @glibcxx_builddir@
219 glibcxx_localedir = @glibcxx_localedir@
220 glibcxx_prefixdir = @glibcxx_prefixdir@
221 glibcxx_srcdir = @glibcxx_srcdir@
222 glibcxx_thread_h = @glibcxx_thread_h@
223 glibcxx_toolexecdir = @glibcxx_toolexecdir@
224 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
225 gxx_include_dir = @gxx_include_dir@
227 host_alias = @host_alias@
228 host_cpu = @host_cpu@
230 host_vendor = @host_vendor@
231 includedir = @includedir@
233 install_sh = @install_sh@
235 libexecdir = @libexecdir@
236 libtool_VERSION = @libtool_VERSION@
237 localstatedir = @localstatedir@
240 multi_basedir = @multi_basedir@
241 oldincludedir = @oldincludedir@
242 port_specific_symbol_files = @port_specific_symbol_files@
244 program_transform_name = @program_transform_name@
246 sharedstatedir = @sharedstatedir@
247 sysconfdir = @sysconfdir@
249 target_alias = @target_alias@
250 target_cpu = @target_cpu@
251 target_os = @target_os@
252 target_vendor = @target_vendor@
253 toplevel_srcdir = @toplevel_srcdir@
255 # May be used by various substitution variables.
256 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
257 MAINT_CHARSET = latin1
258 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
259 PWD_COMMAND = $${PWDCMD-pwd}
260 STAMP = echo timestamp >
261 toolexecdir = $(glibcxx_toolexecdir)
262 toolexeclibdir = $(glibcxx_toolexeclibdir)
264 # These bits are all figured out from configure. Look in acinclude.m4
265 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
267 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
270 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
273 # -I/-D flags to pass when compiling.
274 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
276 # Cross compiler support.
277 toolexeclib_LTLIBRARIES = libstdc++.la
278 @ENABLE_SYMVERS_DARWIN_EXPORT_FALSE@@ENABLE_SYMVERS_GNU_FALSE@version_arg =
279 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@version_arg = -Wl,-exported_symbols_list,libstdc++-symbol.explist
280 @ENABLE_SYMVERS_GNU_TRUE@version_arg = -Wl,--version-script=libstdc++-symbol.ver
281 @ENABLE_SYMVERS_DARWIN_EXPORT_FALSE@@ENABLE_SYMVERS_GNU_FALSE@version_dep =
282 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@version_dep = libstdc++-symbol.explist
283 @ENABLE_SYMVERS_GNU_TRUE@version_dep = libstdc++-symbol.ver
285 # Source files linked in via configuration/make substitution for a
292 messages_members.cc \
293 monetary_members.cc \
297 atomicity_file = ${glibcxx_srcdir}/$(ATOMICITY_SRCDIR)/atomicity.h
299 # Source files linked in via configuration/make substitution for a
300 # particular host, but with ad hoc naming rules.
301 host_sources_extra = \
306 # Sources present in the src directory.
308 bitmap_allocator.cc \
341 locale-misc-inst.cc \
352 ${host_sources_extra}
354 libstdc___la_SOURCES = $(sources)
355 libstdc___la_LIBADD = \
356 $(top_builddir)/libmath/libmath.la \
357 $(top_builddir)/libsupc++/libsupc++convenience.la
359 libstdc___la_DEPENDENCIES = ${version_dep} $(libstdc___la_LIBADD)
360 libstdc___la_LDFLAGS = \
361 -version-info $(libtool_VERSION) ${version_arg} -lm
364 # Use special rules for the deprecated source files so that they find
365 # deprecated include files.
366 GLIBCXX_INCLUDE_DIR = $(glibcxx_builddir)/include
368 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
369 # modified in a per-library or per-sub-library way. Need to manually
370 # set this option because CONFIG_CXXFLAGS has to be after
371 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
372 # as the occasion calls for it.
374 -fno-implicit-templates \
376 $(OPTIMIZE_CXXFLAGS) \
380 # libstdc++ libtool notes
382 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
383 # last. (That way, things like -O2 passed down from the toplevel can
384 # be overridden by --enable-debug.)
386 # 2) In general, libtool expects an argument such as `--tag=CXX' when
387 # using the C++ compiler, because that will enable the settings
388 # detected when C++ support was being configured. However, when no
389 # such flag is given in the command line, libtool attempts to figure
390 # it out by matching the compiler name in each configuration section
391 # against a prefix of the command line. The problem is that, if the
392 # compiler name and its initial flags stored in the libtool
393 # configuration file don't match those in the command line, libtool
394 # can't decide which configuration to use, and it gives up. The
395 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
396 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
397 # attempt to infer which configuration to use
398 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
399 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
402 # 3) We'd have a problem when building the shared libstdc++ object if
403 # the rules automake generates would be used. We cannot allow g++ to
404 # be used since this would add -lstdc++ to the link line which of
405 # course is problematic at this point. So, we get the top-level
406 # directory to configure libstdc++-v3 to use gcc as the C++
407 # compilation driver.
408 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
409 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LDFLAGS) -o $@
415 .SUFFIXES: .cc .lo .o .obj
416 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
418 case '$(am__configure_deps)' in \
420 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
425 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/Makefile'; \
426 cd $(top_srcdir) && \
427 $(AUTOMAKE) --foreign --ignore-deps src/Makefile
429 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
432 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
434 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
435 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
438 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
439 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
441 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
442 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
443 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
444 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
445 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
447 test -z "$(toolexeclibdir)" || $(mkdir_p) "$(DESTDIR)$(toolexeclibdir)"
448 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
449 if test -f $$p; then \
451 echo " $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
452 $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(toolexeclibdir)/$$f"; \
456 uninstall-toolexeclibLTLIBRARIES:
458 @set -x; list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
460 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$p'"; \
461 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$p"; \
464 clean-toolexeclibLTLIBRARIES:
465 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
466 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
467 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
468 test "$$dir" != "$$p" || dir=.; \
469 echo "rm -f \"$${dir}/so_locations\""; \
470 rm -f "$${dir}/so_locations"; \
472 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
473 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
482 $(CXXCOMPILE) -c -o $@ $<
485 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
488 $(LTCXXCOMPILE) -c -o $@ $<
500 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
501 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
502 unique=`for i in $$list; do \
503 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
505 $(AWK) ' { files[$$0] = 1; } \
506 END { for (i in files) print i; }'`; \
510 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
511 $(TAGS_FILES) $(LISP)
514 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
515 unique=`for i in $$list; do \
516 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
518 $(AWK) ' { files[$$0] = 1; } \
519 END { for (i in files) print i; }'`; \
520 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
521 test -n "$$unique" || unique=$$empty_fix; \
522 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
526 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
527 $(TAGS_FILES) $(LISP)
530 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
531 unique=`for i in $$list; do \
532 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
534 $(AWK) ' { files[$$0] = 1; } \
535 END { for (i in files) print i; }'`; \
536 test -z "$(CTAGS_ARGS)$$tags$$unique" \
537 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
541 here=`$(am__cd) $(top_builddir) && pwd` \
542 && cd $(top_srcdir) \
543 && gtags -i $(GTAGS_ARGS) $$here
546 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
548 distdir: $(DISTFILES)
549 $(mkdir_p) $(distdir)/..
550 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
551 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
552 list='$(DISTFILES)'; for file in $$list; do \
554 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
555 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
557 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
558 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
559 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
561 $(mkdir_p) "$(distdir)$$dir"; \
565 if test -d $$d/$$file; then \
566 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
567 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
569 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
571 test -f $(distdir)/$$file \
572 || cp -p $$d/$$file $(distdir)/$$file \
578 all-am: Makefile $(LTLIBRARIES) all-local
580 for dir in "$(DESTDIR)$(toolexeclibdir)"; do \
581 test -z "$$dir" || $(mkdir_p) "$$dir"; \
584 install-exec: install-exec-am
585 install-data: install-data-am
586 uninstall: uninstall-am
589 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
591 installcheck: installcheck-am
593 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
594 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
595 `test -z '$(STRIP)' || \
596 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
602 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
604 maintainer-clean-generic:
605 @echo "This command is intended for maintainers to use"
606 @echo "it deletes files that may require special tools to rebuild."
609 clean-am: clean-generic clean-libtool clean-toolexeclibLTLIBRARIES \
612 distclean: distclean-am
614 distclean-am: clean-am distclean-compile distclean-generic \
615 distclean-libtool distclean-tags
627 install-data-am: install-data-local
629 install-exec-am: install-toolexeclibLTLIBRARIES
631 install-info: install-info-am
637 maintainer-clean: maintainer-clean-am
639 maintainer-clean-am: distclean-am maintainer-clean-generic
641 mostlyclean: mostlyclean-am
643 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
654 uninstall-am: uninstall-info-am uninstall-toolexeclibLTLIBRARIES
656 .PHONY: CTAGS GTAGS all all-am all-local check check-am clean \
657 clean-generic clean-libtool clean-toolexeclibLTLIBRARIES ctags \
658 distclean distclean-compile distclean-generic \
659 distclean-libtool distclean-tags distdir dvi dvi-am html \
660 html-am info info-am install install-am install-data \
661 install-data-am install-data-local install-exec \
662 install-exec-am install-info install-info-am install-man \
663 install-strip install-toolexeclibLTLIBRARIES installcheck \
664 installcheck-am installdirs maintainer-clean \
665 maintainer-clean-generic mostlyclean mostlyclean-compile \
666 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
667 tags uninstall uninstall-am uninstall-info-am \
668 uninstall-toolexeclibLTLIBRARIES
671 # Symbol versioning for shared libraries.
672 # This could be conditional on
673 # ENABLE_SYMVERS_GNU || ENABLE_SYMVERS_DARWIN_EXPORT
674 # but automake doesn't support OR operations in conditionals.
675 libstdc++-symbol.ver: ${glibcxx_srcdir}/$(SYMVER_MAP) \
676 $(port_specific_symbol_files)
677 cp ${glibcxx_srcdir}/$(SYMVER_MAP) ./libstdc++-symbol.ver
678 if test "x$(port_specific_symbol_files)" != x; then \
679 sed -n '1,/DO NOT DELETE/p' $@ > tmp.top; \
680 sed -n '/DO NOT DELETE/,$$p' $@ > tmp.bottom; \
681 cat tmp.top $(port_specific_symbol_files) tmp.bottom > $@; \
682 rm tmp.top tmp.bottom; \
684 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@libstdc++-symbol.explist : libstdc++-symbol.ver \
685 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ ${glibcxx_srcdir}/scripts/make_exports.pl \
686 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
687 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ perl ${glibcxx_srcdir}/scripts/make_exports.pl \
688 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ libstdc++-symbol.ver \
689 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
690 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ `echo $(libstdc___la_LIBADD) | \
691 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
692 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ > $@ || (rm -f $@ ; exit 1)
694 codecvt_members.cc: ${glibcxx_srcdir}/$(CCODECVT_CC)
695 $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_CC) . || true
697 collate_members.cc: ${glibcxx_srcdir}/$(CCOLLATE_CC)
698 $(LN_S) ${glibcxx_srcdir}/$(CCOLLATE_CC) . || true
700 ctype_members.cc: ${glibcxx_srcdir}/$(CCTYPE_CC)
701 $(LN_S) ${glibcxx_srcdir}/$(CCTYPE_CC) . || true
703 messages_members.cc: ${glibcxx_srcdir}/$(CMESSAGES_CC)
704 $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_CC) . || true
706 monetary_members.cc: ${glibcxx_srcdir}/$(CMONEY_CC)
707 $(LN_S) ${glibcxx_srcdir}/$(CMONEY_CC) . || true
709 numeric_members.cc: ${glibcxx_srcdir}/$(CNUMERIC_CC)
710 $(LN_S) ${glibcxx_srcdir}/$(CNUMERIC_CC) . || true
712 time_members.cc: ${glibcxx_srcdir}/$(CTIME_CC)
713 $(LN_S) ${glibcxx_srcdir}/$(CTIME_CC) . || true
714 atomicity.cc: ${atomicity_file}
715 $(LN_S) ${atomicity_file} ./atomicity.cc || true
717 c++locale.cc: ${glibcxx_srcdir}/$(CLOCALE_CC)
718 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_CC) ./$@ || true
720 basic_file.cc: ${glibcxx_srcdir}/$(BASIC_FILE_CC)
721 $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_CC) ./$@ || true
722 strstream.lo: strstream.cc
723 $(LTCXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $<
724 strstream.o: strstream.cc
725 $(CXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $<
727 # Use special rules for the concept-checking instantiations so that all
728 # the generated template functions are also instantiated. Force the checks
729 # to be on so that the instantiations are actually seen.
730 concept-inst.lo: concept-inst.cc
731 $(LTCXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $<
732 concept-inst.o: concept-inst.cc
733 $(CXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $<
735 # Added bits to build debug library.
736 @GLIBCXX_BUILD_DEBUG_TRUE@all-local: build_debug
737 @GLIBCXX_BUILD_DEBUG_TRUE@install-data-local: install_debug
738 @GLIBCXX_BUILD_DEBUG_FALSE@all-local:
739 @GLIBCXX_BUILD_DEBUG_FALSE@install-data-local:
741 # Build parallel set of debug objects here.
743 if test ! -d ${debugdir}; then \
744 mkdir -p ${debugdir}; \
746 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
747 -e 's/srcdir = \.\./srcdir = ..\/../' \
748 -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
749 -e 's/all-local: build_debug/all-local:/' \
750 -e 's/install-data-local: install_debug/install-data-local:/' \
751 < ../Makefile > Makefile) ; \
753 echo `date` > stamp-debug;
755 build_debug: stamp-debug
756 (cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' all)
758 # Install debug library here.
760 (cd ${debugdir} && $(MAKE) \
761 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install)
762 # Tell versions [3.59,3.63) of GNU make to not export all variables.
763 # Otherwise a system limit (for SysV at least) may be exceeded.