diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2012-01-23 23:12:01 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2012-01-23 23:12:01 +0000 |
commit | 8bae34da8a4625767bc7e1caab295855963ff280 (patch) | |
tree | 200164266c0ab8f9433667f716a8c4d1276e8473 /libstdc++-v3/src | |
parent | 22197246e3547e2838192d45b29b03761544588a (diff) | |
download | gcc-8bae34da8a4625767bc7e1caab295855963ff280.zip gcc-8bae34da8a4625767bc7e1caab295855963ff280.tar.gz gcc-8bae34da8a4625767bc7e1caab295855963ff280.tar.bz2 |
[multiple changes]
2012-01-20 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/49829
Add libc++98convenience.la, libc++11convenience.la.
* src/c++98: New directory.
* src/c++11: New directory.
* acinclude.m4: (GLIBCXX_CONFIGURE): Add src-c++98, src-c++11.
* configure: Regenerated.
* Makefile.am (hosted_source): Add src-c++98, src-c++11 to SUBDIRS.
* Makefile.in: Regenerate.
* libsupc++/Makefile.am (AM_CXXFLAGS): USe XTEMPLATE_FLAGS for
-fno-implicit-templates.
* libsupc++/Makefile.in: Regenerate.
* src/Makefile.am (inst_sources): Move... C++11 files into
separate directory for libstdc++11convenience.la. Files are:
fstream-inst.cc, string-inst.cc, wlocale-inst.cc, wstring-inst.cc).
(sources): Move C++11 files. Files are: compatibility-c++0x.cc,
compatibility-atomic-c++0x.cc, debug.cc, functexcept.cc,
functional.cc, hash_c++0x.cc, hashtable_c++0x.cc, limits.cc,
system_error.cc, placeholders.cc, regex.cc, shared_ptr.cc,
mutex.cc, condition_variable.cc, chrono.cc, thread.cc, future.cc.
(libstdc++convenience.la): Add new target.
(SUBDIRS): Add c++11, c++98.
* src/Makefile.in: Regenerate.
* src/c++11/Makefile.am: New.
* src/c++11/Makefile.in: Generate.
* src/c++98/Makefile.am: New, C++98 files.
* src/c++98/Makefile.in: Generate.
2012-01-23 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/49829
Add libc++98convenience.la, libc++11convenience.la.
* src/c++98: New directory.
* src/c++11: New directory.
* acinclude.m4: (GLIBCXX_CONFIGURE): Add src-c++98, src-c++11.
* configure: Regenerated.
* Makefile.am (hosted_source): Add src-c++98, src-c++11 to SUBDIRS.
* Makefile.in: Regenerate.
* libsupc++/Makefile.am (AM_CXXFLAGS): USe XTEMPLATE_FLAGS for
-fno-implicit-templates.
* libsupc++/Makefile.in: Regenerate.
* src/Makefile.am (inst_sources): Move... C++11 files into
separate directory for libstdc++11convenience.la. Files are:
fstream-inst.cc, string-inst.cc, wlocale-inst.cc, wstring-inst.cc).
(sources): Move C++11 files. Files are: compatibility-c++0x.cc,
compatibility-atomic-c++0x.cc, debug.cc, functexcept.cc,
functional.cc, hash_c++0x.cc, hashtable_c++0x.cc, limits.cc,
system_error.cc, placeholders.cc, regex.cc, shared_ptr.cc,
mutex.cc, condition_variable.cc, chrono.cc, thread.cc, future.cc.
(libstdc++convenience.la): Add new target.
(SUBDIRS): Add c++11, c++98.
* src/Makefile.in: Regenerate.
* src/c++11/Makefile.am: New.
* src/c++11/Makefile.in: Generate.
* src/c++98/Makefile.am: New, C++98 files.
* src/c++98/Makefile.in: Generate.
From-SVN: r183457
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r-- | libstdc++-v3/src/Makefile.am | 444 | ||||
-rw-r--r-- | libstdc++-v3/src/Makefile.in | 556 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/Makefile.am | 118 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/Makefile.in | 681 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/chrono.cc (renamed from libstdc++-v3/src/chrono.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/compatibility-atomic-c++0x.cc (renamed from libstdc++-v3/src/compatibility-atomic-c++0x.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/compatibility-c++0x.cc (renamed from libstdc++-v3/src/compatibility-c++0x.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/condition_variable.cc (renamed from libstdc++-v3/src/condition_variable.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/debug.cc (renamed from libstdc++-v3/src/debug.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/fstream-inst.cc (renamed from libstdc++-v3/src/fstream-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/functexcept.cc (renamed from libstdc++-v3/src/functexcept.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/functional.cc (renamed from libstdc++-v3/src/functional.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/future.cc (renamed from libstdc++-v3/src/future.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/hash_c++0x.cc (renamed from libstdc++-v3/src/hash_c++0x.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/hashtable_c++0x.cc (renamed from libstdc++-v3/src/hashtable_c++0x.cc) | 2 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/limits.cc (renamed from libstdc++-v3/src/limits.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/mutex.cc (renamed from libstdc++-v3/src/mutex.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/placeholders.cc (renamed from libstdc++-v3/src/placeholders.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/regex.cc (renamed from libstdc++-v3/src/regex.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/shared_ptr.cc (renamed from libstdc++-v3/src/shared_ptr.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/string-inst.cc (renamed from libstdc++-v3/src/string-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/system_error.cc (renamed from libstdc++-v3/src/system_error.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/thread.cc (renamed from libstdc++-v3/src/thread.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/wstring-inst.cc (renamed from libstdc++-v3/src/wstring-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/Makefile.am | 253 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/Makefile.in | 828 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/allocator-inst.cc (renamed from libstdc++-v3/src/allocator-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/bitmap_allocator.cc (renamed from libstdc++-v3/src/bitmap_allocator.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/codecvt.cc (renamed from libstdc++-v3/src/codecvt.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/compatibility-debug_list-2.cc (renamed from libstdc++-v3/src/compatibility-debug_list-2.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/compatibility-debug_list.cc (renamed from libstdc++-v3/src/compatibility-debug_list.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/compatibility-ldbl.cc (renamed from libstdc++-v3/src/compatibility-ldbl.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/compatibility-list-2.cc (renamed from libstdc++-v3/src/compatibility-list-2.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/compatibility-list.cc (renamed from libstdc++-v3/src/compatibility-list.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/compatibility-parallel_list-2.cc (renamed from libstdc++-v3/src/compatibility-parallel_list-2.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/compatibility-parallel_list.cc (renamed from libstdc++-v3/src/compatibility-parallel_list.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/compatibility.cc (renamed from libstdc++-v3/src/compatibility.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/complex_io.cc (renamed from libstdc++-v3/src/complex_io.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/concept-inst.cc (renamed from libstdc++-v3/src/concept-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/ctype.cc (renamed from libstdc++-v3/src/ctype.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/ext-inst.cc (renamed from libstdc++-v3/src/ext-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/globals_io.cc (renamed from libstdc++-v3/src/globals_io.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/hash-long-double-tr1-aux.cc (renamed from libstdc++-v3/src/hash-long-double-tr1-aux.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/hash_tr1.cc (renamed from libstdc++-v3/src/hash_tr1.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/hashtable_tr1.cc (renamed from libstdc++-v3/src/hashtable_tr1.cc) | 2 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/ios-inst.cc (renamed from libstdc++-v3/src/ios-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/ios.cc (renamed from libstdc++-v3/src/ios.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/ios_failure.cc (renamed from libstdc++-v3/src/ios_failure.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/ios_init.cc (renamed from libstdc++-v3/src/ios_init.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/ios_locale.cc (renamed from libstdc++-v3/src/ios_locale.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/iostream-inst.cc (renamed from libstdc++-v3/src/iostream-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/istream-inst.cc (renamed from libstdc++-v3/src/istream-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/istream.cc (renamed from libstdc++-v3/src/istream.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/list.cc (renamed from libstdc++-v3/src/list.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/locale-inst.cc (renamed from libstdc++-v3/src/locale-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/locale.cc (renamed from libstdc++-v3/src/locale.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/locale_facets.cc (renamed from libstdc++-v3/src/locale_facets.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/locale_init.cc (renamed from libstdc++-v3/src/locale_init.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/localename.cc (renamed from libstdc++-v3/src/localename.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/math_stubs_float.cc (renamed from libstdc++-v3/src/math_stubs_float.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/math_stubs_long_double.cc (renamed from libstdc++-v3/src/math_stubs_long_double.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/misc-inst.cc (renamed from libstdc++-v3/src/misc-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/mt_allocator.cc (renamed from libstdc++-v3/src/mt_allocator.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/ostream-inst.cc (renamed from libstdc++-v3/src/ostream-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/parallel_settings.cc (renamed from libstdc++-v3/src/parallel_settings.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/pool_allocator.cc (renamed from libstdc++-v3/src/pool_allocator.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/sstream-inst.cc (renamed from libstdc++-v3/src/sstream-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/stdexcept.cc (renamed from libstdc++-v3/src/stdexcept.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/streambuf-inst.cc (renamed from libstdc++-v3/src/streambuf-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/streambuf.cc (renamed from libstdc++-v3/src/streambuf.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/strstream.cc (renamed from libstdc++-v3/src/strstream.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/tree.cc (renamed from libstdc++-v3/src/tree.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/valarray.cc (renamed from libstdc++-v3/src/valarray.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/c++98/wlocale-inst.cc (renamed from libstdc++-v3/src/wlocale-inst.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/src/shared/hashtable-aux.cc (renamed from libstdc++-v3/src/hashtable-aux.cc) | 0 |
75 files changed, 2149 insertions, 735 deletions
diff --git a/libstdc++-v3/src/Makefile.am b/libstdc++-v3/src/Makefile.am index eefa6e2..aa25a7e 100644 --- a/libstdc++-v3/src/Makefile.am +++ b/libstdc++-v3/src/Makefile.am @@ -1,7 +1,7 @@ -## Makefile for the src subdirectory of the GNU C++ Standard library. +## Makefile for the C++11 sources of the GNU C++ Standard library. ## ## Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 -## 2006, 2007, 2008, 2009, 2010, 2011 +## 2006, 2007, 2008, 2009, 2010, 2011, 2012 ## Free Software Foundation, Inc. ## ## This file is part of the libstdc++ version 3 distribution. @@ -24,9 +24,80 @@ include $(top_srcdir)/fragment.am +SUBDIRS = c++98 c++11 + # Cross compiler support. toolexeclib_LTLIBRARIES = libstdc++.la +vpath % $(top_srcdir)/src +vpath % $(top_srcdir) + +libstdc___la_SOURCES = + +libstdc___la_LIBADD = \ + $(GLIBCXX_LIBS) \ + $(top_builddir)/libsupc++/libsupc++convenience.la \ + $(top_builddir)/src/c++98/libc++98convenience.la \ + $(top_builddir)/src/c++11/libc++11convenience.la + +libstdc___la_DEPENDENCIES = \ + ${version_dep} \ + $(top_builddir)/libsupc++/libsupc++convenience.la \ + $(top_builddir)/src/c++98/libc++98convenience.la \ + $(top_builddir)/src/c++11/libc++11convenience.la + +libstdc___la_LDFLAGS = \ + -version-info $(libtool_VERSION) ${version_arg} -lm + +libstdc___la_LINK = $(CXXLINK) $(libstdc___la_LDFLAGS) + + +# AM_CXXFLAGS needs to be in each subdirectory so that it can be +# modified in a per-library or per-sub-library way. Need to manually +# set this option because CONFIG_CXXFLAGS has to be after +# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden +# as the occasion calls for it. +AM_CXXFLAGS = \ + $(XTEMPLATE_FLAGS) \ + $(WARN_CXXFLAGS) \ + $(OPTIMIZE_CXXFLAGS) \ + $(CONFIG_CXXFLAGS) + + +# libstdc++ libtool notes + +# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is +# last. (That way, things like -O2 passed down from the toplevel can +# be overridden by --enable-debug.) + +# 2) In general, libtool expects an argument such as `--tag=CXX' when +# using the C++ compiler, because that will enable the settings +# detected when C++ support was being configured. However, when no +# such flag is given in the command line, libtool attempts to figure +# it out by matching the compiler name in each configuration section +# against a prefix of the command line. The problem is that, if the +# compiler name and its initial flags stored in the libtool +# configuration file don't match those in the command line, libtool +# can't decide which configuration to use, and it gives up. The +# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe +# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to +# attempt to infer which configuration to use +LTCXXCOMPILE = $(LIBTOOL) --tag CXX \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \ + $(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) + +LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) + +# 3) We'd have a problem when building the shared libstdc++ object if +# the rules automake generates would be used. We cannot allow g++ to +# be used since this would add -lstdc++ to the link line which of +# course is problematic at this point. So, we get the top-level +# directory to configure libstdc++-v3 to use gcc as the C++ +# compilation driver. +CXXLINK = $(LIBTOOL) --tag CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \ + $(CXX) $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ + # Symbol versioning for shared libraries. if ENABLE_SYMVERS libstdc++-symbols.ver: ${glibcxx_srcdir}/$(SYMVER_FILE) \ @@ -97,367 +168,26 @@ version_arg = version_dep = endif - -# Source files linked in via configuration/make substitution for a -# particular host. -host_sources = \ - atomicity.cc \ - codecvt_members.cc \ - collate_members.cc \ - ctype_configure_char.cc \ - ctype_members.cc \ - messages_members.cc \ - monetary_members.cc \ - numeric_members.cc \ - time_members.cc - -codecvt_members.cc: ${glibcxx_srcdir}/$(CCODECVT_CC) - $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_CC) . || true - -collate_members.cc: ${glibcxx_srcdir}/$(CCOLLATE_CC) - $(LN_S) ${glibcxx_srcdir}/$(CCOLLATE_CC) . || true - -ctype_configure_char.cc: ${glibcxx_srcdir}/$(OS_INC_SRCDIR)/ctype_configure_char.cc - $(LN_S) ${glibcxx_srcdir}/$(OS_INC_SRCDIR)/ctype_configure_char.cc . || true - -ctype_members.cc: ${glibcxx_srcdir}/$(CCTYPE_CC) - $(LN_S) ${glibcxx_srcdir}/$(CCTYPE_CC) . || true - -messages_members.cc: ${glibcxx_srcdir}/$(CMESSAGES_CC) - $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_CC) . || true - -monetary_members.cc: ${glibcxx_srcdir}/$(CMONEY_CC) - $(LN_S) ${glibcxx_srcdir}/$(CMONEY_CC) . || true - -numeric_members.cc: ${glibcxx_srcdir}/$(CNUMERIC_CC) - $(LN_S) ${glibcxx_srcdir}/$(CNUMERIC_CC) . || true - -time_members.cc: ${glibcxx_srcdir}/$(CTIME_CC) - $(LN_S) ${glibcxx_srcdir}/$(CTIME_CC) . || true - -atomicity_file = ${glibcxx_srcdir}/$(ATOMICITY_SRCDIR)/atomicity.h -atomicity.cc: ${atomicity_file} - $(LN_S) ${atomicity_file} ./atomicity.cc || true - -# Source files linked in via configuration/make substitution for a -# particular host, but with ad hoc naming rules. -host_sources_extra = \ - basic_file.cc c++locale.cc \ - ${inst_sources} ${ldbl_compat_sources} ${parallel_sources} - -c++locale.cc: ${glibcxx_srcdir}/$(CLOCALE_CC) - $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_CC) ./$@ || true - -basic_file.cc: ${glibcxx_srcdir}/$(BASIC_FILE_CC) - $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_CC) ./$@ || true - -if ENABLE_PARALLEL -parallel_sources = parallel_settings.cc \ - compatibility-parallel_list.cc \ - compatibility-parallel_list-2.cc -else -parallel_sources = -endif - -if GLIBCXX_LDBL_COMPAT -ldbl_compat_sources = compatibility-ldbl.cc -else -ldbl_compat_sources = -endif - -if ENABLE_EXTERN_TEMPLATE -XTEMPLATE_FLAGS = -fno-implicit-templates -inst_sources = \ - allocator-inst.cc \ - concept-inst.cc \ - ext-inst.cc \ - fstream-inst.cc \ - ios-inst.cc \ - iostream-inst.cc \ - istream-inst.cc \ - locale-inst.cc \ - misc-inst.cc \ - ostream-inst.cc \ - sstream-inst.cc \ - streambuf-inst.cc \ - string-inst.cc \ - wlocale-inst.cc \ - wstring-inst.cc -else -XTEMPLATE_FLAGS = -inst_sources = -endif - -# Sources present in the src directory, always present. -sources = \ - bitmap_allocator.cc \ - pool_allocator.cc \ - mt_allocator.cc \ - codecvt.cc \ - compatibility.cc \ - compatibility-c++0x.cc \ - compatibility-atomic-c++0x.cc \ - compatibility-debug_list.cc \ - compatibility-debug_list-2.cc \ - compatibility-list.cc \ - compatibility-list-2.cc \ - complex_io.cc \ - ctype.cc \ - debug.cc \ - functexcept.cc \ - functional.cc \ - globals_io.cc \ - hash_c++0x.cc \ - hash_tr1.cc \ - hashtable_c++0x.cc \ - hashtable_tr1.cc \ - ios.cc \ - ios_failure.cc \ - ios_init.cc \ - ios_locale.cc \ - limits.cc \ - list.cc \ - locale.cc \ - locale_init.cc \ - locale_facets.cc \ - localename.cc \ - math_stubs_float.cc \ - math_stubs_long_double.cc \ - stdexcept.cc \ - strstream.cc \ - system_error.cc \ - tree.cc \ - istream.cc \ - placeholders.cc \ - regex.cc \ - shared_ptr.cc \ - streambuf.cc \ - mutex.cc \ - condition_variable.cc \ - chrono.cc \ - thread.cc \ - future.cc \ - valarray.cc \ - ${host_sources} \ - ${host_sources_extra} - -vpath % $(top_srcdir)/src -vpath % $(top_srcdir) - -libstdc___la_SOURCES = $(sources) - -libstdc___la_LIBADD = \ - $(GLIBCXX_LIBS) \ - $(top_builddir)/libsupc++/libsupc++convenience.la - -libstdc___la_DEPENDENCIES = \ - ${version_dep} \ - $(top_builddir)/libsupc++/libsupc++convenience.la - -libstdc___la_LDFLAGS = \ - -version-info $(libtool_VERSION) ${version_arg} -lm - -libstdc___la_LINK = $(CXXLINK) $(libstdc___la_LDFLAGS) - -# Use special rules for the deprecated source files so that they find -# deprecated include files. -GLIBCXX_INCLUDE_DIR=$(glibcxx_builddir)/include -strstream.lo: strstream.cc - $(LTCXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $< -strstream.o: strstream.cc - $(CXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $< - -# Use special rules for the concept-checking instantiations so that all -# the generated template functions are also instantiated. Force the checks -# to be on so that the instantiations are actually seen. -concept-inst.lo: concept-inst.cc - $(LTCXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $< -concept-inst.o: concept-inst.cc - $(CXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $< - -# Use special rules for parallel mode compilation. -PARALLEL_FLAGS = -fopenmp -D_GLIBCXX_PARALLEL -I$(glibcxx_builddir)/../libgomp -parallel_settings.lo: parallel_settings.cc - $(LTCXXCOMPILE) $(PARALLEL_FLAGS) -c $< -parallel_settings.o: parallel_settings.cc - $(CXXCOMPILE) $(PARALLEL_FLAGS) -c $< - -compatibility-parallel_list.lo: compatibility-parallel_list.cc - $(LTCXXCOMPILE) -c $< -compatibility-parallel_list.o: compatibility-parallel_list.cc - $(CXXCOMPILE) -c $< - -compatibility-parallel_list-2.lo: compatibility-parallel_list-2.cc - $(LTCXXCOMPILE) -c $< -compatibility-parallel_list-2.o: compatibility-parallel_list-2.cc - $(CXXCOMPILE) -c $< - -# Use special rules for the C++0x sources so that the proper flags are passed. -functexcept.lo: functexcept.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -functexcept.o: functexcept.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -shared_ptr.lo: shared_ptr.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -shared_ptr.o: shared_ptr.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -system_error.lo: system_error.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -system_error.o: system_error.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -mutex.lo: mutex.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -mutex.o: mutex.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -condition_variable.lo: condition_variable.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -condition_variable.o: condition_variable.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -compatibility-c++0x.lo: compatibility-c++0x.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -compatibility-c++0x.o: compatibility-c++0x.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -compatibility-atomic-c++0x.lo: compatibility-atomic-c++0x.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -compatibility-atomic-c++0x.o: compatibility-atomic-c++0x.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -functional.lo: functional.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -functional.o: functional.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -hash_c++0x.lo: hash_c++0x.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -hash_c++0x.o: hash_c++0x.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -hashtable_c++0x.lo: hashtable_c++0x.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -hashtable_c++0x.o: hashtable_c++0x.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -limits.lo: limits.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -limits.o: limits.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -fstream-inst.lo: fstream-inst.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -fstream-inst.o: fstream-inst.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -string-inst.lo: string-inst.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -string-inst.o: string-inst.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -wstring-inst.lo: wstring-inst.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -wstring-inst.o: wstring-inst.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -chrono.lo: chrono.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -chrono.o: chrono.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -thread.lo: thread.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -thread.o: thread.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -future.lo: future.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -future.o: future.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -regex.lo: regex.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -regex.o: regex.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -debug.lo: debug.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -debug.o: debug.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -placeholders.lo: placeholders.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -placeholders.o: placeholders.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -if GLIBCXX_LDBL_COMPAT -# Use special rules for compatibility-ldbl.cc compilation, as we need to -# pass -mlong-double-64. -compatibility-ldbl.lo: compatibility-ldbl.cc - $(LTCXXCOMPILE) -mlong-double-64 -c $< -compatibility-ldbl.o: compatibility-ldbl.cc - $(CXXCOMPILE) -mlong-double-64 -c $< -endif - -# AM_CXXFLAGS needs to be in each subdirectory so that it can be -# modified in a per-library or per-sub-library way. Need to manually -# set this option because CONFIG_CXXFLAGS has to be after -# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden -# as the occasion calls for it. -AM_CXXFLAGS = \ - $(XTEMPLATE_FLAGS) \ - $(WARN_CXXFLAGS) \ - $(OPTIMIZE_CXXFLAGS) \ - $(CONFIG_CXXFLAGS) - - -# libstdc++ libtool notes - -# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is -# last. (That way, things like -O2 passed down from the toplevel can -# be overridden by --enable-debug.) - -# 2) In general, libtool expects an argument such as `--tag=CXX' when -# using the C++ compiler, because that will enable the settings -# detected when C++ support was being configured. However, when no -# such flag is given in the command line, libtool attempts to figure -# it out by matching the compiler name in each configuration section -# against a prefix of the command line. The problem is that, if the -# compiler name and its initial flags stored in the libtool -# configuration file don't match those in the command line, libtool -# can't decide which configuration to use, and it gives up. The -# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe -# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to -# attempt to infer which configuration to use -LTCXXCOMPILE = $(LIBTOOL) --tag CXX \ - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \ - $(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CXXFLAGS) $(CXXFLAGS) - -LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) - -# 3) We'd have a problem when building the shared libstdc++ object if -# the rules automake generates would be used. We cannot allow g++ to -# be used since this would add -lstdc++ to the link line which of -# course is problematic at this point. So, we get the top-level -# directory to configure libstdc++-v3 to use gcc as the C++ -# compilation driver. -CXXLINK = $(LIBTOOL) --tag CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \ - $(CXX) $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ - - -# Added bits to build debug library. +# Added rules. +# 1 debug library +# 2 supra-convenience library if GLIBCXX_BUILD_DEBUG -all-local: build_debug +all-local: libstdc++convenience.la build_debug install-data-local: install_debug else -all-local: +all-local: libstdc++convenience.la install-data-local: endif +# Make a non-installed convenience library, so that --disable-static +# may work. +libstdc++convenience.la: $(toolexeclib_LTLIBRARIES) + $(CXXLINK) $(libstdc___la_LIBADD) $(LIBS); \ + if test ! -f .libs/libstdc++.a; then \ + $(LN_S) .libs/libstdc++convenience.a .libs/libstdc++.a; \ + stamp-libstdc++convenience; \ + fi; + debugdir = debug # Build a set of debug objects here. diff --git a/libstdc++-v3/src/Makefile.in b/libstdc++-v3/src/Makefile.in index ef4d0a2..92322c0 100644 --- a/libstdc++-v3/src/Makefile.in +++ b/libstdc++-v3/src/Makefile.in @@ -88,48 +88,35 @@ am__base_list = \ am__installdirs = "$(DESTDIR)$(toolexeclibdir)" LTLIBRARIES = $(toolexeclib_LTLIBRARIES) am__DEPENDENCIES_1 = -am__objects_1 = atomicity.lo codecvt_members.lo collate_members.lo \ - ctype_configure_char.lo ctype_members.lo messages_members.lo \ - monetary_members.lo numeric_members.lo time_members.lo -@ENABLE_EXTERN_TEMPLATE_TRUE@am__objects_2 = allocator-inst.lo \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ concept-inst.lo ext-inst.lo \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ fstream-inst.lo ios-inst.lo \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ iostream-inst.lo istream-inst.lo \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ locale-inst.lo misc-inst.lo \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ ostream-inst.lo sstream-inst.lo \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ streambuf-inst.lo string-inst.lo \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ wlocale-inst.lo wstring-inst.lo -@GLIBCXX_LDBL_COMPAT_TRUE@am__objects_3 = compatibility-ldbl.lo -@ENABLE_PARALLEL_TRUE@am__objects_4 = parallel_settings.lo \ -@ENABLE_PARALLEL_TRUE@ compatibility-parallel_list.lo \ -@ENABLE_PARALLEL_TRUE@ compatibility-parallel_list-2.lo -am__objects_5 = basic_file.lo c++locale.lo $(am__objects_2) \ - $(am__objects_3) $(am__objects_4) -am__objects_6 = bitmap_allocator.lo pool_allocator.lo mt_allocator.lo \ - codecvt.lo compatibility.lo compatibility-c++0x.lo \ - compatibility-atomic-c++0x.lo compatibility-debug_list.lo \ - compatibility-debug_list-2.lo compatibility-list.lo \ - compatibility-list-2.lo complex_io.lo ctype.lo debug.lo \ - functexcept.lo functional.lo globals_io.lo hash_c++0x.lo \ - hash_tr1.lo hashtable_c++0x.lo hashtable_tr1.lo ios.lo \ - ios_failure.lo ios_init.lo ios_locale.lo limits.lo list.lo \ - locale.lo locale_init.lo locale_facets.lo localename.lo \ - math_stubs_float.lo math_stubs_long_double.lo stdexcept.lo \ - strstream.lo system_error.lo tree.lo istream.lo \ - placeholders.lo regex.lo shared_ptr.lo streambuf.lo mutex.lo \ - condition_variable.lo chrono.lo thread.lo future.lo \ - valarray.lo $(am__objects_1) $(am__objects_5) -am_libstdc___la_OBJECTS = $(am__objects_6) +am_libstdc___la_OBJECTS = libstdc___la_OBJECTS = $(am_libstdc___la_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = am__depfiles_maybe = -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ SOURCES = $(libstdc___la_SOURCES) +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS ETAGS = etags CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@ ACLOCAL = @ACLOCAL@ ALLOCATOR_H = @ALLOCATOR_H@ @@ -198,7 +185,6 @@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ -LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ @@ -225,6 +211,7 @@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PDFLATEX = @PDFLATEX@ +PIC_CXXFLAGS = @PIC_CXXFLAGS@ RANLIB = @RANLIB@ SECTION_FLAGS = @SECTION_FLAGS@ SECTION_LDFLAGS = @SECTION_LDFLAGS@ @@ -337,146 +324,28 @@ WARN_CXXFLAGS = \ # -I/-D flags to pass when compiling. AM_CPPFLAGS = $(GLIBCXX_INCLUDES) +SUBDIRS = c++98 c++11 # Cross compiler support. toolexeclib_LTLIBRARIES = libstdc++.la -@ENABLE_SYMVERS_TRUE@CLEANFILES = libstdc++-symbols.ver $(version_dep) -@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-exported_symbols_list,libstdc++-symbols.explist -@ENABLE_SYMVERS_FALSE@version_arg = -@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver -@ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_SOL2_FALSE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver -@ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_SOL2_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script,libstdc++-symbols.ver-sol2 -@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-M,libstdc++-symbols.ver-sun -@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.explist -@ENABLE_SYMVERS_FALSE@version_dep = -@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver -@ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_SOL2_FALSE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver -@ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_SOL2_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver-sol2 -@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver-sun - -# Source files linked in via configuration/make substitution for a -# particular host. -host_sources = \ - atomicity.cc \ - codecvt_members.cc \ - collate_members.cc \ - ctype_configure_char.cc \ - ctype_members.cc \ - messages_members.cc \ - monetary_members.cc \ - numeric_members.cc \ - time_members.cc - -atomicity_file = ${glibcxx_srcdir}/$(ATOMICITY_SRCDIR)/atomicity.h - -# Source files linked in via configuration/make substitution for a -# particular host, but with ad hoc naming rules. -host_sources_extra = \ - basic_file.cc c++locale.cc \ - ${inst_sources} ${ldbl_compat_sources} ${parallel_sources} - -@ENABLE_PARALLEL_FALSE@parallel_sources = -@ENABLE_PARALLEL_TRUE@parallel_sources = parallel_settings.cc \ -@ENABLE_PARALLEL_TRUE@ compatibility-parallel_list.cc \ -@ENABLE_PARALLEL_TRUE@ compatibility-parallel_list-2.cc - -@GLIBCXX_LDBL_COMPAT_FALSE@ldbl_compat_sources = -@GLIBCXX_LDBL_COMPAT_TRUE@ldbl_compat_sources = compatibility-ldbl.cc -@ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS = -@ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates -@ENABLE_EXTERN_TEMPLATE_FALSE@inst_sources = -@ENABLE_EXTERN_TEMPLATE_TRUE@inst_sources = \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ allocator-inst.cc \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ concept-inst.cc \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ ext-inst.cc \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ fstream-inst.cc \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ ios-inst.cc \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ iostream-inst.cc \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ istream-inst.cc \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ locale-inst.cc \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ misc-inst.cc \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ ostream-inst.cc \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ sstream-inst.cc \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ streambuf-inst.cc \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ string-inst.cc \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ wlocale-inst.cc \ -@ENABLE_EXTERN_TEMPLATE_TRUE@ wstring-inst.cc - - -# Sources present in the src directory, always present. -sources = \ - bitmap_allocator.cc \ - pool_allocator.cc \ - mt_allocator.cc \ - codecvt.cc \ - compatibility.cc \ - compatibility-c++0x.cc \ - compatibility-atomic-c++0x.cc \ - compatibility-debug_list.cc \ - compatibility-debug_list-2.cc \ - compatibility-list.cc \ - compatibility-list-2.cc \ - complex_io.cc \ - ctype.cc \ - debug.cc \ - functexcept.cc \ - functional.cc \ - globals_io.cc \ - hash_c++0x.cc \ - hash_tr1.cc \ - hashtable_c++0x.cc \ - hashtable_tr1.cc \ - ios.cc \ - ios_failure.cc \ - ios_init.cc \ - ios_locale.cc \ - limits.cc \ - list.cc \ - locale.cc \ - locale_init.cc \ - locale_facets.cc \ - localename.cc \ - math_stubs_float.cc \ - math_stubs_long_double.cc \ - stdexcept.cc \ - strstream.cc \ - system_error.cc \ - tree.cc \ - istream.cc \ - placeholders.cc \ - regex.cc \ - shared_ptr.cc \ - streambuf.cc \ - mutex.cc \ - condition_variable.cc \ - chrono.cc \ - thread.cc \ - future.cc \ - valarray.cc \ - ${host_sources} \ - ${host_sources_extra} - -libstdc___la_SOURCES = $(sources) +libstdc___la_SOURCES = libstdc___la_LIBADD = \ $(GLIBCXX_LIBS) \ - $(top_builddir)/libsupc++/libsupc++convenience.la + $(top_builddir)/libsupc++/libsupc++convenience.la \ + $(top_builddir)/src/c++98/libc++98convenience.la \ + $(top_builddir)/src/c++11/libc++11convenience.la libstdc___la_DEPENDENCIES = \ ${version_dep} \ - $(top_builddir)/libsupc++/libsupc++convenience.la + $(top_builddir)/libsupc++/libsupc++convenience.la \ + $(top_builddir)/src/c++98/libc++98convenience.la \ + $(top_builddir)/src/c++11/libc++11convenience.la libstdc___la_LDFLAGS = \ -version-info $(libtool_VERSION) ${version_arg} -lm libstdc___la_LINK = $(CXXLINK) $(libstdc___la_LDFLAGS) -# Use special rules for the deprecated source files so that they find -# deprecated include files. -GLIBCXX_INCLUDE_DIR = $(glibcxx_builddir)/include - -# Use special rules for parallel mode compilation. -PARALLEL_FLAGS = -fopenmp -D_GLIBCXX_PARALLEL -I$(glibcxx_builddir)/../libgomp - # AM_CXXFLAGS needs to be in each subdirectory so that it can be # modified in a per-library or per-sub-library way. Need to manually # set this option because CONFIG_CXXFLAGS has to be after @@ -523,11 +392,23 @@ LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) CXXLINK = $(LIBTOOL) --tag CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \ $(CXX) $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ +@ENABLE_SYMVERS_TRUE@CLEANFILES = libstdc++-symbols.ver $(version_dep) +@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-exported_symbols_list,libstdc++-symbols.explist +@ENABLE_SYMVERS_FALSE@version_arg = +@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver +@ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_SOL2_FALSE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver +@ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_SOL2_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script,libstdc++-symbols.ver-sol2 +@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-M,libstdc++-symbols.ver-sun +@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.explist +@ENABLE_SYMVERS_FALSE@version_dep = +@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver +@ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_SOL2_FALSE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver +@ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_SOL2_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver-sol2 +@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver-sun debugdir = debug -all: all-am +all: all-recursive .SUFFIXES: -.SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ @@ -598,21 +479,82 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -.cc.o: - $(CXXCOMPILE) -c -o $@ $< - -.cc.obj: - $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cc.lo: - $(LTCXXCOMPILE) -c -o $@ $< - mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ @@ -623,10 +565,23 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) mkid -fID $$unique tags: TAGS -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ @@ -645,7 +600,7 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ fi; \ fi ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ @@ -665,21 +620,22 @@ GTAGS: distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags check-am: all-am -check: check-am +check: check-recursive all-am: Makefile $(LTLIBRARIES) all-local -installdirs: +installdirs: installdirs-recursive +installdirs-am: for dir in "$(DESTDIR)$(toolexeclibdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -installcheck: installcheck-am +installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ @@ -697,80 +653,82 @@ distclean-generic: maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -clean: clean-am +clean: clean-recursive clean-am: clean-generic clean-libtool clean-toolexeclibLTLIBRARIES \ mostlyclean-am -distclean: distclean-am +distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags -dvi: dvi-am +dvi: dvi-recursive dvi-am: -html: html-am +html: html-recursive html-am: -info: info-am +info: info-recursive info-am: install-data-am: install-data-local -install-dvi: install-dvi-am +install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-toolexeclibLTLIBRARIES -install-html: install-html-am +install-html: install-html-recursive install-html-am: -install-info: install-info-am +install-info: install-info-recursive install-info-am: install-man: -install-pdf: install-pdf-am +install-pdf: install-pdf-recursive install-pdf-am: -install-ps: install-ps-am +install-ps: install-ps-recursive install-ps-am: installcheck-am: -maintainer-clean: maintainer-clean-am +maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic -mostlyclean: mostlyclean-am +mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool -pdf: pdf-am +pdf: pdf-recursive pdf-am: -ps: ps-am +ps: ps-recursive ps-am: uninstall-am: uninstall-toolexeclibLTLIBRARIES -.MAKE: install-am install-strip +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ + install-am install-strip tags-recursive -.PHONY: CTAGS GTAGS all all-am all-local check check-am clean \ - clean-generic clean-libtool clean-toolexeclibLTLIBRARIES ctags \ - distclean distclean-compile distclean-generic \ +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am all-local check check-am clean clean-generic \ + clean-libtool clean-toolexeclibLTLIBRARIES ctags \ + ctags-recursive distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi dvi-am html html-am info \ info-am install install-am install-data install-data-am \ install-data-local install-dvi install-dvi-am install-exec \ @@ -778,12 +736,16 @@ uninstall-am: uninstall-toolexeclibLTLIBRARIES install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip \ install-toolexeclibLTLIBRARIES installcheck installcheck-am \ - installdirs maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ - uninstall-am uninstall-toolexeclibLTLIBRARIES + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-recursive uninstall uninstall-am \ + uninstall-toolexeclibLTLIBRARIES +vpath % $(top_srcdir)/src +vpath % $(top_srcdir) + # Symbol versioning for shared libraries. @ENABLE_SYMVERS_TRUE@libstdc++-symbols.ver: ${glibcxx_srcdir}/$(SYMVER_FILE) \ @ENABLE_SYMVERS_TRUE@ $(port_specific_symbol_files) @@ -823,181 +785,23 @@ uninstall-am: uninstall-toolexeclibLTLIBRARIES @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \ @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ > $@ || (rm -f $@ ; exit 1) -codecvt_members.cc: ${glibcxx_srcdir}/$(CCODECVT_CC) - $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_CC) . || true - -collate_members.cc: ${glibcxx_srcdir}/$(CCOLLATE_CC) - $(LN_S) ${glibcxx_srcdir}/$(CCOLLATE_CC) . || true - -ctype_configure_char.cc: ${glibcxx_srcdir}/$(OS_INC_SRCDIR)/ctype_configure_char.cc - $(LN_S) ${glibcxx_srcdir}/$(OS_INC_SRCDIR)/ctype_configure_char.cc . || true - -ctype_members.cc: ${glibcxx_srcdir}/$(CCTYPE_CC) - $(LN_S) ${glibcxx_srcdir}/$(CCTYPE_CC) . || true - -messages_members.cc: ${glibcxx_srcdir}/$(CMESSAGES_CC) - $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_CC) . || true - -monetary_members.cc: ${glibcxx_srcdir}/$(CMONEY_CC) - $(LN_S) ${glibcxx_srcdir}/$(CMONEY_CC) . || true - -numeric_members.cc: ${glibcxx_srcdir}/$(CNUMERIC_CC) - $(LN_S) ${glibcxx_srcdir}/$(CNUMERIC_CC) . || true - -time_members.cc: ${glibcxx_srcdir}/$(CTIME_CC) - $(LN_S) ${glibcxx_srcdir}/$(CTIME_CC) . || true -atomicity.cc: ${atomicity_file} - $(LN_S) ${atomicity_file} ./atomicity.cc || true - -c++locale.cc: ${glibcxx_srcdir}/$(CLOCALE_CC) - $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_CC) ./$@ || true - -basic_file.cc: ${glibcxx_srcdir}/$(BASIC_FILE_CC) - $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_CC) ./$@ || true - -vpath % $(top_srcdir)/src -vpath % $(top_srcdir) -strstream.lo: strstream.cc - $(LTCXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $< -strstream.o: strstream.cc - $(CXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $< - -# Use special rules for the concept-checking instantiations so that all -# the generated template functions are also instantiated. Force the checks -# to be on so that the instantiations are actually seen. -concept-inst.lo: concept-inst.cc - $(LTCXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $< -concept-inst.o: concept-inst.cc - $(CXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $< -parallel_settings.lo: parallel_settings.cc - $(LTCXXCOMPILE) $(PARALLEL_FLAGS) -c $< -parallel_settings.o: parallel_settings.cc - $(CXXCOMPILE) $(PARALLEL_FLAGS) -c $< - -compatibility-parallel_list.lo: compatibility-parallel_list.cc - $(LTCXXCOMPILE) -c $< -compatibility-parallel_list.o: compatibility-parallel_list.cc - $(CXXCOMPILE) -c $< - -compatibility-parallel_list-2.lo: compatibility-parallel_list-2.cc - $(LTCXXCOMPILE) -c $< -compatibility-parallel_list-2.o: compatibility-parallel_list-2.cc - $(CXXCOMPILE) -c $< - -# Use special rules for the C++0x sources so that the proper flags are passed. -functexcept.lo: functexcept.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -functexcept.o: functexcept.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -shared_ptr.lo: shared_ptr.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -shared_ptr.o: shared_ptr.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -system_error.lo: system_error.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -system_error.o: system_error.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -mutex.lo: mutex.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -mutex.o: mutex.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -condition_variable.lo: condition_variable.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -condition_variable.o: condition_variable.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -compatibility-c++0x.lo: compatibility-c++0x.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -compatibility-c++0x.o: compatibility-c++0x.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -compatibility-atomic-c++0x.lo: compatibility-atomic-c++0x.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -compatibility-atomic-c++0x.o: compatibility-atomic-c++0x.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -functional.lo: functional.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -functional.o: functional.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -hash_c++0x.lo: hash_c++0x.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -hash_c++0x.o: hash_c++0x.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -hashtable_c++0x.lo: hashtable_c++0x.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -hashtable_c++0x.o: hashtable_c++0x.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -limits.lo: limits.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -limits.o: limits.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -fstream-inst.lo: fstream-inst.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -fstream-inst.o: fstream-inst.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -string-inst.lo: string-inst.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -string-inst.o: string-inst.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -wstring-inst.lo: wstring-inst.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -wstring-inst.o: wstring-inst.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -chrono.lo: chrono.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -chrono.o: chrono.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -thread.lo: thread.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -thread.o: thread.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -future.lo: future.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -future.o: future.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -regex.lo: regex.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -regex.o: regex.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -debug.lo: debug.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -debug.o: debug.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -placeholders.lo: placeholders.cc - $(LTCXXCOMPILE) -std=gnu++0x -c $< -placeholders.o: placeholders.cc - $(CXXCOMPILE) -std=gnu++0x -c $< - -# Use special rules for compatibility-ldbl.cc compilation, as we need to -# pass -mlong-double-64. -@GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.lo: compatibility-ldbl.cc -@GLIBCXX_LDBL_COMPAT_TRUE@ $(LTCXXCOMPILE) -mlong-double-64 -c $< -@GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.o: compatibility-ldbl.cc -@GLIBCXX_LDBL_COMPAT_TRUE@ $(CXXCOMPILE) -mlong-double-64 -c $< - -# Added bits to build debug library. -@GLIBCXX_BUILD_DEBUG_TRUE@all-local: build_debug +# Added rules. +# 1 debug library +# 2 supra-convenience library +@GLIBCXX_BUILD_DEBUG_TRUE@all-local: libstdc++convenience.la build_debug @GLIBCXX_BUILD_DEBUG_TRUE@install-data-local: install_debug -@GLIBCXX_BUILD_DEBUG_FALSE@all-local: +@GLIBCXX_BUILD_DEBUG_FALSE@all-local: libstdc++convenience.la @GLIBCXX_BUILD_DEBUG_FALSE@install-data-local: +# Make a non-installed convenience library, so that --disable-static +# may work. +libstdc++convenience.la: $(toolexeclib_LTLIBRARIES) + $(CXXLINK) $(libstdc___la_LIBADD) $(LIBS); \ + if test ! -f .libs/libstdc++.a; then \ + $(LN_S) .libs/libstdc++convenience.a .libs/libstdc++.a; \ + stamp-libstdc++convenience; \ + fi; + # Build a set of debug objects here. # Take care to fix all possibly-relative paths. stamp-debug: diff --git a/libstdc++-v3/src/c++11/Makefile.am b/libstdc++-v3/src/c++11/Makefile.am new file mode 100644 index 0000000..cc454bb --- /dev/null +++ b/libstdc++-v3/src/c++11/Makefile.am @@ -0,0 +1,118 @@ +## Makefile for the C++03 sources of the GNU C++ Standard library. +## +## Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +## 2006, 2007, 2008, 2009, 2010, 2011, 2012 +## Free Software Foundation, Inc. +## +## This file is part of the libstdc++ version 3 distribution. +## Process this file with automake to produce Makefile.in. + +## This file is part of the GNU ISO C++ Library. This library is free +## software; you can redistribute it and/or modify it under the +## terms of the GNU General Public License as published by the +## Free Software Foundation; either version 3, or (at your option) +## any later version. + +## This library is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. + +## You should have received a copy of the GNU General Public License along +## with this library; see the file COPYING3. If not see +## <http://www.gnu.org/licenses/>. + +include $(top_srcdir)/fragment.am + +# Convenience library for C++11 runtime. +toolexeclib_LTLIBRARIES = libc++11.la +noinst_LTLIBRARIES = libc++11convenience.la + +headers = + +sources = \ + chrono.cc \ + condition_variable.cc \ + compatibility-c++0x.cc \ + compatibility-atomic-c++0x.cc \ + debug.cc \ + functexcept.cc \ + functional.cc \ + future.cc \ + hash_c++0x.cc \ + hashtable_c++0x.cc \ + limits.cc \ + mutex.cc \ + placeholders.cc \ + regex.cc \ + shared_ptr.cc \ + system_error.cc \ + thread.cc + +if ENABLE_EXTERN_TEMPLATE +XTEMPLATE_FLAGS = -fno-implicit-templates +inst_sources = \ + fstream-inst.cc \ + string-inst.cc \ + wstring-inst.cc +else +XTEMPLATE_FLAGS = +inst_sources = +endif + +vpath % $(top_srcdir)/src/c++11 +vpath % $(top_srcdir) + +libc__11_la_SOURCES = $(sources) $(inst_sources) +libc__11convenience_la_SOURCES = $(sources) $(inst_sources) + +# AM_CXXFLAGS needs to be in each subdirectory so that it can be +# modified in a per-library or per-sub-library way. Need to manually +# set this option because CONFIG_CXXFLAGS has to be after +# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden +# as the occasion calls for it. +AM_CXXFLAGS = \ + $(PIC_CXXFLAGS) \ + $(XTEMPLATE_FLAGS) \ + $(WARN_CXXFLAGS) \ + $(OPTIMIZE_CXXFLAGS) \ + $(CONFIG_CXXFLAGS) -std=gnu++11 + +AM_MAKEFLAGS = \ + "gxx_include_dir=$(gxx_include_dir)" + +# Libtool notes + +# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is +# last. (That way, things like -O2 passed down from the toplevel can +# be overridden by --enable-debug.) + +# 2) In general, libtool expects an argument such as `--tag=CXX' when +# using the C++ compiler, because that will enable the settings +# detected when C++ support was being configured. However, when no +# such flag is given in the command line, libtool attempts to figure +# it out by matching the compiler name in each configuration section +# against a prefix of the command line. The problem is that, if the +# compiler name and its initial flags stored in the libtool +# configuration file don't match those in the command line, libtool +# can't decide which configuration to use, and it gives up. The +# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe +# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to +# attempt to infer which configuration to use. +# We have to put --tag disable-shared after --tag CXX lest things +# CXX undo the affect of disable-shared. +LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) + +LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) + +# 3) We'd have a problem when building the shared libstdc++ object if +# the rules automake generates would be used. We cannot allow g++ to +# be used since this would add -lstdc++ to the link line which of +# course is problematic at this point. So, we get the top-level +# directory to configure libstdc++-v3 to use gcc as the C++ +# compilation driver. +CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ diff --git a/libstdc++-v3/src/c++11/Makefile.in b/libstdc++-v3/src/c++11/Makefile.in new file mode 100644 index 0000000..72653c6 --- /dev/null +++ b/libstdc++-v3/src/c++11/Makefile.in @@ -0,0 +1,681 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +DIST_COMMON = $(top_srcdir)/fragment.am $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.am +subdir = src/c++11 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \ + $(top_srcdir)/../config/enable.m4 \ + $(top_srcdir)/../config/futex.m4 \ + $(top_srcdir)/../config/iconv.m4 \ + $(top_srcdir)/../config/lead-dot.m4 \ + $(top_srcdir)/../config/lib-ld.m4 \ + $(top_srcdir)/../config/lib-link.m4 \ + $(top_srcdir)/../config/lib-prefix.m4 \ + $(top_srcdir)/../config/lthostflags.m4 \ + $(top_srcdir)/../config/multi.m4 \ + $(top_srcdir)/../config/no-executables.m4 \ + $(top_srcdir)/../config/override.m4 \ + $(top_srcdir)/../config/stdint.m4 \ + $(top_srcdir)/../config/unwind_ipinfo.m4 \ + $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \ + $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \ + $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \ + $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/../config/gc++filt.m4 \ + $(top_srcdir)/../config/tls.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(toolexeclibdir)" +LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES) +libc__11_la_LIBADD = +am__objects_1 = chrono.lo condition_variable.lo compatibility-c++0x.lo \ + compatibility-atomic-c++0x.lo debug.lo functexcept.lo \ + functional.lo future.lo hash_c++0x.lo hashtable_c++0x.lo \ + limits.lo mutex.lo placeholders.lo regex.lo shared_ptr.lo \ + system_error.lo thread.lo +@ENABLE_EXTERN_TEMPLATE_TRUE@am__objects_2 = fstream-inst.lo \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ string-inst.lo wstring-inst.lo +am_libc__11_la_OBJECTS = $(am__objects_1) $(am__objects_2) +libc__11_la_OBJECTS = $(am_libc__11_la_OBJECTS) +libc__11convenience_la_LIBADD = +am_libc__11convenience_la_OBJECTS = $(am__objects_1) $(am__objects_2) +libc__11convenience_la_OBJECTS = $(am_libc__11convenience_la_OBJECTS) +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = +am__depfiles_maybe = +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +CXXLD = $(CXX) +SOURCES = $(libc__11_la_SOURCES) $(libc__11convenience_la_SOURCES) +ETAGS = etags +CTAGS = ctags +ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@ +ACLOCAL = @ACLOCAL@ +ALLOCATOR_H = @ALLOCATOR_H@ +ALLOCATOR_NAME = @ALLOCATOR_NAME@ +AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ +ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@ +ATOMIC_FLAGS = @ATOMIC_FLAGS@ +ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BASIC_FILE_CC = @BASIC_FILE_CC@ +BASIC_FILE_H = @BASIC_FILE_H@ +CC = @CC@ +CCODECVT_CC = @CCODECVT_CC@ +CCOLLATE_CC = @CCOLLATE_CC@ +CCTYPE_CC = @CCTYPE_CC@ +CFLAGS = @CFLAGS@ +CLOCALE_CC = @CLOCALE_CC@ +CLOCALE_H = @CLOCALE_H@ +CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@ +CMESSAGES_CC = @CMESSAGES_CC@ +CMESSAGES_H = @CMESSAGES_H@ +CMONEY_CC = @CMONEY_CC@ +CNUMERIC_CC = @CNUMERIC_CC@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@ +CSTDIO_H = @CSTDIO_H@ +CTIME_CC = @CTIME_CC@ +CTIME_H = @CTIME_H@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXFILT = @CXXFILT@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +C_INCLUDE_DIR = @C_INCLUDE_DIR@ +DBLATEX = @DBLATEX@ +DEBUG_FLAGS = @DEBUG_FLAGS@ +DEFS = @DEFS@ +DOT = @DOT@ +DOXYGEN = @DOXYGEN@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@ +EXEEXT = @EXEEXT@ +EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@ +FGREP = @FGREP@ +GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@ +GLIBCXX_LIBS = @GLIBCXX_LIBS@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@ +OPT_LDFLAGS = @OPT_LDFLAGS@ +OS_INC_SRCDIR = @OS_INC_SRCDIR@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PDFLATEX = @PDFLATEX@ +PIC_CXXFLAGS = @PIC_CXXFLAGS@ +RANLIB = @RANLIB@ +SECTION_FLAGS = @SECTION_FLAGS@ +SECTION_LDFLAGS = @SECTION_LDFLAGS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +SYMVER_FILE = @SYMVER_FILE@ +TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_FLAGS = @WARN_FLAGS@ +WERROR = @WERROR@ +XMLLINT = @XMLLINT@ +XSLTPROC = @XSLTPROC@ +XSL_STYLE_DIR = @XSL_STYLE_DIR@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +baseline_dir = @baseline_dir@ +baseline_subdir_switch = @baseline_subdir_switch@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +check_msgfmt = @check_msgfmt@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +enable_shared = @enable_shared@ +enable_static = @enable_static@ +exec_prefix = @exec_prefix@ +glibcxx_MOFILES = @glibcxx_MOFILES@ +glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@ +glibcxx_POFILES = @glibcxx_POFILES@ +glibcxx_builddir = @glibcxx_builddir@ +glibcxx_localedir = @glibcxx_localedir@ +glibcxx_prefixdir = @glibcxx_prefixdir@ +glibcxx_srcdir = @glibcxx_srcdir@ +glibcxx_toolexecdir = @glibcxx_toolexecdir@ +glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@ +gxx_include_dir = @gxx_include_dir@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +libtool_VERSION = @libtool_VERSION@ +localedir = @localedir@ +localstatedir = @localstatedir@ +lt_host_flags = @lt_host_flags@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +multi_basedir = @multi_basedir@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +port_specific_symbol_files = @port_specific_symbol_files@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +toplevel_builddir = @toplevel_builddir@ +toplevel_srcdir = @toplevel_srcdir@ + +# May be used by various substitution variables. +gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) +MAINT_CHARSET = latin1 +mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs +PWD_COMMAND = $${PWDCMD-pwd} +STAMP = echo timestamp > +toolexecdir = $(glibcxx_toolexecdir) +toolexeclibdir = $(glibcxx_toolexeclibdir) + +# These bits are all figured out from configure. Look in acinclude.m4 +# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS. +CONFIG_CXXFLAGS = \ + $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS) -frandom-seed=$@ + +WARN_CXXFLAGS = \ + $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once -Wabi + + +# -I/-D flags to pass when compiling. +AM_CPPFLAGS = $(GLIBCXX_INCLUDES) + +# Convenience library for C++11 runtime. +toolexeclib_LTLIBRARIES = libc++11.la +noinst_LTLIBRARIES = libc++11convenience.la +headers = +sources = \ + chrono.cc \ + condition_variable.cc \ + compatibility-c++0x.cc \ + compatibility-atomic-c++0x.cc \ + debug.cc \ + functexcept.cc \ + functional.cc \ + future.cc \ + hash_c++0x.cc \ + hashtable_c++0x.cc \ + limits.cc \ + mutex.cc \ + placeholders.cc \ + regex.cc \ + shared_ptr.cc \ + system_error.cc \ + thread.cc + +@ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS = +@ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates +@ENABLE_EXTERN_TEMPLATE_FALSE@inst_sources = +@ENABLE_EXTERN_TEMPLATE_TRUE@inst_sources = \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ fstream-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ string-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ wstring-inst.cc + +libc__11_la_SOURCES = $(sources) $(inst_sources) +libc__11convenience_la_SOURCES = $(sources) $(inst_sources) + +# AM_CXXFLAGS needs to be in each subdirectory so that it can be +# modified in a per-library or per-sub-library way. Need to manually +# set this option because CONFIG_CXXFLAGS has to be after +# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden +# as the occasion calls for it. +AM_CXXFLAGS = \ + $(PIC_CXXFLAGS) \ + $(XTEMPLATE_FLAGS) \ + $(WARN_CXXFLAGS) \ + $(OPTIMIZE_CXXFLAGS) \ + $(CONFIG_CXXFLAGS) -std=gnu++11 + +AM_MAKEFLAGS = \ + "gxx_include_dir=$(gxx_include_dir)" + + +# Libtool notes + +# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is +# last. (That way, things like -O2 passed down from the toplevel can +# be overridden by --enable-debug.) + +# 2) In general, libtool expects an argument such as `--tag=CXX' when +# using the C++ compiler, because that will enable the settings +# detected when C++ support was being configured. However, when no +# such flag is given in the command line, libtool attempts to figure +# it out by matching the compiler name in each configuration section +# against a prefix of the command line. The problem is that, if the +# compiler name and its initial flags stored in the libtool +# configuration file don't match those in the command line, libtool +# can't decide which configuration to use, and it gives up. The +# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe +# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to +# attempt to infer which configuration to use. +# We have to put --tag disable-shared after --tag CXX lest things +# CXX undo the affect of disable-shared. +LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) + +LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) + +# 3) We'd have a problem when building the shared libstdc++ object if +# the rules automake generates would be used. We cannot allow g++ to +# be used since this would add -lstdc++ to the link line which of +# course is problematic at this point. So, we get the top-level +# directory to configure libstdc++-v3 to use gcc as the C++ +# compilation driver. +CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ + +all: all-am + +.SUFFIXES: +.SUFFIXES: .cc .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/c++11/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign --ignore-deps src/c++11/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(toolexeclibdir)" || $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)" + @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \ + } + +uninstall-toolexeclibLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \ + done + +clean-toolexeclibLTLIBRARIES: + -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES) + @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +libc++11.la: $(libc__11_la_OBJECTS) $(libc__11_la_DEPENDENCIES) + $(CXXLINK) -rpath $(toolexeclibdir) $(libc__11_la_OBJECTS) $(libc__11_la_LIBADD) $(LIBS) +libc++11convenience.la: $(libc__11convenience_la_OBJECTS) $(libc__11convenience_la_DEPENDENCIES) + $(CXXLINK) $(libc__11convenience_la_OBJECTS) $(libc__11convenience_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +.cc.o: + $(CXXCOMPILE) -c -o $@ $< + +.cc.obj: + $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cc.lo: + $(LTCXXCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) +installdirs: + for dir in "$(DESTDIR)$(toolexeclibdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ + clean-toolexeclibLTLIBRARIES mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-toolexeclibLTLIBRARIES + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-toolexeclibLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-noinstLTLIBRARIES \ + clean-toolexeclibLTLIBRARIES ctags distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags dvi dvi-am \ + html html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip \ + install-toolexeclibLTLIBRARIES installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ + uninstall-am uninstall-toolexeclibLTLIBRARIES + + +vpath % $(top_srcdir)/src/c++11 +vpath % $(top_srcdir) + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/libstdc++-v3/src/chrono.cc b/libstdc++-v3/src/c++11/chrono.cc index 17b3402..17b3402 100644 --- a/libstdc++-v3/src/chrono.cc +++ b/libstdc++-v3/src/c++11/chrono.cc diff --git a/libstdc++-v3/src/compatibility-atomic-c++0x.cc b/libstdc++-v3/src/c++11/compatibility-atomic-c++0x.cc index 1ee0d7e..1ee0d7e 100644 --- a/libstdc++-v3/src/compatibility-atomic-c++0x.cc +++ b/libstdc++-v3/src/c++11/compatibility-atomic-c++0x.cc diff --git a/libstdc++-v3/src/compatibility-c++0x.cc b/libstdc++-v3/src/c++11/compatibility-c++0x.cc index 03c58d2..03c58d2 100644 --- a/libstdc++-v3/src/compatibility-c++0x.cc +++ b/libstdc++-v3/src/c++11/compatibility-c++0x.cc diff --git a/libstdc++-v3/src/condition_variable.cc b/libstdc++-v3/src/c++11/condition_variable.cc index 400fcf3..400fcf3 100644 --- a/libstdc++-v3/src/condition_variable.cc +++ b/libstdc++-v3/src/c++11/condition_variable.cc diff --git a/libstdc++-v3/src/debug.cc b/libstdc++-v3/src/c++11/debug.cc index af45ae4..af45ae4 100644 --- a/libstdc++-v3/src/debug.cc +++ b/libstdc++-v3/src/c++11/debug.cc diff --git a/libstdc++-v3/src/fstream-inst.cc b/libstdc++-v3/src/c++11/fstream-inst.cc index cd7a6cd..cd7a6cd 100644 --- a/libstdc++-v3/src/fstream-inst.cc +++ b/libstdc++-v3/src/c++11/fstream-inst.cc diff --git a/libstdc++-v3/src/functexcept.cc b/libstdc++-v3/src/c++11/functexcept.cc index 2fe14d5..2fe14d5 100644 --- a/libstdc++-v3/src/functexcept.cc +++ b/libstdc++-v3/src/c++11/functexcept.cc diff --git a/libstdc++-v3/src/functional.cc b/libstdc++-v3/src/c++11/functional.cc index 2ab3405..2ab3405 100644 --- a/libstdc++-v3/src/functional.cc +++ b/libstdc++-v3/src/c++11/functional.cc diff --git a/libstdc++-v3/src/future.cc b/libstdc++-v3/src/c++11/future.cc index e68642c3..e68642c3 100644 --- a/libstdc++-v3/src/future.cc +++ b/libstdc++-v3/src/c++11/future.cc diff --git a/libstdc++-v3/src/hash_c++0x.cc b/libstdc++-v3/src/c++11/hash_c++0x.cc index d685074..d685074 100644 --- a/libstdc++-v3/src/hash_c++0x.cc +++ b/libstdc++-v3/src/c++11/hash_c++0x.cc diff --git a/libstdc++-v3/src/hashtable_c++0x.cc b/libstdc++-v3/src/c++11/hashtable_c++0x.cc index c9026ac..2bf5508 100644 --- a/libstdc++-v3/src/hashtable_c++0x.cc +++ b/libstdc++-v3/src/c++11/hashtable_c++0x.cc @@ -30,5 +30,5 @@ namespace std _GLIBCXX_VISIBILITY(default) { -#include "hashtable-aux.cc" +#include "../shared/hashtable-aux.cc" } // namespace // namespace std diff --git a/libstdc++-v3/src/limits.cc b/libstdc++-v3/src/c++11/limits.cc index cc6acc2..cc6acc2 100644 --- a/libstdc++-v3/src/limits.cc +++ b/libstdc++-v3/src/c++11/limits.cc diff --git a/libstdc++-v3/src/mutex.cc b/libstdc++-v3/src/c++11/mutex.cc index d6f2f03..d6f2f03 100644 --- a/libstdc++-v3/src/mutex.cc +++ b/libstdc++-v3/src/c++11/mutex.cc diff --git a/libstdc++-v3/src/placeholders.cc b/libstdc++-v3/src/c++11/placeholders.cc index 967ce17..967ce17 100644 --- a/libstdc++-v3/src/placeholders.cc +++ b/libstdc++-v3/src/c++11/placeholders.cc diff --git a/libstdc++-v3/src/regex.cc b/libstdc++-v3/src/c++11/regex.cc index 8a47da3..8a47da3 100644 --- a/libstdc++-v3/src/regex.cc +++ b/libstdc++-v3/src/c++11/regex.cc diff --git a/libstdc++-v3/src/shared_ptr.cc b/libstdc++-v3/src/c++11/shared_ptr.cc index 911e745..911e745 100644 --- a/libstdc++-v3/src/shared_ptr.cc +++ b/libstdc++-v3/src/c++11/shared_ptr.cc diff --git a/libstdc++-v3/src/string-inst.cc b/libstdc++-v3/src/c++11/string-inst.cc index 879ccec..879ccec 100644 --- a/libstdc++-v3/src/string-inst.cc +++ b/libstdc++-v3/src/c++11/string-inst.cc diff --git a/libstdc++-v3/src/system_error.cc b/libstdc++-v3/src/c++11/system_error.cc index 3ee1d9b..3ee1d9b 100644 --- a/libstdc++-v3/src/system_error.cc +++ b/libstdc++-v3/src/c++11/system_error.cc diff --git a/libstdc++-v3/src/thread.cc b/libstdc++-v3/src/c++11/thread.cc index ff034b1..ff034b1 100644 --- a/libstdc++-v3/src/thread.cc +++ b/libstdc++-v3/src/c++11/thread.cc diff --git a/libstdc++-v3/src/wstring-inst.cc b/libstdc++-v3/src/c++11/wstring-inst.cc index b753f61..b753f61 100644 --- a/libstdc++-v3/src/wstring-inst.cc +++ b/libstdc++-v3/src/c++11/wstring-inst.cc diff --git a/libstdc++-v3/src/c++98/Makefile.am b/libstdc++-v3/src/c++98/Makefile.am new file mode 100644 index 0000000..fe39f23 --- /dev/null +++ b/libstdc++-v3/src/c++98/Makefile.am @@ -0,0 +1,253 @@ +## Makefile for the C++03 sources of the GNU C++ Standard library. +## +## Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +## 2006, 2007, 2008, 2009, 2010, 2011, 2012 +## Free Software Foundation, Inc. +## +## This file is part of the libstdc++ version 3 distribution. +## Process this file with automake to produce Makefile.in. + +## This file is part of the GNU ISO C++ Library. This library is free +## software; you can redistribute it and/or modify it under the +## terms of the GNU General Public License as published by the +## Free Software Foundation; either version 3, or (at your option) +## any later version. + +## This library is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. + +## You should have received a copy of the GNU General Public License along +## with this library; see the file COPYING3. If not see +## <http://www.gnu.org/licenses/>. + +include $(top_srcdir)/fragment.am + +# Convenience library for C++98 runtime. +toolexeclib_LTLIBRARIES = libc++98.la +noinst_LTLIBRARIES = libc++98convenience.la + +headers = + +# Source files linked in via configuration/make substitution for a +# particular host. +host_sources = \ + atomicity.cc \ + codecvt_members.cc \ + collate_members.cc \ + ctype_configure_char.cc \ + ctype_members.cc \ + messages_members.cc \ + monetary_members.cc \ + numeric_members.cc \ + time_members.cc + +codecvt_members.cc: ${glibcxx_srcdir}/$(CCODECVT_CC) + $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_CC) . || true + +collate_members.cc: ${glibcxx_srcdir}/$(CCOLLATE_CC) + $(LN_S) ${glibcxx_srcdir}/$(CCOLLATE_CC) . || true + +ctype_configure_char.cc: ${glibcxx_srcdir}/$(OS_INC_SRCDIR)/ctype_configure_char.cc + $(LN_S) ${glibcxx_srcdir}/$(OS_INC_SRCDIR)/ctype_configure_char.cc . || true + +ctype_members.cc: ${glibcxx_srcdir}/$(CCTYPE_CC) + $(LN_S) ${glibcxx_srcdir}/$(CCTYPE_CC) . || true + +messages_members.cc: ${glibcxx_srcdir}/$(CMESSAGES_CC) + $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_CC) . || true + +monetary_members.cc: ${glibcxx_srcdir}/$(CMONEY_CC) + $(LN_S) ${glibcxx_srcdir}/$(CMONEY_CC) . || true + +numeric_members.cc: ${glibcxx_srcdir}/$(CNUMERIC_CC) + $(LN_S) ${glibcxx_srcdir}/$(CNUMERIC_CC) . || true + +time_members.cc: ${glibcxx_srcdir}/$(CTIME_CC) + $(LN_S) ${glibcxx_srcdir}/$(CTIME_CC) . || true + +atomicity_file = ${glibcxx_srcdir}/$(ATOMICITY_SRCDIR)/atomicity.h +atomicity.cc: ${atomicity_file} + $(LN_S) ${atomicity_file} ./atomicity.cc || true + +# Source files linked in via configuration/make substitution for a +# particular host, but with ad hoc naming rules. +host_sources_extra = \ + basic_file.cc c++locale.cc \ + ${inst_sources} ${ldbl_compat_sources} ${parallel_sources} + +c++locale.cc: ${glibcxx_srcdir}/$(CLOCALE_CC) + $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_CC) ./$@ || true + +basic_file.cc: ${glibcxx_srcdir}/$(BASIC_FILE_CC) + $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_CC) ./$@ || true + +if ENABLE_PARALLEL +parallel_sources = parallel_settings.cc \ + compatibility-parallel_list.cc \ + compatibility-parallel_list-2.cc +else +parallel_sources = +endif + +if GLIBCXX_LDBL_COMPAT +ldbl_compat_sources = compatibility-ldbl.cc +else +ldbl_compat_sources = +endif + +if ENABLE_EXTERN_TEMPLATE +XTEMPLATE_FLAGS = -fno-implicit-templates +inst_sources = \ + allocator-inst.cc \ + concept-inst.cc \ + ext-inst.cc \ + ios-inst.cc \ + iostream-inst.cc \ + istream-inst.cc \ + locale-inst.cc \ + misc-inst.cc \ + ostream-inst.cc \ + sstream-inst.cc \ + streambuf-inst.cc \ + wlocale-inst.cc +else +XTEMPLATE_FLAGS = +inst_sources = +endif + +# Sources present in the src directory, always present. +sources = \ + bitmap_allocator.cc \ + pool_allocator.cc \ + mt_allocator.cc \ + codecvt.cc \ + compatibility.cc \ + compatibility-debug_list.cc \ + compatibility-debug_list-2.cc \ + compatibility-list.cc \ + compatibility-list-2.cc \ + complex_io.cc \ + ctype.cc \ + globals_io.cc \ + hash_tr1.cc \ + hashtable_tr1.cc \ + ios.cc \ + ios_failure.cc \ + ios_init.cc \ + ios_locale.cc \ + list.cc \ + locale.cc \ + locale_init.cc \ + locale_facets.cc \ + localename.cc \ + math_stubs_float.cc \ + math_stubs_long_double.cc \ + stdexcept.cc \ + strstream.cc \ + tree.cc \ + istream.cc \ + streambuf.cc \ + valarray.cc \ + ${host_sources} \ + ${host_sources_extra} + +vpath % $(top_srcdir)/src/c++98 +vpath % $(top_srcdir) + +libc__98_la_SOURCES = $(sources) $(inst_sources) +libc__98convenience_la_SOURCES = $(sources) $(inst_sources) + +# Use special rules for the deprecated source files so that they find +# deprecated include files. +GLIBCXX_INCLUDE_DIR=$(glibcxx_builddir)/include +strstream.lo: strstream.cc + $(LTCXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $< +strstream.o: strstream.cc + $(CXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $< + +# Use special rules for the concept-checking instantiations so that all +# the generated template functions are also instantiated. Force the checks +# to be on so that the instantiations are actually seen. +concept-inst.lo: concept-inst.cc + $(LTCXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $< +concept-inst.o: concept-inst.cc + $(CXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $< + +# Use special rules for parallel mode compilation. +PARALLEL_FLAGS = -fopenmp -D_GLIBCXX_PARALLEL -I$(glibcxx_builddir)/../libgomp +parallel_settings.lo: parallel_settings.cc + $(LTCXXCOMPILE) $(PARALLEL_FLAGS) -c $< +parallel_settings.o: parallel_settings.cc + $(CXXCOMPILE) $(PARALLEL_FLAGS) -c $< + +compatibility-parallel_list.lo: compatibility-parallel_list.cc + $(LTCXXCOMPILE) -c $< +compatibility-parallel_list.o: compatibility-parallel_list.cc + $(CXXCOMPILE) -c $< + +compatibility-parallel_list-2.lo: compatibility-parallel_list-2.cc + $(LTCXXCOMPILE) -c $< +compatibility-parallel_list-2.o: compatibility-parallel_list-2.cc + $(CXXCOMPILE) -c $< + +if GLIBCXX_LDBL_COMPAT +# Use special rules for compatibility-ldbl.cc compilation, as we need to +# pass -mlong-double-64. +compatibility-ldbl.lo: compatibility-ldbl.cc + $(LTCXXCOMPILE) -mlong-double-64 -c $< +compatibility-ldbl.o: compatibility-ldbl.cc + $(CXXCOMPILE) -mlong-double-64 -c $< +endif + +# AM_CXXFLAGS needs to be in each subdirectory so that it can be +# modified in a per-library or per-sub-library way. Need to manually +# set this option because CONFIG_CXXFLAGS has to be after +# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden +# as the occasion calls for it. +AM_CXXFLAGS = \ + $(PIC_CXXFLAGS) \ + $(XTEMPLATE_FLAGS) \ + $(WARN_CXXFLAGS) \ + $(OPTIMIZE_CXXFLAGS) \ + $(CONFIG_CXXFLAGS) + +AM_MAKEFLAGS = \ + "gxx_include_dir=$(gxx_include_dir)" + +# Libtool notes + +# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is +# last. (That way, things like -O2 passed down from the toplevel can +# be overridden by --enable-debug.) + +# 2) In general, libtool expects an argument such as `--tag=CXX' when +# using the C++ compiler, because that will enable the settings +# detected when C++ support was being configured. However, when no +# such flag is given in the command line, libtool attempts to figure +# it out by matching the compiler name in each configuration section +# against a prefix of the command line. The problem is that, if the +# compiler name and its initial flags stored in the libtool +# configuration file don't match those in the command line, libtool +# can't decide which configuration to use, and it gives up. The +# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe +# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to +# attempt to infer which configuration to use. +# We have to put --tag disable-shared after --tag CXX lest things +# CXX undo the affect of disable-shared. +LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) + +LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) + +# 3) We'd have a problem when building the shared libstdc++ object if +# the rules automake generates would be used. We cannot allow g++ to +# be used since this would add -lstdc++ to the link line which of +# course is problematic at this point. So, we get the top-level +# directory to configure libstdc++-v3 to use gcc as the C++ +# compilation driver. +CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ diff --git a/libstdc++-v3/src/c++98/Makefile.in b/libstdc++-v3/src/c++98/Makefile.in new file mode 100644 index 0000000..dae6f26 --- /dev/null +++ b/libstdc++-v3/src/c++98/Makefile.in @@ -0,0 +1,828 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +DIST_COMMON = $(top_srcdir)/fragment.am $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.am +subdir = src/c++98 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \ + $(top_srcdir)/../config/enable.m4 \ + $(top_srcdir)/../config/futex.m4 \ + $(top_srcdir)/../config/iconv.m4 \ + $(top_srcdir)/../config/lead-dot.m4 \ + $(top_srcdir)/../config/lib-ld.m4 \ + $(top_srcdir)/../config/lib-link.m4 \ + $(top_srcdir)/../config/lib-prefix.m4 \ + $(top_srcdir)/../config/lthostflags.m4 \ + $(top_srcdir)/../config/multi.m4 \ + $(top_srcdir)/../config/no-executables.m4 \ + $(top_srcdir)/../config/override.m4 \ + $(top_srcdir)/../config/stdint.m4 \ + $(top_srcdir)/../config/unwind_ipinfo.m4 \ + $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \ + $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \ + $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \ + $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/../config/gc++filt.m4 \ + $(top_srcdir)/../config/tls.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(toolexeclibdir)" +LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES) +libc__98_la_LIBADD = +am__objects_1 = atomicity.lo codecvt_members.lo collate_members.lo \ + ctype_configure_char.lo ctype_members.lo messages_members.lo \ + monetary_members.lo numeric_members.lo time_members.lo +@ENABLE_EXTERN_TEMPLATE_TRUE@am__objects_2 = allocator-inst.lo \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ concept-inst.lo ext-inst.lo \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ ios-inst.lo iostream-inst.lo \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ istream-inst.lo locale-inst.lo \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ misc-inst.lo ostream-inst.lo \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ sstream-inst.lo streambuf-inst.lo \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ wlocale-inst.lo +@GLIBCXX_LDBL_COMPAT_TRUE@am__objects_3 = compatibility-ldbl.lo +@ENABLE_PARALLEL_TRUE@am__objects_4 = parallel_settings.lo \ +@ENABLE_PARALLEL_TRUE@ compatibility-parallel_list.lo \ +@ENABLE_PARALLEL_TRUE@ compatibility-parallel_list-2.lo +am__objects_5 = basic_file.lo c++locale.lo $(am__objects_2) \ + $(am__objects_3) $(am__objects_4) +am__objects_6 = bitmap_allocator.lo pool_allocator.lo mt_allocator.lo \ + codecvt.lo compatibility.lo compatibility-debug_list.lo \ + compatibility-debug_list-2.lo compatibility-list.lo \ + compatibility-list-2.lo complex_io.lo ctype.lo globals_io.lo \ + hash_tr1.lo hashtable_tr1.lo ios.lo ios_failure.lo ios_init.lo \ + ios_locale.lo list.lo locale.lo locale_init.lo \ + locale_facets.lo localename.lo math_stubs_float.lo \ + math_stubs_long_double.lo stdexcept.lo strstream.lo tree.lo \ + istream.lo streambuf.lo valarray.lo $(am__objects_1) \ + $(am__objects_5) +am_libc__98_la_OBJECTS = $(am__objects_6) $(am__objects_2) +libc__98_la_OBJECTS = $(am_libc__98_la_OBJECTS) +libc__98convenience_la_LIBADD = +am_libc__98convenience_la_OBJECTS = $(am__objects_6) $(am__objects_2) +libc__98convenience_la_OBJECTS = $(am_libc__98convenience_la_OBJECTS) +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = +am__depfiles_maybe = +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +CXXLD = $(CXX) +SOURCES = $(libc__98_la_SOURCES) $(libc__98convenience_la_SOURCES) +ETAGS = etags +CTAGS = ctags +ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@ +ACLOCAL = @ACLOCAL@ +ALLOCATOR_H = @ALLOCATOR_H@ +ALLOCATOR_NAME = @ALLOCATOR_NAME@ +AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ +ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@ +ATOMIC_FLAGS = @ATOMIC_FLAGS@ +ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BASIC_FILE_CC = @BASIC_FILE_CC@ +BASIC_FILE_H = @BASIC_FILE_H@ +CC = @CC@ +CCODECVT_CC = @CCODECVT_CC@ +CCOLLATE_CC = @CCOLLATE_CC@ +CCTYPE_CC = @CCTYPE_CC@ +CFLAGS = @CFLAGS@ +CLOCALE_CC = @CLOCALE_CC@ +CLOCALE_H = @CLOCALE_H@ +CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@ +CMESSAGES_CC = @CMESSAGES_CC@ +CMESSAGES_H = @CMESSAGES_H@ +CMONEY_CC = @CMONEY_CC@ +CNUMERIC_CC = @CNUMERIC_CC@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@ +CSTDIO_H = @CSTDIO_H@ +CTIME_CC = @CTIME_CC@ +CTIME_H = @CTIME_H@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXFILT = @CXXFILT@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +C_INCLUDE_DIR = @C_INCLUDE_DIR@ +DBLATEX = @DBLATEX@ +DEBUG_FLAGS = @DEBUG_FLAGS@ +DEFS = @DEFS@ +DOT = @DOT@ +DOXYGEN = @DOXYGEN@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@ +EXEEXT = @EXEEXT@ +EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@ +FGREP = @FGREP@ +GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@ +GLIBCXX_LIBS = @GLIBCXX_LIBS@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@ +OPT_LDFLAGS = @OPT_LDFLAGS@ +OS_INC_SRCDIR = @OS_INC_SRCDIR@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PDFLATEX = @PDFLATEX@ +PIC_CXXFLAGS = @PIC_CXXFLAGS@ +RANLIB = @RANLIB@ +SECTION_FLAGS = @SECTION_FLAGS@ +SECTION_LDFLAGS = @SECTION_LDFLAGS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +SYMVER_FILE = @SYMVER_FILE@ +TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_FLAGS = @WARN_FLAGS@ +WERROR = @WERROR@ +XMLLINT = @XMLLINT@ +XSLTPROC = @XSLTPROC@ +XSL_STYLE_DIR = @XSL_STYLE_DIR@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +baseline_dir = @baseline_dir@ +baseline_subdir_switch = @baseline_subdir_switch@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +check_msgfmt = @check_msgfmt@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +enable_shared = @enable_shared@ +enable_static = @enable_static@ +exec_prefix = @exec_prefix@ +glibcxx_MOFILES = @glibcxx_MOFILES@ +glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@ +glibcxx_POFILES = @glibcxx_POFILES@ +glibcxx_builddir = @glibcxx_builddir@ +glibcxx_localedir = @glibcxx_localedir@ +glibcxx_prefixdir = @glibcxx_prefixdir@ +glibcxx_srcdir = @glibcxx_srcdir@ +glibcxx_toolexecdir = @glibcxx_toolexecdir@ +glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@ +gxx_include_dir = @gxx_include_dir@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +libtool_VERSION = @libtool_VERSION@ +localedir = @localedir@ +localstatedir = @localstatedir@ +lt_host_flags = @lt_host_flags@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +multi_basedir = @multi_basedir@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +port_specific_symbol_files = @port_specific_symbol_files@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +toplevel_builddir = @toplevel_builddir@ +toplevel_srcdir = @toplevel_srcdir@ + +# May be used by various substitution variables. +gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) +MAINT_CHARSET = latin1 +mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs +PWD_COMMAND = $${PWDCMD-pwd} +STAMP = echo timestamp > +toolexecdir = $(glibcxx_toolexecdir) +toolexeclibdir = $(glibcxx_toolexeclibdir) + +# These bits are all figured out from configure. Look in acinclude.m4 +# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS. +CONFIG_CXXFLAGS = \ + $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS) -frandom-seed=$@ + +WARN_CXXFLAGS = \ + $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once -Wabi + + +# -I/-D flags to pass when compiling. +AM_CPPFLAGS = $(GLIBCXX_INCLUDES) + +# Convenience library for C++98 runtime. +toolexeclib_LTLIBRARIES = libc++98.la +noinst_LTLIBRARIES = libc++98convenience.la +headers = + +# Source files linked in via configuration/make substitution for a +# particular host. +host_sources = \ + atomicity.cc \ + codecvt_members.cc \ + collate_members.cc \ + ctype_configure_char.cc \ + ctype_members.cc \ + messages_members.cc \ + monetary_members.cc \ + numeric_members.cc \ + time_members.cc + +atomicity_file = ${glibcxx_srcdir}/$(ATOMICITY_SRCDIR)/atomicity.h + +# Source files linked in via configuration/make substitution for a +# particular host, but with ad hoc naming rules. +host_sources_extra = \ + basic_file.cc c++locale.cc \ + ${inst_sources} ${ldbl_compat_sources} ${parallel_sources} + +@ENABLE_PARALLEL_FALSE@parallel_sources = +@ENABLE_PARALLEL_TRUE@parallel_sources = parallel_settings.cc \ +@ENABLE_PARALLEL_TRUE@ compatibility-parallel_list.cc \ +@ENABLE_PARALLEL_TRUE@ compatibility-parallel_list-2.cc + +@GLIBCXX_LDBL_COMPAT_FALSE@ldbl_compat_sources = +@GLIBCXX_LDBL_COMPAT_TRUE@ldbl_compat_sources = compatibility-ldbl.cc +@ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS = +@ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates +@ENABLE_EXTERN_TEMPLATE_FALSE@inst_sources = +@ENABLE_EXTERN_TEMPLATE_TRUE@inst_sources = \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ allocator-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ concept-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ ext-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ ios-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ iostream-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ istream-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ locale-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ misc-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ ostream-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ sstream-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ streambuf-inst.cc \ +@ENABLE_EXTERN_TEMPLATE_TRUE@ wlocale-inst.cc + + +# Sources present in the src directory, always present. +sources = \ + bitmap_allocator.cc \ + pool_allocator.cc \ + mt_allocator.cc \ + codecvt.cc \ + compatibility.cc \ + compatibility-debug_list.cc \ + compatibility-debug_list-2.cc \ + compatibility-list.cc \ + compatibility-list-2.cc \ + complex_io.cc \ + ctype.cc \ + globals_io.cc \ + hash_tr1.cc \ + hashtable_tr1.cc \ + ios.cc \ + ios_failure.cc \ + ios_init.cc \ + ios_locale.cc \ + list.cc \ + locale.cc \ + locale_init.cc \ + locale_facets.cc \ + localename.cc \ + math_stubs_float.cc \ + math_stubs_long_double.cc \ + stdexcept.cc \ + strstream.cc \ + tree.cc \ + istream.cc \ + streambuf.cc \ + valarray.cc \ + ${host_sources} \ + ${host_sources_extra} + +libc__98_la_SOURCES = $(sources) $(inst_sources) +libc__98convenience_la_SOURCES = $(sources) $(inst_sources) + +# Use special rules for the deprecated source files so that they find +# deprecated include files. +GLIBCXX_INCLUDE_DIR = $(glibcxx_builddir)/include + +# Use special rules for parallel mode compilation. +PARALLEL_FLAGS = -fopenmp -D_GLIBCXX_PARALLEL -I$(glibcxx_builddir)/../libgomp + +# AM_CXXFLAGS needs to be in each subdirectory so that it can be +# modified in a per-library or per-sub-library way. Need to manually +# set this option because CONFIG_CXXFLAGS has to be after +# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden +# as the occasion calls for it. +AM_CXXFLAGS = \ + $(PIC_CXXFLAGS) \ + $(XTEMPLATE_FLAGS) \ + $(WARN_CXXFLAGS) \ + $(OPTIMIZE_CXXFLAGS) \ + $(CONFIG_CXXFLAGS) + +AM_MAKEFLAGS = \ + "gxx_include_dir=$(gxx_include_dir)" + + +# Libtool notes + +# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is +# last. (That way, things like -O2 passed down from the toplevel can +# be overridden by --enable-debug.) + +# 2) In general, libtool expects an argument such as `--tag=CXX' when +# using the C++ compiler, because that will enable the settings +# detected when C++ support was being configured. However, when no +# such flag is given in the command line, libtool attempts to figure +# it out by matching the compiler name in each configuration section +# against a prefix of the command line. The problem is that, if the +# compiler name and its initial flags stored in the libtool +# configuration file don't match those in the command line, libtool +# can't decide which configuration to use, and it gives up. The +# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe +# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to +# attempt to infer which configuration to use. +# We have to put --tag disable-shared after --tag CXX lest things +# CXX undo the affect of disable-shared. +LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) + +LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) + +# 3) We'd have a problem when building the shared libstdc++ object if +# the rules automake generates would be used. We cannot allow g++ to +# be used since this would add -lstdc++ to the link line which of +# course is problematic at this point. So, we get the top-level +# directory to configure libstdc++-v3 to use gcc as the C++ +# compilation driver. +CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ + +all: all-am + +.SUFFIXES: +.SUFFIXES: .cc .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/c++98/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign --ignore-deps src/c++98/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(toolexeclibdir)" || $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)" + @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \ + } + +uninstall-toolexeclibLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \ + done + +clean-toolexeclibLTLIBRARIES: + -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES) + @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +libc++98.la: $(libc__98_la_OBJECTS) $(libc__98_la_DEPENDENCIES) + $(CXXLINK) -rpath $(toolexeclibdir) $(libc__98_la_OBJECTS) $(libc__98_la_LIBADD) $(LIBS) +libc++98convenience.la: $(libc__98convenience_la_OBJECTS) $(libc__98convenience_la_DEPENDENCIES) + $(CXXLINK) $(libc__98convenience_la_OBJECTS) $(libc__98convenience_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +.cc.o: + $(CXXCOMPILE) -c -o $@ $< + +.cc.obj: + $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cc.lo: + $(LTCXXCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) +installdirs: + for dir in "$(DESTDIR)$(toolexeclibdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ + clean-toolexeclibLTLIBRARIES mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-toolexeclibLTLIBRARIES + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-toolexeclibLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-noinstLTLIBRARIES \ + clean-toolexeclibLTLIBRARIES ctags distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags dvi dvi-am \ + html html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip \ + install-toolexeclibLTLIBRARIES installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ + uninstall-am uninstall-toolexeclibLTLIBRARIES + + +codecvt_members.cc: ${glibcxx_srcdir}/$(CCODECVT_CC) + $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_CC) . || true + +collate_members.cc: ${glibcxx_srcdir}/$(CCOLLATE_CC) + $(LN_S) ${glibcxx_srcdir}/$(CCOLLATE_CC) . || true + +ctype_configure_char.cc: ${glibcxx_srcdir}/$(OS_INC_SRCDIR)/ctype_configure_char.cc + $(LN_S) ${glibcxx_srcdir}/$(OS_INC_SRCDIR)/ctype_configure_char.cc . || true + +ctype_members.cc: ${glibcxx_srcdir}/$(CCTYPE_CC) + $(LN_S) ${glibcxx_srcdir}/$(CCTYPE_CC) . || true + +messages_members.cc: ${glibcxx_srcdir}/$(CMESSAGES_CC) + $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_CC) . || true + +monetary_members.cc: ${glibcxx_srcdir}/$(CMONEY_CC) + $(LN_S) ${glibcxx_srcdir}/$(CMONEY_CC) . || true + +numeric_members.cc: ${glibcxx_srcdir}/$(CNUMERIC_CC) + $(LN_S) ${glibcxx_srcdir}/$(CNUMERIC_CC) . || true + +time_members.cc: ${glibcxx_srcdir}/$(CTIME_CC) + $(LN_S) ${glibcxx_srcdir}/$(CTIME_CC) . || true +atomicity.cc: ${atomicity_file} + $(LN_S) ${atomicity_file} ./atomicity.cc || true + +c++locale.cc: ${glibcxx_srcdir}/$(CLOCALE_CC) + $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_CC) ./$@ || true + +basic_file.cc: ${glibcxx_srcdir}/$(BASIC_FILE_CC) + $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_CC) ./$@ || true + +vpath % $(top_srcdir)/src/c++98 +vpath % $(top_srcdir) +strstream.lo: strstream.cc + $(LTCXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $< +strstream.o: strstream.cc + $(CXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $< + +# Use special rules for the concept-checking instantiations so that all +# the generated template functions are also instantiated. Force the checks +# to be on so that the instantiations are actually seen. +concept-inst.lo: concept-inst.cc + $(LTCXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $< +concept-inst.o: concept-inst.cc + $(CXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $< +parallel_settings.lo: parallel_settings.cc + $(LTCXXCOMPILE) $(PARALLEL_FLAGS) -c $< +parallel_settings.o: parallel_settings.cc + $(CXXCOMPILE) $(PARALLEL_FLAGS) -c $< + +compatibility-parallel_list.lo: compatibility-parallel_list.cc + $(LTCXXCOMPILE) -c $< +compatibility-parallel_list.o: compatibility-parallel_list.cc + $(CXXCOMPILE) -c $< + +compatibility-parallel_list-2.lo: compatibility-parallel_list-2.cc + $(LTCXXCOMPILE) -c $< +compatibility-parallel_list-2.o: compatibility-parallel_list-2.cc + $(CXXCOMPILE) -c $< + +# Use special rules for compatibility-ldbl.cc compilation, as we need to +# pass -mlong-double-64. +@GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.lo: compatibility-ldbl.cc +@GLIBCXX_LDBL_COMPAT_TRUE@ $(LTCXXCOMPILE) -mlong-double-64 -c $< +@GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.o: compatibility-ldbl.cc +@GLIBCXX_LDBL_COMPAT_TRUE@ $(CXXCOMPILE) -mlong-double-64 -c $< + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/libstdc++-v3/src/allocator-inst.cc b/libstdc++-v3/src/c++98/allocator-inst.cc index 8014680..8014680 100644 --- a/libstdc++-v3/src/allocator-inst.cc +++ b/libstdc++-v3/src/c++98/allocator-inst.cc diff --git a/libstdc++-v3/src/bitmap_allocator.cc b/libstdc++-v3/src/c++98/bitmap_allocator.cc index a9f3a77..a9f3a77 100644 --- a/libstdc++-v3/src/bitmap_allocator.cc +++ b/libstdc++-v3/src/c++98/bitmap_allocator.cc diff --git a/libstdc++-v3/src/codecvt.cc b/libstdc++-v3/src/c++98/codecvt.cc index fdb0896..fdb0896 100644 --- a/libstdc++-v3/src/codecvt.cc +++ b/libstdc++-v3/src/c++98/codecvt.cc diff --git a/libstdc++-v3/src/compatibility-debug_list-2.cc b/libstdc++-v3/src/c++98/compatibility-debug_list-2.cc index c032ff8..c032ff8 100644 --- a/libstdc++-v3/src/compatibility-debug_list-2.cc +++ b/libstdc++-v3/src/c++98/compatibility-debug_list-2.cc diff --git a/libstdc++-v3/src/compatibility-debug_list.cc b/libstdc++-v3/src/c++98/compatibility-debug_list.cc index 76cceec..76cceec 100644 --- a/libstdc++-v3/src/compatibility-debug_list.cc +++ b/libstdc++-v3/src/c++98/compatibility-debug_list.cc diff --git a/libstdc++-v3/src/compatibility-ldbl.cc b/libstdc++-v3/src/c++98/compatibility-ldbl.cc index a103856..a103856 100644 --- a/libstdc++-v3/src/compatibility-ldbl.cc +++ b/libstdc++-v3/src/c++98/compatibility-ldbl.cc diff --git a/libstdc++-v3/src/compatibility-list-2.cc b/libstdc++-v3/src/c++98/compatibility-list-2.cc index ac69798..ac69798 100644 --- a/libstdc++-v3/src/compatibility-list-2.cc +++ b/libstdc++-v3/src/c++98/compatibility-list-2.cc diff --git a/libstdc++-v3/src/compatibility-list.cc b/libstdc++-v3/src/c++98/compatibility-list.cc index a0d706b..a0d706b 100644 --- a/libstdc++-v3/src/compatibility-list.cc +++ b/libstdc++-v3/src/c++98/compatibility-list.cc diff --git a/libstdc++-v3/src/compatibility-parallel_list-2.cc b/libstdc++-v3/src/c++98/compatibility-parallel_list-2.cc index 8dc837a..8dc837a 100644 --- a/libstdc++-v3/src/compatibility-parallel_list-2.cc +++ b/libstdc++-v3/src/c++98/compatibility-parallel_list-2.cc diff --git a/libstdc++-v3/src/compatibility-parallel_list.cc b/libstdc++-v3/src/c++98/compatibility-parallel_list.cc index 05e50fa..05e50fa 100644 --- a/libstdc++-v3/src/compatibility-parallel_list.cc +++ b/libstdc++-v3/src/c++98/compatibility-parallel_list.cc diff --git a/libstdc++-v3/src/compatibility.cc b/libstdc++-v3/src/c++98/compatibility.cc index d4cf5d7..d4cf5d7 100644 --- a/libstdc++-v3/src/compatibility.cc +++ b/libstdc++-v3/src/c++98/compatibility.cc diff --git a/libstdc++-v3/src/complex_io.cc b/libstdc++-v3/src/c++98/complex_io.cc index 4e4aeef..4e4aeef 100644 --- a/libstdc++-v3/src/complex_io.cc +++ b/libstdc++-v3/src/c++98/complex_io.cc diff --git a/libstdc++-v3/src/concept-inst.cc b/libstdc++-v3/src/c++98/concept-inst.cc index 829d0db..829d0db 100644 --- a/libstdc++-v3/src/concept-inst.cc +++ b/libstdc++-v3/src/c++98/concept-inst.cc diff --git a/libstdc++-v3/src/ctype.cc b/libstdc++-v3/src/c++98/ctype.cc index e246bea..e246bea 100644 --- a/libstdc++-v3/src/ctype.cc +++ b/libstdc++-v3/src/c++98/ctype.cc diff --git a/libstdc++-v3/src/ext-inst.cc b/libstdc++-v3/src/c++98/ext-inst.cc index 831f37c..831f37c 100644 --- a/libstdc++-v3/src/ext-inst.cc +++ b/libstdc++-v3/src/c++98/ext-inst.cc diff --git a/libstdc++-v3/src/globals_io.cc b/libstdc++-v3/src/c++98/globals_io.cc index 722abac..722abac 100644 --- a/libstdc++-v3/src/globals_io.cc +++ b/libstdc++-v3/src/c++98/globals_io.cc diff --git a/libstdc++-v3/src/hash-long-double-tr1-aux.cc b/libstdc++-v3/src/c++98/hash-long-double-tr1-aux.cc index 70ed45b..70ed45b 100644 --- a/libstdc++-v3/src/hash-long-double-tr1-aux.cc +++ b/libstdc++-v3/src/c++98/hash-long-double-tr1-aux.cc diff --git a/libstdc++-v3/src/hash_tr1.cc b/libstdc++-v3/src/c++98/hash_tr1.cc index a5ac87e..a5ac87e 100644 --- a/libstdc++-v3/src/hash_tr1.cc +++ b/libstdc++-v3/src/c++98/hash_tr1.cc diff --git a/libstdc++-v3/src/hashtable_tr1.cc b/libstdc++-v3/src/c++98/hashtable_tr1.cc index 32d5b63..53b5e5d 100644 --- a/libstdc++-v3/src/hashtable_tr1.cc +++ b/libstdc++-v3/src/c++98/hashtable_tr1.cc @@ -28,6 +28,6 @@ namespace std _GLIBCXX_VISIBILITY(default) { namespace tr1 { -#include "hashtable-aux.cc" +#include "../shared/hashtable-aux.cc" } } diff --git a/libstdc++-v3/src/ios-inst.cc b/libstdc++-v3/src/c++98/ios-inst.cc index 10fdaf7..10fdaf7 100644 --- a/libstdc++-v3/src/ios-inst.cc +++ b/libstdc++-v3/src/c++98/ios-inst.cc diff --git a/libstdc++-v3/src/ios.cc b/libstdc++-v3/src/c++98/ios.cc index 292f1f8..292f1f8 100644 --- a/libstdc++-v3/src/ios.cc +++ b/libstdc++-v3/src/c++98/ios.cc diff --git a/libstdc++-v3/src/ios_failure.cc b/libstdc++-v3/src/c++98/ios_failure.cc index 1c42f01..1c42f01 100644 --- a/libstdc++-v3/src/ios_failure.cc +++ b/libstdc++-v3/src/c++98/ios_failure.cc diff --git a/libstdc++-v3/src/ios_init.cc b/libstdc++-v3/src/c++98/ios_init.cc index a811daf..a811daf 100644 --- a/libstdc++-v3/src/ios_init.cc +++ b/libstdc++-v3/src/c++98/ios_init.cc diff --git a/libstdc++-v3/src/ios_locale.cc b/libstdc++-v3/src/c++98/ios_locale.cc index b98b96c..b98b96c 100644 --- a/libstdc++-v3/src/ios_locale.cc +++ b/libstdc++-v3/src/c++98/ios_locale.cc diff --git a/libstdc++-v3/src/iostream-inst.cc b/libstdc++-v3/src/c++98/iostream-inst.cc index 60f5206..60f5206 100644 --- a/libstdc++-v3/src/iostream-inst.cc +++ b/libstdc++-v3/src/c++98/iostream-inst.cc diff --git a/libstdc++-v3/src/istream-inst.cc b/libstdc++-v3/src/c++98/istream-inst.cc index 4d3bc1a..4d3bc1a 100644 --- a/libstdc++-v3/src/istream-inst.cc +++ b/libstdc++-v3/src/c++98/istream-inst.cc diff --git a/libstdc++-v3/src/istream.cc b/libstdc++-v3/src/c++98/istream.cc index 6bcf2db..6bcf2db 100644 --- a/libstdc++-v3/src/istream.cc +++ b/libstdc++-v3/src/c++98/istream.cc diff --git a/libstdc++-v3/src/list.cc b/libstdc++-v3/src/c++98/list.cc index 6dbad69..6dbad69 100644 --- a/libstdc++-v3/src/list.cc +++ b/libstdc++-v3/src/c++98/list.cc diff --git a/libstdc++-v3/src/locale-inst.cc b/libstdc++-v3/src/c++98/locale-inst.cc index e77c5c9..e77c5c9 100644 --- a/libstdc++-v3/src/locale-inst.cc +++ b/libstdc++-v3/src/c++98/locale-inst.cc diff --git a/libstdc++-v3/src/locale.cc b/libstdc++-v3/src/c++98/locale.cc index 09dccf0..09dccf0 100644 --- a/libstdc++-v3/src/locale.cc +++ b/libstdc++-v3/src/c++98/locale.cc diff --git a/libstdc++-v3/src/locale_facets.cc b/libstdc++-v3/src/c++98/locale_facets.cc index 9255222..9255222 100644 --- a/libstdc++-v3/src/locale_facets.cc +++ b/libstdc++-v3/src/c++98/locale_facets.cc diff --git a/libstdc++-v3/src/locale_init.cc b/libstdc++-v3/src/c++98/locale_init.cc index 98c228c..98c228c 100644 --- a/libstdc++-v3/src/locale_init.cc +++ b/libstdc++-v3/src/c++98/locale_init.cc diff --git a/libstdc++-v3/src/localename.cc b/libstdc++-v3/src/c++98/localename.cc index 52e2282..52e2282 100644 --- a/libstdc++-v3/src/localename.cc +++ b/libstdc++-v3/src/c++98/localename.cc diff --git a/libstdc++-v3/src/math_stubs_float.cc b/libstdc++-v3/src/c++98/math_stubs_float.cc index a226ce4..a226ce4 100644 --- a/libstdc++-v3/src/math_stubs_float.cc +++ b/libstdc++-v3/src/c++98/math_stubs_float.cc diff --git a/libstdc++-v3/src/math_stubs_long_double.cc b/libstdc++-v3/src/c++98/math_stubs_long_double.cc index 9f760cf..9f760cf 100644 --- a/libstdc++-v3/src/math_stubs_long_double.cc +++ b/libstdc++-v3/src/c++98/math_stubs_long_double.cc diff --git a/libstdc++-v3/src/misc-inst.cc b/libstdc++-v3/src/c++98/misc-inst.cc index ad09c9b..ad09c9b 100644 --- a/libstdc++-v3/src/misc-inst.cc +++ b/libstdc++-v3/src/c++98/misc-inst.cc diff --git a/libstdc++-v3/src/mt_allocator.cc b/libstdc++-v3/src/c++98/mt_allocator.cc index 16c2fb8..16c2fb8 100644 --- a/libstdc++-v3/src/mt_allocator.cc +++ b/libstdc++-v3/src/c++98/mt_allocator.cc diff --git a/libstdc++-v3/src/ostream-inst.cc b/libstdc++-v3/src/c++98/ostream-inst.cc index 9c25228..9c25228 100644 --- a/libstdc++-v3/src/ostream-inst.cc +++ b/libstdc++-v3/src/c++98/ostream-inst.cc diff --git a/libstdc++-v3/src/parallel_settings.cc b/libstdc++-v3/src/c++98/parallel_settings.cc index e183c97..e183c97 100644 --- a/libstdc++-v3/src/parallel_settings.cc +++ b/libstdc++-v3/src/c++98/parallel_settings.cc diff --git a/libstdc++-v3/src/pool_allocator.cc b/libstdc++-v3/src/c++98/pool_allocator.cc index f94656b..f94656b 100644 --- a/libstdc++-v3/src/pool_allocator.cc +++ b/libstdc++-v3/src/c++98/pool_allocator.cc diff --git a/libstdc++-v3/src/sstream-inst.cc b/libstdc++-v3/src/c++98/sstream-inst.cc index 5c68779..5c68779 100644 --- a/libstdc++-v3/src/sstream-inst.cc +++ b/libstdc++-v3/src/c++98/sstream-inst.cc diff --git a/libstdc++-v3/src/stdexcept.cc b/libstdc++-v3/src/c++98/stdexcept.cc index dbc8f40..dbc8f40 100644 --- a/libstdc++-v3/src/stdexcept.cc +++ b/libstdc++-v3/src/c++98/stdexcept.cc diff --git a/libstdc++-v3/src/streambuf-inst.cc b/libstdc++-v3/src/c++98/streambuf-inst.cc index 5b563c8..5b563c8 100644 --- a/libstdc++-v3/src/streambuf-inst.cc +++ b/libstdc++-v3/src/c++98/streambuf-inst.cc diff --git a/libstdc++-v3/src/streambuf.cc b/libstdc++-v3/src/c++98/streambuf.cc index 5bcd0ea..5bcd0ea 100644 --- a/libstdc++-v3/src/streambuf.cc +++ b/libstdc++-v3/src/c++98/streambuf.cc diff --git a/libstdc++-v3/src/strstream.cc b/libstdc++-v3/src/c++98/strstream.cc index c76fc60..c76fc60 100644 --- a/libstdc++-v3/src/strstream.cc +++ b/libstdc++-v3/src/c++98/strstream.cc diff --git a/libstdc++-v3/src/tree.cc b/libstdc++-v3/src/c++98/tree.cc index 0a7f6f9..0a7f6f9 100644 --- a/libstdc++-v3/src/tree.cc +++ b/libstdc++-v3/src/c++98/tree.cc diff --git a/libstdc++-v3/src/valarray.cc b/libstdc++-v3/src/c++98/valarray.cc index 5de146b..5de146b 100644 --- a/libstdc++-v3/src/valarray.cc +++ b/libstdc++-v3/src/c++98/valarray.cc diff --git a/libstdc++-v3/src/wlocale-inst.cc b/libstdc++-v3/src/c++98/wlocale-inst.cc index cdfed0c..cdfed0c 100644 --- a/libstdc++-v3/src/wlocale-inst.cc +++ b/libstdc++-v3/src/c++98/wlocale-inst.cc diff --git a/libstdc++-v3/src/hashtable-aux.cc b/libstdc++-v3/src/shared/hashtable-aux.cc index 23bb00e..23bb00e 100644 --- a/libstdc++-v3/src/hashtable-aux.cc +++ b/libstdc++-v3/src/shared/hashtable-aux.cc |