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