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