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