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