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