]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/src/Makefile.in
Committing generated configure & Makefile.in pieces of VTV Cygwin patch (from Patrick...
[thirdparty/gcc.git] / libstdc++-v3 / src / Makefile.in
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
3
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.
10
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.
15
16 @SET_MAKE@
17
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 = $(SUBDIRS)
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@
324
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
337
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=$@
342
343 WARN_CXXFLAGS = \
344 $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
345
346
347 # -I/-D flags to pass when compiling.
348 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
349 SUBDIRS = c++98 c++11
350 @VTV_CYGMIN_FALSE@toolexeclib_LTLIBRARIES = libstdc++.la
351
352 # Cross compiler support.
353 @VTV_CYGMIN_TRUE@toolexeclib_LTLIBRARIES = libvtv.la libstdc++.la
354 @VTV_CYGMIN_TRUE@libvtv_la_SOURCES = vtv_stubs.cc
355 @VTV_CYGMIN_TRUE@libvtv_la_LDFLAGS = $(lt_host_flags)
356 @VTV_CYGMIN_TRUE@libvtv_la_AM_CXXFLAGS = \
357 @VTV_CYGMIN_TRUE@ $(glibcxx_compiler_pic_flag) \
358 @VTV_CYGMIN_TRUE@ $(XTEMPLATE_FLAGS) \
359 @VTV_CYGMIN_TRUE@ -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end \
360 @VTV_CYGMIN_TRUE@ $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
361
362 @VTV_CYGMIN_TRUE@libvtv_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
363 @VTV_CYGMIN_TRUE@ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(libvtv_la_AM_CXXFLAGS) \
364 @VTV_CYGMIN_TRUE@ $(CXXFLAGS) $(libvtv_la_LDFLAGS) $(LDFLAGS) -o $@
365
366 @GLIBCXX_LDBL_COMPAT_FALSE@ldbl_compat_sources =
367 @GLIBCXX_LDBL_COMPAT_TRUE@ldbl_compat_sources = compatibility-ldbl.cc
368 parallel_compat_sources = \
369 compatibility-parallel_list.cc compatibility-parallel_list-2.cc
370
371 cxx98_sources = \
372 compatibility.cc \
373 compatibility-debug_list.cc \
374 compatibility-debug_list-2.cc \
375 ${ldbl_compat_sources}
376
377 cxx11_sources = \
378 compatibility-c++0x.cc \
379 compatibility-atomic-c++0x.cc \
380 compatibility-thread-c++0x.cc \
381 compatibility-chrono.cc \
382 compatibility-condvar.cc
383
384 libstdc___la_SOURCES = $(cxx98_sources) $(cxx11_sources)
385 libstdc___la_LIBADD = \
386 $(GLIBCXX_LIBS) \
387 $(top_builddir)/libsupc++/libsupc++convenience.la \
388 $(top_builddir)/src/c++98/libc++98convenience.la \
389 $(top_builddir)/src/c++11/libc++11convenience.la
390
391 libstdc___la_DEPENDENCIES = \
392 ${version_dep} \
393 $(top_builddir)/libsupc++/libsupc++convenience.la \
394 $(top_builddir)/src/c++98/libc++98convenience.la \
395 $(top_builddir)/src/c++11/libc++11convenience.la
396
397 libstdc___la_LDFLAGS = \
398 -version-info $(libtool_VERSION) ${version_arg} -lm
399
400 libstdc___la_LINK = $(CXXLINK) $(libstdc___la_LDFLAGS)
401
402 # A note on compatibility and static libraries.
403 #
404 # static lib == linked against only this version, should not need compat
405 # shared lib == linked against potentially all compat versions
406 #
407 # Thus, the shared libs have more compat symbols, which can be found
408 # segregated in the sources with -D_GLIBCXX_SHARED.
409 #
410 # In the sub-directories of libsupc++, src/c++98, src/c++11, only
411 # -prefer-pic objects are generated for the convenience libraries.
412 #
413 # In the main src directory, make shared and static objects just for
414 # the compat libraries. Shared objects are compiled with -prefer-pic
415 # -D_GLIBCXX_SHARED and in the .libs sub-directory, static objects are
416 # compiled with -prefer-pic (ie, -fPIC but not -D_GLIBCXX_SHARED) and
417 # the main src directory.
418 #
419 # Why are objects destined for libstdc++.a compiled with -fPIC? First,
420 # because -fPIC is not harmful to use for objects destined for static
421 # libraries. In addition, using -fPIC will allow the use of static
422 # libstdc++.a in the creation of other C++ shared libraries.
423
424 # AM_CXXFLAGS needs to be in each sub-directory so that it can be
425 # modified in a per-library or per-sub-library way. Need to manually
426 # set this option because CONFIG_CXXFLAGS has to be after
427 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
428 # as the occasion calls for it.
429 AM_CXXFLAGS = \
430 $(glibcxx_compiler_pic_flag) \
431 $(XTEMPLATE_FLAGS) $(VTV_CXXFLAGS) \
432 $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
433
434
435 # Libtool notes
436
437 # 1) In general, libtool expects an argument such as `--tag=CXX' when
438 # using the C++ compiler, because that will enable the settings
439 # detected when C++ support was being configured. However, when no
440 # such flag is given in the command line, libtool attempts to figure
441 # it out by matching the compiler name in each configuration section
442 # against a prefix of the command line. The problem is that, if the
443 # compiler name and its initial flags stored in the libtool
444 # configuration file don't match those in the command line, libtool
445 # can't decide which configuration to use, and it gives up. The
446 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
447 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
448 # attempt to infer which configuration to use.
449 #
450 # The second tag argument, `--tag disable-shared` means that libtool
451 # only compiles each source once, for static objects. In actuality,
452 # glibcxx_lt_pic_flag and glibcxx_compiler_shared_flag are added to
453 # the libtool command that is used create the object, which is
454 # suitable for shared libraries. The `--tag disable-shared` must be
455 # placed after --tag CXX lest things CXX undo the affect of
456 # disable-shared.
457
458 # 2) Need to explicitly set LTCXXCOMPILE so that EXTRA_CXX_FLAGS is
459 # last. (That way, things like -O2 passed down from the toplevel can
460 # be overridden by --enable-debug and --enable-cxx-flags.)
461 LTCXXCOMPILE = \
462 $(LIBTOOL) --tag CXX \
463 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
464 --mode=compile $(CXX) $(INCLUDES) \
465 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(EXTRA_CXX_FLAGS)
466
467 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
468
469 # 3) We'd have a problem when building the shared libstdc++ object if
470 # the rules automake generates would be used. We cannot allow g++ to
471 # be used since this would add -lstdc++ to the link line which of
472 # course is problematic at this point. So, we get the top-level
473 # directory to configure libstdc++-v3 to use gcc as the C++
474 # compilation driver.
475 CXXLINK = \
476 $(LIBTOOL) --tag CXX \
477 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
478 --mode=link $(CXX) \
479 $(VTV_CXXLINKFLAGS) \
480 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
481
482 @ENABLE_SYMVERS_TRUE@CLEANFILES = libstdc++-symbols.ver $(version_dep)
483 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-exported_symbols_list,libstdc++-symbols.explist
484 @ENABLE_SYMVERS_FALSE@version_arg =
485 @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
486 @ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
487 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-M,libstdc++-symbols.ver-sun
488 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.explist
489 @ENABLE_SYMVERS_FALSE@version_dep =
490 @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
491 @ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
492 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver-sun
493 @GLIBCXX_BUILD_DEBUG_FALSE@STAMP_DEBUG =
494
495 # Added rules.
496 # 1 debug library
497 # 2 supra-convenience library
498 @GLIBCXX_BUILD_DEBUG_TRUE@STAMP_DEBUG = build-debug
499 @GLIBCXX_BUILD_DEBUG_FALSE@STAMP_INSTALL_DEBUG =
500 @GLIBCXX_BUILD_DEBUG_TRUE@STAMP_INSTALL_DEBUG = install-debug
501 @GLIBCXX_BUILD_DEBUG_FALSE@CLEAN_DEBUG =
502 @GLIBCXX_BUILD_DEBUG_TRUE@CLEAN_DEBUG = debug
503
504 # Build a debug variant.
505 # Take care to fix all possibly-relative paths.
506 debugdir = ${glibcxx_builddir}/src/debug
507 all: all-recursive
508
509 .SUFFIXES:
510 .SUFFIXES: .cc .lo .o .obj
511 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
512 @for dep in $?; do \
513 case '$(am__configure_deps)' in \
514 *$$dep*) \
515 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
516 && { if test -f $@; then exit 0; else break; fi; }; \
517 exit 1;; \
518 esac; \
519 done; \
520 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/Makefile'; \
521 $(am__cd) $(top_srcdir) && \
522 $(AUTOMAKE) --foreign --ignore-deps src/Makefile
523 .PRECIOUS: Makefile
524 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
525 @case '$?' in \
526 *config.status*) \
527 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
528 *) \
529 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
530 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
531 esac;
532
533 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
534 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
535
536 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
537 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
538 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
539 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
540 $(am__aclocal_m4_deps):
541 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
542 @$(NORMAL_INSTALL)
543 test -z "$(toolexeclibdir)" || $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)"
544 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
545 list2=; for p in $$list; do \
546 if test -f $$p; then \
547 list2="$$list2 $$p"; \
548 else :; fi; \
549 done; \
550 test -z "$$list2" || { \
551 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
552 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \
553 }
554
555 uninstall-toolexeclibLTLIBRARIES:
556 @$(NORMAL_UNINSTALL)
557 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
558 for p in $$list; do \
559 $(am__strip_dir) \
560 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
561 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \
562 done
563
564 clean-toolexeclibLTLIBRARIES:
565 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
566 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
567 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
568 test "$$dir" != "$$p" || dir=.; \
569 echo "rm -f \"$${dir}/so_locations\""; \
570 rm -f "$${dir}/so_locations"; \
571 done
572 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
573 $(libstdc___la_LINK) $(am_libstdc___la_rpath) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
574 libvtv.la: $(libvtv_la_OBJECTS) $(libvtv_la_DEPENDENCIES)
575 $(libvtv_la_LINK) $(am_libvtv_la_rpath) $(libvtv_la_OBJECTS) $(libvtv_la_LIBADD) $(LIBS)
576
577 mostlyclean-compile:
578 -rm -f *.$(OBJEXT)
579
580 distclean-compile:
581 -rm -f *.tab.c
582
583 .cc.o:
584 $(CXXCOMPILE) -c -o $@ $<
585
586 .cc.obj:
587 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
588
589 .cc.lo:
590 $(LTCXXCOMPILE) -c -o $@ $<
591
592 mostlyclean-libtool:
593 -rm -f *.lo
594
595 clean-libtool:
596 -rm -rf .libs _libs
597
598 # This directory's subdirectories are mostly independent; you can cd
599 # into them and run `make' without going through this Makefile.
600 # To change the values of `make' variables: instead of editing Makefiles,
601 # (1) if the variable is set in `config.status', edit `config.status'
602 # (which will cause the Makefiles to be regenerated when you run `make');
603 # (2) otherwise, pass the desired values on the `make' command line.
604 $(RECURSIVE_TARGETS):
605 @fail= failcom='exit 1'; \
606 for f in x $$MAKEFLAGS; do \
607 case $$f in \
608 *=* | --[!k]*);; \
609 *k*) failcom='fail=yes';; \
610 esac; \
611 done; \
612 dot_seen=no; \
613 target=`echo $@ | sed s/-recursive//`; \
614 list='$(SUBDIRS)'; for subdir in $$list; do \
615 echo "Making $$target in $$subdir"; \
616 if test "$$subdir" = "."; then \
617 dot_seen=yes; \
618 local_target="$$target-am"; \
619 else \
620 local_target="$$target"; \
621 fi; \
622 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
623 || eval $$failcom; \
624 done; \
625 if test "$$dot_seen" = "no"; then \
626 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
627 fi; test -z "$$fail"
628
629 $(RECURSIVE_CLEAN_TARGETS):
630 @fail= failcom='exit 1'; \
631 for f in x $$MAKEFLAGS; do \
632 case $$f in \
633 *=* | --[!k]*);; \
634 *k*) failcom='fail=yes';; \
635 esac; \
636 done; \
637 dot_seen=no; \
638 case "$@" in \
639 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
640 *) list='$(SUBDIRS)' ;; \
641 esac; \
642 rev=''; for subdir in $$list; do \
643 if test "$$subdir" = "."; then :; else \
644 rev="$$subdir $$rev"; \
645 fi; \
646 done; \
647 rev="$$rev ."; \
648 target=`echo $@ | sed s/-recursive//`; \
649 for subdir in $$rev; do \
650 echo "Making $$target in $$subdir"; \
651 if test "$$subdir" = "."; then \
652 local_target="$$target-am"; \
653 else \
654 local_target="$$target"; \
655 fi; \
656 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
657 || eval $$failcom; \
658 done && test -z "$$fail"
659 tags-recursive:
660 list='$(SUBDIRS)'; for subdir in $$list; do \
661 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
662 done
663 ctags-recursive:
664 list='$(SUBDIRS)'; for subdir in $$list; do \
665 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
666 done
667
668 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
669 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
670 unique=`for i in $$list; do \
671 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
672 done | \
673 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
674 END { if (nonempty) { for (i in files) print i; }; }'`; \
675 mkid -fID $$unique
676 tags: TAGS
677
678 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
679 $(TAGS_FILES) $(LISP)
680 set x; \
681 here=`pwd`; \
682 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
683 include_option=--etags-include; \
684 empty_fix=.; \
685 else \
686 include_option=--include; \
687 empty_fix=; \
688 fi; \
689 list='$(SUBDIRS)'; for subdir in $$list; do \
690 if test "$$subdir" = .; then :; else \
691 test ! -f $$subdir/TAGS || \
692 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
693 fi; \
694 done; \
695 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
696 unique=`for i in $$list; do \
697 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
698 done | \
699 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
700 END { if (nonempty) { for (i in files) print i; }; }'`; \
701 shift; \
702 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
703 test -n "$$unique" || unique=$$empty_fix; \
704 if test $$# -gt 0; then \
705 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
706 "$$@" $$unique; \
707 else \
708 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
709 $$unique; \
710 fi; \
711 fi
712 ctags: CTAGS
713 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
714 $(TAGS_FILES) $(LISP)
715 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
716 unique=`for i in $$list; do \
717 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
718 done | \
719 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
720 END { if (nonempty) { for (i in files) print i; }; }'`; \
721 test -z "$(CTAGS_ARGS)$$unique" \
722 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
723 $$unique
724
725 GTAGS:
726 here=`$(am__cd) $(top_builddir) && pwd` \
727 && $(am__cd) $(top_srcdir) \
728 && gtags -i $(GTAGS_ARGS) "$$here"
729
730 distclean-tags:
731 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
732 check-am: all-am
733 check: check-recursive
734 all-am: Makefile $(LTLIBRARIES) all-local
735 installdirs: installdirs-recursive
736 installdirs-am:
737 for dir in "$(DESTDIR)$(toolexeclibdir)"; do \
738 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
739 done
740 install: install-recursive
741 install-exec: install-exec-recursive
742 install-data: install-data-recursive
743 uninstall: uninstall-recursive
744
745 install-am: all-am
746 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
747
748 installcheck: installcheck-recursive
749 install-strip:
750 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
751 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
752 `test -z '$(STRIP)' || \
753 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
754 mostlyclean-generic:
755
756 clean-generic:
757 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
758
759 distclean-generic:
760 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
761 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
762
763 maintainer-clean-generic:
764 @echo "This command is intended for maintainers to use"
765 @echo "it deletes files that may require special tools to rebuild."
766 clean: clean-recursive
767
768 clean-am: clean-generic clean-libtool clean-local \
769 clean-toolexeclibLTLIBRARIES mostlyclean-am
770
771 distclean: distclean-recursive
772 -rm -f Makefile
773 distclean-am: clean-am distclean-compile distclean-generic \
774 distclean-tags
775
776 dvi: dvi-recursive
777
778 dvi-am:
779
780 html: html-recursive
781
782 html-am:
783
784 info: info-recursive
785
786 info-am:
787
788 install-data-am: install-data-local
789
790 install-dvi: install-dvi-recursive
791
792 install-dvi-am:
793
794 install-exec-am: install-toolexeclibLTLIBRARIES
795
796 install-html: install-html-recursive
797
798 install-html-am:
799
800 install-info: install-info-recursive
801
802 install-info-am:
803
804 install-man:
805
806 install-pdf: install-pdf-recursive
807
808 install-pdf-am:
809
810 install-ps: install-ps-recursive
811
812 install-ps-am:
813
814 installcheck-am:
815
816 maintainer-clean: maintainer-clean-recursive
817 -rm -f Makefile
818 maintainer-clean-am: distclean-am maintainer-clean-generic
819
820 mostlyclean: mostlyclean-recursive
821
822 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
823 mostlyclean-libtool
824
825 pdf: pdf-recursive
826
827 pdf-am:
828
829 ps: ps-recursive
830
831 ps-am:
832
833 uninstall-am: uninstall-toolexeclibLTLIBRARIES
834
835 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
836 install-am install-strip tags-recursive
837
838 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
839 all all-am all-local check check-am clean clean-generic \
840 clean-libtool clean-local clean-toolexeclibLTLIBRARIES ctags \
841 ctags-recursive distclean distclean-compile distclean-generic \
842 distclean-libtool distclean-tags dvi dvi-am html html-am info \
843 info-am install install-am install-data install-data-am \
844 install-data-local install-dvi install-dvi-am install-exec \
845 install-exec-am install-html install-html-am install-info \
846 install-info-am install-man install-pdf install-pdf-am \
847 install-ps install-ps-am install-strip \
848 install-toolexeclibLTLIBRARIES installcheck installcheck-am \
849 installdirs installdirs-am maintainer-clean \
850 maintainer-clean-generic mostlyclean mostlyclean-compile \
851 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
852 tags tags-recursive uninstall uninstall-am \
853 uninstall-toolexeclibLTLIBRARIES
854
855
856 @VTV_CYGMIN_TRUE@vtv_stubs.cc:
857 @VTV_CYGMIN_TRUE@ rm -f $@
858 @VTV_CYGMIN_TRUE@ $(LN_S) $(toplevel_srcdir)/libstdc++-v3/libsupc++/vtv_stubs.cc $@
859
860 vpath % $(top_srcdir)/src/c++98
861 vpath % $(top_srcdir)/src/c++11
862
863 # Use special rules for compatibility-ldbl.cc compilation, as we need to
864 # pass -mlong-double-64.
865 @GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.lo: compatibility-ldbl.cc
866 @GLIBCXX_LDBL_COMPAT_TRUE@ $(LTCXXCOMPILE) -mlong-double-64 -c $<
867 @GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.o: compatibility-ldbl.cc
868 @GLIBCXX_LDBL_COMPAT_TRUE@ $(CXXCOMPILE) -mlong-double-64 -c $<
869
870 # Use special rules for C++11 files/objects.
871 compatibility-c++0x.lo: compatibility-c++0x.cc
872 $(LTCXXCOMPILE) -std=gnu++11 -c $<
873 compatibility-c++0x.o: compatibility-c++0x.cc
874 $(CXXCOMPILE) -std=gnu++11 -c $<
875
876 compatibility-atomic-c++0x.lo: compatibility-atomic-c++0x.cc
877 $(LTCXXCOMPILE) -std=gnu++11 -c $<
878 compatibility-atomic-c++0x.o: compatibility-atomic-c++0x.cc
879 $(CXXCOMPILE) -std=gnu++11 -c $<
880
881 compatibility-thread-c++0x.lo: compatibility-thread-c++0x.cc
882 $(LTCXXCOMPILE) -std=gnu++11 -c $<
883 compatibility-thread-c++0x.o: compatibility-thread-c++0x.cc
884 $(CXXCOMPILE) -std=gnu++11 -c $<
885
886 compatibility-chrono.lo: compatibility-chrono.cc
887 $(LTCXXCOMPILE) -std=gnu++11 -c $<
888 compatibility-chrono.o: compatibility-chrono.cc
889 $(CXXCOMPILE) -std=gnu++11 -c $<
890
891 compatibility-condvar.lo: compatibility-condvar.cc
892 $(LTCXXCOMPILE) -std=gnu++11 -c $<
893 compatibility-condvar.o: compatibility-condvar.cc
894 $(CXXCOMPILE) -std=gnu++11 -c $<
895
896 # Symbol versioning for shared libraries.
897 @ENABLE_SYMVERS_TRUE@libstdc++-symbols.ver: ${glibcxx_srcdir}/$(SYMVER_FILE) \
898 @ENABLE_SYMVERS_TRUE@ $(port_specific_symbol_files)
899 @ENABLE_SYMVERS_TRUE@ cp ${glibcxx_srcdir}/$(SYMVER_FILE) $@.tmp
900 @ENABLE_SYMVERS_TRUE@ chmod +w $@.tmp
901 @ENABLE_SYMVERS_TRUE@ if test "x$(port_specific_symbol_files)" != x; then \
902 @ENABLE_SYMVERS_TRUE@ if grep '^# Appended to version file.' \
903 @ENABLE_SYMVERS_TRUE@ $(port_specific_symbol_files) /dev/null > /dev/null 2>&1; then \
904 @ENABLE_SYMVERS_TRUE@ cat $(port_specific_symbol_files) >> $@.tmp; \
905 @ENABLE_SYMVERS_TRUE@ else \
906 @ENABLE_SYMVERS_TRUE@ sed -n '1,/DO NOT DELETE/p' $@.tmp > tmp.top; \
907 @ENABLE_SYMVERS_TRUE@ sed -n '/DO NOT DELETE/,$$p' $@.tmp > tmp.bottom; \
908 @ENABLE_SYMVERS_TRUE@ cat tmp.top $(port_specific_symbol_files) tmp.bottom > $@.tmp; \
909 @ENABLE_SYMVERS_TRUE@ rm tmp.top tmp.bottom; \
910 @ENABLE_SYMVERS_TRUE@ fi; \
911 @ENABLE_SYMVERS_TRUE@ fi
912 @ENABLE_SYMVERS_TRUE@ $(EGREP) -v '^[ ]*#(#| |$$)' $@.tmp | \
913 @ENABLE_SYMVERS_TRUE@ $(CC) -E -P -include $(CONFIG_HEADER) - > $@ || (rm -f $@ ; exit 1)
914 @ENABLE_SYMVERS_TRUE@ rm -f $@.tmp
915 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@libstdc++-symbols.ver-sun : libstdc++-symbols.ver \
916 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ $(toplevel_srcdir)/contrib/make_sunver.pl \
917 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
918 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ CXXFILT="$(CXXFILT)"; export CXXFILT; \
919 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ perl $(toplevel_srcdir)/contrib/make_sunver.pl \
920 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ libstdc++-symbols.ver \
921 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
922 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ `echo $(libstdc___la_LIBADD) | \
923 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
924 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ > $@ || (rm -f $@ ; exit 1)
925 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@libstdc++-symbols.explist : libstdc++-symbols.ver \
926 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ ${glibcxx_srcdir}/scripts/make_exports.pl \
927 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
928 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ perl ${glibcxx_srcdir}/scripts/make_exports.pl \
929 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ libstdc++-symbols.ver \
930 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
931 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ `echo $(libstdc___la_LIBADD) | \
932 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
933 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ > $@ || (rm -f $@ ; exit 1)
934
935 # Control additional build primary rules.
936 all-once: libstdc++convenience.la $(STAMP_DEBUG)
937 install-data-once: $(STAMP_INSTALL_DEBUG)
938
939 all-local: all-once
940 install-data-local: install-data-once
941 clean-local:
942 rm -rf libstdc++convenience.la stamp* $(CLEAN_DEBUG)
943
944 # Make a non-installed convenience library, so that --disable-static
945 # may work.
946 libstdc++convenience.la: $(toolexeclib_LTLIBRARIES)
947 $(CXXLINK) $(libstdc___la_LIBADD) $(LIBS); \
948 if test ! -f .libs/libstdc++.a; then \
949 cp .libs/libstdc++convenience.a .libs/libstdc++.a; \
950 fi; \
951 echo `date` > stamp-libstdc++convenience;
952 stamp-debug:
953 if test ! -d ${debugdir}; then \
954 mkdir -p ${debugdir}; \
955 for d in $(SUBDIRS); do mkdir -p ${debugdir}/$$d; done; \
956 (cd ${debugdir}; \
957 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
958 -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
959 -e 's/srcdir = \.\./srcdir = ..\/../' \
960 -e 's/VPATH = \.\./VPATH = ..\/../' \
961 -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
962 -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
963 < ../Makefile > Makefile ; \
964 for d in . $(SUBDIRS); do \
965 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
966 -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
967 -e 's/srcdir = \.\./srcdir = ..\/../' \
968 -e 's/VPATH = \.\./VPATH = ..\/../' \
969 -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
970 -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
971 < ../$$d/Makefile > $$d/Makefile ; \
972 done) ; \
973 fi; \
974 echo `date` > stamp-debug;
975
976 build-debug: stamp-debug
977 (cd ${debugdir}; \
978 mv Makefile Makefile.tmp; \
979 sed -e 's,all-local: all-once,all-local:,' \
980 -e 's,install-data-local: install-data-once,install-data-local:,' \
981 -e '/vpath/!s,src/c,src/debug/c,' \
982 < Makefile.tmp > Makefile ; \
983 rm -f Makefile.tmp ; \
984 $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
985 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug all) ;
986
987 # Install debug library.
988 install-debug: build-debug
989 (cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
990 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install) ;
991
992 # Tell versions [3.59,3.63) of GNU make to not export all variables.
993 # Otherwise a system limit (for SysV at least) may be exceeded.
994 .NOEXPORT: