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