OSDN Git Service

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