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