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