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