]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/src/Makefile.in
Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856).
[thirdparty/gcc.git] / libstdc++-v3 / src / Makefile.in
CommitLineData
22e05272 1# Makefile.in generated by automake 1.15.1 from Makefile.am.
ff66d28f 2# @configure_input@
b2dad0e3 3
22e05272
JM
4# Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
b2dad0e3
BK
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
ff66d28f 15@SET_MAKE@
b2dad0e3 16
d683ec81 17VPATH = @srcdir@
22e05272
JM
18am__is_gnu_make = { \
19 if test -z '$(MAKELEVEL)'; then \
20 false; \
21 elif test -n '$(MAKE_HOST)'; then \
22 true; \
23 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
24 true; \
25 else \
26 false; \
27 fi; \
28}
29am__make_running_with_option = \
30 case $${target_option-} in \
31 ?) ;; \
32 *) echo "am__make_running_with_option: internal error: invalid" \
33 "target option '$${target_option-}' specified" >&2; \
34 exit 1;; \
35 esac; \
36 has_opt=no; \
37 sane_makeflags=$$MAKEFLAGS; \
38 if $(am__is_gnu_make); then \
39 sane_makeflags=$$MFLAGS; \
40 else \
6ef93676
MH
41 case $$MAKEFLAGS in \
42 *\\[\ \ ]*) \
22e05272
JM
43 bs=\\; \
44 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
45 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
6ef93676 46 esac; \
22e05272
JM
47 fi; \
48 skip_next=no; \
49 strip_trailopt () \
50 { \
51 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
52 }; \
53 for flg in $$sane_makeflags; do \
54 test $$skip_next = yes && { skip_next=no; continue; }; \
55 case $$flg in \
56 *=*|--*) continue;; \
57 -*I) strip_trailopt 'I'; skip_next=yes;; \
58 -*I?*) strip_trailopt 'I';; \
59 -*O) strip_trailopt 'O'; skip_next=yes;; \
60 -*O?*) strip_trailopt 'O';; \
61 -*l) strip_trailopt 'l'; skip_next=yes;; \
62 -*l?*) strip_trailopt 'l';; \
63 -[dEDm]) skip_next=yes;; \
64 -[JT]) skip_next=yes;; \
65 esac; \
66 case $$flg in \
67 *$$target_option*) has_opt=yes; break;; \
68 esac; \
69 done; \
70 test $$has_opt = yes
71am__make_dryrun = (target_option=n; $(am__make_running_with_option))
72am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
b2dad0e3 73pkgdatadir = $(datadir)/@PACKAGE@
b2dad0e3 74pkgincludedir = $(includedir)/@PACKAGE@
5213506e
RW
75pkglibdir = $(libdir)/@PACKAGE@
76pkglibexecdir = $(libexecdir)/@PACKAGE@
ff66d28f 77am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
ff66d28f
PE
78install_sh_DATA = $(install_sh) -c -m 644
79install_sh_PROGRAM = $(install_sh) -c
80install_sh_SCRIPT = $(install_sh) -c
81INSTALL_HEADER = $(INSTALL_DATA)
82transform = $(program_transform_name)
b2dad0e3
BK
83NORMAL_INSTALL = :
84PRE_INSTALL = :
85POST_INSTALL = :
86NORMAL_UNINSTALL = :
87PRE_UNINSTALL = :
88POST_UNINSTALL = :
b2dad0e3 89build_triplet = @build@
b2dad0e3 90host_triplet = @host@
b2dad0e3 91target_triplet = @target@
7eaf73d7
KC
92subdir = src
93ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
b25e6b79
BK
94am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
95 $(top_srcdir)/../config/enable.m4 \
eeb77d99 96 $(top_srcdir)/../config/futex.m4 \
1ec62aa9 97 $(top_srcdir)/../config/hwcaps.m4 \
4ffe6e87 98 $(top_srcdir)/../config/iconv.m4 \
cddfb1c7 99 $(top_srcdir)/../config/lead-dot.m4 \
4ffe6e87
BK
100 $(top_srcdir)/../config/lib-ld.m4 \
101 $(top_srcdir)/../config/lib-link.m4 \
102 $(top_srcdir)/../config/lib-prefix.m4 \
7de6ba7a 103 $(top_srcdir)/../config/lthostflags.m4 \
499c96f5 104 $(top_srcdir)/../config/multi.m4 \
cd111813 105 $(top_srcdir)/../config/no-executables.m4 \
ef5f59f6 106 $(top_srcdir)/../config/override.m4 \
ed0840ba 107 $(top_srcdir)/../config/stdint.m4 \
2e575796 108 $(top_srcdir)/../config/unwind_ipinfo.m4 \
eab89c86
PC
109 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
110 $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
111 $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \
112 $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
113 $(top_srcdir)/../config/gc++filt.m4 \
1183dc2c 114 $(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \
36101de9 115 $(top_srcdir)/../config/cet.m4 $(top_srcdir)/configure.ac
7eaf73d7
KC
116am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
117 $(ACLOCAL_M4)
22e05272 118DIST_COMMON = $(srcdir)/Makefile.am
7eaf73d7
KC
119CONFIG_HEADER = $(top_builddir)/config.h
120CONFIG_CLEAN_FILES =
5213506e 121CONFIG_CLEAN_VPATH_FILES =
a60945f8
PC
122am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
123am__vpath_adj = case $$p in \
124 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
125 *) f=$$p;; \
126 esac;
5213506e
RW
127am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
128am__install_max = 40
129am__nobase_strip_setup = \
130 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
131am__nobase_strip = \
132 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
133am__nobase_list = $(am__nobase_strip_setup); \
134 for p in $$list; do echo "$$p $$p"; done | \
135 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
136 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
137 if (++n[$$2] == $(am__install_max)) \
138 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
139 END { for (dir in files) print dir, files[dir] }'
140am__base_list = \
141 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
142 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
6ef93676
MH
143am__uninstall_files_from_dir = { \
144 test -z "$$files" \
145 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
146 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
147 $(am__cd) "$$dir" && rm -f $$files; }; \
148 }
7eaf73d7 149am__installdirs = "$(DESTDIR)$(toolexeclibdir)"
7eaf73d7 150LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
ec6fa56a 151am__DEPENDENCIES_1 =
0b284728 152@GLIBCXX_LDBL_COMPAT_TRUE@am__objects_1 = compatibility-ldbl.lo
495de4f4
BK
153am__objects_2 = compatibility.lo compatibility-debug_list.lo \
154 compatibility-debug_list-2.lo $(am__objects_1)
155am__objects_3 = compatibility-c++0x.lo compatibility-atomic-c++0x.lo \
3429db0f
JW
156 compatibility-thread-c++0x.lo compatibility-chrono.lo \
157 compatibility-condvar.lo
495de4f4 158am_libstdc___la_OBJECTS = $(am__objects_2) $(am__objects_3)
7eaf73d7 159libstdc___la_OBJECTS = $(am_libstdc___la_OBJECTS)
8be349ee
CT
160@VTV_CYGMIN_FALSE@am_libstdc___la_rpath = -rpath $(toolexeclibdir)
161@VTV_CYGMIN_TRUE@am_libstdc___la_rpath = -rpath $(toolexeclibdir)
162libvtv_la_LIBADD =
163@VTV_CYGMIN_TRUE@am_libvtv_la_OBJECTS = vtv_stubs.lo
164libvtv_la_OBJECTS = $(am_libvtv_la_OBJECTS)
165@VTV_CYGMIN_TRUE@am_libvtv_la_rpath = -rpath $(toolexeclibdir)
22e05272
JM
166AM_V_P = $(am__v_P_@AM_V@)
167am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
168am__v_P_0 = false
169am__v_P_1 = :
170AM_V_GEN = $(am__v_GEN_@AM_V@)
171am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
172am__v_GEN_0 = @echo " GEN " $@;
173am__v_GEN_1 =
174AM_V_at = $(am__v_at_@AM_V@)
175am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
176am__v_at_0 = @
177am__v_at_1 =
5213506e 178DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
7eaf73d7
KC
179depcomp =
180am__depfiles_maybe =
0b284728
BK
181CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
182 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
22e05272
JM
183AM_V_lt = $(am__v_lt_@AM_V@)
184am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
185am__v_lt_0 = --silent
186am__v_lt_1 =
187AM_V_CXX = $(am__v_CXX_@AM_V@)
188am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
189am__v_CXX_0 = @echo " CXX " $@;
190am__v_CXX_1 =
0b284728 191CXXLD = $(CXX)
22e05272
JM
192AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
193am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
194am__v_CXXLD_0 = @echo " CXXLD " $@;
195am__v_CXXLD_1 =
8be349ee 196SOURCES = $(libstdc___la_SOURCES) $(libvtv_la_SOURCES)
22e05272
JM
197RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
198 ctags-recursive dvi-recursive html-recursive info-recursive \
199 install-data-recursive install-dvi-recursive \
200 install-exec-recursive install-html-recursive \
201 install-info-recursive install-pdf-recursive \
202 install-ps-recursive install-recursive installcheck-recursive \
203 installdirs-recursive pdf-recursive ps-recursive \
204 tags-recursive uninstall-recursive
6ef93676
MH
205am__can_run_installinfo = \
206 case $$AM_UPDATE_INFO_DIR in \
207 n|no|NO) false;; \
208 *) (install-info --version) >/dev/null 2>&1;; \
209 esac
8bae34da
BK
210RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
211 distclean-recursive maintainer-clean-recursive
22e05272
JM
212am__recursive_targets = \
213 $(RECURSIVE_TARGETS) \
214 $(RECURSIVE_CLEAN_TARGETS) \
215 $(am__extra_recursive_targets)
216AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS
217am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
218# Read a list of newline-separated strings from the standard input,
219# and print each of them once, without duplicates. Input order is
220# *not* preserved.
221am__uniquify_input = $(AWK) '\
222 BEGIN { nonempty = 0; } \
223 { items[$$0] = 1; nonempty = 1; } \
224 END { if (nonempty) { for (i in items) print i; }; } \
225'
226# Make sure the list of sources is unique. This is necessary because,
227# e.g., the same source file might be shared among _SOURCES variables
228# for different programs/libraries.
229am__define_uniq_tagged_files = \
230 list='$(am__tagged_files)'; \
231 unique=`for i in $$list; do \
232 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
233 done | $(am__uniquify_input)`
7eaf73d7
KC
234ETAGS = etags
235CTAGS = ctags
dfaa3c47 236DIST_SUBDIRS = c++98 c++11 c++17 filesystem
1568430f 237ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
ff66d28f 238ACLOCAL = @ACLOCAL@
8b0d6051
BK
239ALLOCATOR_H = @ALLOCATOR_H@
240ALLOCATOR_NAME = @ALLOCATOR_NAME@
ff66d28f 241AMTAR = @AMTAR@
22e05272 242AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
b2dad0e3
BK
243AR = @AR@
244AS = @AS@
2c5d0ae8 245ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
c2ba9709 246ATOMIC_FLAGS = @ATOMIC_FLAGS@
2c5d0ae8 247ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
ff66d28f
PE
248AUTOCONF = @AUTOCONF@
249AUTOHEADER = @AUTOHEADER@
250AUTOMAKE = @AUTOMAKE@
ab3bc736 251AWK = @AWK@
6aa43d99 252BASIC_FILE_CC = @BASIC_FILE_CC@
4a9d5109 253BASIC_FILE_H = @BASIC_FILE_H@
b2dad0e3 254CC = @CC@
6aa43d99 255CCODECVT_CC = @CCODECVT_CC@
6aa43d99
BK
256CCOLLATE_CC = @CCOLLATE_CC@
257CCTYPE_CC = @CCTYPE_CC@
ff66d28f 258CFLAGS = @CFLAGS@
6aa43d99 259CLOCALE_CC = @CLOCALE_CC@
4a9d5109 260CLOCALE_H = @CLOCALE_H@
6aa43d99
BK
261CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
262CMESSAGES_CC = @CMESSAGES_CC@
33590f13 263CMESSAGES_H = @CMESSAGES_H@
6aa43d99
BK
264CMONEY_CC = @CMONEY_CC@
265CNUMERIC_CC = @CNUMERIC_CC@
b2dad0e3 266CPP = @CPP@
ff66d28f 267CPPFLAGS = @CPPFLAGS@
4b90c838 268CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
48c7b524 269CPU_OPT_BITS_RANDOM = @CPU_OPT_BITS_RANDOM@
9bf714c2 270CPU_OPT_EXT_RANDOM = @CPU_OPT_EXT_RANDOM@
4a9d5109 271CSTDIO_H = @CSTDIO_H@
6aa43d99 272CTIME_CC = @CTIME_CC@
1c26d8fd 273CTIME_H = @CTIME_H@
ff66d28f 274CXX = @CXX@
b2dad0e3 275CXXCPP = @CXXCPP@
c18dc5cc 276CXXFILT = @CXXFILT@
ff66d28f
PE
277CXXFLAGS = @CXXFLAGS@
278CYGPATH_W = @CYGPATH_W@
4a9d5109 279C_INCLUDE_DIR = @C_INCLUDE_DIR@
b25e6b79 280DBLATEX = @DBLATEX@
c470c17d 281DEBUG_FLAGS = @DEBUG_FLAGS@
ff66d28f 282DEFS = @DEFS@
b25e6b79
BK
283DOT = @DOT@
284DOXYGEN = @DOXYGEN@
25e5de9a 285DSYMUTIL = @DSYMUTIL@
1cf3d07d 286DUMPBIN = @DUMPBIN@
ff66d28f
PE
287ECHO_C = @ECHO_C@
288ECHO_N = @ECHO_N@
289ECHO_T = @ECHO_T@
290EGREP = @EGREP@
9adfc73c 291ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
b2dad0e3 292EXEEXT = @EXEEXT@
36101de9 293EXTRA_CFLAGS = @EXTRA_CFLAGS@
dcfa0bc8 294EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
1cf3d07d 295FGREP = @FGREP@
ff66d28f 296GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
ec6fa56a 297GLIBCXX_LIBS = @GLIBCXX_LIBS@
1cf3d07d 298GREP = @GREP@
1ec62aa9 299HWCAP_CFLAGS = @HWCAP_CFLAGS@
5213506e 300INSTALL = @INSTALL@
ff66d28f
PE
301INSTALL_DATA = @INSTALL_DATA@
302INSTALL_PROGRAM = @INSTALL_PROGRAM@
303INSTALL_SCRIPT = @INSTALL_SCRIPT@
304INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1cf3d07d
SE
305LD = @LD@
306LDFLAGS = @LDFLAGS@
d54bc1d8 307LIBICONV = @LIBICONV@
ff66d28f
PE
308LIBOBJS = @LIBOBJS@
309LIBS = @LIBS@
b2dad0e3 310LIBTOOL = @LIBTOOL@
25e5de9a 311LIPO = @LIPO@
b2dad0e3 312LN_S = @LN_S@
6d49b790 313LONG_DOUBLE_COMPAT_FLAGS = @LONG_DOUBLE_COMPAT_FLAGS@
4ffe6e87 314LTLIBICONV = @LTLIBICONV@
ff66d28f 315LTLIBOBJS = @LTLIBOBJS@
b2dad0e3
BK
316MAINT = @MAINT@
317MAKEINFO = @MAKEINFO@
5213506e 318MKDIR_P = @MKDIR_P@
1cf3d07d 319NM = @NM@
25e5de9a
PG
320NMEDIT = @NMEDIT@
321OBJDUMP = @OBJDUMP@
3df64633 322OBJEXT = @OBJEXT@
ff66d28f 323OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
421173e6 324OPT_LDFLAGS = @OPT_LDFLAGS@
4a9d5109 325OS_INC_SRCDIR = @OS_INC_SRCDIR@
25e5de9a
PG
326OTOOL = @OTOOL@
327OTOOL64 = @OTOOL64@
b2dad0e3 328PACKAGE = @PACKAGE@
ff66d28f
PE
329PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
330PACKAGE_NAME = @PACKAGE_NAME@
331PACKAGE_STRING = @PACKAGE_STRING@
332PACKAGE_TARNAME = @PACKAGE_TARNAME@
5213506e 333PACKAGE_URL = @PACKAGE_URL@
ff66d28f
PE
334PACKAGE_VERSION = @PACKAGE_VERSION@
335PATH_SEPARATOR = @PATH_SEPARATOR@
b25e6b79 336PDFLATEX = @PDFLATEX@
b2dad0e3 337RANLIB = @RANLIB@
c470c17d
BK
338SECTION_FLAGS = @SECTION_FLAGS@
339SECTION_LDFLAGS = @SECTION_LDFLAGS@
1cf3d07d 340SED = @SED@
ff66d28f
PE
341SET_MAKE = @SET_MAKE@
342SHELL = @SHELL@
3df64633 343STRIP = @STRIP@
fb5c309d 344SYMVER_FILE = @SYMVER_FILE@
ff66d28f 345TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
33590f13 346USE_NLS = @USE_NLS@
b2dad0e3 347VERSION = @VERSION@
2077db1b
CT
348VTV_CXXFLAGS = @VTV_CXXFLAGS@
349VTV_CXXLINKFLAGS = @VTV_CXXLINKFLAGS@
350VTV_PCH_CXXFLAGS = @VTV_PCH_CXXFLAGS@
e466dc8a 351WARN_FLAGS = @WARN_FLAGS@
b25e6b79
BK
352XMLLINT = @XMLLINT@
353XSLTPROC = @XSLTPROC@
b329dd10 354XSL_STYLE_DIR = @XSL_STYLE_DIR@
5213506e
RW
355abs_builddir = @abs_builddir@
356abs_srcdir = @abs_srcdir@
357abs_top_builddir = @abs_top_builddir@
358abs_top_srcdir = @abs_top_srcdir@
ff66d28f
PE
359ac_ct_CC = @ac_ct_CC@
360ac_ct_CXX = @ac_ct_CXX@
1cf3d07d 361ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
ff66d28f 362am__leading_dot = @am__leading_dot@
a60945f8
PC
363am__tar = @am__tar@
364am__untar = @am__untar@
44f0760e 365baseline_dir = @baseline_dir@
00fc1bf6 366baseline_subdir_switch = @baseline_subdir_switch@
ff66d28f
PE
367bindir = @bindir@
368build = @build@
369build_alias = @build_alias@
370build_cpu = @build_cpu@
371build_os = @build_os@
372build_vendor = @build_vendor@
5213506e 373builddir = @builddir@
501e321e 374check_msgfmt = @check_msgfmt@
ff66d28f 375datadir = @datadir@
5213506e
RW
376datarootdir = @datarootdir@
377docdir = @docdir@
378dvidir = @dvidir@
34791641
PE
379enable_shared = @enable_shared@
380enable_static = @enable_static@
ff66d28f 381exec_prefix = @exec_prefix@
3c36aa6b 382get_gcc_base_ver = @get_gcc_base_ver@
3d7c150e
BK
383glibcxx_MOFILES = @glibcxx_MOFILES@
384glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
385glibcxx_POFILES = @glibcxx_POFILES@
ff66d28f 386glibcxx_builddir = @glibcxx_builddir@
ac6d1200
BK
387glibcxx_compiler_pic_flag = @glibcxx_compiler_pic_flag@
388glibcxx_compiler_shared_flag = @glibcxx_compiler_shared_flag@
34a2b755 389glibcxx_cxx98_abi = @glibcxx_cxx98_abi@
3d7c150e 390glibcxx_localedir = @glibcxx_localedir@
ac6d1200 391glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
3d7c150e 392glibcxx_prefixdir = @glibcxx_prefixdir@
ff66d28f 393glibcxx_srcdir = @glibcxx_srcdir@
3d7c150e
BK
394glibcxx_toolexecdir = @glibcxx_toolexecdir@
395glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
4a9d5109 396gxx_include_dir = @gxx_include_dir@
ff66d28f
PE
397host = @host@
398host_alias = @host_alias@
399host_cpu = @host_cpu@
400host_os = @host_os@
401host_vendor = @host_vendor@
5213506e 402htmldir = @htmldir@
ff66d28f
PE
403includedir = @includedir@
404infodir = @infodir@
405install_sh = @install_sh@
406libdir = @libdir@
407libexecdir = @libexecdir@
4e10943d 408libtool_VERSION = @libtool_VERSION@
5213506e 409localedir = @localedir@
ff66d28f 410localstatedir = @localstatedir@
7de6ba7a 411lt_host_flags = @lt_host_flags@
ff66d28f 412mandir = @mandir@
7eaf73d7 413mkdir_p = @mkdir_p@
ff66d28f
PE
414multi_basedir = @multi_basedir@
415oldincludedir = @oldincludedir@
5213506e 416pdfdir = @pdfdir@
58579a27 417port_specific_symbol_files = @port_specific_symbol_files@
ff66d28f
PE
418prefix = @prefix@
419program_transform_name = @program_transform_name@
5213506e 420psdir = @psdir@
2a5d011c 421python_mod_dir = @python_mod_dir@
ff66d28f
PE
422sbindir = @sbindir@
423sharedstatedir = @sharedstatedir@
5213506e 424srcdir = @srcdir@
ff66d28f
PE
425sysconfdir = @sysconfdir@
426target = @target@
427target_alias = @target_alias@
428target_cpu = @target_cpu@
429target_os = @target_os@
430target_vendor = @target_vendor@
1183dc2c 431thread_header = @thread_header@
5213506e
RW
432top_build_prefix = @top_build_prefix@
433top_builddir = @top_builddir@
434top_srcdir = @top_srcdir@
5d1c8e77 435toplevel_builddir = @toplevel_builddir@
e2c20fae 436toplevel_srcdir = @toplevel_srcdir@
47194af4
ZW
437
438# May be used by various substitution variables.
3c36aa6b 439gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
b2dad0e3 440MAINT_CHARSET = latin1
ae9dc931 441mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
0df3f383 442PWD_COMMAND = $${PWDCMD-pwd}
82ba99d5 443STAMP = echo timestamp >
0df3f383
PE
444toolexecdir = $(glibcxx_toolexecdir)
445toolexeclibdir = $(glibcxx_toolexeclibdir)
b124c5c4 446@ENABLE_WERROR_FALSE@WERROR_FLAG =
c3be340e 447@ENABLE_WERROR_TRUE@WERROR_FLAG = -Werror
2077db1b
CT
448@ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS =
449@ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates
b2dad0e3 450
0df3f383
PE
451# These bits are all figured out from configure. Look in acinclude.m4
452# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
ff66d28f 453CONFIG_CXXFLAGS = \
1ec62aa9 454 $(SECTION_FLAGS) $(HWCAP_CFLAGS) -frandom-seed=$@
e466dc8a 455
ff66d28f 456WARN_CXXFLAGS = \
b124c5c4 457 $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
0df3f383 458
e466dc8a 459
0df3f383 460# -I/-D flags to pass when compiling.
74b7ec8c 461AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS)
0ca7ba9a
JW
462@ENABLE_FILESYSTEM_TS_FALSE@filesystem_dir =
463@ENABLE_FILESYSTEM_TS_TRUE@filesystem_dir = filesystem
dfaa3c47 464SUBDIRS = c++98 c++11 c++17 $(filesystem_dir)
8be349ee 465@VTV_CYGMIN_FALSE@toolexeclib_LTLIBRARIES = libstdc++.la
e466dc8a 466
0df3f383 467# Cross compiler support.
8be349ee
CT
468@VTV_CYGMIN_TRUE@toolexeclib_LTLIBRARIES = libvtv.la libstdc++.la
469@VTV_CYGMIN_TRUE@libvtv_la_SOURCES = vtv_stubs.cc
470@VTV_CYGMIN_TRUE@libvtv_la_LDFLAGS = $(lt_host_flags)
471@VTV_CYGMIN_TRUE@libvtv_la_AM_CXXFLAGS = \
472@VTV_CYGMIN_TRUE@ $(glibcxx_compiler_pic_flag) \
473@VTV_CYGMIN_TRUE@ $(XTEMPLATE_FLAGS) \
474@VTV_CYGMIN_TRUE@ -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end \
475@VTV_CYGMIN_TRUE@ $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
476
477@VTV_CYGMIN_TRUE@libvtv_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
478@VTV_CYGMIN_TRUE@ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(libvtv_la_AM_CXXFLAGS) \
479@VTV_CYGMIN_TRUE@ $(CXXFLAGS) $(libvtv_la_LDFLAGS) $(LDFLAGS) -o $@
480
0b284728
BK
481@GLIBCXX_LDBL_COMPAT_FALSE@ldbl_compat_sources =
482@GLIBCXX_LDBL_COMPAT_TRUE@ldbl_compat_sources = compatibility-ldbl.cc
495de4f4
BK
483parallel_compat_sources = \
484 compatibility-parallel_list.cc compatibility-parallel_list-2.cc
0b284728
BK
485
486cxx98_sources = \
487 compatibility.cc \
488 compatibility-debug_list.cc \
489 compatibility-debug_list-2.cc \
f92ab29f 490 ${ldbl_compat_sources}
0b284728
BK
491
492cxx11_sources = \
493 compatibility-c++0x.cc \
494 compatibility-atomic-c++0x.cc \
2e8a9734 495 compatibility-thread-c++0x.cc \
3429db0f
JW
496 compatibility-chrono.cc \
497 compatibility-condvar.cc
0b284728
BK
498
499libstdc___la_SOURCES = $(cxx98_sources) $(cxx11_sources)
ff66d28f 500libstdc___la_LIBADD = \
ec6fa56a 501 $(GLIBCXX_LIBS) \
8bae34da
BK
502 $(top_builddir)/libsupc++/libsupc++convenience.la \
503 $(top_builddir)/src/c++98/libc++98convenience.la \
dfaa3c47
JW
504 $(top_builddir)/src/c++11/libc++11convenience.la \
505 $(top_builddir)/src/c++17/libc++17convenience.la
ec6fa56a
PB
506
507libstdc___la_DEPENDENCIES = \
508 ${version_dep} \
8bae34da
BK
509 $(top_builddir)/libsupc++/libsupc++convenience.la \
510 $(top_builddir)/src/c++98/libc++98convenience.la \
dfaa3c47
JW
511 $(top_builddir)/src/c++11/libc++11convenience.la \
512 $(top_builddir)/src/c++17/libc++17convenience.la
5d89258a 513
ff66d28f 514libstdc___la_LDFLAGS = \
ed4f96af 515 -version-info $(libtool_VERSION) ${version_arg} -lm
263c6fa8 516
878f62e5 517libstdc___la_LINK = $(CXXLINK) $(libstdc___la_LDFLAGS)
b2dad0e3 518
ac6d1200 519# A note on compatibility and static libraries.
f92ab29f 520#
ac6d1200
BK
521# static lib == linked against only this version, should not need compat
522# shared lib == linked against potentially all compat versions
523#
524# Thus, the shared libs have more compat symbols, which can be found
525# segregated in the sources with -D_GLIBCXX_SHARED.
526#
dfaa3c47
JW
527# In the sub-directories of libsupc++, src/c++98, src/c++11, src/c++17,
528# only -prefer-pic objects are generated for the convenience libraries.
f92ab29f 529#
ac6d1200
BK
530# In the main src directory, make shared and static objects just for
531# the compat libraries. Shared objects are compiled with -prefer-pic
532# -D_GLIBCXX_SHARED and in the .libs sub-directory, static objects are
533# compiled with -prefer-pic (ie, -fPIC but not -D_GLIBCXX_SHARED) and
534# the main src directory.
535#
536# Why are objects destined for libstdc++.a compiled with -fPIC? First,
537# because -fPIC is not harmful to use for objects destined for static
538# libraries. In addition, using -fPIC will allow the use of static
539# libstdc++.a in the creation of other C++ shared libraries.
540
541# AM_CXXFLAGS needs to be in each sub-directory so that it can be
a9117427
BK
542# modified in a per-library or per-sub-library way. Need to manually
543# set this option because CONFIG_CXXFLAGS has to be after
544# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
e6b7a69a 545# as the occasion calls for it.
ff66d28f 546AM_CXXFLAGS = \
6cd9cb89 547 -std=gnu++98 \
ac6d1200 548 $(glibcxx_compiler_pic_flag) \
2077db1b 549 $(XTEMPLATE_FLAGS) $(VTV_CXXFLAGS) \
0b284728 550 $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
a9117427
BK
551
552
0b284728 553# Libtool notes
a9117427 554
ac6d1200 555# 1) In general, libtool expects an argument such as `--tag=CXX' when
a9117427
BK
556# using the C++ compiler, because that will enable the settings
557# detected when C++ support was being configured. However, when no
558# such flag is given in the command line, libtool attempts to figure
559# it out by matching the compiler name in each configuration section
560# against a prefix of the command line. The problem is that, if the
561# compiler name and its initial flags stored in the libtool
562# configuration file don't match those in the command line, libtool
563# can't decide which configuration to use, and it gives up. The
564# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
565# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
ac6d1200 566# attempt to infer which configuration to use.
f92ab29f 567#
ac6d1200
BK
568# The second tag argument, `--tag disable-shared` means that libtool
569# only compiles each source once, for static objects. In actuality,
570# glibcxx_lt_pic_flag and glibcxx_compiler_shared_flag are added to
571# the libtool command that is used create the object, which is
572# suitable for shared libraries. The `--tag disable-shared` must be
573# placed after --tag CXX lest things CXX undo the affect of
574# disable-shared.
575
b1d6986c 576# 2) Need to explicitly set LTCXXCOMPILE so that EXTRA_CXX_FLAGS is
ac6d1200 577# last. (That way, things like -O2 passed down from the toplevel can
b1d6986c 578# be overridden by --enable-debug and --enable-cxx-flags.)
0b284728
BK
579LTCXXCOMPILE = \
580 $(LIBTOOL) --tag CXX \
581 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
582 --mode=compile $(CXX) $(INCLUDES) \
b1d6986c 583 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(EXTRA_CXX_FLAGS)
a9117427 584
d79e6356 585LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
a9117427 586
787d2fb7
AO
587# 3) We'd have a problem when building the shared libstdc++ object if
588# the rules automake generates would be used. We cannot allow g++ to
589# be used since this would add -lstdc++ to the link line which of
590# course is problematic at this point. So, we get the top-level
591# directory to configure libstdc++-v3 to use gcc as the C++
592# compilation driver.
0b284728
BK
593CXXLINK = \
594 $(LIBTOOL) --tag CXX \
595 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
596 --mode=link $(CXX) \
2077db1b 597 $(VTV_CXXLINKFLAGS) \
0b284728 598 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
a9117427 599
8bae34da
BK
600@ENABLE_SYMVERS_TRUE@CLEANFILES = libstdc++-symbols.ver $(version_dep)
601@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-exported_symbols_list,libstdc++-symbols.explist
602@ENABLE_SYMVERS_FALSE@version_arg =
603@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
cc2de92d 604@ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
8bae34da
BK
605@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-M,libstdc++-symbols.ver-sun
606@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.explist
607@ENABLE_SYMVERS_FALSE@version_dep =
608@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
cc2de92d 609@ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
8bae34da 610@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver-sun
56378d0e
BK
611@GLIBCXX_BUILD_DEBUG_FALSE@STAMP_DEBUG =
612
613# Added rules.
614# 1 debug library
615# 2 supra-convenience library
616@GLIBCXX_BUILD_DEBUG_TRUE@STAMP_DEBUG = build-debug
617@GLIBCXX_BUILD_DEBUG_FALSE@STAMP_INSTALL_DEBUG =
618@GLIBCXX_BUILD_DEBUG_TRUE@STAMP_INSTALL_DEBUG = install-debug
619@GLIBCXX_BUILD_DEBUG_FALSE@CLEAN_DEBUG =
620@GLIBCXX_BUILD_DEBUG_TRUE@CLEAN_DEBUG = debug
621
622# Build a debug variant.
623# Take care to fix all possibly-relative paths.
624debugdir = ${glibcxx_builddir}/src/debug
8bae34da 625all: all-recursive
b2dad0e3 626
ff66d28f 627.SUFFIXES:
0b284728 628.SUFFIXES: .cc .lo .o .obj
7eaf73d7
KC
629$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
630 @for dep in $?; do \
631 case '$(am__configure_deps)' in \
632 *$$dep*) \
5213506e
RW
633 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
634 && { if test -f $@; then exit 0; else break; fi; }; \
7eaf73d7
KC
635 exit 1;; \
636 esac; \
637 done; \
5213506e
RW
638 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/Makefile'; \
639 $(am__cd) $(top_srcdir) && \
640 $(AUTOMAKE) --foreign --ignore-deps src/Makefile
7eaf73d7
KC
641Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
642 @case '$?' in \
643 *config.status*) \
644 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
645 *) \
646 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
647 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
648 esac;
22e05272 649$(top_srcdir)/fragment.am $(am__empty):
7eaf73d7
KC
650
651$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
652 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
653
654$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
655 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
656$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
657 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
5213506e 658$(am__aclocal_m4_deps):
22e05272 659
b2dad0e3
BK
660install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
661 @$(NORMAL_INSTALL)
5213506e
RW
662 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
663 list2=; for p in $$list; do \
b2dad0e3 664 if test -f $$p; then \
5213506e 665 list2="$$list2 $$p"; \
b2dad0e3 666 else :; fi; \
5213506e
RW
667 done; \
668 test -z "$$list2" || { \
6ef93676
MH
669 echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibdir)'"; \
670 $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)" || exit 1; \
5213506e
RW
671 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
672 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \
673 }
b2dad0e3
BK
674
675uninstall-toolexeclibLTLIBRARIES:
676 @$(NORMAL_UNINSTALL)
5213506e
RW
677 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
678 for p in $$list; do \
679 $(am__strip_dir) \
680 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
681 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \
b2dad0e3
BK
682 done
683
ff66d28f
PE
684clean-toolexeclibLTLIBRARIES:
685 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
22e05272
JM
686 @list='$(toolexeclib_LTLIBRARIES)'; \
687 locs=`for p in $$list; do echo $$p; done | \
688 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
689 sort -u`; \
690 test -z "$$locs" || { \
691 echo rm -f $${locs}; \
692 rm -f $${locs}; \
693 }
694
6ef93676 695libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES) $(EXTRA_libstdc___la_DEPENDENCIES)
22e05272
JM
696 $(AM_V_GEN)$(libstdc___la_LINK) $(am_libstdc___la_rpath) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
697
6ef93676 698libvtv.la: $(libvtv_la_OBJECTS) $(libvtv_la_DEPENDENCIES) $(EXTRA_libvtv_la_DEPENDENCIES)
22e05272 699 $(AM_V_GEN)$(libvtv_la_LINK) $(am_libvtv_la_rpath) $(libvtv_la_OBJECTS) $(libvtv_la_LIBADD) $(LIBS)
b2dad0e3
BK
700
701mostlyclean-compile:
7eaf73d7 702 -rm -f *.$(OBJEXT)
b2dad0e3
BK
703
704distclean-compile:
705 -rm -f *.tab.c
706
0b284728 707.cc.o:
22e05272 708 $(AM_V_CXX)$(CXXCOMPILE) -c -o $@ $<
0b284728
BK
709
710.cc.obj:
22e05272 711 $(AM_V_CXX)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
0b284728
BK
712
713.cc.lo:
22e05272 714 $(AM_V_CXX)$(LTCXXCOMPILE) -c -o $@ $<
0b284728 715
b2dad0e3
BK
716mostlyclean-libtool:
717 -rm -f *.lo
718
719clean-libtool:
720 -rm -rf .libs _libs
721
8bae34da 722# This directory's subdirectories are mostly independent; you can cd
22e05272
JM
723# into them and run 'make' without going through this Makefile.
724# To change the values of 'make' variables: instead of editing Makefiles,
725# (1) if the variable is set in 'config.status', edit 'config.status'
726# (which will cause the Makefiles to be regenerated when you run 'make');
727# (2) otherwise, pass the desired values on the 'make' command line.
728$(am__recursive_targets):
729 @fail=; \
730 if $(am__make_keepgoing); then \
731 failcom='fail=yes'; \
732 else \
733 failcom='exit 1'; \
734 fi; \
8bae34da
BK
735 dot_seen=no; \
736 target=`echo $@ | sed s/-recursive//`; \
22e05272
JM
737 case "$@" in \
738 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
739 *) list='$(SUBDIRS)' ;; \
740 esac; \
741 for subdir in $$list; do \
8bae34da
BK
742 echo "Making $$target in $$subdir"; \
743 if test "$$subdir" = "."; then \
744 dot_seen=yes; \
745 local_target="$$target-am"; \
746 else \
747 local_target="$$target"; \
748 fi; \
749 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
750 || eval $$failcom; \
751 done; \
752 if test "$$dot_seen" = "no"; then \
753 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
754 fi; test -z "$$fail"
755
22e05272
JM
756ID: $(am__tagged_files)
757 $(am__define_uniq_tagged_files); mkid -fID $$unique
758tags: tags-recursive
759TAGS: tags
8bae34da 760
22e05272 761tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
5213506e 762 set x; \
1fd2f510 763 here=`pwd`; \
8bae34da
BK
764 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
765 include_option=--etags-include; \
766 empty_fix=.; \
767 else \
768 include_option=--include; \
769 empty_fix=; \
770 fi; \
771 list='$(SUBDIRS)'; for subdir in $$list; do \
772 if test "$$subdir" = .; then :; else \
773 test ! -f $$subdir/TAGS || \
774 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
775 fi; \
776 done; \
22e05272 777 $(am__define_uniq_tagged_files); \
5213506e
RW
778 shift; \
779 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
7eaf73d7 780 test -n "$$unique" || unique=$$empty_fix; \
5213506e
RW
781 if test $$# -gt 0; then \
782 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
783 "$$@" $$unique; \
784 else \
785 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
786 $$unique; \
787 fi; \
7eaf73d7 788 fi
22e05272
JM
789ctags: ctags-recursive
790
791CTAGS: ctags
792ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
793 $(am__define_uniq_tagged_files); \
5213506e 794 test -z "$(CTAGS_ARGS)$$unique" \
ff66d28f 795 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
5213506e 796 $$unique
b2dad0e3 797
ff66d28f
PE
798GTAGS:
799 here=`$(am__cd) $(top_builddir) && pwd` \
5213506e
RW
800 && $(am__cd) $(top_srcdir) \
801 && gtags -i $(GTAGS_ARGS) "$$here"
22e05272
JM
802cscopelist: cscopelist-recursive
803
804cscopelist-am: $(am__tagged_files)
805 list='$(am__tagged_files)'; \
806 case "$(srcdir)" in \
807 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
808 *) sdir=$(subdir)/$(srcdir) ;; \
809 esac; \
810 for i in $$list; do \
811 if test -f "$$i"; then \
812 echo "$(subdir)/$$i"; \
813 else \
814 echo "$$sdir/$$i"; \
815 fi; \
816 done >> $(top_builddir)/cscope.files
b2dad0e3
BK
817
818distclean-tags:
ff66d28f 819 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
ff66d28f 820check-am: all-am
8bae34da 821check: check-recursive
ff66d28f 822all-am: Makefile $(LTLIBRARIES) all-local
8bae34da
BK
823installdirs: installdirs-recursive
824installdirs-am:
7eaf73d7 825 for dir in "$(DESTDIR)$(toolexeclibdir)"; do \
5213506e 826 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
7eaf73d7 827 done
8bae34da
BK
828install: install-recursive
829install-exec: install-exec-recursive
830install-data: install-data-recursive
831uninstall: uninstall-recursive
b2dad0e3
BK
832
833install-am: all-am
834 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
b2dad0e3 835
8bae34da 836installcheck: installcheck-recursive
ff66d28f 837install-strip:
6ef93676
MH
838 if test -z '$(STRIP)'; then \
839 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
840 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
841 install; \
842 else \
843 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
844 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
845 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
846 fi
b2dad0e3
BK
847mostlyclean-generic:
848
849clean-generic:
c18dc5cc 850 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
b2dad0e3
BK
851
852distclean-generic:
a60945f8 853 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
5213506e 854 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
b2dad0e3
BK
855
856maintainer-clean-generic:
ff66d28f
PE
857 @echo "This command is intended for maintainers to use"
858 @echo "it deletes files that may require special tools to rebuild."
8bae34da 859clean: clean-recursive
b2dad0e3 860
56378d0e
BK
861clean-am: clean-generic clean-libtool clean-local \
862 clean-toolexeclibLTLIBRARIES mostlyclean-am
b2dad0e3 863
8bae34da 864distclean: distclean-recursive
c755e77d 865 -rm -f Makefile
ff66d28f 866distclean-am: clean-am distclean-compile distclean-generic \
5213506e 867 distclean-tags
b2dad0e3 868
8bae34da 869dvi: dvi-recursive
b2dad0e3 870
ff66d28f 871dvi-am:
b2dad0e3 872
8bae34da 873html: html-recursive
7eaf73d7 874
5213506e
RW
875html-am:
876
8bae34da 877info: info-recursive
ff66d28f
PE
878
879info-am:
880
881install-data-am: install-data-local
882
8bae34da 883install-dvi: install-dvi-recursive
5213506e
RW
884
885install-dvi-am:
886
ff66d28f
PE
887install-exec-am: install-toolexeclibLTLIBRARIES
888
8bae34da 889install-html: install-html-recursive
5213506e
RW
890
891install-html-am:
892
8bae34da 893install-info: install-info-recursive
ff66d28f 894
5213506e
RW
895install-info-am:
896
ff66d28f
PE
897install-man:
898
8bae34da 899install-pdf: install-pdf-recursive
5213506e
RW
900
901install-pdf-am:
902
8bae34da 903install-ps: install-ps-recursive
5213506e
RW
904
905install-ps-am:
906
ff66d28f 907installcheck-am:
b2dad0e3 908
8bae34da 909maintainer-clean: maintainer-clean-recursive
c755e77d 910 -rm -f Makefile
ff66d28f
PE
911maintainer-clean-am: distclean-am maintainer-clean-generic
912
8bae34da 913mostlyclean: mostlyclean-recursive
ff66d28f
PE
914
915mostlyclean-am: mostlyclean-compile mostlyclean-generic \
916 mostlyclean-libtool
917
8bae34da 918pdf: pdf-recursive
ff66d28f
PE
919
920pdf-am:
921
8bae34da 922ps: ps-recursive
ff66d28f
PE
923
924ps-am:
925
5213506e
RW
926uninstall-am: uninstall-toolexeclibLTLIBRARIES
927
22e05272 928.MAKE: $(am__recursive_targets) install-am install-strip
ff66d28f 929
22e05272
JM
930.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \
931 check check-am clean clean-generic clean-libtool clean-local \
932 clean-toolexeclibLTLIBRARIES cscopelist-am ctags ctags-am \
933 distclean distclean-compile distclean-generic \
13917ae3
RW
934 distclean-libtool distclean-tags dvi dvi-am html html-am info \
935 info-am install install-am install-data install-data-am \
936 install-data-local install-dvi install-dvi-am install-exec \
937 install-exec-am install-html install-html-am install-info \
938 install-info-am install-man install-pdf install-pdf-am \
939 install-ps install-ps-am install-strip \
5213506e 940 install-toolexeclibLTLIBRARIES installcheck installcheck-am \
8bae34da
BK
941 installdirs installdirs-am maintainer-clean \
942 maintainer-clean-generic mostlyclean mostlyclean-compile \
943 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
22e05272 944 tags tags-am uninstall uninstall-am \
8bae34da 945 uninstall-toolexeclibLTLIBRARIES
6aa43d99 946
22e05272
JM
947.PRECIOUS: Makefile
948
f9314d01 949
8be349ee
CT
950@VTV_CYGMIN_TRUE@vtv_stubs.cc:
951@VTV_CYGMIN_TRUE@ rm -f $@
952@VTV_CYGMIN_TRUE@ $(LN_S) $(toplevel_srcdir)/libstdc++-v3/libsupc++/vtv_stubs.cc $@
953
0b284728
BK
954vpath % $(top_srcdir)/src/c++98
955vpath % $(top_srcdir)/src/c++11
dfaa3c47 956vpath % $(top_srcdir)/src/c++17
0ca7ba9a 957@ENABLE_FILESYSTEM_TS_TRUE@vpath % $(top_srcdir)/src/filesystem
0b284728
BK
958
959# Use special rules for compatibility-ldbl.cc compilation, as we need to
960# pass -mlong-double-64.
961@GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.lo: compatibility-ldbl.cc
6d49b790 962@GLIBCXX_LDBL_COMPAT_TRUE@ $(LTCXXCOMPILE) $(LONG_DOUBLE_COMPAT_FLAGS) -c $<
0b284728 963@GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.o: compatibility-ldbl.cc
6d49b790 964@GLIBCXX_LDBL_COMPAT_TRUE@ $(CXXCOMPILE) $(LONG_DOUBLE_COMPAT_FLAGS) -c $<
0b284728
BK
965
966# Use special rules for C++11 files/objects.
967compatibility-c++0x.lo: compatibility-c++0x.cc
968 $(LTCXXCOMPILE) -std=gnu++11 -c $<
969compatibility-c++0x.o: compatibility-c++0x.cc
970 $(CXXCOMPILE) -std=gnu++11 -c $<
971
972compatibility-atomic-c++0x.lo: compatibility-atomic-c++0x.cc
973 $(LTCXXCOMPILE) -std=gnu++11 -c $<
974compatibility-atomic-c++0x.o: compatibility-atomic-c++0x.cc
975 $(CXXCOMPILE) -std=gnu++11 -c $<
976
977compatibility-thread-c++0x.lo: compatibility-thread-c++0x.cc
978 $(LTCXXCOMPILE) -std=gnu++11 -c $<
979compatibility-thread-c++0x.o: compatibility-thread-c++0x.cc
980 $(CXXCOMPILE) -std=gnu++11 -c $<
8bae34da 981
2e8a9734
JJ
982compatibility-chrono.lo: compatibility-chrono.cc
983 $(LTCXXCOMPILE) -std=gnu++11 -c $<
984compatibility-chrono.o: compatibility-chrono.cc
985 $(CXXCOMPILE) -std=gnu++11 -c $<
986
3429db0f
JW
987compatibility-condvar.lo: compatibility-condvar.cc
988 $(LTCXXCOMPILE) -std=gnu++11 -c $<
989compatibility-condvar.o: compatibility-condvar.cc
990 $(CXXCOMPILE) -std=gnu++11 -c $<
991
f9314d01 992# Symbol versioning for shared libraries.
fb5c309d
BK
993@ENABLE_SYMVERS_TRUE@libstdc++-symbols.ver: ${glibcxx_srcdir}/$(SYMVER_FILE) \
994@ENABLE_SYMVERS_TRUE@ $(port_specific_symbol_files)
cc2de92d
RO
995@ENABLE_SYMVERS_TRUE@ cp ${glibcxx_srcdir}/$(SYMVER_FILE) $@.tmp
996@ENABLE_SYMVERS_TRUE@ chmod +w $@.tmp
fb5c309d 997@ENABLE_SYMVERS_TRUE@ if test "x$(port_specific_symbol_files)" != x; then \
6defecc2 998@ENABLE_SYMVERS_TRUE@ if grep '^# Appended to version file.' \
49a52ebc 999@ENABLE_SYMVERS_TRUE@ $(port_specific_symbol_files) > /dev/null 2>&1; then \
cc2de92d 1000@ENABLE_SYMVERS_TRUE@ cat $(port_specific_symbol_files) >> $@.tmp; \
6defecc2 1001@ENABLE_SYMVERS_TRUE@ else \
cc2de92d
RO
1002@ENABLE_SYMVERS_TRUE@ sed -n '1,/DO NOT DELETE/p' $@.tmp > tmp.top; \
1003@ENABLE_SYMVERS_TRUE@ sed -n '/DO NOT DELETE/,$$p' $@.tmp > tmp.bottom; \
1004@ENABLE_SYMVERS_TRUE@ cat tmp.top $(port_specific_symbol_files) tmp.bottom > $@.tmp; \
6defecc2
JJ
1005@ENABLE_SYMVERS_TRUE@ rm tmp.top tmp.bottom; \
1006@ENABLE_SYMVERS_TRUE@ fi; \
fb5c309d 1007@ENABLE_SYMVERS_TRUE@ fi
9396206b 1008@ENABLE_SYMVERS_TRUE@ $(EGREP) -v '^[ ]*#(#| |$$)' $@.tmp | \
d392c399 1009@ENABLE_SYMVERS_TRUE@ $(CC) -E -P -include $(CONFIG_HEADER) - > $@ || (rm -f $@ ; exit 1)
cc2de92d 1010@ENABLE_SYMVERS_TRUE@ rm -f $@.tmp
c18dc5cc
RO
1011@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@libstdc++-symbols.ver-sun : libstdc++-symbols.ver \
1012@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ $(toplevel_srcdir)/contrib/make_sunver.pl \
1013@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
1014@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ CXXFILT="$(CXXFILT)"; export CXXFILT; \
1015@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ perl $(toplevel_srcdir)/contrib/make_sunver.pl \
1016@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ libstdc++-symbols.ver \
1017@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
1018@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ `echo $(libstdc___la_LIBADD) | \
1019@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
1020@ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@ > $@ || (rm -f $@ ; exit 1)
fb5c309d
BK
1021@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@libstdc++-symbols.explist : libstdc++-symbols.ver \
1022@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ ${glibcxx_srcdir}/scripts/make_exports.pl \
1023@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
1024@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ perl ${glibcxx_srcdir}/scripts/make_exports.pl \
1025@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ libstdc++-symbols.ver \
1026@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
1027@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ `echo $(libstdc___la_LIBADD) | \
1028@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
1029@ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ > $@ || (rm -f $@ ; exit 1)
b2dad0e3 1030
56378d0e 1031# Control additional build primary rules.
56378d0e
BK
1032all-once: libstdc++convenience.la $(STAMP_DEBUG)
1033install-data-once: $(STAMP_INSTALL_DEBUG)
1034
1035all-local: all-once
1036install-data-local: install-data-once
1037clean-local:
1038 rm -rf libstdc++convenience.la stamp* $(CLEAN_DEBUG)
6aa43d99 1039
8bae34da
BK
1040# Make a non-installed convenience library, so that --disable-static
1041# may work.
1042libstdc++convenience.la: $(toolexeclib_LTLIBRARIES)
1043 $(CXXLINK) $(libstdc___la_LIBADD) $(LIBS); \
1044 if test ! -f .libs/libstdc++.a; then \
a7a790e9
BK
1045 cp .libs/libstdc++convenience.a .libs/libstdc++.a; \
1046 fi; \
1047 echo `date` > stamp-libstdc++convenience;
e6b7a69a 1048stamp-debug:
6aa43d99
BK
1049 if test ! -d ${debugdir}; then \
1050 mkdir -p ${debugdir}; \
56378d0e 1051 for d in $(SUBDIRS); do mkdir -p ${debugdir}/$$d; done; \
6aa43d99 1052 (cd ${debugdir}; \
7ec3af37 1053 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
8d03ad01 1054 -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
7ec3af37 1055 -e 's/srcdir = \.\./srcdir = ..\/../' \
9606fadb 1056 -e 's/VPATH = \.\./VPATH = ..\/../' \
3d7c150e 1057 -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
8d03ad01 1058 -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
56378d0e
BK
1059 < ../Makefile > Makefile ; \
1060 for d in . $(SUBDIRS); do \
1061 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
1062 -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
1063 -e 's/srcdir = \.\./srcdir = ..\/../' \
1064 -e 's/VPATH = \.\./VPATH = ..\/../' \
1065 -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
1066 -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
1067 < ../$$d/Makefile > $$d/Makefile ; \
1068 done) ; \
6aa43d99 1069 fi; \
e6b7a69a 1070 echo `date` > stamp-debug;
6aa43d99 1071
56378d0e
BK
1072build-debug: stamp-debug
1073 (cd ${debugdir}; \
1074 mv Makefile Makefile.tmp; \
1075 sed -e 's,all-local: all-once,all-local:,' \
1076 -e 's,install-data-local: install-data-once,install-data-local:,' \
c07e30ca 1077 -e '/vpath/!s,src/c,src/debug/c,' \
56378d0e 1078 < Makefile.tmp > Makefile ; \
c07e30ca 1079 rm -f Makefile.tmp ; \
56378d0e
BK
1080 $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
1081 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug all) ;
1082
1083# Install debug library.
1084install-debug: build-debug
1085 (cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
1086 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install) ;
5213506e 1087
b2dad0e3
BK
1088# Tell versions [3.59,3.63) of GNU make to not export all variables.
1089# Otherwise a system limit (for SysV at least) may be exceeded.
1090.NOEXPORT: