2015-05-12 Pierre-Marie de Rodat <derodat@adacore.com>
[official-gcc.git] / libstdc++-v3 / src / Makefile.in
blob31b56282e26702346d4a598cbb78e84ecfbf50f1
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 -std=gnu++98 \
433 $(glibcxx_compiler_pic_flag) \
434 $(XTEMPLATE_FLAGS) $(VTV_CXXFLAGS) \
435 $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
438 # Libtool notes
440 # 1) In general, libtool expects an argument such as `--tag=CXX' when
441 # using the C++ compiler, because that will enable the settings
442 # detected when C++ support was being configured. However, when no
443 # such flag is given in the command line, libtool attempts to figure
444 # it out by matching the compiler name in each configuration section
445 # against a prefix of the command line. The problem is that, if the
446 # compiler name and its initial flags stored in the libtool
447 # configuration file don't match those in the command line, libtool
448 # can't decide which configuration to use, and it gives up. The
449 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
450 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
451 # attempt to infer which configuration to use.
453 # The second tag argument, `--tag disable-shared` means that libtool
454 # only compiles each source once, for static objects. In actuality,
455 # glibcxx_lt_pic_flag and glibcxx_compiler_shared_flag are added to
456 # the libtool command that is used create the object, which is
457 # suitable for shared libraries. The `--tag disable-shared` must be
458 # placed after --tag CXX lest things CXX undo the affect of
459 # disable-shared.
461 # 2) Need to explicitly set LTCXXCOMPILE so that EXTRA_CXX_FLAGS is
462 # last. (That way, things like -O2 passed down from the toplevel can
463 # be overridden by --enable-debug and --enable-cxx-flags.)
464 LTCXXCOMPILE = \
465 $(LIBTOOL) --tag CXX \
466 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
467 --mode=compile $(CXX) $(INCLUDES) \
468 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(EXTRA_CXX_FLAGS)
470 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
472 # 3) We'd have a problem when building the shared libstdc++ object if
473 # the rules automake generates would be used. We cannot allow g++ to
474 # be used since this would add -lstdc++ to the link line which of
475 # course is problematic at this point. So, we get the top-level
476 # directory to configure libstdc++-v3 to use gcc as the C++
477 # compilation driver.
478 CXXLINK = \
479 $(LIBTOOL) --tag CXX \
480 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
481 --mode=link $(CXX) \
482 $(VTV_CXXLINKFLAGS) \
483 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
485 @ENABLE_SYMVERS_TRUE@CLEANFILES = libstdc++-symbols.ver $(version_dep)
486 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-exported_symbols_list,libstdc++-symbols.explist
487 @ENABLE_SYMVERS_FALSE@version_arg =
488 @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
489 @ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
490 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-M,libstdc++-symbols.ver-sun
491 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.explist
492 @ENABLE_SYMVERS_FALSE@version_dep =
493 @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
494 @ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
495 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver-sun
496 @GLIBCXX_BUILD_DEBUG_FALSE@STAMP_DEBUG =
498 # Added rules.
499 # 1 debug library
500 # 2 supra-convenience library
501 @GLIBCXX_BUILD_DEBUG_TRUE@STAMP_DEBUG = build-debug
502 @GLIBCXX_BUILD_DEBUG_FALSE@STAMP_INSTALL_DEBUG =
503 @GLIBCXX_BUILD_DEBUG_TRUE@STAMP_INSTALL_DEBUG = install-debug
504 @GLIBCXX_BUILD_DEBUG_FALSE@CLEAN_DEBUG =
505 @GLIBCXX_BUILD_DEBUG_TRUE@CLEAN_DEBUG = debug
507 # Build a debug variant.
508 # Take care to fix all possibly-relative paths.
509 debugdir = ${glibcxx_builddir}/src/debug
510 all: all-recursive
512 .SUFFIXES:
513 .SUFFIXES: .cc .lo .o .obj
514 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
515 @for dep in $?; do \
516 case '$(am__configure_deps)' in \
517 *$$dep*) \
518 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
519 && { if test -f $@; then exit 0; else break; fi; }; \
520 exit 1;; \
521 esac; \
522 done; \
523 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/Makefile'; \
524 $(am__cd) $(top_srcdir) && \
525 $(AUTOMAKE) --foreign --ignore-deps src/Makefile
526 .PRECIOUS: Makefile
527 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
528 @case '$?' in \
529 *config.status*) \
530 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
531 *) \
532 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
533 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
534 esac;
536 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
537 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
539 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
540 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
541 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
542 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
543 $(am__aclocal_m4_deps):
544 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
545 @$(NORMAL_INSTALL)
546 test -z "$(toolexeclibdir)" || $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)"
547 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
548 list2=; for p in $$list; do \
549 if test -f $$p; then \
550 list2="$$list2 $$p"; \
551 else :; fi; \
552 done; \
553 test -z "$$list2" || { \
554 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
555 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \
558 uninstall-toolexeclibLTLIBRARIES:
559 @$(NORMAL_UNINSTALL)
560 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
561 for p in $$list; do \
562 $(am__strip_dir) \
563 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
564 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \
565 done
567 clean-toolexeclibLTLIBRARIES:
568 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
569 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
570 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
571 test "$$dir" != "$$p" || dir=.; \
572 echo "rm -f \"$${dir}/so_locations\""; \
573 rm -f "$${dir}/so_locations"; \
574 done
575 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
576 $(libstdc___la_LINK) $(am_libstdc___la_rpath) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
577 libvtv.la: $(libvtv_la_OBJECTS) $(libvtv_la_DEPENDENCIES)
578 $(libvtv_la_LINK) $(am_libvtv_la_rpath) $(libvtv_la_OBJECTS) $(libvtv_la_LIBADD) $(LIBS)
580 mostlyclean-compile:
581 -rm -f *.$(OBJEXT)
583 distclean-compile:
584 -rm -f *.tab.c
586 .cc.o:
587 $(CXXCOMPILE) -c -o $@ $<
589 .cc.obj:
590 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
592 .cc.lo:
593 $(LTCXXCOMPILE) -c -o $@ $<
595 mostlyclean-libtool:
596 -rm -f *.lo
598 clean-libtool:
599 -rm -rf .libs _libs
601 # This directory's subdirectories are mostly independent; you can cd
602 # into them and run `make' without going through this Makefile.
603 # To change the values of `make' variables: instead of editing Makefiles,
604 # (1) if the variable is set in `config.status', edit `config.status'
605 # (which will cause the Makefiles to be regenerated when you run `make');
606 # (2) otherwise, pass the desired values on the `make' command line.
607 $(RECURSIVE_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 target=`echo $@ | sed s/-recursive//`; \
617 list='$(SUBDIRS)'; for subdir in $$list; do \
618 echo "Making $$target in $$subdir"; \
619 if test "$$subdir" = "."; then \
620 dot_seen=yes; \
621 local_target="$$target-am"; \
622 else \
623 local_target="$$target"; \
624 fi; \
625 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
626 || eval $$failcom; \
627 done; \
628 if test "$$dot_seen" = "no"; then \
629 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
630 fi; test -z "$$fail"
632 $(RECURSIVE_CLEAN_TARGETS):
633 @fail= failcom='exit 1'; \
634 for f in x $$MAKEFLAGS; do \
635 case $$f in \
636 *=* | --[!k]*);; \
637 *k*) failcom='fail=yes';; \
638 esac; \
639 done; \
640 dot_seen=no; \
641 case "$@" in \
642 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
643 *) list='$(SUBDIRS)' ;; \
644 esac; \
645 rev=''; for subdir in $$list; do \
646 if test "$$subdir" = "."; then :; else \
647 rev="$$subdir $$rev"; \
648 fi; \
649 done; \
650 rev="$$rev ."; \
651 target=`echo $@ | sed s/-recursive//`; \
652 for subdir in $$rev; do \
653 echo "Making $$target in $$subdir"; \
654 if test "$$subdir" = "."; then \
655 local_target="$$target-am"; \
656 else \
657 local_target="$$target"; \
658 fi; \
659 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
660 || eval $$failcom; \
661 done && test -z "$$fail"
662 tags-recursive:
663 list='$(SUBDIRS)'; for subdir in $$list; do \
664 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
665 done
666 ctags-recursive:
667 list='$(SUBDIRS)'; for subdir in $$list; do \
668 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
669 done
671 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
672 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
673 unique=`for i in $$list; do \
674 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
675 done | \
676 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
677 END { if (nonempty) { for (i in files) print i; }; }'`; \
678 mkid -fID $$unique
679 tags: TAGS
681 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
682 $(TAGS_FILES) $(LISP)
683 set x; \
684 here=`pwd`; \
685 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
686 include_option=--etags-include; \
687 empty_fix=.; \
688 else \
689 include_option=--include; \
690 empty_fix=; \
691 fi; \
692 list='$(SUBDIRS)'; for subdir in $$list; do \
693 if test "$$subdir" = .; then :; else \
694 test ! -f $$subdir/TAGS || \
695 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
696 fi; \
697 done; \
698 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
699 unique=`for i in $$list; do \
700 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
701 done | \
702 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
703 END { if (nonempty) { for (i in files) print i; }; }'`; \
704 shift; \
705 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
706 test -n "$$unique" || unique=$$empty_fix; \
707 if test $$# -gt 0; then \
708 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
709 "$$@" $$unique; \
710 else \
711 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
712 $$unique; \
713 fi; \
715 ctags: CTAGS
716 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
717 $(TAGS_FILES) $(LISP)
718 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
719 unique=`for i in $$list; do \
720 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
721 done | \
722 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
723 END { if (nonempty) { for (i in files) print i; }; }'`; \
724 test -z "$(CTAGS_ARGS)$$unique" \
725 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
726 $$unique
728 GTAGS:
729 here=`$(am__cd) $(top_builddir) && pwd` \
730 && $(am__cd) $(top_srcdir) \
731 && gtags -i $(GTAGS_ARGS) "$$here"
733 distclean-tags:
734 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
735 check-am: all-am
736 check: check-recursive
737 all-am: Makefile $(LTLIBRARIES) all-local
738 installdirs: installdirs-recursive
739 installdirs-am:
740 for dir in "$(DESTDIR)$(toolexeclibdir)"; do \
741 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
742 done
743 install: install-recursive
744 install-exec: install-exec-recursive
745 install-data: install-data-recursive
746 uninstall: uninstall-recursive
748 install-am: all-am
749 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
751 installcheck: installcheck-recursive
752 install-strip:
753 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
754 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
755 `test -z '$(STRIP)' || \
756 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
757 mostlyclean-generic:
759 clean-generic:
760 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
762 distclean-generic:
763 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
764 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
766 maintainer-clean-generic:
767 @echo "This command is intended for maintainers to use"
768 @echo "it deletes files that may require special tools to rebuild."
769 clean: clean-recursive
771 clean-am: clean-generic clean-libtool clean-local \
772 clean-toolexeclibLTLIBRARIES mostlyclean-am
774 distclean: distclean-recursive
775 -rm -f Makefile
776 distclean-am: clean-am distclean-compile distclean-generic \
777 distclean-tags
779 dvi: dvi-recursive
781 dvi-am:
783 html: html-recursive
785 html-am:
787 info: info-recursive
789 info-am:
791 install-data-am: install-data-local
793 install-dvi: install-dvi-recursive
795 install-dvi-am:
797 install-exec-am: install-toolexeclibLTLIBRARIES
799 install-html: install-html-recursive
801 install-html-am:
803 install-info: install-info-recursive
805 install-info-am:
807 install-man:
809 install-pdf: install-pdf-recursive
811 install-pdf-am:
813 install-ps: install-ps-recursive
815 install-ps-am:
817 installcheck-am:
819 maintainer-clean: maintainer-clean-recursive
820 -rm -f Makefile
821 maintainer-clean-am: distclean-am maintainer-clean-generic
823 mostlyclean: mostlyclean-recursive
825 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
826 mostlyclean-libtool
828 pdf: pdf-recursive
830 pdf-am:
832 ps: ps-recursive
834 ps-am:
836 uninstall-am: uninstall-toolexeclibLTLIBRARIES
838 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
839 install-am install-strip tags-recursive
841 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
842 all all-am all-local check check-am clean clean-generic \
843 clean-libtool clean-local clean-toolexeclibLTLIBRARIES ctags \
844 ctags-recursive distclean distclean-compile distclean-generic \
845 distclean-libtool distclean-tags dvi dvi-am html html-am info \
846 info-am install install-am install-data install-data-am \
847 install-data-local install-dvi install-dvi-am install-exec \
848 install-exec-am install-html install-html-am install-info \
849 install-info-am install-man install-pdf install-pdf-am \
850 install-ps install-ps-am install-strip \
851 install-toolexeclibLTLIBRARIES installcheck installcheck-am \
852 installdirs installdirs-am maintainer-clean \
853 maintainer-clean-generic mostlyclean mostlyclean-compile \
854 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
855 tags tags-recursive uninstall uninstall-am \
856 uninstall-toolexeclibLTLIBRARIES
859 @VTV_CYGMIN_TRUE@vtv_stubs.cc:
860 @VTV_CYGMIN_TRUE@ rm -f $@
861 @VTV_CYGMIN_TRUE@ $(LN_S) $(toplevel_srcdir)/libstdc++-v3/libsupc++/vtv_stubs.cc $@
863 vpath % $(top_srcdir)/src/c++98
864 vpath % $(top_srcdir)/src/c++11
865 @ENABLE_FILESYSTEM_TS_TRUE@vpath % $(top_srcdir)/src/filesystem
867 # Use special rules for compatibility-ldbl.cc compilation, as we need to
868 # pass -mlong-double-64.
869 @GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.lo: compatibility-ldbl.cc
870 @GLIBCXX_LDBL_COMPAT_TRUE@ $(LTCXXCOMPILE) -mlong-double-64 -c $<
871 @GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.o: compatibility-ldbl.cc
872 @GLIBCXX_LDBL_COMPAT_TRUE@ $(CXXCOMPILE) -mlong-double-64 -c $<
874 # Use special rules for C++11 files/objects.
875 compatibility-c++0x.lo: compatibility-c++0x.cc
876 $(LTCXXCOMPILE) -std=gnu++11 -c $<
877 compatibility-c++0x.o: compatibility-c++0x.cc
878 $(CXXCOMPILE) -std=gnu++11 -c $<
880 compatibility-atomic-c++0x.lo: compatibility-atomic-c++0x.cc
881 $(LTCXXCOMPILE) -std=gnu++11 -c $<
882 compatibility-atomic-c++0x.o: compatibility-atomic-c++0x.cc
883 $(CXXCOMPILE) -std=gnu++11 -c $<
885 compatibility-thread-c++0x.lo: compatibility-thread-c++0x.cc
886 $(LTCXXCOMPILE) -std=gnu++11 -c $<
887 compatibility-thread-c++0x.o: compatibility-thread-c++0x.cc
888 $(CXXCOMPILE) -std=gnu++11 -c $<
890 compatibility-chrono.lo: compatibility-chrono.cc
891 $(LTCXXCOMPILE) -std=gnu++11 -c $<
892 compatibility-chrono.o: compatibility-chrono.cc
893 $(CXXCOMPILE) -std=gnu++11 -c $<
895 compatibility-condvar.lo: compatibility-condvar.cc
896 $(LTCXXCOMPILE) -std=gnu++11 -c $<
897 compatibility-condvar.o: compatibility-condvar.cc
898 $(CXXCOMPILE) -std=gnu++11 -c $<
900 # Symbol versioning for shared libraries.
901 @ENABLE_SYMVERS_TRUE@libstdc++-symbols.ver: ${glibcxx_srcdir}/$(SYMVER_FILE) \
902 @ENABLE_SYMVERS_TRUE@ $(port_specific_symbol_files)
903 @ENABLE_SYMVERS_TRUE@ cp ${glibcxx_srcdir}/$(SYMVER_FILE) $@.tmp
904 @ENABLE_SYMVERS_TRUE@ chmod +w $@.tmp
905 @ENABLE_SYMVERS_TRUE@ if test "x$(port_specific_symbol_files)" != x; then \
906 @ENABLE_SYMVERS_TRUE@ if grep '^# Appended to version file.' \
907 @ENABLE_SYMVERS_TRUE@ $(port_specific_symbol_files) /dev/null > /dev/null 2>&1; then \
908 @ENABLE_SYMVERS_TRUE@ cat $(port_specific_symbol_files) >> $@.tmp; \
909 @ENABLE_SYMVERS_TRUE@ else \
910 @ENABLE_SYMVERS_TRUE@ sed -n '1,/DO NOT DELETE/p' $@.tmp > tmp.top; \
911 @ENABLE_SYMVERS_TRUE@ sed -n '/DO NOT DELETE/,$$p' $@.tmp > tmp.bottom; \
912 @ENABLE_SYMVERS_TRUE@ cat tmp.top $(port_specific_symbol_files) tmp.bottom > $@.tmp; \
913 @ENABLE_SYMVERS_TRUE@ rm tmp.top tmp.bottom; \
914 @ENABLE_SYMVERS_TRUE@ fi; \
915 @ENABLE_SYMVERS_TRUE@ fi
916 @ENABLE_SYMVERS_TRUE@ $(EGREP) -v '^[ ]*#(#| |$$)' $@.tmp | \
917 @ENABLE_SYMVERS_TRUE@ $(CC) -E -P -include $(CONFIG_HEADER) - > $@ || (rm -f $@ ; exit 1)
918 @ENABLE_SYMVERS_TRUE@ rm -f $@.tmp
919 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@libstdc++-symbols.ver-sun : libstdc++-symbols.ver \
920 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ $(toplevel_srcdir)/contrib/make_sunver.pl \
921 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
922 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ CXXFILT="$(CXXFILT)"; export CXXFILT; \
923 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ perl $(toplevel_srcdir)/contrib/make_sunver.pl \
924 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ libstdc++-symbols.ver \
925 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
926 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ `echo $(libstdc___la_LIBADD) | \
927 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
928 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ > $@ || (rm -f $@ ; exit 1)
929 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@libstdc++-symbols.explist : libstdc++-symbols.ver \
930 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ ${glibcxx_srcdir}/scripts/make_exports.pl \
931 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
932 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ perl ${glibcxx_srcdir}/scripts/make_exports.pl \
933 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ libstdc++-symbols.ver \
934 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
935 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ `echo $(libstdc___la_LIBADD) | \
936 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
937 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ > $@ || (rm -f $@ ; exit 1)
939 # Control additional build primary rules.
940 all-once: libstdc++convenience.la $(STAMP_DEBUG)
941 install-data-once: $(STAMP_INSTALL_DEBUG)
943 all-local: all-once
944 install-data-local: install-data-once
945 clean-local:
946 rm -rf libstdc++convenience.la stamp* $(CLEAN_DEBUG)
948 # Make a non-installed convenience library, so that --disable-static
949 # may work.
950 libstdc++convenience.la: $(toolexeclib_LTLIBRARIES)
951 $(CXXLINK) $(libstdc___la_LIBADD) $(LIBS); \
952 if test ! -f .libs/libstdc++.a; then \
953 cp .libs/libstdc++convenience.a .libs/libstdc++.a; \
954 fi; \
955 echo `date` > stamp-libstdc++convenience;
956 stamp-debug:
957 if test ! -d ${debugdir}; then \
958 mkdir -p ${debugdir}; \
959 for d in $(SUBDIRS); do mkdir -p ${debugdir}/$$d; done; \
960 (cd ${debugdir}; \
961 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
962 -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
963 -e 's/srcdir = \.\./srcdir = ..\/../' \
964 -e 's/VPATH = \.\./VPATH = ..\/../' \
965 -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
966 -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
967 < ../Makefile > Makefile ; \
968 for d in . $(SUBDIRS); do \
969 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
970 -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
971 -e 's/srcdir = \.\./srcdir = ..\/../' \
972 -e 's/VPATH = \.\./VPATH = ..\/../' \
973 -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
974 -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
975 < ../$$d/Makefile > $$d/Makefile ; \
976 done) ; \
977 fi; \
978 echo `date` > stamp-debug;
980 build-debug: stamp-debug
981 (cd ${debugdir}; \
982 mv Makefile Makefile.tmp; \
983 sed -e 's,all-local: all-once,all-local:,' \
984 -e 's,install-data-local: install-data-once,install-data-local:,' \
985 -e '/vpath/!s,src/c,src/debug/c,' \
986 < Makefile.tmp > Makefile ; \
987 rm -f Makefile.tmp ; \
988 $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
989 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug all) ;
991 # Install debug library.
992 install-debug: build-debug
993 (cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
994 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install) ;
996 # Tell versions [3.59,3.63) of GNU make to not export all variables.
997 # Otherwise a system limit (for SysV at least) may be exceeded.
998 .NOEXPORT: