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