]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/src/Makefile.in
Daily bump.
[thirdparty/gcc.git] / libstdc++-v3 / src / Makefile.in
CommitLineData
7eed349e 1# Makefile.in generated by automake 1.9.6 from Makefile.am.
ff66d28f 2# @configure_input@
b2dad0e3 3
7eaf73d7 4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
7eed349e 5# 2003, 2004, 2005 Free Software Foundation, Inc.
b2dad0e3
BK
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
ff66d28f 15@SET_MAKE@
b2dad0e3 16
7eed349e
PC
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
d683ec81 19VPATH = @srcdir@
b2dad0e3
BK
20pkgdatadir = $(datadir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@
7eed349e 23top_builddir = ..
ff66d28f 24am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
7eed349e 25INSTALL = @INSTALL@
ff66d28f
PE
26install_sh_DATA = $(install_sh) -c -m 644
27install_sh_PROGRAM = $(install_sh) -c
28install_sh_SCRIPT = $(install_sh) -c
29INSTALL_HEADER = $(INSTALL_DATA)
30transform = $(program_transform_name)
b2dad0e3
BK
31NORMAL_INSTALL = :
32PRE_INSTALL = :
33POST_INSTALL = :
34NORMAL_UNINSTALL = :
35PRE_UNINSTALL = :
36POST_UNINSTALL = :
b2dad0e3 37build_triplet = @build@
b2dad0e3 38host_triplet = @host@
b2dad0e3 39target_triplet = @target@
7eaf73d7
KC
40DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
41 $(top_srcdir)/fragment.am
42subdir = src
43ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
cddfb1c7 44am__aclocal_m4_deps = $(top_srcdir)/../config/enable.m4 \
eeb77d99 45 $(top_srcdir)/../config/futex.m4 \
4ffe6e87 46 $(top_srcdir)/../config/iconv.m4 \
cddfb1c7 47 $(top_srcdir)/../config/lead-dot.m4 \
4ffe6e87
BK
48 $(top_srcdir)/../config/lib-ld.m4 \
49 $(top_srcdir)/../config/lib-link.m4 \
50 $(top_srcdir)/../config/lib-prefix.m4 \
499c96f5 51 $(top_srcdir)/../config/multi.m4 \
cd111813 52 $(top_srcdir)/../config/no-executables.m4 \
ef5f59f6 53 $(top_srcdir)/../config/override.m4 \
d466a7e2 54 $(top_srcdir)/../config/proginstall.m4 \
ed0840ba 55 $(top_srcdir)/../config/stdint.m4 \
2e575796 56 $(top_srcdir)/../config/unwind_ipinfo.m4 \
1cf3d07d
SE
57 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
58 $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
25e5de9a
PG
59 $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \
60 $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
61 $(top_srcdir)/../config/tls.m4 $(top_srcdir)/configure.ac
7eaf73d7
KC
62am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
63 $(ACLOCAL_M4)
64CONFIG_HEADER = $(top_builddir)/config.h
65CONFIG_CLEAN_FILES =
a60945f8
PC
66am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
67am__vpath_adj = case $$p in \
68 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
69 *) f=$$p;; \
70 esac;
71am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
7eaf73d7
KC
72am__installdirs = "$(DESTDIR)$(toolexeclibdir)"
73toolexeclibLTLIBRARIES_INSTALL = $(INSTALL)
74LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
ec6fa56a 75am__DEPENDENCIES_1 =
d466a7e2
BK
76am__libstdc___la_SOURCES_DIST = atomic.cc bitmap_allocator.cc \
77 pool_allocator.cc mt_allocator.cc codecvt.cc compatibility.cc \
d5740f02
PC
78 complex_io.cc ctype.cc debug.cc functexcept.cc hash.cc \
79 hash_c++0x.cc globals_io.cc hashtable.cc hashtable_c++0x.cc \
80 ios.cc ios_failure.cc ios_init.cc ios_locale.cc limits.cc \
81 limits_c++0x.cc list.cc debug_list.cc locale.cc locale_init.cc \
82 locale_facets.cc localename.cc stdexcept.cc strstream.cc \
83 system_error.cc tree.cc allocator-inst.cc concept-inst.cc \
84 fstream-inst.cc ext-inst.cc ios-inst.cc iostream-inst.cc \
85 istream-inst.cc istream.cc locale-inst.cc misc-inst.cc \
86 ostream-inst.cc sstream-inst.cc streambuf-inst.cc streambuf.cc \
87 string-inst.cc valarray-inst.cc wlocale-inst.cc \
15e38d0d 88 wstring-inst.cc mutex.cc condition_variable.cc chrono.cc \
46e113bf 89 thread.cc atomicity.cc codecvt_members.cc collate_members.cc \
15e38d0d
CF
90 ctype_members.cc messages_members.cc monetary_members.cc \
91 numeric_members.cc time_members.cc basic_file.cc c++locale.cc \
68a97d24 92 compatibility-ldbl.cc parallel_list.cc parallel_settings.cc
7eaf73d7
KC
93am__objects_1 = atomicity.lo codecvt_members.lo collate_members.lo \
94 ctype_members.lo messages_members.lo monetary_members.lo \
95 numeric_members.lo time_members.lo
c2ba9709 96@GLIBCXX_LDBL_COMPAT_TRUE@am__objects_2 = compatibility-ldbl.lo
ee1b5fc5
BK
97@ENABLE_PARALLEL_TRUE@am__objects_3 = parallel_list.lo \
98@ENABLE_PARALLEL_TRUE@ parallel_settings.lo
c2ba9709
JS
99am__objects_4 = basic_file.lo c++locale.lo $(am__objects_2) \
100 $(am__objects_3)
d466a7e2
BK
101am__objects_5 = atomic.lo bitmap_allocator.lo pool_allocator.lo \
102 mt_allocator.lo codecvt.lo compatibility.lo complex_io.lo \
d5740f02
PC
103 ctype.lo debug.lo functexcept.lo hash.lo hash_c++0x.lo \
104 globals_io.lo hashtable.lo hashtable_c++0x.lo ios.lo \
105 ios_failure.lo ios_init.lo ios_locale.lo limits.lo \
5fb0445d 106 limits_c++0x.lo list.lo debug_list.lo locale.lo locale_init.lo \
d466a7e2
BK
107 locale_facets.lo localename.lo stdexcept.lo strstream.lo \
108 system_error.lo tree.lo allocator-inst.lo concept-inst.lo \
109 fstream-inst.lo ext-inst.lo ios-inst.lo iostream-inst.lo \
110 istream-inst.lo istream.lo locale-inst.lo misc-inst.lo \
111 ostream-inst.lo sstream-inst.lo streambuf-inst.lo streambuf.lo \
a5a6b586 112 string-inst.lo valarray-inst.lo wlocale-inst.lo \
15e38d0d 113 wstring-inst.lo mutex.lo condition_variable.lo chrono.lo \
46e113bf 114 thread.lo $(am__objects_1) $(am__objects_4)
c2ba9709 115am_libstdc___la_OBJECTS = $(am__objects_5)
7eaf73d7 116libstdc___la_OBJECTS = $(am_libstdc___la_OBJECTS)
7eed349e 117DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
7eaf73d7
KC
118depcomp =
119am__depfiles_maybe =
120CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
121 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
122CXXLD = $(CXX)
123SOURCES = $(libstdc___la_SOURCES)
6defecc2 124DIST_SOURCES = $(am__libstdc___la_SOURCES_DIST)
7eaf73d7
KC
125ETAGS = etags
126CTAGS = ctags
127DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
1568430f 128ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
ff66d28f 129ACLOCAL = @ACLOCAL@
8b0d6051
BK
130ALLOCATOR_H = @ALLOCATOR_H@
131ALLOCATOR_NAME = @ALLOCATOR_NAME@
ff66d28f 132AMTAR = @AMTAR@
b2dad0e3
BK
133AR = @AR@
134AS = @AS@
2c5d0ae8 135ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
c2ba9709 136ATOMIC_FLAGS = @ATOMIC_FLAGS@
2c5d0ae8 137ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
ff66d28f
PE
138AUTOCONF = @AUTOCONF@
139AUTOHEADER = @AUTOHEADER@
140AUTOMAKE = @AUTOMAKE@
ab3bc736 141AWK = @AWK@
6aa43d99 142BASIC_FILE_CC = @BASIC_FILE_CC@
4a9d5109 143BASIC_FILE_H = @BASIC_FILE_H@
b2dad0e3 144CC = @CC@
6aa43d99 145CCODECVT_CC = @CCODECVT_CC@
6aa43d99
BK
146CCOLLATE_CC = @CCOLLATE_CC@
147CCTYPE_CC = @CCTYPE_CC@
ff66d28f 148CFLAGS = @CFLAGS@
6aa43d99 149CLOCALE_CC = @CLOCALE_CC@
4a9d5109 150CLOCALE_H = @CLOCALE_H@
6aa43d99
BK
151CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
152CMESSAGES_CC = @CMESSAGES_CC@
33590f13 153CMESSAGES_H = @CMESSAGES_H@
6aa43d99
BK
154CMONEY_CC = @CMONEY_CC@
155CNUMERIC_CC = @CNUMERIC_CC@
b2dad0e3 156CPP = @CPP@
ff66d28f 157CPPFLAGS = @CPPFLAGS@
4b90c838 158CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
4a9d5109 159CSTDIO_H = @CSTDIO_H@
6aa43d99 160CTIME_CC = @CTIME_CC@
1c26d8fd 161CTIME_H = @CTIME_H@
ff66d28f 162CXX = @CXX@
b2dad0e3 163CXXCPP = @CXXCPP@
ff66d28f
PE
164CXXFLAGS = @CXXFLAGS@
165CYGPATH_W = @CYGPATH_W@
4a9d5109 166C_INCLUDE_DIR = @C_INCLUDE_DIR@
c470c17d 167DEBUG_FLAGS = @DEBUG_FLAGS@
ff66d28f 168DEFS = @DEFS@
25e5de9a 169DSYMUTIL = @DSYMUTIL@
1cf3d07d 170DUMPBIN = @DUMPBIN@
ff66d28f
PE
171ECHO_C = @ECHO_C@
172ECHO_N = @ECHO_N@
173ECHO_T = @ECHO_T@
174EGREP = @EGREP@
7eed349e
PC
175ENABLE_PARALLEL_FALSE = @ENABLE_PARALLEL_FALSE@
176ENABLE_PARALLEL_TRUE = @ENABLE_PARALLEL_TRUE@
177ENABLE_SYMVERS_DARWIN_FALSE = @ENABLE_SYMVERS_DARWIN_FALSE@
178ENABLE_SYMVERS_DARWIN_TRUE = @ENABLE_SYMVERS_DARWIN_TRUE@
179ENABLE_SYMVERS_FALSE = @ENABLE_SYMVERS_FALSE@
180ENABLE_SYMVERS_GNU_FALSE = @ENABLE_SYMVERS_GNU_FALSE@
181ENABLE_SYMVERS_GNU_NAMESPACE_FALSE = @ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@
182ENABLE_SYMVERS_GNU_NAMESPACE_TRUE = @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@
183ENABLE_SYMVERS_GNU_TRUE = @ENABLE_SYMVERS_GNU_TRUE@
184ENABLE_SYMVERS_TRUE = @ENABLE_SYMVERS_TRUE@
185ENABLE_VISIBILITY_FALSE = @ENABLE_VISIBILITY_FALSE@
186ENABLE_VISIBILITY_TRUE = @ENABLE_VISIBILITY_TRUE@
9adfc73c 187ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
b2dad0e3 188EXEEXT = @EXEEXT@
dcfa0bc8 189EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
1cf3d07d 190FGREP = @FGREP@
7eed349e
PC
191GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
192GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
193GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
194GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
195GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
196GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
197GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
198GLIBCXX_C_HEADERS_C_GLOBAL_FALSE = @GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@
199GLIBCXX_C_HEADERS_C_GLOBAL_TRUE = @GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@
200GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
201GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
202GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
203GLIBCXX_C_HEADERS_EXTRA_FALSE = @GLIBCXX_C_HEADERS_EXTRA_FALSE@
204GLIBCXX_C_HEADERS_EXTRA_TRUE = @GLIBCXX_C_HEADERS_EXTRA_TRUE@
205GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
206GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
ff66d28f 207GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
7eed349e
PC
208GLIBCXX_LDBL_COMPAT_FALSE = @GLIBCXX_LDBL_COMPAT_FALSE@
209GLIBCXX_LDBL_COMPAT_TRUE = @GLIBCXX_LDBL_COMPAT_TRUE@
ec6fa56a 210GLIBCXX_LIBS = @GLIBCXX_LIBS@
1cf3d07d 211GREP = @GREP@
ff66d28f
PE
212INSTALL_DATA = @INSTALL_DATA@
213INSTALL_PROGRAM = @INSTALL_PROGRAM@
214INSTALL_SCRIPT = @INSTALL_SCRIPT@
215INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1cf3d07d
SE
216LD = @LD@
217LDFLAGS = @LDFLAGS@
d54bc1d8 218LIBICONV = @LIBICONV@
ff66d28f
PE
219LIBOBJS = @LIBOBJS@
220LIBS = @LIBS@
f8e4b51d 221LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
b2dad0e3 222LIBTOOL = @LIBTOOL@
25e5de9a 223LIPO = @LIPO@
b2dad0e3 224LN_S = @LN_S@
4ffe6e87 225LTLIBICONV = @LTLIBICONV@
ff66d28f 226LTLIBOBJS = @LTLIBOBJS@
b2dad0e3 227MAINT = @MAINT@
7eed349e
PC
228MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
229MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
b2dad0e3 230MAKEINFO = @MAKEINFO@
1cf3d07d 231NM = @NM@
25e5de9a
PG
232NMEDIT = @NMEDIT@
233OBJDUMP = @OBJDUMP@
3df64633 234OBJEXT = @OBJEXT@
ff66d28f 235OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
421173e6 236OPT_LDFLAGS = @OPT_LDFLAGS@
4a9d5109 237OS_INC_SRCDIR = @OS_INC_SRCDIR@
25e5de9a
PG
238OTOOL = @OTOOL@
239OTOOL64 = @OTOOL64@
b2dad0e3 240PACKAGE = @PACKAGE@
ff66d28f
PE
241PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
242PACKAGE_NAME = @PACKAGE_NAME@
243PACKAGE_STRING = @PACKAGE_STRING@
244PACKAGE_TARNAME = @PACKAGE_TARNAME@
245PACKAGE_VERSION = @PACKAGE_VERSION@
246PATH_SEPARATOR = @PATH_SEPARATOR@
b2dad0e3 247RANLIB = @RANLIB@
c470c17d
BK
248SECTION_FLAGS = @SECTION_FLAGS@
249SECTION_LDFLAGS = @SECTION_LDFLAGS@
1cf3d07d 250SED = @SED@
ff66d28f
PE
251SET_MAKE = @SET_MAKE@
252SHELL = @SHELL@
3df64633 253STRIP = @STRIP@
fb5c309d 254SYMVER_FILE = @SYMVER_FILE@
ff66d28f 255TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
33590f13 256USE_NLS = @USE_NLS@
b2dad0e3 257VERSION = @VERSION@
e466dc8a 258WARN_FLAGS = @WARN_FLAGS@
d3a12960 259WERROR = @WERROR@
7eed349e
PC
260ac_ct_AR = @ac_ct_AR@
261ac_ct_AS = @ac_ct_AS@
ff66d28f
PE
262ac_ct_CC = @ac_ct_CC@
263ac_ct_CXX = @ac_ct_CXX@
25e5de9a 264ac_ct_DSYMUTIL = @ac_ct_DSYMUTIL@
1cf3d07d 265ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
25e5de9a
PG
266ac_ct_LIPO = @ac_ct_LIPO@
267ac_ct_NMEDIT = @ac_ct_NMEDIT@
268ac_ct_OBJDUMP = @ac_ct_OBJDUMP@
269ac_ct_OTOOL = @ac_ct_OTOOL@
270ac_ct_OTOOL64 = @ac_ct_OTOOL64@
7eed349e
PC
271ac_ct_RANLIB = @ac_ct_RANLIB@
272ac_ct_STRIP = @ac_ct_STRIP@
ff66d28f 273am__leading_dot = @am__leading_dot@
a60945f8
PC
274am__tar = @am__tar@
275am__untar = @am__untar@
44f0760e 276baseline_dir = @baseline_dir@
ff66d28f
PE
277bindir = @bindir@
278build = @build@
279build_alias = @build_alias@
280build_cpu = @build_cpu@
281build_os = @build_os@
282build_vendor = @build_vendor@
501e321e 283check_msgfmt = @check_msgfmt@
ff66d28f 284datadir = @datadir@
34791641
PE
285enable_shared = @enable_shared@
286enable_static = @enable_static@
ff66d28f 287exec_prefix = @exec_prefix@
3d7c150e
BK
288glibcxx_MOFILES = @glibcxx_MOFILES@
289glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
290glibcxx_POFILES = @glibcxx_POFILES@
ff66d28f 291glibcxx_builddir = @glibcxx_builddir@
3d7c150e
BK
292glibcxx_localedir = @glibcxx_localedir@
293glibcxx_prefixdir = @glibcxx_prefixdir@
ff66d28f 294glibcxx_srcdir = @glibcxx_srcdir@
3d7c150e
BK
295glibcxx_thread_h = @glibcxx_thread_h@
296glibcxx_toolexecdir = @glibcxx_toolexecdir@
297glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
4a9d5109 298gxx_include_dir = @gxx_include_dir@
ff66d28f
PE
299host = @host@
300host_alias = @host_alias@
301host_cpu = @host_cpu@
302host_os = @host_os@
303host_vendor = @host_vendor@
304includedir = @includedir@
305infodir = @infodir@
306install_sh = @install_sh@
307libdir = @libdir@
308libexecdir = @libexecdir@
4e10943d 309libtool_VERSION = @libtool_VERSION@
ff66d28f 310localstatedir = @localstatedir@
1cf3d07d 311lt_ECHO = @lt_ECHO@
ff66d28f 312mandir = @mandir@
7eaf73d7 313mkdir_p = @mkdir_p@
ff66d28f
PE
314multi_basedir = @multi_basedir@
315oldincludedir = @oldincludedir@
58579a27 316port_specific_symbol_files = @port_specific_symbol_files@
ff66d28f
PE
317prefix = @prefix@
318program_transform_name = @program_transform_name@
319sbindir = @sbindir@
320sharedstatedir = @sharedstatedir@
321sysconfdir = @sysconfdir@
322target = @target@
323target_alias = @target_alias@
324target_cpu = @target_cpu@
325target_os = @target_os@
326target_vendor = @target_vendor@
e2c20fae 327toplevel_srcdir = @toplevel_srcdir@
47194af4
ZW
328
329# May be used by various substitution variables.
330gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
b2dad0e3 331MAINT_CHARSET = latin1
ae9dc931 332mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
0df3f383 333PWD_COMMAND = $${PWDCMD-pwd}
82ba99d5 334STAMP = echo timestamp >
0df3f383
PE
335toolexecdir = $(glibcxx_toolexecdir)
336toolexeclibdir = $(glibcxx_toolexeclibdir)
b2dad0e3 337
0df3f383
PE
338# These bits are all figured out from configure. Look in acinclude.m4
339# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
ff66d28f 340CONFIG_CXXFLAGS = \
0df3f383 341 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
e466dc8a 342
ff66d28f 343WARN_CXXFLAGS = \
0df3f383
PE
344 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
345
e466dc8a 346
0df3f383
PE
347# -I/-D flags to pass when compiling.
348AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
e466dc8a 349
0df3f383
PE
350# Cross compiler support.
351toolexeclib_LTLIBRARIES = libstdc++.la
fb5c309d
BK
352@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-exported_symbols_list,libstdc++-symbols.explist
353@ENABLE_SYMVERS_FALSE@version_arg =
3cbc7af0 354@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
fb5c309d
BK
355@ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
356@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.explist
357@ENABLE_SYMVERS_FALSE@version_dep =
3cbc7af0 358@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
fb5c309d 359@ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
93b85586 360
6aa43d99 361# Source files linked in via configuration/make substitution for a
a30335e9 362# particular host.
ff66d28f 363host_sources = \
2c5d0ae8 364 atomicity.cc \
ff66d28f
PE
365 codecvt_members.cc \
366 collate_members.cc \
367 ctype_members.cc \
368 messages_members.cc \
369 monetary_members.cc \
370 numeric_members.cc \
2c5d0ae8
BK
371 time_members.cc
372
2c5d0ae8 373atomicity_file = ${glibcxx_srcdir}/$(ATOMICITY_SRCDIR)/atomicity.h
38cca750 374
6aa43d99 375# Source files linked in via configuration/make substitution for a
a30335e9 376# particular host, but with ad hoc naming rules.
ff66d28f 377host_sources_extra = \
c2ba9709 378 basic_file.cc c++locale.cc ${ldbl_compat_sources} ${parallel_sources}
38cca750 379
c2ba9709 380@ENABLE_PARALLEL_FALSE@parallel_sources =
ee1b5fc5 381@ENABLE_PARALLEL_TRUE@parallel_sources = parallel_list.cc parallel_settings.cc
6defecc2
JJ
382@GLIBCXX_LDBL_COMPAT_FALSE@ldbl_compat_sources =
383@GLIBCXX_LDBL_COMPAT_TRUE@ldbl_compat_sources = compatibility-ldbl.cc
38cca750
BK
384
385# Sources present in the src directory.
ff66d28f 386sources = \
d466a7e2 387 atomic.cc \
1399eca1 388 bitmap_allocator.cc \
8bfd0a46
BK
389 pool_allocator.cc \
390 mt_allocator.cc \
ff66d28f 391 codecvt.cc \
bb2b2a24 392 compatibility.cc \
ff66d28f 393 complex_io.cc \
ff66d28f 394 ctype.cc \
285b36d6 395 debug.cc \
ff66d28f 396 functexcept.cc \
9adfc73c
BK
397 hash.cc \
398 hash_c++0x.cc \
c755e77d 399 globals_io.cc \
4d007574
PC
400 hashtable.cc \
401 hashtable_c++0x.cc \
ff66d28f 402 ios.cc \
93d04686 403 ios_failure.cc \
c755e77d
BK
404 ios_init.cc \
405 ios_locale.cc \
ff66d28f 406 limits.cc \
5fb0445d 407 limits_c++0x.cc \
e135a038 408 list.cc \
c2ba9709 409 debug_list.cc \
ff66d28f 410 locale.cc \
c755e77d
BK
411 locale_init.cc \
412 locale_facets.cc \
ff66d28f 413 localename.cc \
c755e77d 414 stdexcept.cc \
c755e77d 415 strstream.cc \
0646d8a3 416 system_error.cc \
e135a038 417 tree.cc \
c755e77d
BK
418 allocator-inst.cc \
419 concept-inst.cc \
420 fstream-inst.cc \
421 ext-inst.cc \
6fbcd2e5
BK
422 ios-inst.cc \
423 iostream-inst.cc \
c755e77d 424 istream-inst.cc \
adb31ad6 425 istream.cc \
c755e77d 426 locale-inst.cc \
ff66d28f
PE
427 misc-inst.cc \
428 ostream-inst.cc \
429 sstream-inst.cc \
ff66d28f 430 streambuf-inst.cc \
2bf8accc 431 streambuf.cc \
ff66d28f 432 string-inst.cc \
ff66d28f 433 valarray-inst.cc \
c755e77d 434 wlocale-inst.cc \
ff66d28f 435 wstring-inst.cc \
68a97d24
BK
436 mutex.cc \
437 condition_variable.cc \
15e38d0d 438 chrono.cc \
46e113bf 439 thread.cc \
ff66d28f 440 ${host_sources} \
c2ba9709 441 ${host_sources_extra}
e26cb7ab 442
b2dad0e3 443libstdc___la_SOURCES = $(sources)
ff66d28f 444libstdc___la_LIBADD = \
ec6fa56a 445 $(GLIBCXX_LIBS) \
ec6fa56a
PB
446 $(top_builddir)/libsupc++/libsupc++convenience.la
447
448libstdc___la_DEPENDENCIES = \
449 ${version_dep} \
ff66d28f 450 $(top_builddir)/libsupc++/libsupc++convenience.la
5d89258a 451
ff66d28f 452libstdc___la_LDFLAGS = \
86025553 453 -version-info $(libtool_VERSION) ${version_arg} -lm
263c6fa8 454
b2dad0e3 455
4a9d5109
SW
456# Use special rules for the deprecated source files so that they find
457# deprecated include files.
ca618b60 458GLIBCXX_INCLUDE_DIR = $(glibcxx_builddir)/include
fc81ccd3 459
847eb551
BK
460# Use special rules for parallel mode compilation.
461PARALLEL_FLAGS = -fopenmp -D_GLIBCXX_PARALLEL -I$(glibcxx_builddir)/../libgomp
462
0b8e0cf3 463# AM_CXXFLAGS needs to be in each subdirectory so that it can be
a9117427
BK
464# modified in a per-library or per-sub-library way. Need to manually
465# set this option because CONFIG_CXXFLAGS has to be after
466# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
e6b7a69a 467# as the occasion calls for it.
ff66d28f
PE
468AM_CXXFLAGS = \
469 -fno-implicit-templates \
ff66d28f
PE
470 $(WARN_CXXFLAGS) \
471 $(OPTIMIZE_CXXFLAGS) \
472 $(CONFIG_CXXFLAGS)
a9117427
BK
473
474
475# libstdc++ libtool notes
476
477# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
478# last. (That way, things like -O2 passed down from the toplevel can
479# be overridden by --enable-debug.)
480
481# 2) In general, libtool expects an argument such as `--tag=CXX' when
482# using the C++ compiler, because that will enable the settings
483# detected when C++ support was being configured. However, when no
484# such flag is given in the command line, libtool attempts to figure
485# it out by matching the compiler name in each configuration section
486# against a prefix of the command line. The problem is that, if the
487# compiler name and its initial flags stored in the libtool
488# configuration file don't match those in the command line, libtool
489# can't decide which configuration to use, and it gives up. The
490# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
491# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
492# attempt to infer which configuration to use
ff66d28f 493LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
b967bf25 494 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
a9117427 495
d79e6356 496LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
a9117427 497
787d2fb7
AO
498# 3) We'd have a problem when building the shared libstdc++ object if
499# the rules automake generates would be used. We cannot allow g++ to
500# be used since this would add -lstdc++ to the link line which of
501# course is problematic at this point. So, we get the top-level
502# directory to configure libstdc++-v3 to use gcc as the C++
503# compilation driver.
ff66d28f 504CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
d79e6356 505 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
a9117427 506
6aa43d99 507debugdir = debug
ff66d28f 508all: all-am
b2dad0e3 509
ff66d28f
PE
510.SUFFIXES:
511.SUFFIXES: .cc .lo .o .obj
7eaf73d7
KC
512$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
513 @for dep in $?; do \
514 case '$(am__configure_deps)' in \
515 *$$dep*) \
516 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
517 && exit 0; \
518 exit 1;; \
519 esac; \
520 done; \
521 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/Makefile'; \
ff66d28f 522 cd $(top_srcdir) && \
7eaf73d7
KC
523 $(AUTOMAKE) --foreign --ignore-deps src/Makefile
524.PRECIOUS: Makefile
525Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
526 @case '$?' in \
527 *config.status*) \
528 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
529 *) \
530 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
531 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
532 esac;
533
534$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
535 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
536
537$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
538 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
539$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
540 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
b2dad0e3
BK
541install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
542 @$(NORMAL_INSTALL)
7eed349e 543 test -z "$(toolexeclibdir)" || $(mkdir_p) "$(DESTDIR)$(toolexeclibdir)"
b2dad0e3
BK
544 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
545 if test -f $$p; then \
a60945f8 546 f=$(am__strip_dir) \
7eaf73d7
KC
547 echo " $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
548 $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(toolexeclibdir)/$$f"; \
b2dad0e3
BK
549 else :; fi; \
550 done
551
552uninstall-toolexeclibLTLIBRARIES:
553 @$(NORMAL_UNINSTALL)
7eed349e 554 @set -x; list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
a60945f8 555 p=$(am__strip_dir) \
7eaf73d7
KC
556 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$p'"; \
557 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$p"; \
b2dad0e3
BK
558 done
559
ff66d28f
PE
560clean-toolexeclibLTLIBRARIES:
561 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
562 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
563 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
7eaf73d7 564 test "$$dir" != "$$p" || dir=.; \
ff66d28f
PE
565 echo "rm -f \"$${dir}/so_locations\""; \
566 rm -f "$${dir}/so_locations"; \
567 done
568libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
7eed349e 569 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
b2dad0e3
BK
570
571mostlyclean-compile:
7eaf73d7 572 -rm -f *.$(OBJEXT)
b2dad0e3
BK
573
574distclean-compile:
575 -rm -f *.tab.c
576
ff66d28f 577.cc.o:
7eaf73d7 578 $(CXXCOMPILE) -c -o $@ $<
8b5fd469 579
ff66d28f 580.cc.obj:
7eaf73d7 581 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
b2dad0e3 582
ff66d28f 583.cc.lo:
7eaf73d7 584 $(LTCXXCOMPILE) -c -o $@ $<
b2dad0e3
BK
585
586mostlyclean-libtool:
587 -rm -f *.lo
588
589clean-libtool:
590 -rm -rf .libs _libs
591
7eed349e
PC
592distclean-libtool:
593 -rm -f libtool
594uninstall-info-am:
595
ff66d28f
PE
596ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
597 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
598 unique=`for i in $$list; do \
599 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
600 done | \
601 $(AWK) ' { files[$$0] = 1; } \
b2dad0e3 602 END { for (i in files) print i; }'`; \
ff66d28f 603 mkid -fID $$unique
7eaf73d7 604tags: TAGS
b2dad0e3 605
ff66d28f
PE
606TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
607 $(TAGS_FILES) $(LISP)
1fd2f510
BK
608 tags=; \
609 here=`pwd`; \
ff66d28f
PE
610 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
611 unique=`for i in $$list; do \
612 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
613 done | \
614 $(AWK) ' { files[$$0] = 1; } \
1fd2f510 615 END { for (i in files) print i; }'`; \
7eaf73d7
KC
616 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
617 test -n "$$unique" || unique=$$empty_fix; \
618 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
619 $$tags $$unique; \
620 fi
ff66d28f
PE
621ctags: CTAGS
622CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
623 $(TAGS_FILES) $(LISP)
624 tags=; \
625 here=`pwd`; \
626 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
627 unique=`for i in $$list; do \
628 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
629 done | \
630 $(AWK) ' { files[$$0] = 1; } \
631 END { for (i in files) print i; }'`; \
632 test -z "$(CTAGS_ARGS)$$tags$$unique" \
633 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
634 $$tags $$unique
b2dad0e3 635
ff66d28f
PE
636GTAGS:
637 here=`$(am__cd) $(top_builddir) && pwd` \
638 && cd $(top_srcdir) \
639 && gtags -i $(GTAGS_ARGS) $$here
b2dad0e3
BK
640
641distclean-tags:
ff66d28f 642 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
b2dad0e3
BK
643
644distdir: $(DISTFILES)
7eed349e
PC
645 $(mkdir_p) $(distdir)/..
646 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
647 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
648 list='$(DISTFILES)'; for file in $$list; do \
649 case $$file in \
650 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
651 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
652 esac; \
ff66d28f 653 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
7eed349e
PC
654 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
655 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
656 dir="/$$dir"; \
657 $(mkdir_p) "$(distdir)$$dir"; \
658 else \
659 dir=''; \
660 fi; \
b2dad0e3 661 if test -d $$d/$$file; then \
ff66d28f
PE
662 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
663 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
664 fi; \
665 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
b2dad0e3
BK
666 else \
667 test -f $(distdir)/$$file \
ff66d28f
PE
668 || cp -p $$d/$$file $(distdir)/$$file \
669 || exit 1; \
b2dad0e3
BK
670 fi; \
671 done
ff66d28f 672check-am: all-am
b2dad0e3 673check: check-am
ff66d28f 674all-am: Makefile $(LTLIBRARIES) all-local
ff66d28f 675installdirs:
7eaf73d7 676 for dir in "$(DESTDIR)$(toolexeclibdir)"; do \
7eed349e 677 test -z "$$dir" || $(mkdir_p) "$$dir"; \
7eaf73d7 678 done
ff66d28f
PE
679install: install-am
680install-exec: install-exec-am
b2dad0e3 681install-data: install-data-am
ff66d28f 682uninstall: uninstall-am
b2dad0e3
BK
683
684install-am: all-am
685 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
b2dad0e3 686
ff66d28f
PE
687installcheck: installcheck-am
688install-strip:
689 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
ec2075e9 690 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
ff66d28f
PE
691 `test -z '$(STRIP)' || \
692 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
b2dad0e3
BK
693mostlyclean-generic:
694
695clean-generic:
696
697distclean-generic:
a60945f8 698 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
b2dad0e3
BK
699
700maintainer-clean-generic:
ff66d28f
PE
701 @echo "This command is intended for maintainers to use"
702 @echo "it deletes files that may require special tools to rebuild."
703clean: clean-am
b2dad0e3 704
ff66d28f
PE
705clean-am: clean-generic clean-libtool clean-toolexeclibLTLIBRARIES \
706 mostlyclean-am
b2dad0e3 707
ff66d28f 708distclean: distclean-am
c755e77d 709 -rm -f Makefile
ff66d28f 710distclean-am: clean-am distclean-compile distclean-generic \
7eed349e 711 distclean-libtool distclean-tags
b2dad0e3 712
ff66d28f 713dvi: dvi-am
b2dad0e3 714
ff66d28f 715dvi-am:
b2dad0e3 716
7eaf73d7
KC
717html: html-am
718
ff66d28f
PE
719info: info-am
720
721info-am:
722
723install-data-am: install-data-local
724
725install-exec-am: install-toolexeclibLTLIBRARIES
726
727install-info: install-info-am
728
729install-man:
730
731installcheck-am:
b2dad0e3
BK
732
733maintainer-clean: maintainer-clean-am
c755e77d 734 -rm -f Makefile
ff66d28f
PE
735maintainer-clean-am: distclean-am maintainer-clean-generic
736
737mostlyclean: mostlyclean-am
738
739mostlyclean-am: mostlyclean-compile mostlyclean-generic \
740 mostlyclean-libtool
741
742pdf: pdf-am
743
744pdf-am:
745
746ps: ps-am
747
748ps-am:
749
7eed349e 750uninstall-am: uninstall-info-am uninstall-toolexeclibLTLIBRARIES
ff66d28f
PE
751
752.PHONY: CTAGS GTAGS all all-am all-local check check-am clean \
753 clean-generic clean-libtool clean-toolexeclibLTLIBRARIES ctags \
7eaf73d7
KC
754 distclean distclean-compile distclean-generic \
755 distclean-libtool distclean-tags distdir dvi dvi-am html \
756 html-am info info-am install install-am install-data \
7eed349e
PC
757 install-data-am install-data-local install-exec \
758 install-exec-am install-info install-info-am install-man \
759 install-strip install-toolexeclibLTLIBRARIES installcheck \
760 installcheck-am installdirs maintainer-clean \
761 maintainer-clean-generic mostlyclean mostlyclean-compile \
762 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
763 tags uninstall uninstall-am uninstall-info-am \
764 uninstall-toolexeclibLTLIBRARIES
6aa43d99 765
f9314d01
GK
766
767# Symbol versioning for shared libraries.
fb5c309d
BK
768@ENABLE_SYMVERS_TRUE@libstdc++-symbols.ver: ${glibcxx_srcdir}/$(SYMVER_FILE) \
769@ENABLE_SYMVERS_TRUE@ $(port_specific_symbol_files)
770@ENABLE_SYMVERS_TRUE@ cp ${glibcxx_srcdir}/$(SYMVER_FILE) ./libstdc++-symbols.ver
593124a7 771@ENABLE_SYMVERS_TRUE@ chmod +w ./libstdc++-symbols.ver
fb5c309d 772@ENABLE_SYMVERS_TRUE@ if test "x$(port_specific_symbol_files)" != x; then \
6defecc2
JJ
773@ENABLE_SYMVERS_TRUE@ if grep '^# Appended to version file.' \
774@ENABLE_SYMVERS_TRUE@ $(port_specific_symbol_files) /dev/null > /dev/null 2>&1; then \
775@ENABLE_SYMVERS_TRUE@ cat $(port_specific_symbol_files) >> $@; \
776@ENABLE_SYMVERS_TRUE@ else \
777@ENABLE_SYMVERS_TRUE@ sed -n '1,/DO NOT DELETE/p' $@ > tmp.top; \
778@ENABLE_SYMVERS_TRUE@ sed -n '/DO NOT DELETE/,$$p' $@ > tmp.bottom; \
779@ENABLE_SYMVERS_TRUE@ cat tmp.top $(port_specific_symbol_files) tmp.bottom > $@; \
780@ENABLE_SYMVERS_TRUE@ rm tmp.top tmp.bottom; \
781@ENABLE_SYMVERS_TRUE@ fi; \
fb5c309d
BK
782@ENABLE_SYMVERS_TRUE@ fi
783@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@libstdc++-symbols.explist : libstdc++-symbols.ver \
784@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ ${glibcxx_srcdir}/scripts/make_exports.pl \
785@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
786@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ perl ${glibcxx_srcdir}/scripts/make_exports.pl \
787@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ libstdc++-symbols.ver \
788@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
789@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ `echo $(libstdc___la_LIBADD) | \
790@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
791@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ > $@ || (rm -f $@ ; exit 1)
b2dad0e3 792
ca618b60
PE
793codecvt_members.cc: ${glibcxx_srcdir}/$(CCODECVT_CC)
794 $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_CC) . || true
6aa43d99 795
ca618b60
PE
796collate_members.cc: ${glibcxx_srcdir}/$(CCOLLATE_CC)
797 $(LN_S) ${glibcxx_srcdir}/$(CCOLLATE_CC) . || true
6aa43d99 798
ca618b60
PE
799ctype_members.cc: ${glibcxx_srcdir}/$(CCTYPE_CC)
800 $(LN_S) ${glibcxx_srcdir}/$(CCTYPE_CC) . || true
6aa43d99 801
ca618b60
PE
802messages_members.cc: ${glibcxx_srcdir}/$(CMESSAGES_CC)
803 $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_CC) . || true
6aa43d99 804
ca618b60
PE
805monetary_members.cc: ${glibcxx_srcdir}/$(CMONEY_CC)
806 $(LN_S) ${glibcxx_srcdir}/$(CMONEY_CC) . || true
6aa43d99 807
ca618b60
PE
808numeric_members.cc: ${glibcxx_srcdir}/$(CNUMERIC_CC)
809 $(LN_S) ${glibcxx_srcdir}/$(CNUMERIC_CC) . || true
6aa43d99 810
ca618b60
PE
811time_members.cc: ${glibcxx_srcdir}/$(CTIME_CC)
812 $(LN_S) ${glibcxx_srcdir}/$(CTIME_CC) . || true
2c5d0ae8
BK
813atomicity.cc: ${atomicity_file}
814 $(LN_S) ${atomicity_file} ./atomicity.cc || true
6aa43d99 815
ca618b60
PE
816c++locale.cc: ${glibcxx_srcdir}/$(CLOCALE_CC)
817 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_CC) ./$@ || true
6aa43d99 818
ca618b60
PE
819basic_file.cc: ${glibcxx_srcdir}/$(BASIC_FILE_CC)
820 $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_CC) ./$@ || true
d683ec81
PB
821
822vpath % $(top_srcdir)/src
823vpath % $(top_srcdir)
e08838ac 824strstream.lo: strstream.cc
3d7c150e 825 $(LTCXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $<
e08838ac 826strstream.o: strstream.cc
3d7c150e 827 $(CXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $<
e08838ac 828
4d16bdbb
PE
829# Use special rules for the concept-checking instantiations so that all
830# the generated template functions are also instantiated. Force the checks
831# to be on so that the instantiations are actually seen.
832concept-inst.lo: concept-inst.cc
3d7c150e 833 $(LTCXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $<
4d16bdbb 834concept-inst.o: concept-inst.cc
3d7c150e 835 $(CXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $<
c2ba9709 836parallel_list.lo: parallel_list.cc
847eb551 837 $(LTCXXCOMPILE) $(PARALLEL_FLAGS) -c $<
c2ba9709 838parallel_list.o: parallel_list.cc
847eb551 839 $(CXXCOMPILE) $(PARALLEL_FLAGS) -c $<
c2ba9709 840
ee1b5fc5
BK
841parallel_settings.lo: parallel_settings.cc
842 $(LTCXXCOMPILE) $(PARALLEL_FLAGS) -c $<
843parallel_settings.o: parallel_settings.cc
844 $(CXXCOMPILE) $(PARALLEL_FLAGS) -c $<
845
0646d8a3 846# Use special rules for the C++0x sources so that the proper flags are passed.
68a97d24
BK
847functexcept.lo: functexcept.cc
848 $(LTCXXCOMPILE) -std=gnu++0x -c $<
849functexcept.o: functexcept.cc
850 $(CXXCOMPILE) -std=gnu++0x -c $<
851
0646d8a3
BK
852system_error.lo: system_error.cc
853 $(LTCXXCOMPILE) -std=gnu++0x -c $<
854system_error.o: system_error.cc
855 $(CXXCOMPILE) -std=gnu++0x -c $<
856
68a97d24
BK
857mutex.lo: mutex.cc
858 $(LTCXXCOMPILE) -std=gnu++0x -c $<
859mutex.o: mutex.cc
860 $(CXXCOMPILE) -std=gnu++0x -c $<
861
862condition_variable.lo: condition_variable.cc
863 $(LTCXXCOMPILE) -std=gnu++0x -c $<
864condition_variable.o: condition_variable.cc
865 $(CXXCOMPILE) -std=gnu++0x -c $<
866
9adfc73c
BK
867hash_c++0x.lo: hash_c++0x.cc
868 $(LTCXXCOMPILE) -std=gnu++0x -c $<
869hash_c++0x.o: hash_c++0x.cc
870 $(CXXCOMPILE) -std=gnu++0x -c $<
871
4d007574
PC
872hashtable_c++0x.lo: hashtable_c++0x.cc
873 $(LTCXXCOMPILE) -std=gnu++0x -c $<
874hashtable_c++0x.o: hashtable_c++0x.cc
875 $(CXXCOMPILE) -std=gnu++0x -c $<
876
5fb0445d
PC
877limits_c++0x.lo: limits_c++0x.cc
878 $(LTCXXCOMPILE) -std=gnu++0x -c $<
879limits_c++0x.o: limits_c++0x.cc
880 $(CXXCOMPILE) -std=gnu++0x -c $<
881
d466a7e2 882atomic.lo: atomic.cc
7581b88a 883 $(LTCXXCOMPILE) -std=gnu++0x -c $<
d466a7e2 884atomic.o: atomic.cc
7581b88a 885 $(CXXCOMPILE) -std=gnu++0x -c $<
d466a7e2 886
988499f4
JM
887string-inst.lo: string-inst.cc
888 $(LTCXXCOMPILE) -std=gnu++0x -c $<
889string-inst.o: string-inst.cc
890 $(CXXCOMPILE) -std=gnu++0x -c $<
891
892wstring-inst.lo: wstring-inst.cc
893 $(LTCXXCOMPILE) -std=gnu++0x -c $<
894wstring-inst.o: wstring-inst.cc
895 $(CXXCOMPILE) -std=gnu++0x -c $<
896
15e38d0d
CF
897chrono.lo: chrono.cc
898 $(LTCXXCOMPILE) -std=gnu++0x -c $<
899chrono.o: chrono.cc
900 $(CXXCOMPILE) -std=gnu++0x -c $<
901
46e113bf
CF
902thread.lo: thread.cc
903 $(LTCXXCOMPILE) -std=gnu++0x -c $<
904thread.o: thread.cc
905 $(CXXCOMPILE) -std=gnu++0x -c $<
906
6defecc2
JJ
907# Use special rules for compatibility-ldbl.cc compilation, as we need to
908# pass -mlong-double-64.
909@GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.lo: compatibility-ldbl.cc
910@GLIBCXX_LDBL_COMPAT_TRUE@ $(LTCXXCOMPILE) -mlong-double-64 -c $<
911@GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.o: compatibility-ldbl.cc
912@GLIBCXX_LDBL_COMPAT_TRUE@ $(CXXCOMPILE) -mlong-double-64 -c $<
913
6aa43d99 914# Added bits to build debug library.
3d7c150e
BK
915@GLIBCXX_BUILD_DEBUG_TRUE@all-local: build_debug
916@GLIBCXX_BUILD_DEBUG_TRUE@install-data-local: install_debug
917@GLIBCXX_BUILD_DEBUG_FALSE@all-local:
e6b7a69a 918@GLIBCXX_BUILD_DEBUG_FALSE@install-data-local:
6aa43d99 919
9adfc73c 920# Build a set of debug objects here.
e6b7a69a 921stamp-debug:
6aa43d99
BK
922 if test ! -d ${debugdir}; then \
923 mkdir -p ${debugdir}; \
924 (cd ${debugdir}; \
7ec3af37
BK
925 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
926 -e 's/srcdir = \.\./srcdir = ..\/../' \
3d7c150e 927 -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
7ec3af37
BK
928 -e 's/all-local: build_debug/all-local:/' \
929 -e 's/install-data-local: install_debug/install-data-local:/' \
930 < ../Makefile > Makefile) ; \
6aa43d99 931 fi; \
e6b7a69a 932 echo `date` > stamp-debug;
6aa43d99
BK
933
934build_debug: stamp-debug
ca618b60 935 (cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' all)
6aa43d99
BK
936
937# Install debug library here.
e6b7a69a 938install_debug:
6aa43d99 939 (cd ${debugdir} && $(MAKE) \
ca618b60 940 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install)
b2dad0e3
BK
941# Tell versions [3.59,3.63) of GNU make to not export all variables.
942# Otherwise a system limit (for SysV at least) may be exceeded.
943.NOEXPORT: