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