Multiple exit loop handling in ivopts. Regression tested on x86-64/linux
[official-gcc.git] / libstdc++-v3 / testsuite / Makefile.in
blobef177f6ebdb0aa218524b3052e0319f2977e6d74
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6 # Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
16 @SET_MAKE@
17 VPATH = @srcdir@
18 pkgdatadir = $(datadir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkglibexecdir = $(libexecdir)/@PACKAGE@
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 install_sh_DATA = $(install_sh) -c -m 644
24 install_sh_PROGRAM = $(install_sh) -c
25 install_sh_SCRIPT = $(install_sh) -c
26 INSTALL_HEADER = $(INSTALL_DATA)
27 transform = $(program_transform_name)
28 NORMAL_INSTALL = :
29 PRE_INSTALL = :
30 POST_INSTALL = :
31 NORMAL_UNINSTALL = :
32 PRE_UNINSTALL = :
33 POST_UNINSTALL = :
34 build_triplet = @build@
35 host_triplet = @host@
36 target_triplet = @target@
37 DIST_COMMON = $(top_srcdir)/fragment.am $(srcdir)/Makefile.in \
38 $(srcdir)/Makefile.am
39 subdir = testsuite
40 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41 am__aclocal_m4_deps = $(top_srcdir)/../config/enable.m4 \
42 $(top_srcdir)/../config/futex.m4 \
43 $(top_srcdir)/../config/iconv.m4 \
44 $(top_srcdir)/../config/lead-dot.m4 \
45 $(top_srcdir)/../config/lib-ld.m4 \
46 $(top_srcdir)/../config/lib-link.m4 \
47 $(top_srcdir)/../config/lib-prefix.m4 \
48 $(top_srcdir)/../config/multi.m4 \
49 $(top_srcdir)/../config/no-executables.m4 \
50 $(top_srcdir)/../config/override.m4 \
51 $(top_srcdir)/../config/stdint.m4 \
52 $(top_srcdir)/../config/unwind_ipinfo.m4 \
53 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
54 $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
55 $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \
56 $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
57 $(top_srcdir)/../config/gc++filt.m4 \
58 $(top_srcdir)/../config/tls.m4 $(top_srcdir)/configure.ac
59 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
60 $(ACLOCAL_M4)
61 CONFIG_HEADER = $(top_builddir)/config.h
62 CONFIG_CLEAN_FILES =
63 CONFIG_CLEAN_VPATH_FILES =
64 depcomp =
65 am__depfiles_maybe =
66 SOURCES =
67 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
68 ACLOCAL = @ACLOCAL@
69 ALLOCATOR_H = @ALLOCATOR_H@
70 ALLOCATOR_NAME = @ALLOCATOR_NAME@
71 AMTAR = @AMTAR@
72 AR = @AR@
73 AS = @AS@
74 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
75 ATOMIC_FLAGS = @ATOMIC_FLAGS@
76 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
77 AUTOCONF = @AUTOCONF@
78 AUTOHEADER = @AUTOHEADER@
79 AUTOMAKE = @AUTOMAKE@
80 AWK = @AWK@
81 BASIC_FILE_CC = @BASIC_FILE_CC@
82 BASIC_FILE_H = @BASIC_FILE_H@
83 CC = @CC@
84 CCODECVT_CC = @CCODECVT_CC@
85 CCOLLATE_CC = @CCOLLATE_CC@
86 CCTYPE_CC = @CCTYPE_CC@
87 CFLAGS = @CFLAGS@
88 CLOCALE_CC = @CLOCALE_CC@
89 CLOCALE_H = @CLOCALE_H@
90 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
91 CMESSAGES_CC = @CMESSAGES_CC@
92 CMESSAGES_H = @CMESSAGES_H@
93 CMONEY_CC = @CMONEY_CC@
94 CNUMERIC_CC = @CNUMERIC_CC@
95 CPP = @CPP@
96 CPPFLAGS = @CPPFLAGS@
97 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
98 CSTDIO_H = @CSTDIO_H@
99 CTIME_CC = @CTIME_CC@
100 CTIME_H = @CTIME_H@
101 CXX = @CXX@
102 CXXCPP = @CXXCPP@
103 CXXFILT = @CXXFILT@
104 CXXFLAGS = @CXXFLAGS@
105 CYGPATH_W = @CYGPATH_W@
106 C_INCLUDE_DIR = @C_INCLUDE_DIR@
107 DEBUG_FLAGS = @DEBUG_FLAGS@
108 DEFS = @DEFS@
109 DSYMUTIL = @DSYMUTIL@
110 DUMPBIN = @DUMPBIN@
111 ECHO_C = @ECHO_C@
112 ECHO_N = @ECHO_N@
113 ECHO_T = @ECHO_T@
114 EGREP = @EGREP@
115 ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
116 EXEEXT = @EXEEXT@
117 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
118 FGREP = @FGREP@
119 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
120 GLIBCXX_LIBS = @GLIBCXX_LIBS@
121 GREP = @GREP@
122 INSTALL = @INSTALL@
123 INSTALL_DATA = @INSTALL_DATA@
124 INSTALL_PROGRAM = @INSTALL_PROGRAM@
125 INSTALL_SCRIPT = @INSTALL_SCRIPT@
126 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
127 LD = @LD@
128 LDFLAGS = @LDFLAGS@
129 LIBICONV = @LIBICONV@
130 LIBOBJS = @LIBOBJS@
131 LIBS = @LIBS@
132 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
133 LIBTOOL = @LIBTOOL@
134 LIPO = @LIPO@
135 LN_S = @LN_S@
136 LTLIBICONV = @LTLIBICONV@
137 LTLIBOBJS = @LTLIBOBJS@
138 MAINT = @MAINT@
139 MAKEINFO = @MAKEINFO@
140 MKDIR_P = @MKDIR_P@
141 NM = @NM@
142 NMEDIT = @NMEDIT@
143 OBJDUMP = @OBJDUMP@
144 OBJEXT = @OBJEXT@
145 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
146 OPT_LDFLAGS = @OPT_LDFLAGS@
147 OS_INC_SRCDIR = @OS_INC_SRCDIR@
148 OTOOL = @OTOOL@
149 OTOOL64 = @OTOOL64@
150 PACKAGE = @PACKAGE@
151 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
152 PACKAGE_NAME = @PACKAGE_NAME@
153 PACKAGE_STRING = @PACKAGE_STRING@
154 PACKAGE_TARNAME = @PACKAGE_TARNAME@
155 PACKAGE_URL = @PACKAGE_URL@
156 PACKAGE_VERSION = @PACKAGE_VERSION@
157 PATH_SEPARATOR = @PATH_SEPARATOR@
158 RANLIB = @RANLIB@
159 SECTION_FLAGS = @SECTION_FLAGS@
160 SECTION_LDFLAGS = @SECTION_LDFLAGS@
161 SED = @SED@
162 SET_MAKE = @SET_MAKE@
163 SHELL = @SHELL@
164 STRIP = @STRIP@
165 SYMVER_FILE = @SYMVER_FILE@
166 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
167 USE_NLS = @USE_NLS@
168 VERSION = @VERSION@
169 WARN_FLAGS = @WARN_FLAGS@
170 WERROR = @WERROR@
171 abs_builddir = @abs_builddir@
172 abs_srcdir = @abs_srcdir@
173 abs_top_builddir = @abs_top_builddir@
174 abs_top_srcdir = @abs_top_srcdir@
175 ac_ct_CC = @ac_ct_CC@
176 ac_ct_CXX = @ac_ct_CXX@
177 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
178 am__leading_dot = @am__leading_dot@
179 am__tar = @am__tar@
180 am__untar = @am__untar@
181 baseline_dir = @baseline_dir@
182 bindir = @bindir@
183 build = @build@
184 build_alias = @build_alias@
185 build_cpu = @build_cpu@
186 build_os = @build_os@
187 build_vendor = @build_vendor@
188 builddir = @builddir@
189 check_msgfmt = @check_msgfmt@
190 datadir = @datadir@
191 datarootdir = @datarootdir@
192 docdir = @docdir@
193 dvidir = @dvidir@
194 enable_shared = @enable_shared@
195 enable_static = @enable_static@
196 exec_prefix = @exec_prefix@
197 glibcxx_MOFILES = @glibcxx_MOFILES@
198 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
199 glibcxx_POFILES = @glibcxx_POFILES@
200 glibcxx_builddir = @glibcxx_builddir@
201 glibcxx_localedir = @glibcxx_localedir@
202 glibcxx_prefixdir = @glibcxx_prefixdir@
203 glibcxx_srcdir = @glibcxx_srcdir@
204 glibcxx_thread_h = @glibcxx_thread_h@
205 glibcxx_toolexecdir = @glibcxx_toolexecdir@
206 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
207 gxx_include_dir = @gxx_include_dir@
208 host = @host@
209 host_alias = @host_alias@
210 host_cpu = @host_cpu@
211 host_os = @host_os@
212 host_vendor = @host_vendor@
213 htmldir = @htmldir@
214 includedir = @includedir@
215 infodir = @infodir@
216 install_sh = @install_sh@
217 libdir = @libdir@
218 libexecdir = @libexecdir@
219 libtool_VERSION = @libtool_VERSION@
220 localedir = @localedir@
221 localstatedir = @localstatedir@
222 mandir = @mandir@
223 mkdir_p = @mkdir_p@
224 multi_basedir = @multi_basedir@
225 oldincludedir = @oldincludedir@
226 pdfdir = @pdfdir@
227 port_specific_symbol_files = @port_specific_symbol_files@
228 prefix = @prefix@
229 program_transform_name = @program_transform_name@
230 psdir = @psdir@
231 sbindir = @sbindir@
232 sharedstatedir = @sharedstatedir@
233 srcdir = @srcdir@
234 sysconfdir = @sysconfdir@
235 target = @target@
236 target_alias = @target_alias@
237 target_cpu = @target_cpu@
238 target_os = @target_os@
239 target_vendor = @target_vendor@
240 top_build_prefix = @top_build_prefix@
241 top_builddir = @top_builddir@
242 top_srcdir = @top_srcdir@
243 toplevel_srcdir = @toplevel_srcdir@
244 AUTOMAKE_OPTIONS = nostdinc
245 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
246 EXPECT = expect
248 # May be used by various substitution variables.
249 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
250 MAINT_CHARSET = latin1
251 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
252 PWD_COMMAND = $${PWDCMD-pwd}
253 STAMP = echo timestamp >
254 toolexecdir = $(glibcxx_toolexecdir)
255 toolexeclibdir = $(glibcxx_toolexeclibdir)
257 # These bits are all figured out from configure. Look in acinclude.m4
258 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
259 CONFIG_CXXFLAGS = \
260 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
262 WARN_CXXFLAGS = \
263 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
266 # -I/-D flags to pass when compiling.
267 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
269 # Generated lists of files to run. All of these names are valid make
270 # targets, if you wish to generate a list manually.
271 lists_of_files = \
272 testsuite_files \
273 testsuite_files_interactive \
274 testsuite_files_performance
276 extract_symvers = $(glibcxx_srcdir)/scripts/extract_symvers
277 baseline_subdir := $(shell $(CXX) --print-multi-dir)
278 check_DEJAGNU_normal_targets = $(patsubst %,check-DEJAGNUnormal%,0 1 2 3)
280 # Runs the testsuite, but in compile only mode.
281 # Can be used to test sources with non-GNU FE's at various warning
282 # levels and for checking compile time across releases.
283 # See script.
284 compile_script = ${glibcxx_srcdir}/scripts/check_compile
286 # Runs the testsuite/performance tests.
287 # Some of these tests create large (~75MB) files, allocate huge
288 # ammounts of memory, or otherwise tie up machine resources. Thus,
289 # running this is off by default.
290 # XXX Need to add dependency on libtestc++.a
291 check_performance_script = ${glibcxx_srcdir}/scripts/check_performance
293 # Runs the testsuite in debug mode.
294 debug_flags = "unix/-D_GLIBCXX_DEBUG"
296 # Runs the testsuite in parallel mode.
297 libgomp_dir = ${glibcxx_builddir}/../libgomp
298 libgomp_flags = -B${glibcxx_builddir}/../libgomp \
299 -I${glibcxx_builddir}/../libgomp \
300 -L${glibcxx_builddir}/../libgomp/.libs -lgomp
302 atomic_flags = $(ATOMIC_FLAGS)
303 parallel_flags = "unix/-D_GLIBCXX_PARALLEL/-fopenmp"
305 # Runs the testsuite in profile mode.
306 profile_flags = "unix/-D_GLIBCXX_PROFILE"
308 # By adding these files here, automake will remove them for 'make clean'
309 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
310 testsuite_* site.exp abi_check baseline_symbols *TEST* *.dat \
311 *.s *.o *.cc *.a *.so *.xml
313 all: all-am
315 .SUFFIXES:
316 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
317 @for dep in $?; do \
318 case '$(am__configure_deps)' in \
319 *$$dep*) \
320 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
321 && { if test -f $@; then exit 0; else break; fi; }; \
322 exit 1;; \
323 esac; \
324 done; \
325 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile'; \
326 $(am__cd) $(top_srcdir) && \
327 $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile
328 .PRECIOUS: Makefile
329 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
330 @case '$?' in \
331 *config.status*) \
332 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
333 *) \
334 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
335 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
336 esac;
338 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
339 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
341 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
342 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
343 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
344 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
345 $(am__aclocal_m4_deps):
347 mostlyclean-libtool:
348 -rm -f *.lo
350 clean-libtool:
351 -rm -rf .libs _libs
352 tags: TAGS
353 TAGS:
355 ctags: CTAGS
356 CTAGS:
358 check-am: all-am
359 check: check-am
360 all-am: Makefile
361 installdirs:
362 install: install-am
363 install-exec: install-exec-am
364 install-data: install-data-am
365 uninstall: uninstall-am
367 install-am: all-am
368 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
370 installcheck: installcheck-am
371 install-strip:
372 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
373 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
374 `test -z '$(STRIP)' || \
375 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
376 mostlyclean-generic:
378 clean-generic:
379 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
381 distclean-generic:
382 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
383 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
385 maintainer-clean-generic:
386 @echo "This command is intended for maintainers to use"
387 @echo "it deletes files that may require special tools to rebuild."
388 clean: clean-am
390 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
392 distclean: distclean-am
393 -rm -f Makefile
394 distclean-am: clean-am distclean-generic
396 dvi: dvi-am
398 dvi-am:
400 html: html-am
402 html-am:
404 info: info-am
406 info-am:
408 install-data-am:
410 install-dvi: install-dvi-am
412 install-dvi-am:
414 install-exec-am:
416 install-html: install-html-am
418 install-html-am:
420 install-info: install-info-am
422 install-info-am:
424 install-man:
426 install-pdf: install-pdf-am
428 install-pdf-am:
430 install-ps: install-ps-am
432 install-ps-am:
434 installcheck-am:
436 maintainer-clean: maintainer-clean-am
437 -rm -f Makefile
438 maintainer-clean-am: distclean-am maintainer-clean-generic
440 mostlyclean: mostlyclean-am
442 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
444 pdf: pdf-am
446 pdf-am:
448 ps: ps-am
450 ps-am:
452 uninstall-am:
454 .MAKE: install-am install-strip
456 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
457 clean-local distclean distclean-generic distclean-libtool dvi \
458 dvi-am html html-am info info-am install install-am \
459 install-data install-data-am install-dvi install-dvi-am \
460 install-exec install-exec-am install-html install-html-am \
461 install-info install-info-am install-man install-pdf \
462 install-pdf-am install-ps install-ps-am install-strip \
463 installcheck installcheck-am installdirs maintainer-clean \
464 maintainer-clean-generic mostlyclean mostlyclean-generic \
465 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
468 # This rule generates all of the testsuite_files* lists at once.
469 ${lists_of_files}:
470 ${glibcxx_srcdir}/scripts/create_testsuite_files \
471 ${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
473 # We need more things in site.exp, but automake completely controls the
474 # creation of that file; there's no way to append to it without messing up
475 # the dependancy chains. So we overrule automake. This rule is exactly
476 # what it would have generated, plus our own additions.
477 site.exp: Makefile
478 @echo 'Making a new site.exp file...'
479 @echo '## these variables are automatically generated by make ##' >site.tmp
480 @echo '# Do not edit here. If you wish to override these values' >>site.tmp
481 @echo '# edit the last section' >>site.tmp
482 @echo 'set srcdir $(srcdir)' >>site.tmp
483 @echo "set objdir `pwd`" >>site.tmp
484 @echo 'set build_alias "$(build_alias)"' >>site.tmp
485 @echo 'set build_triplet $(build_triplet)' >>site.tmp
486 @echo 'set host_alias "$(host_alias)"' >>site.tmp
487 @echo 'set host_triplet $(host_triplet)' >>site.tmp
488 @echo 'set target_alias "$(target_alias)"' >>site.tmp
489 @echo 'set target_triplet $(target_triplet)' >>site.tmp
490 @echo 'set target_triplet $(target_triplet)' >>site.tmp
491 @echo 'set libiconv "$(LIBICONV)"' >>site.tmp
492 @echo 'set baseline_dir "$(baseline_dir)"' >> site.tmp
493 @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
494 @test ! -f site.exp || \
495 sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
496 @-rm -f site.bak
497 @test ! -f site.exp || mv site.exp site.bak
498 @mv site.tmp site.exp
500 baseline_symbols:
501 -@(output=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt; \
502 if test ! -f $${output}; then \
503 echo "Baseline file doesn't exist."; \
504 echo "Try 'make new-abi-baseline' to create it."; \
505 exit 1; \
506 fi; true)
508 new-abi-baseline:
509 -@$(mkinstalldirs) ${baseline_dir}${baseline_subdir}
510 -@(output=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt; \
511 if test -f $${output}; then \
512 output=$${output}.new; \
513 t=`echo $${output} | sed 's=.*config/abi/=='`; \
514 echo "Baseline file already exists, writing to $${t} instead."; \
515 fi; \
516 ${extract_symvers} ../src/.libs/libstdc++.so $${output})
518 %/site.exp: site.exp
519 -test -d $* || mkdir $*
520 @srcdir=`cd $(srcdir); ${PWD_COMMAND}`;
521 objdir=`${PWD_COMMAND}`/$*; \
522 sed -e "s|^set srcdir .*$$|set srcdir $$srcdir|" \
523 -e "s|^set objdir .*$$|set objdir $$objdir|" \
524 site.exp > $*/site.exp.tmp
525 @-rm -f $*/site.bak
526 @test ! -f $*/site.exp || mv $*/site.exp $*/site.bak
527 @mv $*/site.exp.tmp $*/site.exp
528 $(check_DEJAGNU_normal_targets): check-DEJAGNUnormal%: normal%/site.exp
530 # Run the testsuite in normal mode.
531 check-DEJAGNU $(check_DEJAGNU_normal_targets): check-DEJAGNU%: site.exp
532 AR="$(AR)"; export AR; \
533 RANLIB="$(RANLIB)"; export RANLIB; \
534 if [ -z "$*$(filter-out --target_board=%, $(RUNTESTFLAGS))" ] \
535 && [ "$(filter -j, $(MFLAGS))" = "-j" ]; then \
536 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNUnormal0 check-DEJAGNUnormal1 \
537 check-DEJAGNUnormal2 check-DEJAGNUnormal3; \
538 for idx in 0 1 2 3; do \
539 mv -f normal$$idx/libstdc++.sum normal$$idx/libstdc++.sum.sep; \
540 mv -f normal$$idx/libstdc++.log normal$$idx/libstdc++.log.sep; \
541 done; \
542 mv -f libstdc++.sum libstdc++.sum.sep; \
543 mv -f libstdc++.log libstdc++.log.sep; \
544 $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh \
545 libstdc++.sum.sep normal0/libstdc++.sum.sep \
546 normal1/libstdc++.sum.sep normal2/libstdc++.sum.sep \
547 normal3/libstdc++.sum.sep > libstdc++.sum; \
548 $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh -L \
549 libstdc++.log.sep normal0/libstdc++.log.sep \
550 normal1/libstdc++.log.sep normal2/libstdc++.log.sep \
551 normal3/libstdc++.log.sep > libstdc++.log; \
552 exit 0; \
553 fi; \
554 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
555 EXPECT=$(EXPECT); export EXPECT; \
556 runtest=$(RUNTEST); \
557 if [ -z "$$runtest" ]; then runtest=runtest; fi; \
558 tool=libstdc++; \
559 dirs=; \
560 case "$*" in \
561 normal0) \
562 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
563 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
564 $(RUNTESTFLAGS) abi.exp; \
565 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
566 fi; \
567 dirs="`cd $$srcdir; echo [013-9][0-9]_*/* [ab]* de* [ep]*/*`";; \
568 normal1) \
569 dirs="`cd $$srcdir; echo 2[0-2]_*/*`";; \
570 normal2) \
571 dirs="`cd $$srcdir; echo 2[4-9]_*/*`";; \
572 normal3) \
573 dirs="`cd $$srcdir; echo 23_*/* t*/*`";; \
574 esac; \
575 if [ -n "$*" ]; then cd "$*"; fi; \
576 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
577 if [ -n "$$dirs" ]; then \
578 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
579 $(RUNTESTFLAGS) \
580 "conformance.exp=`echo $$dirs | sed 's/ /* /g;s/$$/*/'`"; \
581 else \
582 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
583 $(RUNTESTFLAGS); \
584 fi; \
585 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
588 check-am:
589 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
590 .PHONY: check-DEJAGNU
592 # Use 'new-abi-baseline' to create an initial symbol file. Then run
593 # 'check-abi' to test for changes against that file.
594 check-abi: site.exp baseline_symbols
595 -@runtest $(AM_RUNTESTFLAGS) --tool libstdc++ $(RUNTESTFLAGS) abi.exp
596 check-compile: testsuite_files ${compile_script}
597 -@(chmod + ${compile_script}; \
598 ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
599 check-performance: testsuite_files_performance ${performance_script}
600 -@(chmod + ${check_performance_script}; \
601 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
603 check-debug: site.exp
604 outputdir=debug; export outputdir; \
605 if test ! -d $${outputdir}; then \
606 mkdir $${outputdir}; \
607 fi; \
608 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
609 EXPECT=$(EXPECT); export EXPECT; \
610 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(debug_flags)" check-DEJAGNU;
612 check-parallel: site.exp
613 -@(if test ! -d $${libgomp_dir}; then \
614 echo "Testing parallel mode failed as libgomp not present."; \
615 exit 1; \
616 fi; \
617 outputdir=parallel; export outputdir; \
618 if test ! -d $${outputdir}; then \
619 mkdir $${outputdir}; \
620 fi; \
621 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
622 EXPECT=$(EXPECT); export EXPECT; \
623 $(MAKE) CXXFLAGS="$(atomic_flags) $(libgomp_flags)" RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(parallel_flags)" check-DEJAGNU; )
625 check-performance-parallel: testsuite_files_performance ${performance_script}
626 -@(chmod + ${check_performance_script}; \
627 CXXFLAGS="-D_GLIBCXX_PARALLEL -fopenmp $(atomic_flags) $(libgomp_flags)"; export CXXFLAGS; \
628 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
630 check-profile: site.exp
631 -@(outputdir=profile; export outputdir; \
632 if test ! -d $${outputdir}; then \
633 mkdir $${outputdir}; \
634 fi; \
635 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
636 EXPECT=$(EXPECT); export EXPECT; \
637 $(MAKE) CXXFLAGS="$(atomic_flags) " RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(profile_flags)" check-DEJAGNU; )
639 .PHONY: baseline_symbols new-abi-baseline \
640 check-abi check-compile check-performance check-parallel check-profile
642 # To remove directories.
643 clean-local:
644 rm -rf debug parallel profile
646 # Tell versions [3.59,3.63) of GNU make to not export all variables.
647 # Otherwise a system limit (for SysV at least) may be exceeded.
648 .NOEXPORT: