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/lead-dot.m4 \
44 $(top_srcdir)/../config/no-executables.m4 \
45 $(top_srcdir)/../libtool.m4 $(top_srcdir)/crossconfig.m4 \
46 $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
47 $(top_srcdir)/configure.ac
48 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
50 CONFIG_HEADER = $(top_builddir)/config.h
52 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
53 am__vpath_adj = case $$p in \
54 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
57 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
58 am__installdirs = "$(DESTDIR)$(toolexeclibdir)"
59 toolexeclibLTLIBRARIES_INSTALL = $(INSTALL)
60 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
61 am__objects_1 = atomicity.lo codecvt_members.lo collate_members.lo \
62 ctype_members.lo messages_members.lo monetary_members.lo \
63 numeric_members.lo time_members.lo
64 am__objects_2 = basic_file.lo c++locale.lo
65 am__objects_3 = bitmap_allocator.lo pool_allocator.lo mt_allocator.lo \
66 codecvt.lo compatibility.lo complex_io.lo ctype.lo debug.lo \
67 debug_list.lo functexcept.lo globals_locale.lo globals_io.lo \
68 ios.lo ios_failure.lo ios_init.lo ios_locale.lo limits.lo \
69 list.lo locale.lo locale_init.lo locale_facets.lo \
70 localename.lo stdexcept.lo strstream.lo tree.lo \
71 allocator-inst.lo concept-inst.lo fstream-inst.lo ext-inst.lo \
72 io-inst.lo istream-inst.lo istream.lo locale-inst.lo \
73 locale-misc-inst.lo misc-inst.lo ostream-inst.lo \
74 sstream-inst.lo streambuf-inst.lo streambuf.lo string-inst.lo \
75 valarray-inst.lo wlocale-inst.lo wstring-inst.lo \
76 $(am__objects_1) $(am__objects_2)
77 am_libstdc___la_OBJECTS = $(am__objects_3)
78 libstdc___la_OBJECTS = $(am_libstdc___la_OBJECTS)
79 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
82 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
83 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
85 SOURCES = $(libstdc___la_SOURCES)
86 DIST_SOURCES = $(libstdc___la_SOURCES)
89 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
90 VPATH = $(top_srcdir)/src:$(top_srcdir)
91 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
93 ALLOCATOR_H = @ALLOCATOR_H@
94 ALLOCATOR_NAME = @ALLOCATOR_NAME@
98 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
99 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
100 AUTOCONF = @AUTOCONF@
101 AUTOHEADER = @AUTOHEADER@
102 AUTOMAKE = @AUTOMAKE@
104 BASIC_FILE_CC = @BASIC_FILE_CC@
105 BASIC_FILE_H = @BASIC_FILE_H@
107 CCODECVT_CC = @CCODECVT_CC@
108 CCOLLATE_CC = @CCOLLATE_CC@
109 CCTYPE_CC = @CCTYPE_CC@
111 CLOCALE_CC = @CLOCALE_CC@
112 CLOCALE_H = @CLOCALE_H@
113 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
114 CMESSAGES_CC = @CMESSAGES_CC@
115 CMESSAGES_H = @CMESSAGES_H@
116 CMONEY_CC = @CMONEY_CC@
117 CNUMERIC_CC = @CNUMERIC_CC@
119 CPPFLAGS = @CPPFLAGS@
120 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
121 CSTDIO_H = @CSTDIO_H@
122 CTIME_CC = @CTIME_CC@
126 CXXFLAGS = @CXXFLAGS@
127 CYGPATH_W = @CYGPATH_W@
128 C_INCLUDE_DIR = @C_INCLUDE_DIR@
129 DEBUG_FLAGS = @DEBUG_FLAGS@
135 ENABLE_SYMVERS_DARWIN_EXPORT_FALSE = @ENABLE_SYMVERS_DARWIN_EXPORT_FALSE@
136 ENABLE_SYMVERS_DARWIN_EXPORT_TRUE = @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@
137 ENABLE_SYMVERS_GNU_FALSE = @ENABLE_SYMVERS_GNU_FALSE@
138 ENABLE_SYMVERS_GNU_TRUE = @ENABLE_SYMVERS_GNU_TRUE@
140 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
141 GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
142 GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
143 GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
144 GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
145 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
146 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
147 GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
148 GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
149 GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
150 GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
151 GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
152 GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
153 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
154 INSTALL_DATA = @INSTALL_DATA@
155 INSTALL_PROGRAM = @INSTALL_PROGRAM@
156 INSTALL_SCRIPT = @INSTALL_SCRIPT@
157 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
158 LIBICONV = @LIBICONV@
159 LIBMATHOBJS = @LIBMATHOBJS@
162 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
165 LTLIBOBJS = @LTLIBOBJS@
167 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
168 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
169 MAKEINFO = @MAKEINFO@
171 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
172 OPT_LDFLAGS = @OPT_LDFLAGS@
173 OS_INC_SRCDIR = @OS_INC_SRCDIR@
175 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
176 PACKAGE_NAME = @PACKAGE_NAME@
177 PACKAGE_STRING = @PACKAGE_STRING@
178 PACKAGE_TARNAME = @PACKAGE_TARNAME@
179 PACKAGE_VERSION = @PACKAGE_VERSION@
180 PATH_SEPARATOR = @PATH_SEPARATOR@
182 SECTION_FLAGS = @SECTION_FLAGS@
183 SECTION_LDFLAGS = @SECTION_LDFLAGS@
184 SET_MAKE = @SET_MAKE@
187 SYMVER_MAP = @SYMVER_MAP@
188 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
191 WARN_FLAGS = @WARN_FLAGS@
193 ac_ct_AR = @ac_ct_AR@
194 ac_ct_AS = @ac_ct_AS@
195 ac_ct_CC = @ac_ct_CC@
196 ac_ct_CXX = @ac_ct_CXX@
197 ac_ct_RANLIB = @ac_ct_RANLIB@
198 ac_ct_STRIP = @ac_ct_STRIP@
199 am__leading_dot = @am__leading_dot@
201 am__untar = @am__untar@
202 baseline_dir = @baseline_dir@
205 build_alias = @build_alias@
206 build_cpu = @build_cpu@
207 build_os = @build_os@
208 build_vendor = @build_vendor@
209 check_msgfmt = @check_msgfmt@
211 enable_shared = @enable_shared@
212 enable_static = @enable_static@
213 exec_prefix = @exec_prefix@
214 glibcxx_MOFILES = @glibcxx_MOFILES@
215 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
216 glibcxx_POFILES = @glibcxx_POFILES@
217 glibcxx_builddir = @glibcxx_builddir@
218 glibcxx_localedir = @glibcxx_localedir@
219 glibcxx_prefixdir = @glibcxx_prefixdir@
220 glibcxx_srcdir = @glibcxx_srcdir@
221 glibcxx_thread_h = @glibcxx_thread_h@
222 glibcxx_toolexecdir = @glibcxx_toolexecdir@
223 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
224 gxx_include_dir = @gxx_include_dir@
226 host_alias = @host_alias@
227 host_cpu = @host_cpu@
229 host_vendor = @host_vendor@
230 includedir = @includedir@
232 install_sh = @install_sh@
234 libexecdir = @libexecdir@
235 libtool_VERSION = @libtool_VERSION@
236 localstatedir = @localstatedir@
239 multi_basedir = @multi_basedir@
240 oldincludedir = @oldincludedir@
241 port_specific_symbol_files = @port_specific_symbol_files@
243 program_transform_name = @program_transform_name@
245 sharedstatedir = @sharedstatedir@
246 sysconfdir = @sysconfdir@
248 target_alias = @target_alias@
249 target_cpu = @target_cpu@
250 target_os = @target_os@
251 target_vendor = @target_vendor@
252 toplevel_srcdir = @toplevel_srcdir@
254 # May be used by various substitution variables.
255 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
256 MAINT_CHARSET = latin1
257 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
258 PWD_COMMAND = $${PWDCMD-pwd}
259 STAMP = echo timestamp >
260 toolexecdir = $(glibcxx_toolexecdir)
261 toolexeclibdir = $(glibcxx_toolexeclibdir)
263 # These bits are all figured out from configure. Look in acinclude.m4
264 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
266 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
269 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
272 # -I/-D flags to pass when compiling.
273 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
275 # Cross compiler support.
276 toolexeclib_LTLIBRARIES = libstdc++.la
277 @ENABLE_SYMVERS_DARWIN_EXPORT_FALSE@@ENABLE_SYMVERS_GNU_FALSE@version_arg =
278 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@version_arg = -Wl,-exported_symbols_list,libstdc++-symbol.explist
279 @ENABLE_SYMVERS_GNU_TRUE@version_arg = -Wl,--version-script=libstdc++-symbol.ver
280 @ENABLE_SYMVERS_DARWIN_EXPORT_FALSE@@ENABLE_SYMVERS_GNU_FALSE@version_dep =
281 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@version_dep = libstdc++-symbol.explist
282 @ENABLE_SYMVERS_GNU_TRUE@version_dep = libstdc++-symbol.ver
284 # Source files linked in via configuration/make substitution for a
291 messages_members.cc \
292 monetary_members.cc \
296 atomicity_file = ${glibcxx_srcdir}/$(ATOMICITY_SRCDIR)/atomicity.h
298 # Source files linked in via configuration/make substitution for a
299 # particular host, but with ad hoc naming rules.
300 host_sources_extra = \
305 # Sources present in the src directory.
307 bitmap_allocator.cc \
340 locale-misc-inst.cc \
351 ${host_sources_extra}
353 libstdc___la_SOURCES = $(sources)
354 libstdc___la_LIBADD = \
355 $(top_builddir)/libmath/libmath.la \
356 $(top_builddir)/libsupc++/libsupc++convenience.la
358 libstdc___la_DEPENDENCIES = ${version_dep} $(libstdc___la_LIBADD)
359 libstdc___la_LDFLAGS = \
360 -version-info $(libtool_VERSION) ${version_arg} -lm
363 # Use special rules for the deprecated source files so that they find
364 # deprecated include files.
365 GLIBCXX_INCLUDE_DIR = $(glibcxx_builddir)/include
367 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
368 # modified in a per-library or per-sub-library way. Need to manually
369 # set this option because CONFIG_CXXFLAGS has to be after
370 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
371 # as the occasion calls for it.
373 -fno-implicit-templates \
375 $(OPTIMIZE_CXXFLAGS) \
379 # libstdc++ libtool notes
381 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
382 # last. (That way, things like -O2 passed down from the toplevel can
383 # be overridden by --enable-debug.)
385 # 2) In general, libtool expects an argument such as `--tag=CXX' when
386 # using the C++ compiler, because that will enable the settings
387 # detected when C++ support was being configured. However, when no
388 # such flag is given in the command line, libtool attempts to figure
389 # it out by matching the compiler name in each configuration section
390 # against a prefix of the command line. The problem is that, if the
391 # compiler name and its initial flags stored in the libtool
392 # configuration file don't match those in the command line, libtool
393 # can't decide which configuration to use, and it gives up. The
394 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
395 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
396 # attempt to infer which configuration to use
397 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
398 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
401 # 3) We'd have a problem when building the shared libstdc++ object if
402 # the rules automake generates would be used. We cannot allow g++ to
403 # be used since this would add -lstdc++ to the link line which of
404 # course is problematic at this point. So, we get the top-level
405 # directory to configure libstdc++-v3 to use gcc as the C++
406 # compilation driver.
407 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
408 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LDFLAGS) -o $@
414 .SUFFIXES: .cc .lo .o .obj
415 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
417 case '$(am__configure_deps)' in \
419 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
424 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/Makefile'; \
425 cd $(top_srcdir) && \
426 $(AUTOMAKE) --foreign --ignore-deps src/Makefile
428 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
431 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
433 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
434 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
437 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
438 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
440 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
441 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
442 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
443 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
444 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
446 test -z "$(toolexeclibdir)" || $(mkdir_p) "$(DESTDIR)$(toolexeclibdir)"
447 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
448 if test -f $$p; then \
450 echo " $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
451 $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(toolexeclibdir)/$$f"; \
455 uninstall-toolexeclibLTLIBRARIES:
457 @set -x; list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
459 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$p'"; \
460 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$p"; \
463 clean-toolexeclibLTLIBRARIES:
464 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
465 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
466 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
467 test "$$dir" != "$$p" || dir=.; \
468 echo "rm -f \"$${dir}/so_locations\""; \
469 rm -f "$${dir}/so_locations"; \
471 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
472 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
481 $(CXXCOMPILE) -c -o $@ $<
484 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
487 $(LTCXXCOMPILE) -c -o $@ $<
499 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
500 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
501 unique=`for i in $$list; do \
502 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
504 $(AWK) ' { files[$$0] = 1; } \
505 END { for (i in files) print i; }'`; \
509 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
510 $(TAGS_FILES) $(LISP)
513 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
514 unique=`for i in $$list; do \
515 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
517 $(AWK) ' { files[$$0] = 1; } \
518 END { for (i in files) print i; }'`; \
519 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
520 test -n "$$unique" || unique=$$empty_fix; \
521 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
525 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
526 $(TAGS_FILES) $(LISP)
529 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
530 unique=`for i in $$list; do \
531 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
533 $(AWK) ' { files[$$0] = 1; } \
534 END { for (i in files) print i; }'`; \
535 test -z "$(CTAGS_ARGS)$$tags$$unique" \
536 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
540 here=`$(am__cd) $(top_builddir) && pwd` \
541 && cd $(top_srcdir) \
542 && gtags -i $(GTAGS_ARGS) $$here
545 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
547 distdir: $(DISTFILES)
548 $(mkdir_p) $(distdir)/..
549 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
550 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
551 list='$(DISTFILES)'; for file in $$list; do \
553 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
554 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
556 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
557 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
558 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
560 $(mkdir_p) "$(distdir)$$dir"; \
564 if test -d $$d/$$file; then \
565 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
566 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
568 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
570 test -f $(distdir)/$$file \
571 || cp -p $$d/$$file $(distdir)/$$file \
577 all-am: Makefile $(LTLIBRARIES) all-local
579 for dir in "$(DESTDIR)$(toolexeclibdir)"; do \
580 test -z "$$dir" || $(mkdir_p) "$$dir"; \
583 install-exec: install-exec-am
584 install-data: install-data-am
585 uninstall: uninstall-am
588 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
590 installcheck: installcheck-am
592 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
593 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
594 `test -z '$(STRIP)' || \
595 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
601 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
603 maintainer-clean-generic:
604 @echo "This command is intended for maintainers to use"
605 @echo "it deletes files that may require special tools to rebuild."
608 clean-am: clean-generic clean-libtool clean-toolexeclibLTLIBRARIES \
611 distclean: distclean-am
613 distclean-am: clean-am distclean-compile distclean-generic \
614 distclean-libtool distclean-tags
626 install-data-am: install-data-local
628 install-exec-am: install-toolexeclibLTLIBRARIES
630 install-info: install-info-am
636 maintainer-clean: maintainer-clean-am
638 maintainer-clean-am: distclean-am maintainer-clean-generic
640 mostlyclean: mostlyclean-am
642 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
653 uninstall-am: uninstall-info-am uninstall-toolexeclibLTLIBRARIES
655 .PHONY: CTAGS GTAGS all all-am all-local check check-am clean \
656 clean-generic clean-libtool clean-toolexeclibLTLIBRARIES ctags \
657 distclean distclean-compile distclean-generic \
658 distclean-libtool distclean-tags distdir dvi dvi-am html \
659 html-am info info-am install install-am install-data \
660 install-data-am install-data-local install-exec \
661 install-exec-am install-info install-info-am install-man \
662 install-strip install-toolexeclibLTLIBRARIES installcheck \
663 installcheck-am installdirs maintainer-clean \
664 maintainer-clean-generic mostlyclean mostlyclean-compile \
665 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
666 tags uninstall uninstall-am uninstall-info-am \
667 uninstall-toolexeclibLTLIBRARIES
670 # Symbol versioning for shared libraries.
671 # This could be conditional on
672 # ENABLE_SYMVERS_GNU || ENABLE_SYMVERS_DARWIN_EXPORT
673 # but automake doesn't support OR operations in conditionals.
674 libstdc++-symbol.ver: ${glibcxx_srcdir}/$(SYMVER_MAP) \
675 $(port_specific_symbol_files)
676 cp ${glibcxx_srcdir}/$(SYMVER_MAP) ./libstdc++-symbol.ver
677 if test "x$(port_specific_symbol_files)" != x; then \
678 sed -n '1,/DO NOT DELETE/p' $@ > tmp.top; \
679 sed -n '/DO NOT DELETE/,$$p' $@ > tmp.bottom; \
680 cat tmp.top $(port_specific_symbol_files) tmp.bottom > $@; \
681 rm tmp.top tmp.bottom; \
683 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@libstdc++-symbol.explist : libstdc++-symbol.ver \
684 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ ${glibcxx_srcdir}/scripts/make_exports.pl \
685 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
686 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ perl ${glibcxx_srcdir}/scripts/make_exports.pl \
687 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ libstdc++-symbol.ver \
688 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
689 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ `echo $(libstdc___la_LIBADD) | \
690 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
691 @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@@ENABLE_SYMVERS_GNU_FALSE@ > $@ || (rm -f $@ ; exit 1)
693 codecvt_members.cc: ${glibcxx_srcdir}/$(CCODECVT_CC)
694 $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_CC) . || true
696 collate_members.cc: ${glibcxx_srcdir}/$(CCOLLATE_CC)
697 $(LN_S) ${glibcxx_srcdir}/$(CCOLLATE_CC) . || true
699 ctype_members.cc: ${glibcxx_srcdir}/$(CCTYPE_CC)
700 $(LN_S) ${glibcxx_srcdir}/$(CCTYPE_CC) . || true
702 messages_members.cc: ${glibcxx_srcdir}/$(CMESSAGES_CC)
703 $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_CC) . || true
705 monetary_members.cc: ${glibcxx_srcdir}/$(CMONEY_CC)
706 $(LN_S) ${glibcxx_srcdir}/$(CMONEY_CC) . || true
708 numeric_members.cc: ${glibcxx_srcdir}/$(CNUMERIC_CC)
709 $(LN_S) ${glibcxx_srcdir}/$(CNUMERIC_CC) . || true
711 time_members.cc: ${glibcxx_srcdir}/$(CTIME_CC)
712 $(LN_S) ${glibcxx_srcdir}/$(CTIME_CC) . || true
713 atomicity.cc: ${atomicity_file}
714 $(LN_S) ${atomicity_file} ./atomicity.cc || true
716 c++locale.cc: ${glibcxx_srcdir}/$(CLOCALE_CC)
717 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_CC) ./$@ || true
719 basic_file.cc: ${glibcxx_srcdir}/$(BASIC_FILE_CC)
720 $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_CC) ./$@ || true
721 strstream.lo: strstream.cc
722 $(LTCXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $<
723 strstream.o: strstream.cc
724 $(CXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $<
726 # Use special rules for the concept-checking instantiations so that all
727 # the generated template functions are also instantiated. Force the checks
728 # to be on so that the instantiations are actually seen.
729 concept-inst.lo: concept-inst.cc
730 $(LTCXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $<
731 concept-inst.o: concept-inst.cc
732 $(CXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $<
734 # Added bits to build debug library.
735 @GLIBCXX_BUILD_DEBUG_TRUE@all-local: build_debug
736 @GLIBCXX_BUILD_DEBUG_TRUE@install-data-local: install_debug
737 @GLIBCXX_BUILD_DEBUG_FALSE@all-local:
738 @GLIBCXX_BUILD_DEBUG_FALSE@install-data-local:
740 # Build parallel set of debug objects here.
742 if test ! -d ${debugdir}; then \
743 mkdir -p ${debugdir}; \
745 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
746 -e 's/srcdir = \.\./srcdir = ..\/../' \
747 -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
748 -e 's/all-local: build_debug/all-local:/' \
749 -e 's/install-data-local: install_debug/install-data-local:/' \
750 < ../Makefile > Makefile) ; \
752 echo `date` > stamp-debug;
754 build_debug: stamp-debug
755 (cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' all)
757 # Install debug library here.
759 (cd ${debugdir} && $(MAKE) \
760 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install)
761 # Tell versions [3.59,3.63) of GNU make to not export all variables.
762 # Otherwise a system limit (for SysV at least) may be exceeded.