PR 62215 Reinstate unlinking old module file before renaming.
[official-gcc.git] / libstdc++-v3 / src / Makefile.in
blobcd3943b1afc842bcb2bbb628d48b9208649163e0
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_localedir = @glibcxx_localedir@
271 glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
272 glibcxx_prefixdir = @glibcxx_prefixdir@
273 glibcxx_srcdir = @glibcxx_srcdir@
274 glibcxx_toolexecdir = @glibcxx_toolexecdir@
275 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
276 gxx_include_dir = @gxx_include_dir@
277 host = @host@
278 host_alias = @host_alias@
279 host_cpu = @host_cpu@
280 host_os = @host_os@
281 host_vendor = @host_vendor@
282 htmldir = @htmldir@
283 includedir = @includedir@
284 infodir = @infodir@
285 install_sh = @install_sh@
286 libdir = @libdir@
287 libexecdir = @libexecdir@
288 libtool_VERSION = @libtool_VERSION@
289 localedir = @localedir@
290 localstatedir = @localstatedir@
291 lt_host_flags = @lt_host_flags@
292 mandir = @mandir@
293 mkdir_p = @mkdir_p@
294 multi_basedir = @multi_basedir@
295 oldincludedir = @oldincludedir@
296 pdfdir = @pdfdir@
297 port_specific_symbol_files = @port_specific_symbol_files@
298 prefix = @prefix@
299 program_transform_name = @program_transform_name@
300 psdir = @psdir@
301 python_mod_dir = @python_mod_dir@
302 sbindir = @sbindir@
303 sharedstatedir = @sharedstatedir@
304 srcdir = @srcdir@
305 sysconfdir = @sysconfdir@
306 target = @target@
307 target_alias = @target_alias@
308 target_cpu = @target_cpu@
309 target_os = @target_os@
310 target_vendor = @target_vendor@
311 thread_header = @thread_header@
312 top_build_prefix = @top_build_prefix@
313 top_builddir = @top_builddir@
314 top_srcdir = @top_srcdir@
315 toplevel_builddir = @toplevel_builddir@
316 toplevel_srcdir = @toplevel_srcdir@
318 # May be used by various substitution variables.
319 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
320 MAINT_CHARSET = latin1
321 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
322 PWD_COMMAND = $${PWDCMD-pwd}
323 STAMP = echo timestamp >
324 toolexecdir = $(glibcxx_toolexecdir)
325 toolexeclibdir = $(glibcxx_toolexeclibdir)
326 @ENABLE_WERROR_FALSE@WERROR_FLAG =
327 @ENABLE_WERROR_TRUE@WERROR_FLAG = $(WERROR)
328 @ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS =
329 @ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates
331 # These bits are all figured out from configure. Look in acinclude.m4
332 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
333 CONFIG_CXXFLAGS = \
334 $(SECTION_FLAGS) $(HWCAP_FLAGS) -frandom-seed=$@
336 WARN_CXXFLAGS = \
337 $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
340 # -I/-D flags to pass when compiling.
341 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
342 SUBDIRS = c++98 c++11
344 # Cross compiler support.
345 toolexeclib_LTLIBRARIES = libstdc++.la
346 @GLIBCXX_LDBL_COMPAT_FALSE@ldbl_compat_sources =
347 @GLIBCXX_LDBL_COMPAT_TRUE@ldbl_compat_sources = compatibility-ldbl.cc
348 parallel_compat_sources = \
349 compatibility-parallel_list.cc compatibility-parallel_list-2.cc
351 cxx98_sources = \
352 compatibility.cc \
353 compatibility-debug_list.cc \
354 compatibility-debug_list-2.cc \
355 ${ldbl_compat_sources}
357 cxx11_sources = \
358 compatibility-c++0x.cc \
359 compatibility-atomic-c++0x.cc \
360 compatibility-thread-c++0x.cc \
361 compatibility-chrono.cc \
362 compatibility-condvar.cc
364 libstdc___la_SOURCES = $(cxx98_sources) $(cxx11_sources)
365 libstdc___la_LIBADD = \
366 $(GLIBCXX_LIBS) \
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
371 libstdc___la_DEPENDENCIES = \
372 ${version_dep} \
373 $(top_builddir)/libsupc++/libsupc++convenience.la \
374 $(top_builddir)/src/c++98/libc++98convenience.la \
375 $(top_builddir)/src/c++11/libc++11convenience.la
377 libstdc___la_LDFLAGS = \
378 -version-info $(libtool_VERSION) ${version_arg} -lm
380 libstdc___la_LINK = $(CXXLINK) $(libstdc___la_LDFLAGS)
382 # A note on compatibility and static libraries.
384 # static lib == linked against only this version, should not need compat
385 # shared lib == linked against potentially all compat versions
387 # Thus, the shared libs have more compat symbols, which can be found
388 # segregated in the sources with -D_GLIBCXX_SHARED.
390 # In the sub-directories of libsupc++, src/c++98, src/c++11, only
391 # -prefer-pic objects are generated for the convenience libraries.
393 # In the main src directory, make shared and static objects just for
394 # the compat libraries. Shared objects are compiled with -prefer-pic
395 # -D_GLIBCXX_SHARED and in the .libs sub-directory, static objects are
396 # compiled with -prefer-pic (ie, -fPIC but not -D_GLIBCXX_SHARED) and
397 # the main src directory.
399 # Why are objects destined for libstdc++.a compiled with -fPIC? First,
400 # because -fPIC is not harmful to use for objects destined for static
401 # libraries. In addition, using -fPIC will allow the use of static
402 # libstdc++.a in the creation of other C++ shared libraries.
404 # AM_CXXFLAGS needs to be in each sub-directory so that it can be
405 # modified in a per-library or per-sub-library way. Need to manually
406 # set this option because CONFIG_CXXFLAGS has to be after
407 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
408 # as the occasion calls for it.
409 AM_CXXFLAGS = \
410 $(glibcxx_compiler_pic_flag) \
411 $(XTEMPLATE_FLAGS) $(VTV_CXXFLAGS) \
412 $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
415 # Libtool notes
417 # 1) In general, libtool expects an argument such as `--tag=CXX' when
418 # using the C++ compiler, because that will enable the settings
419 # detected when C++ support was being configured. However, when no
420 # such flag is given in the command line, libtool attempts to figure
421 # it out by matching the compiler name in each configuration section
422 # against a prefix of the command line. The problem is that, if the
423 # compiler name and its initial flags stored in the libtool
424 # configuration file don't match those in the command line, libtool
425 # can't decide which configuration to use, and it gives up. The
426 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
427 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
428 # attempt to infer which configuration to use.
430 # The second tag argument, `--tag disable-shared` means that libtool
431 # only compiles each source once, for static objects. In actuality,
432 # glibcxx_lt_pic_flag and glibcxx_compiler_shared_flag are added to
433 # the libtool command that is used create the object, which is
434 # suitable for shared libraries. The `--tag disable-shared` must be
435 # placed after --tag CXX lest things CXX undo the affect of
436 # disable-shared.
438 # 2) Need to explicitly set LTCXXCOMPILE so that EXTRA_CXX_FLAGS is
439 # last. (That way, things like -O2 passed down from the toplevel can
440 # be overridden by --enable-debug and --enable-cxx-flags.)
441 LTCXXCOMPILE = \
442 $(LIBTOOL) --tag CXX \
443 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
444 --mode=compile $(CXX) $(INCLUDES) \
445 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(EXTRA_CXX_FLAGS)
447 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
449 # 3) We'd have a problem when building the shared libstdc++ object if
450 # the rules automake generates would be used. We cannot allow g++ to
451 # be used since this would add -lstdc++ to the link line which of
452 # course is problematic at this point. So, we get the top-level
453 # directory to configure libstdc++-v3 to use gcc as the C++
454 # compilation driver.
455 CXXLINK = \
456 $(LIBTOOL) --tag CXX \
457 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
458 --mode=link $(CXX) \
459 $(VTV_CXXLINKFLAGS) \
460 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
462 @ENABLE_SYMVERS_TRUE@CLEANFILES = libstdc++-symbols.ver $(version_dep)
463 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-exported_symbols_list,libstdc++-symbols.explist
464 @ENABLE_SYMVERS_FALSE@version_arg =
465 @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
466 @ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
467 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-M,libstdc++-symbols.ver-sun
468 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.explist
469 @ENABLE_SYMVERS_FALSE@version_dep =
470 @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
471 @ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
472 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver-sun
473 @GLIBCXX_BUILD_DEBUG_FALSE@STAMP_DEBUG =
475 # Added rules.
476 # 1 debug library
477 # 2 supra-convenience library
478 @GLIBCXX_BUILD_DEBUG_TRUE@STAMP_DEBUG = build-debug
479 @GLIBCXX_BUILD_DEBUG_FALSE@STAMP_INSTALL_DEBUG =
480 @GLIBCXX_BUILD_DEBUG_TRUE@STAMP_INSTALL_DEBUG = install-debug
481 @GLIBCXX_BUILD_DEBUG_FALSE@CLEAN_DEBUG =
482 @GLIBCXX_BUILD_DEBUG_TRUE@CLEAN_DEBUG = debug
484 # Build a debug variant.
485 # Take care to fix all possibly-relative paths.
486 debugdir = ${glibcxx_builddir}/src/debug
487 all: all-recursive
489 .SUFFIXES:
490 .SUFFIXES: .cc .lo .o .obj
491 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
492 @for dep in $?; do \
493 case '$(am__configure_deps)' in \
494 *$$dep*) \
495 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
496 && { if test -f $@; then exit 0; else break; fi; }; \
497 exit 1;; \
498 esac; \
499 done; \
500 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/Makefile'; \
501 $(am__cd) $(top_srcdir) && \
502 $(AUTOMAKE) --foreign --ignore-deps src/Makefile
503 .PRECIOUS: Makefile
504 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
505 @case '$?' in \
506 *config.status*) \
507 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
508 *) \
509 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
510 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
511 esac;
513 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
514 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
516 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
517 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
518 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
519 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
520 $(am__aclocal_m4_deps):
521 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
522 @$(NORMAL_INSTALL)
523 test -z "$(toolexeclibdir)" || $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)"
524 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
525 list2=; for p in $$list; do \
526 if test -f $$p; then \
527 list2="$$list2 $$p"; \
528 else :; fi; \
529 done; \
530 test -z "$$list2" || { \
531 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
532 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \
535 uninstall-toolexeclibLTLIBRARIES:
536 @$(NORMAL_UNINSTALL)
537 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
538 for p in $$list; do \
539 $(am__strip_dir) \
540 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
541 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \
542 done
544 clean-toolexeclibLTLIBRARIES:
545 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
546 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
547 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
548 test "$$dir" != "$$p" || dir=.; \
549 echo "rm -f \"$${dir}/so_locations\""; \
550 rm -f "$${dir}/so_locations"; \
551 done
552 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
553 $(libstdc___la_LINK) -rpath $(toolexeclibdir) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
555 mostlyclean-compile:
556 -rm -f *.$(OBJEXT)
558 distclean-compile:
559 -rm -f *.tab.c
561 .cc.o:
562 $(CXXCOMPILE) -c -o $@ $<
564 .cc.obj:
565 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
567 .cc.lo:
568 $(LTCXXCOMPILE) -c -o $@ $<
570 mostlyclean-libtool:
571 -rm -f *.lo
573 clean-libtool:
574 -rm -rf .libs _libs
576 # This directory's subdirectories are mostly independent; you can cd
577 # into them and run `make' without going through this Makefile.
578 # To change the values of `make' variables: instead of editing Makefiles,
579 # (1) if the variable is set in `config.status', edit `config.status'
580 # (which will cause the Makefiles to be regenerated when you run `make');
581 # (2) otherwise, pass the desired values on the `make' command line.
582 $(RECURSIVE_TARGETS):
583 @fail= failcom='exit 1'; \
584 for f in x $$MAKEFLAGS; do \
585 case $$f in \
586 *=* | --[!k]*);; \
587 *k*) failcom='fail=yes';; \
588 esac; \
589 done; \
590 dot_seen=no; \
591 target=`echo $@ | sed s/-recursive//`; \
592 list='$(SUBDIRS)'; for subdir in $$list; do \
593 echo "Making $$target in $$subdir"; \
594 if test "$$subdir" = "."; then \
595 dot_seen=yes; \
596 local_target="$$target-am"; \
597 else \
598 local_target="$$target"; \
599 fi; \
600 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
601 || eval $$failcom; \
602 done; \
603 if test "$$dot_seen" = "no"; then \
604 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
605 fi; test -z "$$fail"
607 $(RECURSIVE_CLEAN_TARGETS):
608 @fail= failcom='exit 1'; \
609 for f in x $$MAKEFLAGS; do \
610 case $$f in \
611 *=* | --[!k]*);; \
612 *k*) failcom='fail=yes';; \
613 esac; \
614 done; \
615 dot_seen=no; \
616 case "$@" in \
617 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
618 *) list='$(SUBDIRS)' ;; \
619 esac; \
620 rev=''; for subdir in $$list; do \
621 if test "$$subdir" = "."; then :; else \
622 rev="$$subdir $$rev"; \
623 fi; \
624 done; \
625 rev="$$rev ."; \
626 target=`echo $@ | sed s/-recursive//`; \
627 for subdir in $$rev; do \
628 echo "Making $$target in $$subdir"; \
629 if test "$$subdir" = "."; then \
630 local_target="$$target-am"; \
631 else \
632 local_target="$$target"; \
633 fi; \
634 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
635 || eval $$failcom; \
636 done && test -z "$$fail"
637 tags-recursive:
638 list='$(SUBDIRS)'; for subdir in $$list; do \
639 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
640 done
641 ctags-recursive:
642 list='$(SUBDIRS)'; for subdir in $$list; do \
643 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
644 done
646 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
647 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
648 unique=`for i in $$list; do \
649 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
650 done | \
651 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
652 END { if (nonempty) { for (i in files) print i; }; }'`; \
653 mkid -fID $$unique
654 tags: TAGS
656 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
657 $(TAGS_FILES) $(LISP)
658 set x; \
659 here=`pwd`; \
660 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
661 include_option=--etags-include; \
662 empty_fix=.; \
663 else \
664 include_option=--include; \
665 empty_fix=; \
666 fi; \
667 list='$(SUBDIRS)'; for subdir in $$list; do \
668 if test "$$subdir" = .; then :; else \
669 test ! -f $$subdir/TAGS || \
670 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
671 fi; \
672 done; \
673 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
674 unique=`for i in $$list; do \
675 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
676 done | \
677 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
678 END { if (nonempty) { for (i in files) print i; }; }'`; \
679 shift; \
680 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
681 test -n "$$unique" || unique=$$empty_fix; \
682 if test $$# -gt 0; then \
683 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
684 "$$@" $$unique; \
685 else \
686 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
687 $$unique; \
688 fi; \
690 ctags: CTAGS
691 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
692 $(TAGS_FILES) $(LISP)
693 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
694 unique=`for i in $$list; do \
695 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
696 done | \
697 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
698 END { if (nonempty) { for (i in files) print i; }; }'`; \
699 test -z "$(CTAGS_ARGS)$$unique" \
700 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
701 $$unique
703 GTAGS:
704 here=`$(am__cd) $(top_builddir) && pwd` \
705 && $(am__cd) $(top_srcdir) \
706 && gtags -i $(GTAGS_ARGS) "$$here"
708 distclean-tags:
709 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
710 check-am: all-am
711 check: check-recursive
712 all-am: Makefile $(LTLIBRARIES) all-local
713 installdirs: installdirs-recursive
714 installdirs-am:
715 for dir in "$(DESTDIR)$(toolexeclibdir)"; do \
716 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
717 done
718 install: install-recursive
719 install-exec: install-exec-recursive
720 install-data: install-data-recursive
721 uninstall: uninstall-recursive
723 install-am: all-am
724 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
726 installcheck: installcheck-recursive
727 install-strip:
728 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
729 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
730 `test -z '$(STRIP)' || \
731 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
732 mostlyclean-generic:
734 clean-generic:
735 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
737 distclean-generic:
738 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
739 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
741 maintainer-clean-generic:
742 @echo "This command is intended for maintainers to use"
743 @echo "it deletes files that may require special tools to rebuild."
744 clean: clean-recursive
746 clean-am: clean-generic clean-libtool clean-local \
747 clean-toolexeclibLTLIBRARIES mostlyclean-am
749 distclean: distclean-recursive
750 -rm -f Makefile
751 distclean-am: clean-am distclean-compile distclean-generic \
752 distclean-tags
754 dvi: dvi-recursive
756 dvi-am:
758 html: html-recursive
760 html-am:
762 info: info-recursive
764 info-am:
766 install-data-am: install-data-local
768 install-dvi: install-dvi-recursive
770 install-dvi-am:
772 install-exec-am: install-toolexeclibLTLIBRARIES
774 install-html: install-html-recursive
776 install-html-am:
778 install-info: install-info-recursive
780 install-info-am:
782 install-man:
784 install-pdf: install-pdf-recursive
786 install-pdf-am:
788 install-ps: install-ps-recursive
790 install-ps-am:
792 installcheck-am:
794 maintainer-clean: maintainer-clean-recursive
795 -rm -f Makefile
796 maintainer-clean-am: distclean-am maintainer-clean-generic
798 mostlyclean: mostlyclean-recursive
800 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
801 mostlyclean-libtool
803 pdf: pdf-recursive
805 pdf-am:
807 ps: ps-recursive
809 ps-am:
811 uninstall-am: uninstall-toolexeclibLTLIBRARIES
813 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
814 install-am install-strip tags-recursive
816 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
817 all all-am all-local check check-am clean clean-generic \
818 clean-libtool clean-local clean-toolexeclibLTLIBRARIES ctags \
819 ctags-recursive distclean distclean-compile distclean-generic \
820 distclean-libtool distclean-tags dvi dvi-am html html-am info \
821 info-am install install-am install-data install-data-am \
822 install-data-local install-dvi install-dvi-am install-exec \
823 install-exec-am install-html install-html-am install-info \
824 install-info-am install-man install-pdf install-pdf-am \
825 install-ps install-ps-am install-strip \
826 install-toolexeclibLTLIBRARIES installcheck installcheck-am \
827 installdirs installdirs-am maintainer-clean \
828 maintainer-clean-generic mostlyclean mostlyclean-compile \
829 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
830 tags tags-recursive uninstall uninstall-am \
831 uninstall-toolexeclibLTLIBRARIES
834 vpath % $(top_srcdir)/src/c++98
835 vpath % $(top_srcdir)/src/c++11
837 # Use special rules for compatibility-ldbl.cc compilation, as we need to
838 # pass -mlong-double-64.
839 @GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.lo: compatibility-ldbl.cc
840 @GLIBCXX_LDBL_COMPAT_TRUE@ $(LTCXXCOMPILE) -mlong-double-64 -c $<
841 @GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.o: compatibility-ldbl.cc
842 @GLIBCXX_LDBL_COMPAT_TRUE@ $(CXXCOMPILE) -mlong-double-64 -c $<
844 # Use special rules for C++11 files/objects.
845 compatibility-c++0x.lo: compatibility-c++0x.cc
846 $(LTCXXCOMPILE) -std=gnu++11 -c $<
847 compatibility-c++0x.o: compatibility-c++0x.cc
848 $(CXXCOMPILE) -std=gnu++11 -c $<
850 compatibility-atomic-c++0x.lo: compatibility-atomic-c++0x.cc
851 $(LTCXXCOMPILE) -std=gnu++11 -c $<
852 compatibility-atomic-c++0x.o: compatibility-atomic-c++0x.cc
853 $(CXXCOMPILE) -std=gnu++11 -c $<
855 compatibility-thread-c++0x.lo: compatibility-thread-c++0x.cc
856 $(LTCXXCOMPILE) -std=gnu++11 -c $<
857 compatibility-thread-c++0x.o: compatibility-thread-c++0x.cc
858 $(CXXCOMPILE) -std=gnu++11 -c $<
860 compatibility-chrono.lo: compatibility-chrono.cc
861 $(LTCXXCOMPILE) -std=gnu++11 -c $<
862 compatibility-chrono.o: compatibility-chrono.cc
863 $(CXXCOMPILE) -std=gnu++11 -c $<
865 compatibility-condvar.lo: compatibility-condvar.cc
866 $(LTCXXCOMPILE) -std=gnu++11 -c $<
867 compatibility-condvar.o: compatibility-condvar.cc
868 $(CXXCOMPILE) -std=gnu++11 -c $<
870 # Symbol versioning for shared libraries.
871 @ENABLE_SYMVERS_TRUE@libstdc++-symbols.ver: ${glibcxx_srcdir}/$(SYMVER_FILE) \
872 @ENABLE_SYMVERS_TRUE@ $(port_specific_symbol_files)
873 @ENABLE_SYMVERS_TRUE@ cp ${glibcxx_srcdir}/$(SYMVER_FILE) $@.tmp
874 @ENABLE_SYMVERS_TRUE@ chmod +w $@.tmp
875 @ENABLE_SYMVERS_TRUE@ if test "x$(port_specific_symbol_files)" != x; then \
876 @ENABLE_SYMVERS_TRUE@ if grep '^# Appended to version file.' \
877 @ENABLE_SYMVERS_TRUE@ $(port_specific_symbol_files) /dev/null > /dev/null 2>&1; then \
878 @ENABLE_SYMVERS_TRUE@ cat $(port_specific_symbol_files) >> $@.tmp; \
879 @ENABLE_SYMVERS_TRUE@ else \
880 @ENABLE_SYMVERS_TRUE@ sed -n '1,/DO NOT DELETE/p' $@.tmp > tmp.top; \
881 @ENABLE_SYMVERS_TRUE@ sed -n '/DO NOT DELETE/,$$p' $@.tmp > tmp.bottom; \
882 @ENABLE_SYMVERS_TRUE@ cat tmp.top $(port_specific_symbol_files) tmp.bottom > $@.tmp; \
883 @ENABLE_SYMVERS_TRUE@ rm tmp.top tmp.bottom; \
884 @ENABLE_SYMVERS_TRUE@ fi; \
885 @ENABLE_SYMVERS_TRUE@ fi
886 @ENABLE_SYMVERS_TRUE@ $(EGREP) -v '^[ ]*#(#| |$$)' $@.tmp | \
887 @ENABLE_SYMVERS_TRUE@ $(CC) -E -P -include $(CONFIG_HEADER) - > $@ || (rm -f $@ ; exit 1)
888 @ENABLE_SYMVERS_TRUE@ rm -f $@.tmp
889 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@libstdc++-symbols.ver-sun : libstdc++-symbols.ver \
890 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ $(toplevel_srcdir)/contrib/make_sunver.pl \
891 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
892 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ CXXFILT="$(CXXFILT)"; export CXXFILT; \
893 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ perl $(toplevel_srcdir)/contrib/make_sunver.pl \
894 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ libstdc++-symbols.ver \
895 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
896 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ `echo $(libstdc___la_LIBADD) | \
897 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
898 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ > $@ || (rm -f $@ ; exit 1)
899 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@libstdc++-symbols.explist : libstdc++-symbols.ver \
900 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ ${glibcxx_srcdir}/scripts/make_exports.pl \
901 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
902 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ perl ${glibcxx_srcdir}/scripts/make_exports.pl \
903 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ libstdc++-symbols.ver \
904 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
905 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ `echo $(libstdc___la_LIBADD) | \
906 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
907 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ > $@ || (rm -f $@ ; exit 1)
909 # Control additional build primary rules.
910 all-once: libstdc++convenience.la $(STAMP_DEBUG)
911 install-data-once: $(STAMP_INSTALL_DEBUG)
913 all-local: all-once
914 install-data-local: install-data-once
915 clean-local:
916 rm -rf libstdc++convenience.la stamp* $(CLEAN_DEBUG)
918 # Make a non-installed convenience library, so that --disable-static
919 # may work.
920 libstdc++convenience.la: $(toolexeclib_LTLIBRARIES)
921 $(CXXLINK) $(libstdc___la_LIBADD) $(LIBS); \
922 if test ! -f .libs/libstdc++.a; then \
923 cp .libs/libstdc++convenience.a .libs/libstdc++.a; \
924 fi; \
925 echo `date` > stamp-libstdc++convenience;
926 stamp-debug:
927 if test ! -d ${debugdir}; then \
928 mkdir -p ${debugdir}; \
929 for d in $(SUBDIRS); do mkdir -p ${debugdir}/$$d; done; \
930 (cd ${debugdir}; \
931 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
932 -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
933 -e 's/srcdir = \.\./srcdir = ..\/../' \
934 -e 's/VPATH = \.\./VPATH = ..\/../' \
935 -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
936 -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
937 < ../Makefile > Makefile ; \
938 for d in . $(SUBDIRS); do \
939 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
940 -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
941 -e 's/srcdir = \.\./srcdir = ..\/../' \
942 -e 's/VPATH = \.\./VPATH = ..\/../' \
943 -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
944 -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
945 < ../$$d/Makefile > $$d/Makefile ; \
946 done) ; \
947 fi; \
948 echo `date` > stamp-debug;
950 build-debug: stamp-debug
951 (cd ${debugdir}; \
952 mv Makefile Makefile.tmp; \
953 sed -e 's,all-local: all-once,all-local:,' \
954 -e 's,install-data-local: install-data-once,install-data-local:,' \
955 -e '/vpath/!s,src/c,src/debug/c,' \
956 < Makefile.tmp > Makefile ; \
957 rm -f Makefile.tmp ; \
958 $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
959 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug all) ;
961 # Install debug library.
962 install-debug: build-debug
963 (cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
964 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install) ;
966 # Tell versions [3.59,3.63) of GNU make to not export all variables.
967 # Otherwise a system limit (for SysV at least) may be exceeded.
968 .NOEXPORT: