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