OSDN Git Service

2012-12-10 Matthias Klose <doko@ubuntu.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 @GLIBCXX_LDBL_COMPAT_TRUE@am__objects_1 = compatibility-ldbl.lo
92 @ENABLE_PARALLEL_TRUE@am__objects_2 = compatibility-parallel_list.lo \
93 @ENABLE_PARALLEL_TRUE@  compatibility-parallel_list-2.lo
94 am__objects_3 = compatibility.lo compatibility-debug_list.lo \
95         compatibility-debug_list-2.lo compatibility-list.lo \
96         compatibility-list-2.lo $(am__objects_1) $(am__objects_2)
97 am__objects_4 = compatibility-c++0x.lo compatibility-atomic-c++0x.lo \
98         compatibility-thread-c++0x.lo
99 am_libstdc___la_OBJECTS = $(am__objects_3) $(am__objects_4)
100 libstdc___la_OBJECTS = $(am_libstdc___la_OBJECTS)
101 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
102 depcomp =
103 am__depfiles_maybe =
104 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
105         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
106 CXXLD = $(CXX)
107 SOURCES = $(libstdc___la_SOURCES)
108 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
109         html-recursive info-recursive install-data-recursive \
110         install-dvi-recursive install-exec-recursive \
111         install-html-recursive install-info-recursive \
112         install-pdf-recursive install-ps-recursive install-recursive \
113         installcheck-recursive installdirs-recursive pdf-recursive \
114         ps-recursive uninstall-recursive
115 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
116   distclean-recursive maintainer-clean-recursive
117 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
118         $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS
119 ETAGS = etags
120 CTAGS = ctags
121 DIST_SUBDIRS = $(SUBDIRS)
122 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
123 ACLOCAL = @ACLOCAL@
124 ALLOCATOR_H = @ALLOCATOR_H@
125 ALLOCATOR_NAME = @ALLOCATOR_NAME@
126 AMTAR = @AMTAR@
127 AR = @AR@
128 AS = @AS@
129 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
130 ATOMIC_FLAGS = @ATOMIC_FLAGS@
131 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
132 AUTOCONF = @AUTOCONF@
133 AUTOHEADER = @AUTOHEADER@
134 AUTOMAKE = @AUTOMAKE@
135 AWK = @AWK@
136 BASIC_FILE_CC = @BASIC_FILE_CC@
137 BASIC_FILE_H = @BASIC_FILE_H@
138 CC = @CC@
139 CCODECVT_CC = @CCODECVT_CC@
140 CCOLLATE_CC = @CCOLLATE_CC@
141 CCTYPE_CC = @CCTYPE_CC@
142 CFLAGS = @CFLAGS@
143 CLOCALE_CC = @CLOCALE_CC@
144 CLOCALE_H = @CLOCALE_H@
145 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
146 CMESSAGES_CC = @CMESSAGES_CC@
147 CMESSAGES_H = @CMESSAGES_H@
148 CMONEY_CC = @CMONEY_CC@
149 CNUMERIC_CC = @CNUMERIC_CC@
150 CPP = @CPP@
151 CPPFLAGS = @CPPFLAGS@
152 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
153 CSTDIO_H = @CSTDIO_H@
154 CTIME_CC = @CTIME_CC@
155 CTIME_H = @CTIME_H@
156 CXX = @CXX@
157 CXXCPP = @CXXCPP@
158 CXXFILT = @CXXFILT@
159 CXXFLAGS = @CXXFLAGS@
160 CYGPATH_W = @CYGPATH_W@
161 C_INCLUDE_DIR = @C_INCLUDE_DIR@
162 DBLATEX = @DBLATEX@
163 DEBUG_FLAGS = @DEBUG_FLAGS@
164 DEFS = @DEFS@
165 DOT = @DOT@
166 DOXYGEN = @DOXYGEN@
167 DSYMUTIL = @DSYMUTIL@
168 DUMPBIN = @DUMPBIN@
169 ECHO_C = @ECHO_C@
170 ECHO_N = @ECHO_N@
171 ECHO_T = @ECHO_T@
172 EGREP = @EGREP@
173 ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
174 EXEEXT = @EXEEXT@
175 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
176 FGREP = @FGREP@
177 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
178 GLIBCXX_LIBS = @GLIBCXX_LIBS@
179 GREP = @GREP@
180 INSTALL = @INSTALL@
181 INSTALL_DATA = @INSTALL_DATA@
182 INSTALL_PROGRAM = @INSTALL_PROGRAM@
183 INSTALL_SCRIPT = @INSTALL_SCRIPT@
184 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
185 LD = @LD@
186 LDFLAGS = @LDFLAGS@
187 LIBICONV = @LIBICONV@
188 LIBOBJS = @LIBOBJS@
189 LIBS = @LIBS@
190 LIBTOOL = @LIBTOOL@
191 LIPO = @LIPO@
192 LN_S = @LN_S@
193 LTLIBICONV = @LTLIBICONV@
194 LTLIBOBJS = @LTLIBOBJS@
195 MAINT = @MAINT@
196 MAKEINFO = @MAKEINFO@
197 MKDIR_P = @MKDIR_P@
198 NM = @NM@
199 NMEDIT = @NMEDIT@
200 OBJDUMP = @OBJDUMP@
201 OBJEXT = @OBJEXT@
202 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
203 OPT_LDFLAGS = @OPT_LDFLAGS@
204 OS_INC_SRCDIR = @OS_INC_SRCDIR@
205 OTOOL = @OTOOL@
206 OTOOL64 = @OTOOL64@
207 PACKAGE = @PACKAGE@
208 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
209 PACKAGE_NAME = @PACKAGE_NAME@
210 PACKAGE_STRING = @PACKAGE_STRING@
211 PACKAGE_TARNAME = @PACKAGE_TARNAME@
212 PACKAGE_URL = @PACKAGE_URL@
213 PACKAGE_VERSION = @PACKAGE_VERSION@
214 PATH_SEPARATOR = @PATH_SEPARATOR@
215 PDFLATEX = @PDFLATEX@
216 RANLIB = @RANLIB@
217 SECTION_FLAGS = @SECTION_FLAGS@
218 SECTION_LDFLAGS = @SECTION_LDFLAGS@
219 SED = @SED@
220 SET_MAKE = @SET_MAKE@
221 SHELL = @SHELL@
222 STRIP = @STRIP@
223 SYMVER_FILE = @SYMVER_FILE@
224 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
225 USE_NLS = @USE_NLS@
226 VERSION = @VERSION@
227 WARN_FLAGS = @WARN_FLAGS@
228 WERROR = @WERROR@
229 XMLLINT = @XMLLINT@
230 XSLTPROC = @XSLTPROC@
231 XSL_STYLE_DIR = @XSL_STYLE_DIR@
232 abs_builddir = @abs_builddir@
233 abs_srcdir = @abs_srcdir@
234 abs_top_builddir = @abs_top_builddir@
235 abs_top_srcdir = @abs_top_srcdir@
236 ac_ct_CC = @ac_ct_CC@
237 ac_ct_CXX = @ac_ct_CXX@
238 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
239 am__leading_dot = @am__leading_dot@
240 am__tar = @am__tar@
241 am__untar = @am__untar@
242 baseline_dir = @baseline_dir@
243 baseline_subdir_switch = @baseline_subdir_switch@
244 bindir = @bindir@
245 build = @build@
246 build_alias = @build_alias@
247 build_cpu = @build_cpu@
248 build_os = @build_os@
249 build_vendor = @build_vendor@
250 builddir = @builddir@
251 check_msgfmt = @check_msgfmt@
252 datadir = @datadir@
253 datarootdir = @datarootdir@
254 docdir = @docdir@
255 dvidir = @dvidir@
256 enable_shared = @enable_shared@
257 enable_static = @enable_static@
258 exec_prefix = @exec_prefix@
259 glibcxx_MOFILES = @glibcxx_MOFILES@
260 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
261 glibcxx_POFILES = @glibcxx_POFILES@
262 glibcxx_builddir = @glibcxx_builddir@
263 glibcxx_compiler_pic_flag = @glibcxx_compiler_pic_flag@
264 glibcxx_compiler_shared_flag = @glibcxx_compiler_shared_flag@
265 glibcxx_localedir = @glibcxx_localedir@
266 glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
267 glibcxx_prefixdir = @glibcxx_prefixdir@
268 glibcxx_srcdir = @glibcxx_srcdir@
269 glibcxx_toolexecdir = @glibcxx_toolexecdir@
270 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
271 gxx_include_dir = @gxx_include_dir@
272 host = @host@
273 host_alias = @host_alias@
274 host_cpu = @host_cpu@
275 host_os = @host_os@
276 host_vendor = @host_vendor@
277 htmldir = @htmldir@
278 includedir = @includedir@
279 infodir = @infodir@
280 install_sh = @install_sh@
281 libdir = @libdir@
282 libexecdir = @libexecdir@
283 libtool_VERSION = @libtool_VERSION@
284 localedir = @localedir@
285 localstatedir = @localstatedir@
286 lt_host_flags = @lt_host_flags@
287 mandir = @mandir@
288 mkdir_p = @mkdir_p@
289 multi_basedir = @multi_basedir@
290 oldincludedir = @oldincludedir@
291 pdfdir = @pdfdir@
292 port_specific_symbol_files = @port_specific_symbol_files@
293 prefix = @prefix@
294 program_transform_name = @program_transform_name@
295 psdir = @psdir@
296 python_mod_dir = @python_mod_dir@
297 sbindir = @sbindir@
298 sharedstatedir = @sharedstatedir@
299 srcdir = @srcdir@
300 sysconfdir = @sysconfdir@
301 target = @target@
302 target_alias = @target_alias@
303 target_cpu = @target_cpu@
304 target_os = @target_os@
305 target_vendor = @target_vendor@
306 top_build_prefix = @top_build_prefix@
307 top_builddir = @top_builddir@
308 top_srcdir = @top_srcdir@
309 toplevel_builddir = @toplevel_builddir@
310 toplevel_srcdir = @toplevel_srcdir@
311
312 # May be used by various substitution variables.
313 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
314 MAINT_CHARSET = latin1
315 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
316 PWD_COMMAND = $${PWDCMD-pwd}
317 STAMP = echo timestamp >
318 toolexecdir = $(glibcxx_toolexecdir)
319 toolexeclibdir = $(glibcxx_toolexeclibdir)
320 @ENABLE_WERROR_FALSE@WERROR_FLAG = 
321 @ENABLE_WERROR_TRUE@WERROR_FLAG = $(WERROR)
322
323 # These bits are all figured out from configure.  Look in acinclude.m4
324 # or configure.ac to see how they are set.  See GLIBCXX_EXPORT_FLAGS.
325 CONFIG_CXXFLAGS = \
326         $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS) -frandom-seed=$@
327
328 WARN_CXXFLAGS = \
329         $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once 
330
331
332 # -I/-D flags to pass when compiling.
333 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
334 SUBDIRS = c++98 c++11
335
336 # Cross compiler support.
337 toolexeclib_LTLIBRARIES = libstdc++.la
338 @GLIBCXX_LDBL_COMPAT_FALSE@ldbl_compat_sources = 
339 @GLIBCXX_LDBL_COMPAT_TRUE@ldbl_compat_sources = compatibility-ldbl.cc
340 @ENABLE_PARALLEL_FALSE@parallel_compat_sources = 
341 @ENABLE_PARALLEL_TRUE@parallel_compat_sources = \
342 @ENABLE_PARALLEL_TRUE@  compatibility-parallel_list.cc  compatibility-parallel_list-2.cc
343
344 cxx98_sources = \
345         compatibility.cc \
346         compatibility-debug_list.cc \
347         compatibility-debug_list-2.cc \
348         compatibility-list.cc \
349         compatibility-list-2.cc \
350         ${ldbl_compat_sources} \
351         ${parallel_compat_sources}
352
353 cxx11_sources = \
354         compatibility-c++0x.cc \
355         compatibility-atomic-c++0x.cc \
356         compatibility-thread-c++0x.cc
357
358 libstdc___la_SOURCES = $(cxx98_sources) $(cxx11_sources)
359 libstdc___la_LIBADD = \
360         $(GLIBCXX_LIBS) \
361         $(top_builddir)/libsupc++/libsupc++convenience.la \
362         $(top_builddir)/src/c++98/libc++98convenience.la \
363         $(top_builddir)/src/c++11/libc++11convenience.la
364
365 libstdc___la_DEPENDENCIES = \
366         ${version_dep} \
367         $(top_builddir)/libsupc++/libsupc++convenience.la \
368         $(top_builddir)/src/c++98/libc++98convenience.la \
369         $(top_builddir)/src/c++11/libc++11convenience.la
370
371 libstdc___la_LDFLAGS = \
372         -version-info $(libtool_VERSION) ${version_arg} -lm
373
374 libstdc___la_LINK = $(CXXLINK) $(libstdc___la_LDFLAGS)
375
376 # Use special rules for parallel mode compilation.
377 PARALLEL_FLAGS = -fopenmp -D_GLIBCXX_PARALLEL -I$(glibcxx_builddir)/../libgomp
378
379 # A note on compatibility and static libraries.
380
381 # static lib == linked against only this version, should not need compat
382 # shared lib == linked against potentially all compat versions
383 #
384 # Thus, the shared libs have more compat symbols, which can be found
385 # segregated in the sources with -D_GLIBCXX_SHARED.
386 #
387 # In the sub-directories of libsupc++, src/c++98, src/c++11, only
388 # -prefer-pic objects are generated for the convenience libraries.
389
390 # In the main src directory, make shared and static objects just for
391 # the compat libraries. Shared objects are compiled with -prefer-pic
392 # -D_GLIBCXX_SHARED and in the .libs sub-directory, static objects are
393 # compiled with -prefer-pic (ie, -fPIC but not -D_GLIBCXX_SHARED) and
394 # the main src directory.
395 #
396 # Why are objects destined for libstdc++.a compiled with -fPIC? First,
397 # because -fPIC is not harmful to use for objects destined for static
398 # libraries. In addition, using -fPIC will allow the use of static
399 # libstdc++.a in the creation of other C++ shared libraries.
400
401 # AM_CXXFLAGS needs to be in each sub-directory so that it can be
402 # modified in a per-library or per-sub-library way.  Need to manually
403 # set this option because CONFIG_CXXFLAGS has to be after
404 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
405 # as the occasion calls for it.
406 AM_CXXFLAGS = \
407         $(glibcxx_compiler_pic_flag) \
408         $(XTEMPLATE_FLAGS) \
409         $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
410
411
412 # Libtool notes
413
414 # 1) In general, libtool expects an argument such as `--tag=CXX' when
415 # using the C++ compiler, because that will enable the settings
416 # detected when C++ support was being configured.  However, when no
417 # such flag is given in the command line, libtool attempts to figure
418 # it out by matching the compiler name in each configuration section
419 # against a prefix of the command line.  The problem is that, if the
420 # compiler name and its initial flags stored in the libtool
421 # configuration file don't match those in the command line, libtool
422 # can't decide which configuration to use, and it gives up.  The
423 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
424 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
425 # attempt to infer which configuration to use.
426
427 # The second tag argument, `--tag disable-shared` means that libtool
428 # only compiles each source once, for static objects. In actuality,
429 # glibcxx_lt_pic_flag and glibcxx_compiler_shared_flag are added to
430 # the libtool command that is used create the object, which is
431 # suitable for shared libraries.  The `--tag disable-shared` must be
432 # placed after --tag CXX lest things CXX undo the affect of
433 # disable-shared.
434
435 # 2) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
436 # last. (That way, things like -O2 passed down from the toplevel can
437 # be overridden by --enable-debug.)
438 LTCXXCOMPILE = \
439         $(LIBTOOL) --tag CXX \
440         $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
441         --mode=compile $(CXX) $(INCLUDES) \
442         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
443
444 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
445
446 # 3) We'd have a problem when building the shared libstdc++ object if
447 # the rules automake generates would be used.  We cannot allow g++ to
448 # be used since this would add -lstdc++ to the link line which of
449 # course is problematic at this point.  So, we get the top-level
450 # directory to configure libstdc++-v3 to use gcc as the C++
451 # compilation driver.
452 CXXLINK = \
453         $(LIBTOOL) --tag CXX \
454         $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
455         --mode=link $(CXX) \
456         $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
457
458 @ENABLE_SYMVERS_TRUE@CLEANFILES = libstdc++-symbols.ver $(version_dep)
459 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-exported_symbols_list,libstdc++-symbols.explist
460 @ENABLE_SYMVERS_FALSE@version_arg = 
461 @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
462 @ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
463 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-M,libstdc++-symbols.ver-sun
464 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.explist
465 @ENABLE_SYMVERS_FALSE@version_dep = 
466 @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
467 @ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
468 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver-sun
469 @GLIBCXX_BUILD_DEBUG_FALSE@STAMP_DEBUG = 
470
471 # Added rules.
472 # 1 debug library
473 # 2 supra-convenience library
474 @GLIBCXX_BUILD_DEBUG_TRUE@STAMP_DEBUG = build-debug
475 @GLIBCXX_BUILD_DEBUG_FALSE@STAMP_INSTALL_DEBUG = 
476 @GLIBCXX_BUILD_DEBUG_TRUE@STAMP_INSTALL_DEBUG = install-debug
477 @GLIBCXX_BUILD_DEBUG_FALSE@CLEAN_DEBUG = 
478 @GLIBCXX_BUILD_DEBUG_TRUE@CLEAN_DEBUG = debug
479
480 # Build a debug variant.
481 # Take care to fix all possibly-relative paths.
482 debugdir = ${glibcxx_builddir}/src/debug
483 all: all-recursive
484
485 .SUFFIXES:
486 .SUFFIXES: .cc .lo .o .obj
487 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
488         @for dep in $?; do \
489           case '$(am__configure_deps)' in \
490             *$$dep*) \
491               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
492                 && { if test -f $@; then exit 0; else break; fi; }; \
493               exit 1;; \
494           esac; \
495         done; \
496         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/Makefile'; \
497         $(am__cd) $(top_srcdir) && \
498           $(AUTOMAKE) --foreign --ignore-deps src/Makefile
499 .PRECIOUS: Makefile
500 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
501         @case '$?' in \
502           *config.status*) \
503             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
504           *) \
505             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
506             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
507         esac;
508
509 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
510         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
511
512 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
513         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
514 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
515         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
516 $(am__aclocal_m4_deps):
517 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
518         @$(NORMAL_INSTALL)
519         test -z "$(toolexeclibdir)" || $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)"
520         @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
521         list2=; for p in $$list; do \
522           if test -f $$p; then \
523             list2="$$list2 $$p"; \
524           else :; fi; \
525         done; \
526         test -z "$$list2" || { \
527           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
528           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \
529         }
530
531 uninstall-toolexeclibLTLIBRARIES:
532         @$(NORMAL_UNINSTALL)
533         @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
534         for p in $$list; do \
535           $(am__strip_dir) \
536           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
537           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \
538         done
539
540 clean-toolexeclibLTLIBRARIES:
541         -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
542         @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
543           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
544           test "$$dir" != "$$p" || dir=.; \
545           echo "rm -f \"$${dir}/so_locations\""; \
546           rm -f "$${dir}/so_locations"; \
547         done
548 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES) 
549         $(libstdc___la_LINK) -rpath $(toolexeclibdir) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
550
551 mostlyclean-compile:
552         -rm -f *.$(OBJEXT)
553
554 distclean-compile:
555         -rm -f *.tab.c
556
557 .cc.o:
558         $(CXXCOMPILE) -c -o $@ $<
559
560 .cc.obj:
561         $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
562
563 .cc.lo:
564         $(LTCXXCOMPILE) -c -o $@ $<
565
566 mostlyclean-libtool:
567         -rm -f *.lo
568
569 clean-libtool:
570         -rm -rf .libs _libs
571
572 # This directory's subdirectories are mostly independent; you can cd
573 # into them and run `make' without going through this Makefile.
574 # To change the values of `make' variables: instead of editing Makefiles,
575 # (1) if the variable is set in `config.status', edit `config.status'
576 #     (which will cause the Makefiles to be regenerated when you run `make');
577 # (2) otherwise, pass the desired values on the `make' command line.
578 $(RECURSIVE_TARGETS):
579         @fail= failcom='exit 1'; \
580         for f in x $$MAKEFLAGS; do \
581           case $$f in \
582             *=* | --[!k]*);; \
583             *k*) failcom='fail=yes';; \
584           esac; \
585         done; \
586         dot_seen=no; \
587         target=`echo $@ | sed s/-recursive//`; \
588         list='$(SUBDIRS)'; for subdir in $$list; do \
589           echo "Making $$target in $$subdir"; \
590           if test "$$subdir" = "."; then \
591             dot_seen=yes; \
592             local_target="$$target-am"; \
593           else \
594             local_target="$$target"; \
595           fi; \
596           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
597           || eval $$failcom; \
598         done; \
599         if test "$$dot_seen" = "no"; then \
600           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
601         fi; test -z "$$fail"
602
603 $(RECURSIVE_CLEAN_TARGETS):
604         @fail= failcom='exit 1'; \
605         for f in x $$MAKEFLAGS; do \
606           case $$f in \
607             *=* | --[!k]*);; \
608             *k*) failcom='fail=yes';; \
609           esac; \
610         done; \
611         dot_seen=no; \
612         case "$@" in \
613           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
614           *) list='$(SUBDIRS)' ;; \
615         esac; \
616         rev=''; for subdir in $$list; do \
617           if test "$$subdir" = "."; then :; else \
618             rev="$$subdir $$rev"; \
619           fi; \
620         done; \
621         rev="$$rev ."; \
622         target=`echo $@ | sed s/-recursive//`; \
623         for subdir in $$rev; do \
624           echo "Making $$target in $$subdir"; \
625           if test "$$subdir" = "."; then \
626             local_target="$$target-am"; \
627           else \
628             local_target="$$target"; \
629           fi; \
630           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
631           || eval $$failcom; \
632         done && test -z "$$fail"
633 tags-recursive:
634         list='$(SUBDIRS)'; for subdir in $$list; do \
635           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
636         done
637 ctags-recursive:
638         list='$(SUBDIRS)'; for subdir in $$list; do \
639           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
640         done
641
642 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
643         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
644         unique=`for i in $$list; do \
645             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
646           done | \
647           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
648               END { if (nonempty) { for (i in files) print i; }; }'`; \
649         mkid -fID $$unique
650 tags: TAGS
651
652 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
653                 $(TAGS_FILES) $(LISP)
654         set x; \
655         here=`pwd`; \
656         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
657           include_option=--etags-include; \
658           empty_fix=.; \
659         else \
660           include_option=--include; \
661           empty_fix=; \
662         fi; \
663         list='$(SUBDIRS)'; for subdir in $$list; do \
664           if test "$$subdir" = .; then :; else \
665             test ! -f $$subdir/TAGS || \
666               set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
667           fi; \
668         done; \
669         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
670         unique=`for i in $$list; do \
671             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
672           done | \
673           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
674               END { if (nonempty) { for (i in files) print i; }; }'`; \
675         shift; \
676         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
677           test -n "$$unique" || unique=$$empty_fix; \
678           if test $$# -gt 0; then \
679             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
680               "$$@" $$unique; \
681           else \
682             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
683               $$unique; \
684           fi; \
685         fi
686 ctags: CTAGS
687 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
688                 $(TAGS_FILES) $(LISP)
689         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
690         unique=`for i in $$list; do \
691             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
692           done | \
693           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
694               END { if (nonempty) { for (i in files) print i; }; }'`; \
695         test -z "$(CTAGS_ARGS)$$unique" \
696           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
697              $$unique
698
699 GTAGS:
700         here=`$(am__cd) $(top_builddir) && pwd` \
701           && $(am__cd) $(top_srcdir) \
702           && gtags -i $(GTAGS_ARGS) "$$here"
703
704 distclean-tags:
705         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
706 check-am: all-am
707 check: check-recursive
708 all-am: Makefile $(LTLIBRARIES) all-local
709 installdirs: installdirs-recursive
710 installdirs-am:
711         for dir in "$(DESTDIR)$(toolexeclibdir)"; do \
712           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
713         done
714 install: install-recursive
715 install-exec: install-exec-recursive
716 install-data: install-data-recursive
717 uninstall: uninstall-recursive
718
719 install-am: all-am
720         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
721
722 installcheck: installcheck-recursive
723 install-strip:
724         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
725           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
726           `test -z '$(STRIP)' || \
727             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
728 mostlyclean-generic:
729
730 clean-generic:
731         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
732
733 distclean-generic:
734         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
735         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
736
737 maintainer-clean-generic:
738         @echo "This command is intended for maintainers to use"
739         @echo "it deletes files that may require special tools to rebuild."
740 clean: clean-recursive
741
742 clean-am: clean-generic clean-libtool clean-local \
743         clean-toolexeclibLTLIBRARIES mostlyclean-am
744
745 distclean: distclean-recursive
746         -rm -f Makefile
747 distclean-am: clean-am distclean-compile distclean-generic \
748         distclean-tags
749
750 dvi: dvi-recursive
751
752 dvi-am:
753
754 html: html-recursive
755
756 html-am:
757
758 info: info-recursive
759
760 info-am:
761
762 install-data-am: install-data-local
763
764 install-dvi: install-dvi-recursive
765
766 install-dvi-am:
767
768 install-exec-am: install-toolexeclibLTLIBRARIES
769
770 install-html: install-html-recursive
771
772 install-html-am:
773
774 install-info: install-info-recursive
775
776 install-info-am:
777
778 install-man:
779
780 install-pdf: install-pdf-recursive
781
782 install-pdf-am:
783
784 install-ps: install-ps-recursive
785
786 install-ps-am:
787
788 installcheck-am:
789
790 maintainer-clean: maintainer-clean-recursive
791         -rm -f Makefile
792 maintainer-clean-am: distclean-am maintainer-clean-generic
793
794 mostlyclean: mostlyclean-recursive
795
796 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
797         mostlyclean-libtool
798
799 pdf: pdf-recursive
800
801 pdf-am:
802
803 ps: ps-recursive
804
805 ps-am:
806
807 uninstall-am: uninstall-toolexeclibLTLIBRARIES
808
809 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
810         install-am install-strip tags-recursive
811
812 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
813         all all-am all-local check check-am clean clean-generic \
814         clean-libtool clean-local clean-toolexeclibLTLIBRARIES ctags \
815         ctags-recursive distclean distclean-compile distclean-generic \
816         distclean-libtool distclean-tags dvi dvi-am html html-am info \
817         info-am install install-am install-data install-data-am \
818         install-data-local install-dvi install-dvi-am install-exec \
819         install-exec-am install-html install-html-am install-info \
820         install-info-am install-man install-pdf install-pdf-am \
821         install-ps install-ps-am install-strip \
822         install-toolexeclibLTLIBRARIES installcheck installcheck-am \
823         installdirs installdirs-am maintainer-clean \
824         maintainer-clean-generic mostlyclean mostlyclean-compile \
825         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
826         tags tags-recursive uninstall uninstall-am \
827         uninstall-toolexeclibLTLIBRARIES
828
829
830 vpath % $(top_srcdir)/src/c++98
831 vpath % $(top_srcdir)/src/c++11
832 compatibility-parallel_list.lo: compatibility-parallel_list.cc
833         $(LTCXXCOMPILE) -c $<
834 compatibility-parallel_list.o: compatibility-parallel_list.cc
835         $(CXXCOMPILE) -c $<
836
837 compatibility-parallel_list-2.lo: compatibility-parallel_list-2.cc
838         $(LTCXXCOMPILE) -c $<
839 compatibility-parallel_list-2.o: compatibility-parallel_list-2.cc
840         $(CXXCOMPILE) -c $<
841
842 # Use special rules for compatibility-ldbl.cc compilation, as we need to
843 # pass -mlong-double-64.
844 @GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.lo: compatibility-ldbl.cc
845 @GLIBCXX_LDBL_COMPAT_TRUE@      $(LTCXXCOMPILE) -mlong-double-64 -c $<
846 @GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.o: compatibility-ldbl.cc
847 @GLIBCXX_LDBL_COMPAT_TRUE@      $(CXXCOMPILE) -mlong-double-64 -c $<
848
849 # Use special rules for C++11 files/objects.
850 compatibility-c++0x.lo: compatibility-c++0x.cc
851         $(LTCXXCOMPILE) -std=gnu++11 -c $<
852 compatibility-c++0x.o: compatibility-c++0x.cc
853         $(CXXCOMPILE) -std=gnu++11 -c $<
854
855 compatibility-atomic-c++0x.lo: compatibility-atomic-c++0x.cc
856         $(LTCXXCOMPILE) -std=gnu++11 -c $<
857 compatibility-atomic-c++0x.o: compatibility-atomic-c++0x.cc
858         $(CXXCOMPILE) -std=gnu++11 -c $<
859
860 compatibility-thread-c++0x.lo: compatibility-thread-c++0x.cc
861         $(LTCXXCOMPILE) -std=gnu++11 -c $<
862 compatibility-thread-c++0x.o: compatibility-thread-c++0x.cc
863         $(CXXCOMPILE) -std=gnu++11 -c $<
864
865 # Symbol versioning for shared libraries.
866 @ENABLE_SYMVERS_TRUE@libstdc++-symbols.ver:  ${glibcxx_srcdir}/$(SYMVER_FILE) \
867 @ENABLE_SYMVERS_TRUE@           $(port_specific_symbol_files)
868 @ENABLE_SYMVERS_TRUE@   cp ${glibcxx_srcdir}/$(SYMVER_FILE) $@.tmp
869 @ENABLE_SYMVERS_TRUE@   chmod +w $@.tmp
870 @ENABLE_SYMVERS_TRUE@   if test "x$(port_specific_symbol_files)" != x; then \
871 @ENABLE_SYMVERS_TRUE@     if grep '^# Appended to version file.' \
872 @ENABLE_SYMVERS_TRUE@          $(port_specific_symbol_files) /dev/null > /dev/null 2>&1; then \
873 @ENABLE_SYMVERS_TRUE@       cat $(port_specific_symbol_files) >> $@.tmp; \
874 @ENABLE_SYMVERS_TRUE@     else \
875 @ENABLE_SYMVERS_TRUE@       sed -n '1,/DO NOT DELETE/p' $@.tmp > tmp.top; \
876 @ENABLE_SYMVERS_TRUE@       sed -n '/DO NOT DELETE/,$$p' $@.tmp > tmp.bottom; \
877 @ENABLE_SYMVERS_TRUE@       cat tmp.top $(port_specific_symbol_files) tmp.bottom > $@.tmp; \
878 @ENABLE_SYMVERS_TRUE@       rm tmp.top tmp.bottom; \
879 @ENABLE_SYMVERS_TRUE@     fi; \
880 @ENABLE_SYMVERS_TRUE@   fi
881 @ENABLE_SYMVERS_TRUE@   $(EGREP) -v '^[         ]*#(#| |$$)' $@.tmp | \
882 @ENABLE_SYMVERS_TRUE@     $(CC) -E -P -include $(CONFIG_HEADER) - > $@ || (rm -f $@ ; exit 1)
883 @ENABLE_SYMVERS_TRUE@   rm -f $@.tmp
884 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@libstdc++-symbols.ver-sun : libstdc++-symbols.ver \
885 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@          $(toplevel_srcdir)/contrib/make_sunver.pl \
886 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@          $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
887 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@  CXXFILT="$(CXXFILT)"; export CXXFILT; \
888 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@  perl $(toplevel_srcdir)/contrib/make_sunver.pl \
889 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@    libstdc++-symbols.ver \
890 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@    $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
891 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@   `echo $(libstdc___la_LIBADD) | \
892 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@      sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
893 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@   > $@ || (rm -f $@ ; exit 1)
894 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@libstdc++-symbols.explist : libstdc++-symbols.ver \
895 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@               ${glibcxx_srcdir}/scripts/make_exports.pl \
896 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@               $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
897 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@       perl ${glibcxx_srcdir}/scripts/make_exports.pl \
898 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@         libstdc++-symbols.ver \
899 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@         $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
900 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@        `echo $(libstdc___la_LIBADD) | \
901 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@           sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
902 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@        > $@ || (rm -f $@ ; exit 1)
903
904 # Control additional build primary rules.
905 all-once: libstdc++convenience.la $(STAMP_DEBUG)
906 install-data-once: $(STAMP_INSTALL_DEBUG)
907
908 all-local: all-once
909 install-data-local: install-data-once
910 clean-local:
911         rm -rf libstdc++convenience.la stamp* $(CLEAN_DEBUG)
912
913 # Make a non-installed convenience library, so that --disable-static
914 # may work.
915 libstdc++convenience.la: $(toolexeclib_LTLIBRARIES)
916         $(CXXLINK) $(libstdc___la_LIBADD) $(LIBS); \
917         if test ! -f .libs/libstdc++.a; then \
918           cp .libs/libstdc++convenience.a .libs/libstdc++.a; \
919         fi; \
920         echo `date` > stamp-libstdc++convenience;
921 stamp-debug:
922         if test ! -d ${debugdir}; then \
923           mkdir -p ${debugdir}; \
924           for d in $(SUBDIRS); do mkdir -p  ${debugdir}/$$d; done; \
925           (cd ${debugdir}; \
926           sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
927               -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
928               -e 's/srcdir = \.\./srcdir = ..\/../' \
929               -e 's/VPATH = \.\./VPATH = ..\/../' \
930               -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
931               -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
932           < ../Makefile > Makefile ; \
933           for d in . $(SUBDIRS); do \
934           sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
935               -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
936               -e 's/srcdir = \.\./srcdir = ..\/../' \
937               -e 's/VPATH = \.\./VPATH = ..\/../' \
938               -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
939               -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
940           < ../$$d/Makefile > $$d/Makefile ; \
941           done) ; \
942         fi; \
943         echo `date` > stamp-debug;
944
945 build-debug: stamp-debug
946           (cd ${debugdir}; \
947           mv Makefile Makefile.tmp; \
948           sed -e 's,all-local: all-once,all-local:,' \
949               -e 's,install-data-local: install-data-once,install-data-local:,' \
950               -e '/vpath/!s,src/c,src/debug/c,' \
951           < Makefile.tmp > Makefile ; \
952           $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
953           toolexeclibdir=$(glibcxx_toolexeclibdir)/debug all) ;
954
955 # Install debug library.
956 install-debug: build-debug
957         (cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
958         toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install) ;
959
960 # Tell versions [3.59,3.63) of GNU make to not export all variables.
961 # Otherwise a system limit (for SysV at least) may be exceeded.
962 .NOEXPORT: