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