[testsuite] [analyzer] skip access-mode: O_ACCMODE on vxworks
[official-gcc.git] / libstdc++-v3 / testsuite / Makefile.in
blob2e42d470645e786297433245392690d5d38541b5
1 # Makefile.in generated by automake 1.15.1 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
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.
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.
15 @SET_MAKE@
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 target_triplet = @target@
91 subdir = testsuite
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
94 $(top_srcdir)/../config/enable.m4 \
95 $(top_srcdir)/../config/futex.m4 \
96 $(top_srcdir)/../config/hwcaps.m4 \
97 $(top_srcdir)/../config/iconv.m4 \
98 $(top_srcdir)/../config/lead-dot.m4 \
99 $(top_srcdir)/../config/lib-ld.m4 \
100 $(top_srcdir)/../config/lib-link.m4 \
101 $(top_srcdir)/../config/lib-prefix.m4 \
102 $(top_srcdir)/../config/lthostflags.m4 \
103 $(top_srcdir)/../config/multi.m4 \
104 $(top_srcdir)/../config/no-executables.m4 \
105 $(top_srcdir)/../config/override.m4 \
106 $(top_srcdir)/../config/toolexeclibdir.m4 \
107 $(top_srcdir)/../config/unwind_ipinfo.m4 \
108 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
109 $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
110 $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \
111 $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
112 $(top_srcdir)/../config/gc++filt.m4 \
113 $(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \
114 $(top_srcdir)/../config/cet.m4 $(top_srcdir)/configure.ac
115 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
116 $(ACLOCAL_M4)
117 DIST_COMMON = $(srcdir)/Makefile.am
118 CONFIG_HEADER = $(top_builddir)/config.h
119 CONFIG_CLEAN_FILES =
120 CONFIG_CLEAN_VPATH_FILES =
121 AM_V_P = $(am__v_P_@AM_V@)
122 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
123 am__v_P_0 = false
124 am__v_P_1 = :
125 AM_V_GEN = $(am__v_GEN_@AM_V@)
126 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
127 am__v_GEN_0 = @echo " GEN " $@;
128 am__v_GEN_1 =
129 AM_V_at = $(am__v_at_@AM_V@)
130 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
131 am__v_at_0 = @
132 am__v_at_1 =
133 depcomp =
134 am__depfiles_maybe =
135 SOURCES =
136 am__can_run_installinfo = \
137 case $$AM_UPDATE_INFO_DIR in \
138 n|no|NO) false;; \
139 *) (install-info --version) >/dev/null 2>&1;; \
140 esac
141 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
142 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
143 ACLOCAL = @ACLOCAL@
144 ALLOCATOR_H = @ALLOCATOR_H@
145 ALLOCATOR_NAME = @ALLOCATOR_NAME@
146 ALLOC_FILE = @ALLOC_FILE@
147 AMTAR = @AMTAR@
148 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
149 AR = @AR@
150 AS = @AS@
151 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
152 ATOMIC_FLAGS = @ATOMIC_FLAGS@
153 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
154 AUTOCONF = @AUTOCONF@
155 AUTOHEADER = @AUTOHEADER@
156 AUTOMAKE = @AUTOMAKE@
157 AWK = @AWK@
158 BACKTRACE_CPPFLAGS = @BACKTRACE_CPPFLAGS@
159 BACKTRACE_SUPPORTED = @BACKTRACE_SUPPORTED@
160 BACKTRACE_SUPPORTS_THREADS = @BACKTRACE_SUPPORTS_THREADS@
161 BACKTRACE_USES_MALLOC = @BACKTRACE_USES_MALLOC@
162 BASIC_FILE_CC = @BASIC_FILE_CC@
163 BASIC_FILE_H = @BASIC_FILE_H@
164 CC = @CC@
165 CCODECVT_CC = @CCODECVT_CC@
166 CCOLLATE_CC = @CCOLLATE_CC@
167 CCTYPE_CC = @CCTYPE_CC@
168 CFLAGS = @CFLAGS@
169 CLOCALE_CC = @CLOCALE_CC@
170 CLOCALE_H = @CLOCALE_H@
171 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
172 CMESSAGES_CC = @CMESSAGES_CC@
173 CMESSAGES_H = @CMESSAGES_H@
174 CMONEY_CC = @CMONEY_CC@
175 CNUMERIC_CC = @CNUMERIC_CC@
176 CPP = @CPP@
177 CPPFLAGS = @CPPFLAGS@
178 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
179 CPU_OPT_BITS_RANDOM = @CPU_OPT_BITS_RANDOM@
180 CPU_OPT_EXT_RANDOM = @CPU_OPT_EXT_RANDOM@
181 CSTDIO_H = @CSTDIO_H@
182 CTIME_CC = @CTIME_CC@
183 CTIME_H = @CTIME_H@
184 CXX = @CXX@
185 CXXCPP = @CXXCPP@
186 CXXFILT = @CXXFILT@
187 CXXFLAGS = @CXXFLAGS@
188 CYGPATH_W = @CYGPATH_W@
189 C_INCLUDE_DIR = @C_INCLUDE_DIR@
190 DBLATEX = @DBLATEX@
191 DEBUG_FLAGS = @DEBUG_FLAGS@
192 DEFS = @DEFS@
193 DOT = @DOT@
194 DOXYGEN = @DOXYGEN@
195 DSYMUTIL = @DSYMUTIL@
196 DUMPBIN = @DUMPBIN@
197 ECHO_C = @ECHO_C@
198 ECHO_N = @ECHO_N@
199 ECHO_T = @ECHO_T@
200 EGREP = @EGREP@
201 EH_POOL_FLAGS = @EH_POOL_FLAGS@
202 ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
203 EXEEXT = @EXEEXT@
204 EXTRA_CFLAGS = @EXTRA_CFLAGS@
205 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
206 FGREP = @FGREP@
207 FORMAT_FILE = @FORMAT_FILE@
208 FREESTANDING_FLAGS = @FREESTANDING_FLAGS@
209 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
210 GLIBCXX_LIBS = @GLIBCXX_LIBS@
211 GREP = @GREP@
212 HWCAP_CFLAGS = @HWCAP_CFLAGS@
213 INSTALL = @INSTALL@
214 INSTALL_DATA = @INSTALL_DATA@
215 INSTALL_PROGRAM = @INSTALL_PROGRAM@
216 INSTALL_SCRIPT = @INSTALL_SCRIPT@
217 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
218 LD = @LD@
219 LDFLAGS = @LDFLAGS@
220 LIBICONV = @LIBICONV@
221 LIBOBJS = @LIBOBJS@
222 LIBS = @LIBS@
223 LIBTOOL = @LIBTOOL@
224 LIPO = @LIPO@
225 LN_S = @LN_S@
226 LONG_DOUBLE_128_FLAGS = @LONG_DOUBLE_128_FLAGS@
227 LONG_DOUBLE_ALT128_COMPAT_FLAGS = @LONG_DOUBLE_ALT128_COMPAT_FLAGS@
228 LONG_DOUBLE_COMPAT_FLAGS = @LONG_DOUBLE_COMPAT_FLAGS@
229 LTLIBICONV = @LTLIBICONV@
230 LTLIBOBJS = @LTLIBOBJS@
231 MAINT = @MAINT@
232 MAKEINFO = @MAKEINFO@
233 MKDIR_P = @MKDIR_P@
234 NM = @NM@
235 NMEDIT = @NMEDIT@
236 OBJDUMP = @OBJDUMP@
237 OBJEXT = @OBJEXT@
238 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
239 OPT_LDFLAGS = @OPT_LDFLAGS@
240 OS_INC_SRCDIR = @OS_INC_SRCDIR@
241 OTOOL = @OTOOL@
242 OTOOL64 = @OTOOL64@
243 PACKAGE = @PACKAGE@
244 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
245 PACKAGE_NAME = @PACKAGE_NAME@
246 PACKAGE_STRING = @PACKAGE_STRING@
247 PACKAGE_TARNAME = @PACKAGE_TARNAME@
248 PACKAGE_URL = @PACKAGE_URL@
249 PACKAGE_VERSION = @PACKAGE_VERSION@
250 PATH_SEPARATOR = @PATH_SEPARATOR@
251 PDFLATEX = @PDFLATEX@
252 RANLIB = @RANLIB@
253 SECTION_FLAGS = @SECTION_FLAGS@
254 SECTION_LDFLAGS = @SECTION_LDFLAGS@
255 SED = @SED@
256 SET_MAKE = @SET_MAKE@
257 SHELL = @SHELL@
258 STRIP = @STRIP@
259 SYMVER_FILE = @SYMVER_FILE@
260 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
261 USE_NLS = @USE_NLS@
262 VERSION = @VERSION@
263 VIEW_FILE = @VIEW_FILE@
264 VTV_CXXFLAGS = @VTV_CXXFLAGS@
265 VTV_CXXLINKFLAGS = @VTV_CXXLINKFLAGS@
266 VTV_PCH_CXXFLAGS = @VTV_PCH_CXXFLAGS@
267 WARN_FLAGS = @WARN_FLAGS@
268 XMLCATALOG = @XMLCATALOG@
269 XMLLINT = @XMLLINT@
270 XSLTPROC = @XSLTPROC@
271 XSL_STYLE_DIR = @XSL_STYLE_DIR@
272 abs_builddir = @abs_builddir@
273 abs_srcdir = @abs_srcdir@
274 abs_top_builddir = @abs_top_builddir@
275 abs_top_srcdir = @abs_top_srcdir@
276 ac_ct_CC = @ac_ct_CC@
277 ac_ct_CXX = @ac_ct_CXX@
278 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
279 am__leading_dot = @am__leading_dot@
280 am__tar = @am__tar@
281 am__untar = @am__untar@
282 baseline_dir = @baseline_dir@
283 baseline_subdir_switch = @baseline_subdir_switch@
284 bindir = @bindir@
285 build = @build@
286 build_alias = @build_alias@
287 build_cpu = @build_cpu@
288 build_os = @build_os@
289 build_vendor = @build_vendor@
290 builddir = @builddir@
291 check_msgfmt = @check_msgfmt@
292 datadir = @datadir@
293 datarootdir = @datarootdir@
294 docdir = @docdir@
295 dvidir = @dvidir@
296 enable_shared = @enable_shared@
297 enable_static = @enable_static@
298 exec_prefix = @exec_prefix@
299 get_gcc_base_ver = @get_gcc_base_ver@
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 tmake_file = @tmake_file@
350 top_build_prefix = @top_build_prefix@
351 top_builddir = @top_builddir@
352 top_srcdir = @top_srcdir@
353 toplevel_builddir = @toplevel_builddir@
354 toplevel_srcdir = @toplevel_srcdir@
355 AUTOMAKE_OPTIONS = nostdinc
356 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
357 EXPECT = expect
359 # May be used by various substitution variables.
360 gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
361 MAINT_CHARSET = latin1
362 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
363 PWD_COMMAND = $${PWDCMD-pwd}
364 STAMP = echo timestamp >
365 toolexecdir = $(glibcxx_toolexecdir)
366 toolexeclibdir = $(glibcxx_toolexeclibdir)
367 @ENABLE_WERROR_FALSE@WERROR_FLAG =
368 @ENABLE_WERROR_TRUE@WERROR_FLAG = -Werror
369 @ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS =
370 @ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates
371 @GLIBCXX_LDBL_ALT128_COMPAT_FALSE@LDBL_128_FLAGS =
372 @GLIBCXX_LDBL_ALT128_COMPAT_TRUE@LDBL_128_FLAGS = $(LONG_DOUBLE_128_FLAGS)
374 # These bits are all figured out from configure. Look in acinclude.m4
375 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
376 CONFIG_CXXFLAGS = \
377 $(SECTION_FLAGS) $(HWCAP_CFLAGS) -frandom-seed=$@ $(LDBL_128_FLAGS)
379 WARN_CXXFLAGS = \
380 $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
383 # -I/-D flags to pass when compiling.
384 AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS)
386 # Generated lists of files to run. All of these names are valid make
387 # targets, if you wish to generate a list manually.
388 lists_of_files = \
389 testsuite_files \
390 testsuite_files_interactive \
391 testsuite_files_performance \
392 testsuite_files_simd
394 extract_symvers = $(glibcxx_builddir)/scripts/extract_symvers
395 baseline_subdir := $(shell $(CXX) $(baseline_subdir_switch))
396 check_p_numbers0 := 1 2 3 4 5 6 7 8 9
397 check_p_numbers1 := 0 $(check_p_numbers0)
398 check_p_numbers2 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers1)))
399 check_p_numbers3 := $(addprefix 0,$(check_p_numbers1)) $(check_p_numbers2)
400 check_p_numbers4 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers3)))
401 check_p_numbers5 := $(addprefix 0,$(check_p_numbers3)) $(check_p_numbers4)
402 check_p_numbers6 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers5)))
403 check_p_numbers := $(check_p_numbers0) $(check_p_numbers2) $(check_p_numbers4) $(check_p_numbers6)
404 check_p_subdirs = $(wordlist 1,$(if $(GCC_TEST_PARALLEL_SLOTS),$(GCC_TEST_PARALLEL_SLOTS),128),$(check_p_numbers))
405 check_DEJAGNU_normal_targets = $(addprefix check-DEJAGNUnormal,$(check_p_subdirs))
407 # Runs the testsuite, but in compile only mode.
408 # Can be used to test sources with non-GNU FE's at various warning
409 # levels and for checking compile time across releases.
410 # See script.
411 compile_script = ${glibcxx_srcdir}/scripts/check_compile
413 # Runs the testsuite/performance tests.
414 # Some of these tests create large (~75MB) files, allocate huge
415 # ammounts of memory, or otherwise tie up machine resources. Thus,
416 # running this is off by default.
417 # XXX Need to add dependency on libtestc++.a
418 check_performance_script = ${glibcxx_srcdir}/scripts/check_performance
420 # Runs the testsuite in debug mode.
421 debug_flags = "unix/-D_GLIBCXX_DEBUG"
423 # Runs the testsuite in parallel mode.
424 libgomp_dir = ${glibcxx_builddir}/../libgomp
425 libgomp_flags = -B${glibcxx_builddir}/../libgomp \
426 -I${glibcxx_builddir}/../libgomp \
427 -L${glibcxx_builddir}/../libgomp/.libs -lgomp
429 atomic_flags = $(ATOMIC_FLAGS)
430 parallel_flags = "unix/-D_GLIBCXX_PARALLEL/-fopenmp"
432 # By adding these files here, automake will remove them for 'make clean'
433 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
434 testsuite_* site.exp abi_check baseline_symbols *TEST* *.dat \
435 *.ii *.s *.o *.cc *.x *.a *.so *.xml *.raw *.out *.gdb
437 all: all-am
439 .SUFFIXES:
440 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
441 @for dep in $?; do \
442 case '$(am__configure_deps)' in \
443 *$$dep*) \
444 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
445 && { if test -f $@; then exit 0; else break; fi; }; \
446 exit 1;; \
447 esac; \
448 done; \
449 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile'; \
450 $(am__cd) $(top_srcdir) && \
451 $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile
452 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
453 @case '$?' in \
454 *config.status*) \
455 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
456 *) \
457 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
458 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
459 esac;
460 $(top_srcdir)/fragment.am $(am__empty):
462 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
463 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
465 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
466 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
467 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
468 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
469 $(am__aclocal_m4_deps):
471 mostlyclean-libtool:
472 -rm -f *.lo
474 clean-libtool:
475 -rm -rf .libs _libs
476 tags TAGS:
478 ctags CTAGS:
480 cscope cscopelist:
482 check-am: all-am
483 check: check-am
484 all-am: Makefile
485 installdirs:
486 install: install-am
487 install-exec: install-exec-am
488 install-data: install-data-am
489 uninstall: uninstall-am
491 install-am: all-am
492 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
494 installcheck: installcheck-am
495 install-strip:
496 if test -z '$(STRIP)'; then \
497 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
498 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
499 install; \
500 else \
501 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
502 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
503 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
505 mostlyclean-generic:
507 clean-generic:
508 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
510 distclean-generic:
511 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
512 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
514 maintainer-clean-generic:
515 @echo "This command is intended for maintainers to use"
516 @echo "it deletes files that may require special tools to rebuild."
517 clean: clean-am
519 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
521 distclean: distclean-am
522 -rm -f Makefile
523 distclean-am: clean-am distclean-generic
525 dvi: dvi-am
527 dvi-am:
529 html: html-am
531 html-am:
533 info: info-am
535 info-am:
537 install-data-am:
539 install-dvi: install-dvi-am
541 install-dvi-am:
543 install-exec-am:
545 install-html: install-html-am
547 install-html-am:
549 install-info: install-info-am
551 install-info-am:
553 install-man:
555 install-pdf: install-pdf-am
557 install-pdf-am:
559 install-ps: install-ps-am
561 install-ps-am:
563 installcheck-am:
565 maintainer-clean: maintainer-clean-am
566 -rm -f Makefile
567 maintainer-clean-am: distclean-am maintainer-clean-generic
569 mostlyclean: mostlyclean-am
571 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
573 pdf: pdf-am
575 pdf-am:
577 ps: ps-am
579 ps-am:
581 uninstall-am:
583 .MAKE: install-am install-strip
585 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
586 clean-local cscopelist-am ctags-am distclean distclean-generic \
587 distclean-libtool dvi dvi-am html html-am info info-am install \
588 install-am install-data install-data-am install-dvi \
589 install-dvi-am install-exec install-exec-am install-html \
590 install-html-am install-info install-info-am install-man \
591 install-pdf install-pdf-am install-ps install-ps-am \
592 install-strip installcheck installcheck-am installdirs \
593 maintainer-clean maintainer-clean-generic mostlyclean \
594 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
595 tags-am uninstall uninstall-am
597 .PRECIOUS: Makefile
600 # This rule generates all of the testsuite_files* lists at once.
601 ${lists_of_files}:
602 ${glibcxx_srcdir}/scripts/create_testsuite_files \
603 ${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
605 # We need more things in site.exp, but automake completely controls the
606 # creation of that file; there's no way to append to it without messing up
607 # the dependancy chains. So we overrule automake. This rule is exactly
608 # what it would have generated, plus our own additions.
609 site.exp: Makefile
610 @echo 'Making a new site.exp file...'
611 @echo '## these variables are automatically generated by make ##' >site.tmp
612 @echo '# Do not edit here. If you wish to override these values' >>site.tmp
613 @echo '# edit the last section' >>site.tmp
614 @echo 'set tool libstdc++' >>site.tmp
615 @echo 'set srcdir $(srcdir)' >>site.tmp
616 @echo "set objdir `pwd`" >>site.tmp
617 @echo 'set build_alias "$(build_alias)"' >>site.tmp
618 @echo 'set build_triplet $(build_triplet)' >>site.tmp
619 @echo 'set host_alias "$(host_alias)"' >>site.tmp
620 @echo 'set host_triplet $(host_triplet)' >>site.tmp
621 @echo 'set target_alias "$(target_alias)"' >>site.tmp
622 @echo 'set target_triplet $(target_triplet)' >>site.tmp
623 @echo 'set libiconv "$(LIBICONV)"' >>site.tmp
624 @echo 'set baseline_dir "$(baseline_dir)"' >> site.tmp
625 @echo 'set baseline_subdir_switch "$(baseline_subdir_switch)"' >> site.tmp
626 @echo 'set TEST_GCC_EXEC_PREFIX "$(libdir)/gcc/"' >> site.tmp
627 @echo 'set v3-use-std-list 1' >> site.tmp
628 @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
629 @test ! -f site.exp || \
630 sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
631 @-rm -f site.bak
632 @test ! -f site.exp || mv site.exp site.bak
633 @mv site.tmp site.exp
635 baseline_symbols:
636 -@(output=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt; \
637 if test ! -f $${output}; then \
638 echo "Baseline file doesn't exist."; \
639 echo "Try 'make new-abi-baseline' to create it."; \
640 exit 1; \
641 fi; true)
643 new-abi-baseline:
644 -@$(mkinstalldirs) ${baseline_dir}/${baseline_subdir}
645 -@(output=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt; \
646 if test -f $${output}; then \
647 output=$${output}.new; \
648 t=`echo $${output} | sed 's=.*config/abi/=='`; \
649 echo "Baseline file already exists, writing to $${t} instead."; \
650 fi; \
651 ${extract_symvers} ../src/.libs/libstdc++.so $${output})
653 %/site.exp: site.exp
654 -@test -d $* || mkdir $*
655 @srcdir=`cd $(srcdir); ${PWD_COMMAND}`;
656 @objdir=`${PWD_COMMAND}`/$*; \
657 sed -e "s|^set srcdir .*$$|set srcdir $$srcdir|" \
658 -e "s|^set objdir .*$$|set objdir $$objdir|" \
659 site.exp > $*/site.exp.tmp
660 @-rm -f $*/site.bak
661 @test ! -f $*/site.exp || mv $*/site.exp $*/site.bak
662 @mv $*/site.exp.tmp $*/site.exp
663 $(check_DEJAGNU_normal_targets): check-DEJAGNUnormal%: normal%/site.exp
665 # Run the testsuite in normal mode.
666 check-DEJAGNU $(check_DEJAGNU_normal_targets): check-DEJAGNU%: site.exp
667 @$(if $*,@)AR="$(AR)"; export AR; \
668 RANLIB="$(RANLIB)"; export RANLIB; \
669 if [ -z "$*" ] && [ -n "$(filter -j%, $(MFLAGS))" ]; then \
670 rm -rf normal-parallel || true; \
671 mkdir normal-parallel; \
672 $(MAKE) $(AM_MAKEFLAGS) $(check_DEJAGNU_normal_targets); \
673 rm -rf normal-parallel || true; \
674 for idx in $(check_p_subdirs); do \
675 if [ -d normal$$idx ]; then \
676 mv -f normal$$idx/libstdc++.sum normal$$idx/libstdc++.sum.sep; \
677 mv -f normal$$idx/libstdc++.log normal$$idx/libstdc++.log.sep; \
678 fi; \
679 done; \
680 $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh \
681 normal[0-9]*/libstdc++.sum.sep > libstdc++.sum; \
682 $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh -L \
683 normal[0-9]*/libstdc++.log.sep > libstdc++.log; \
684 exit 0; \
685 fi; \
686 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
687 EXPECT=$(EXPECT); export EXPECT; \
688 runtest=$(RUNTEST); \
689 if [ -z "$$runtest" ]; then runtest=runtest; fi; \
690 tool=libstdc++; \
691 if [ -n "$*" ]; then \
692 if [ -f normal-parallel/finished ]; then rm -rf "$*"; exit 0; fi; \
693 GCC_RUNTEST_PARALLELIZE_DIR=`${PWD_COMMAND}`/normal-parallel; \
694 export GCC_RUNTEST_PARALLELIZE_DIR; \
695 cd "$*"; \
696 fi; \
697 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
698 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
699 $(RUNTESTFLAGS); \
700 if [ -n "$*" ]; then \
701 touch $$GCC_RUNTEST_PARALLELIZE_DIR/finished; \
702 fi; \
703 else \
704 echo "WARNING: could not find \`runtest'" 1>&2; :;\
707 check-am:
708 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
709 .PHONY: check-DEJAGNU
711 # Use 'new-abi-baseline' to create an initial symbol file. Then run
712 # 'check-abi' to test for changes against that file.
713 check-abi: site.exp baseline_symbols
714 -@runtest $(AM_RUNTESTFLAGS) --tool libstdc++ $(RUNTESTFLAGS) abi.exp
715 check-compile: testsuite_files ${compile_script}
716 -@(chmod + ${compile_script}; \
717 ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
718 check-performance: testsuite_files_performance ${performance_script}
719 -@(chmod + ${check_performance_script}; \
720 CXXFLAGS='$(CXXFLAGS)'; export CXXFLAGS; \
721 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
723 # Runs the simd tests.
724 check-simd: $(srcdir)/experimental/simd/generate_makefile.sh \
725 ${glibcxx_srcdir}/scripts/check_simd \
726 testsuite_files_simd \
727 ${glibcxx_builddir}/scripts/testsuite_flags
728 @rm -f .simd.summary
729 @echo "Generating simd testsuite subdirs and Makefiles ..."
730 @${glibcxx_srcdir}/scripts/check_simd "${glibcxx_srcdir}" "${glibcxx_builddir}" "$(CXXFLAGS)" | \
731 while read subdir; do \
732 $(MAKE) -C "$${subdir}"; \
733 tail -n20 $${subdir}/simd_testsuite.sum | \
734 grep -A20 -B1 'Summary ===' >> .simd.summary; \
735 done; \
736 cat .simd.summary && rm .simd.summary
738 check-debug: site.exp
739 outputdir=debug; export outputdir; \
740 if test ! -d $${outputdir}; then \
741 mkdir $${outputdir}; \
742 fi; \
743 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
744 EXPECT=$(EXPECT); export EXPECT; \
745 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(debug_flags)" check-DEJAGNU;
747 check-parallel: site.exp
748 -@(if test ! -d $${libgomp_dir}; then \
749 echo "Testing parallel mode failed as libgomp not present."; \
750 exit 1; \
751 fi; \
752 outputdir=parallel; export outputdir; \
753 if test ! -d $${outputdir}; then \
754 mkdir $${outputdir}; \
755 fi; \
756 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
757 EXPECT=$(EXPECT); export EXPECT; \
758 $(MAKE) CXXFLAGS="$(atomic_flags) $(libgomp_flags)" RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(parallel_flags)" check-DEJAGNU; )
760 check-performance-parallel: testsuite_files_performance ${performance_script}
761 -@(chmod + ${check_performance_script}; \
762 CXXFLAGS="-D_GLIBCXX_PARALLEL -fopenmp $(atomic_flags) $(libgomp_flags)"; export CXXFLAGS; \
763 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
765 .PHONY: baseline_symbols new-abi-baseline \
766 check-abi check-compile check-performance check-parallel
768 # To remove directories.
769 clean-local:
770 rm -rf de fr debug parallel binaries normal* simd
772 # Tell versions [3.59,3.63) of GNU make to not export all variables.
773 # Otherwise a system limit (for SysV at least) may be exceeded.
774 .NOEXPORT: