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