revised patch from gaby
[official-gcc/constexpr.git] / libstdc++-v3 / testsuite / Makefile.in
blob8eb34e97d84932cb2e27907cac35bc14e5639930
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/tls.m4 $(top_srcdir)/configure.ac
58 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
59 $(ACLOCAL_M4)
60 CONFIG_HEADER = $(top_builddir)/config.h
61 CONFIG_CLEAN_FILES =
62 CONFIG_CLEAN_VPATH_FILES =
63 depcomp =
64 am__depfiles_maybe =
65 SOURCES =
66 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
67 ACLOCAL = @ACLOCAL@
68 ALLOCATOR_H = @ALLOCATOR_H@
69 ALLOCATOR_NAME = @ALLOCATOR_NAME@
70 AMTAR = @AMTAR@
71 AR = @AR@
72 AS = @AS@
73 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
74 ATOMIC_FLAGS = @ATOMIC_FLAGS@
75 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
76 AUTOCONF = @AUTOCONF@
77 AUTOHEADER = @AUTOHEADER@
78 AUTOMAKE = @AUTOMAKE@
79 AWK = @AWK@
80 BASIC_FILE_CC = @BASIC_FILE_CC@
81 BASIC_FILE_H = @BASIC_FILE_H@
82 CC = @CC@
83 CCODECVT_CC = @CCODECVT_CC@
84 CCOLLATE_CC = @CCOLLATE_CC@
85 CCTYPE_CC = @CCTYPE_CC@
86 CFLAGS = @CFLAGS@
87 CLOCALE_CC = @CLOCALE_CC@
88 CLOCALE_H = @CLOCALE_H@
89 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
90 CMESSAGES_CC = @CMESSAGES_CC@
91 CMESSAGES_H = @CMESSAGES_H@
92 CMONEY_CC = @CMONEY_CC@
93 CNUMERIC_CC = @CNUMERIC_CC@
94 CPP = @CPP@
95 CPPFLAGS = @CPPFLAGS@
96 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
97 CSTDIO_H = @CSTDIO_H@
98 CTIME_CC = @CTIME_CC@
99 CTIME_H = @CTIME_H@
100 CXX = @CXX@
101 CXXCPP = @CXXCPP@
102 CXXFLAGS = @CXXFLAGS@
103 CYGPATH_W = @CYGPATH_W@
104 C_INCLUDE_DIR = @C_INCLUDE_DIR@
105 DEBUG_FLAGS = @DEBUG_FLAGS@
106 DEFS = @DEFS@
107 DSYMUTIL = @DSYMUTIL@
108 DUMPBIN = @DUMPBIN@
109 ECHO_C = @ECHO_C@
110 ECHO_N = @ECHO_N@
111 ECHO_T = @ECHO_T@
112 EGREP = @EGREP@
113 ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
114 EXEEXT = @EXEEXT@
115 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
116 FGREP = @FGREP@
117 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
118 GLIBCXX_LIBS = @GLIBCXX_LIBS@
119 GREP = @GREP@
120 INSTALL = @INSTALL@
121 INSTALL_DATA = @INSTALL_DATA@
122 INSTALL_PROGRAM = @INSTALL_PROGRAM@
123 INSTALL_SCRIPT = @INSTALL_SCRIPT@
124 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
125 LD = @LD@
126 LDFLAGS = @LDFLAGS@
127 LIBICONV = @LIBICONV@
128 LIBOBJS = @LIBOBJS@
129 LIBS = @LIBS@
130 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
131 LIBTOOL = @LIBTOOL@
132 LIPO = @LIPO@
133 LN_S = @LN_S@
134 LTLIBICONV = @LTLIBICONV@
135 LTLIBOBJS = @LTLIBOBJS@
136 MAINT = @MAINT@
137 MAKEINFO = @MAKEINFO@
138 MKDIR_P = @MKDIR_P@
139 NM = @NM@
140 NMEDIT = @NMEDIT@
141 OBJDUMP = @OBJDUMP@
142 OBJEXT = @OBJEXT@
143 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
144 OPT_LDFLAGS = @OPT_LDFLAGS@
145 OS_INC_SRCDIR = @OS_INC_SRCDIR@
146 OTOOL = @OTOOL@
147 OTOOL64 = @OTOOL64@
148 PACKAGE = @PACKAGE@
149 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
150 PACKAGE_NAME = @PACKAGE_NAME@
151 PACKAGE_STRING = @PACKAGE_STRING@
152 PACKAGE_TARNAME = @PACKAGE_TARNAME@
153 PACKAGE_URL = @PACKAGE_URL@
154 PACKAGE_VERSION = @PACKAGE_VERSION@
155 PATH_SEPARATOR = @PATH_SEPARATOR@
156 RANLIB = @RANLIB@
157 SECTION_FLAGS = @SECTION_FLAGS@
158 SECTION_LDFLAGS = @SECTION_LDFLAGS@
159 SED = @SED@
160 SET_MAKE = @SET_MAKE@
161 SHELL = @SHELL@
162 STRIP = @STRIP@
163 SYMVER_FILE = @SYMVER_FILE@
164 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
165 USE_NLS = @USE_NLS@
166 VERSION = @VERSION@
167 WARN_FLAGS = @WARN_FLAGS@
168 WERROR = @WERROR@
169 abs_builddir = @abs_builddir@
170 abs_srcdir = @abs_srcdir@
171 abs_top_builddir = @abs_top_builddir@
172 abs_top_srcdir = @abs_top_srcdir@
173 ac_ct_CC = @ac_ct_CC@
174 ac_ct_CXX = @ac_ct_CXX@
175 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
176 am__leading_dot = @am__leading_dot@
177 am__tar = @am__tar@
178 am__untar = @am__untar@
179 baseline_dir = @baseline_dir@
180 bindir = @bindir@
181 build = @build@
182 build_alias = @build_alias@
183 build_cpu = @build_cpu@
184 build_os = @build_os@
185 build_vendor = @build_vendor@
186 builddir = @builddir@
187 check_msgfmt = @check_msgfmt@
188 datadir = @datadir@
189 datarootdir = @datarootdir@
190 docdir = @docdir@
191 dvidir = @dvidir@
192 enable_shared = @enable_shared@
193 enable_static = @enable_static@
194 exec_prefix = @exec_prefix@
195 glibcxx_MOFILES = @glibcxx_MOFILES@
196 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
197 glibcxx_POFILES = @glibcxx_POFILES@
198 glibcxx_builddir = @glibcxx_builddir@
199 glibcxx_localedir = @glibcxx_localedir@
200 glibcxx_prefixdir = @glibcxx_prefixdir@
201 glibcxx_srcdir = @glibcxx_srcdir@
202 glibcxx_thread_h = @glibcxx_thread_h@
203 glibcxx_toolexecdir = @glibcxx_toolexecdir@
204 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
205 gxx_include_dir = @gxx_include_dir@
206 host = @host@
207 host_alias = @host_alias@
208 host_cpu = @host_cpu@
209 host_os = @host_os@
210 host_vendor = @host_vendor@
211 htmldir = @htmldir@
212 includedir = @includedir@
213 infodir = @infodir@
214 install_sh = @install_sh@
215 libdir = @libdir@
216 libexecdir = @libexecdir@
217 libtool_VERSION = @libtool_VERSION@
218 localedir = @localedir@
219 localstatedir = @localstatedir@
220 mandir = @mandir@
221 mkdir_p = @mkdir_p@
222 multi_basedir = @multi_basedir@
223 oldincludedir = @oldincludedir@
224 pdfdir = @pdfdir@
225 port_specific_symbol_files = @port_specific_symbol_files@
226 prefix = @prefix@
227 program_transform_name = @program_transform_name@
228 psdir = @psdir@
229 sbindir = @sbindir@
230 sharedstatedir = @sharedstatedir@
231 srcdir = @srcdir@
232 sysconfdir = @sysconfdir@
233 target = @target@
234 target_alias = @target_alias@
235 target_cpu = @target_cpu@
236 target_os = @target_os@
237 target_vendor = @target_vendor@
238 top_build_prefix = @top_build_prefix@
239 top_builddir = @top_builddir@
240 top_srcdir = @top_srcdir@
241 toplevel_srcdir = @toplevel_srcdir@
242 AUTOMAKE_OPTIONS = nostdinc
243 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
244 EXPECT = expect
246 # May be used by various substitution variables.
247 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
248 MAINT_CHARSET = latin1
249 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
250 PWD_COMMAND = $${PWDCMD-pwd}
251 STAMP = echo timestamp >
252 toolexecdir = $(glibcxx_toolexecdir)
253 toolexeclibdir = $(glibcxx_toolexeclibdir)
255 # These bits are all figured out from configure. Look in acinclude.m4
256 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
257 CONFIG_CXXFLAGS = \
258 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
260 WARN_CXXFLAGS = \
261 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
264 # -I/-D flags to pass when compiling.
265 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
267 # Generated lists of files to run. All of these names are valid make
268 # targets, if you wish to generate a list manually.
269 lists_of_files = \
270 testsuite_files \
271 testsuite_files_interactive \
272 testsuite_files_performance
274 extract_symvers = $(glibcxx_srcdir)/scripts/extract_symvers
275 check_DEJAGNU_normal_targets = $(patsubst %,check-DEJAGNUnormal%,0 1 2 3)
277 # Runs the testsuite, but in compile only mode.
278 # Can be used to test sources with non-GNU FE's at various warning
279 # levels and for checking compile time across releases.
280 # See script.
281 compile_script = ${glibcxx_srcdir}/scripts/check_compile
283 # Runs the testsuite/performance tests.
284 # Some of these tests create large (~75MB) files, allocate huge
285 # ammounts of memory, or otherwise tie up machine resources. Thus,
286 # running this is off by default.
287 # XXX Need to add dependency on libtestc++.a
288 check_performance_script = ${glibcxx_srcdir}/scripts/check_performance
290 # Runs the testsuite in debug mode.
291 debug_flags = "unix/-D_GLIBCXX_DEBUG"
293 # Runs the testsuite in parallel mode.
294 libgomp_dir = ${glibcxx_builddir}/../libgomp
295 libgomp_flags = -B${glibcxx_builddir}/../libgomp \
296 -I${glibcxx_builddir}/../libgomp \
297 -L${glibcxx_builddir}/../libgomp/.libs -lgomp
299 atomic_flags = $(ATOMIC_FLAGS)
300 parallel_flags = "unix/-D_GLIBCXX_PARALLEL/-fopenmp"
302 # Runs the testsuite in profile mode.
303 profile_flags = "unix/-D_GLIBCXX_PROFILE"
305 # By adding these files here, automake will remove them for 'make clean'
306 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
307 testsuite_* site.exp abi_check baseline_symbols *TEST* *.dat \
308 *.s *.o *.cc *.a *.so *.xml
310 all: all-am
312 .SUFFIXES:
313 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
314 @for dep in $?; do \
315 case '$(am__configure_deps)' in \
316 *$$dep*) \
317 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
318 && { if test -f $@; then exit 0; else break; fi; }; \
319 exit 1;; \
320 esac; \
321 done; \
322 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile'; \
323 $(am__cd) $(top_srcdir) && \
324 $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile
325 .PRECIOUS: Makefile
326 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
327 @case '$?' in \
328 *config.status*) \
329 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
330 *) \
331 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
332 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
333 esac;
335 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
336 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
338 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
339 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
340 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
341 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
342 $(am__aclocal_m4_deps):
344 mostlyclean-libtool:
345 -rm -f *.lo
347 clean-libtool:
348 -rm -rf .libs _libs
349 tags: TAGS
350 TAGS:
352 ctags: CTAGS
353 CTAGS:
355 check-am: all-am
356 check: check-am
357 all-am: Makefile
358 installdirs:
359 install: install-am
360 install-exec: install-exec-am
361 install-data: install-data-am
362 uninstall: uninstall-am
364 install-am: all-am
365 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
367 installcheck: installcheck-am
368 install-strip:
369 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
370 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
371 `test -z '$(STRIP)' || \
372 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
373 mostlyclean-generic:
375 clean-generic:
376 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
378 distclean-generic:
379 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
380 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
382 maintainer-clean-generic:
383 @echo "This command is intended for maintainers to use"
384 @echo "it deletes files that may require special tools to rebuild."
385 clean: clean-am
387 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
389 distclean: distclean-am
390 -rm -f Makefile
391 distclean-am: clean-am distclean-generic
393 dvi: dvi-am
395 dvi-am:
397 html: html-am
399 html-am:
401 info: info-am
403 info-am:
405 install-data-am:
407 install-dvi: install-dvi-am
409 install-dvi-am:
411 install-exec-am:
413 install-html: install-html-am
415 install-html-am:
417 install-info: install-info-am
419 install-info-am:
421 install-man:
423 install-pdf: install-pdf-am
425 install-pdf-am:
427 install-ps: install-ps-am
429 install-ps-am:
431 installcheck-am:
433 maintainer-clean: maintainer-clean-am
434 -rm -f Makefile
435 maintainer-clean-am: distclean-am maintainer-clean-generic
437 mostlyclean: mostlyclean-am
439 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
441 pdf: pdf-am
443 pdf-am:
445 ps: ps-am
447 ps-am:
449 uninstall-am:
451 .MAKE: install-am install-strip
453 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
454 clean-local distclean distclean-generic distclean-libtool dvi \
455 dvi-am html html-am info info-am install install-am \
456 install-data install-data-am install-dvi install-dvi-am \
457 install-exec install-exec-am install-html install-html-am \
458 install-info install-info-am install-man install-pdf \
459 install-pdf-am install-ps install-ps-am install-strip \
460 installcheck installcheck-am installdirs maintainer-clean \
461 maintainer-clean-generic mostlyclean mostlyclean-generic \
462 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
465 # This rule generates all of the testsuite_files* lists at once.
466 ${lists_of_files}:
467 ${glibcxx_srcdir}/scripts/create_testsuite_files \
468 ${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
470 # We need more things in site.exp, but automake completely controls the
471 # creation of that file; there's no way to append to it without messing up
472 # the dependancy chains. So we overrule automake. This rule is exactly
473 # what it would have generated, plus our own additions.
474 site.exp: Makefile
475 @echo 'Making a new site.exp file...'
476 @echo '## these variables are automatically generated by make ##' >site.tmp
477 @echo '# Do not edit here. If you wish to override these values' >>site.tmp
478 @echo '# edit the last section' >>site.tmp
479 @echo 'set srcdir $(srcdir)' >>site.tmp
480 @echo "set objdir `pwd`" >>site.tmp
481 @echo 'set build_alias "$(build_alias)"' >>site.tmp
482 @echo 'set build_triplet $(build_triplet)' >>site.tmp
483 @echo 'set host_alias "$(host_alias)"' >>site.tmp
484 @echo 'set host_triplet $(host_triplet)' >>site.tmp
485 @echo 'set target_alias "$(target_alias)"' >>site.tmp
486 @echo 'set target_triplet $(target_triplet)' >>site.tmp
487 @echo 'set target_triplet $(target_triplet)' >>site.tmp
488 @echo 'set libiconv "$(LIBICONV)"' >>site.tmp
489 @echo 'set baseline_dir "$(baseline_dir)"' >> site.tmp
490 @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
491 @test ! -f site.exp || \
492 sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
493 @-rm -f site.bak
494 @test ! -f site.exp || mv site.exp site.bak
495 @mv site.tmp site.exp
497 baseline_symbols:
498 -@(output=${baseline_dir}/baseline_symbols.txt; \
499 if test ! -f $${output}; then \
500 echo "Baseline file doesn't exist."; \
501 echo "Try 'make new-abi-baseline' to create it."; \
502 exit 1; \
503 fi; true)
505 new-abi-baseline:
506 -@$(mkinstalldirs) ${baseline_dir}
507 -@(output=${baseline_dir}/baseline_symbols.txt; \
508 if test -f $${output}; then \
509 output=$${output}.new; \
510 t=`echo $${output} | sed 's=.*config/abi/=='`; \
511 echo "Baseline file already exists, writing to $${t} instead."; \
512 fi; \
513 ${extract_symvers} ../src/.libs/libstdc++.so $${output})
515 %/site.exp: site.exp
516 -test -d $* || mkdir $*
517 @srcdir=`cd $(srcdir); ${PWD_COMMAND}`;
518 objdir=`${PWD_COMMAND}`/$*; \
519 sed -e "s|^set srcdir .*$$|set srcdir $$srcdir|" \
520 -e "s|^set objdir .*$$|set objdir $$objdir|" \
521 site.exp > $*/site.exp.tmp
522 @-rm -f $*/site.bak
523 @test ! -f $*/site.exp || mv $*/site.exp $*/site.bak
524 @mv $*/site.exp.tmp $*/site.exp
525 $(check_DEJAGNU_normal_targets): check-DEJAGNUnormal%: normal%/site.exp
527 # Run the testsuite in normal mode.
528 check-DEJAGNU $(check_DEJAGNU_normal_targets): check-DEJAGNU%: site.exp
529 AR="$(AR)"; export AR; \
530 RANLIB="$(RANLIB)"; export RANLIB; \
531 if [ -z "$*$(filter-out --target_board=%, $(RUNTESTFLAGS))" ] \
532 && [ "$(filter -j, $(MFLAGS))" = "-j" ]; then \
533 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNUnormal0 check-DEJAGNUnormal1 \
534 check-DEJAGNUnormal2 check-DEJAGNUnormal3; \
535 for idx in 0 1 2 3; do \
536 mv -f normal$$idx/libstdc++.sum normal$$idx/libstdc++.sum.sep; \
537 mv -f normal$$idx/libstdc++.log normal$$idx/libstdc++.log.sep; \
538 done; \
539 mv -f libstdc++.sum libstdc++.sum.sep; \
540 mv -f libstdc++.log libstdc++.log.sep; \
541 $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh \
542 libstdc++.sum.sep normal0/libstdc++.sum.sep \
543 normal1/libstdc++.sum.sep normal2/libstdc++.sum.sep \
544 normal3/libstdc++.sum.sep > libstdc++.sum; \
545 $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh -L \
546 libstdc++.log.sep normal0/libstdc++.log.sep \
547 normal1/libstdc++.log.sep normal2/libstdc++.log.sep \
548 normal3/libstdc++.log.sep > libstdc++.log; \
549 exit 0; \
550 fi; \
551 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
552 EXPECT=$(EXPECT); export EXPECT; \
553 runtest=$(RUNTEST); \
554 if [ -z "$$runtest" ]; then runtest=runtest; fi; \
555 tool=libstdc++; \
556 dirs=; \
557 case "$*" in \
558 normal0) \
559 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
560 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
561 $(RUNTESTFLAGS) abi.exp; \
562 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
563 fi; \
564 dirs="`cd $$srcdir; echo [013-9][0-9]_*/* [ab]* de* [ep]*/*`";; \
565 normal1) \
566 dirs="`cd $$srcdir; echo 2[0-2]_*/*`";; \
567 normal2) \
568 dirs="`cd $$srcdir; echo 2[4-9]_*/*`";; \
569 normal3) \
570 dirs="`cd $$srcdir; echo 23_*/* t*/*`";; \
571 esac; \
572 if [ -n "$*" ]; then cd "$*"; fi; \
573 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
574 if [ -n "$$dirs" ]; then \
575 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
576 $(RUNTESTFLAGS) \
577 "conformance.exp=`echo $$dirs | sed 's/ /* /g;s/$$/*/'`"; \
578 else \
579 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
580 $(RUNTESTFLAGS); \
581 fi; \
582 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
585 check-am:
586 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
587 .PHONY: check-DEJAGNU
589 # Use 'new-abi-baseline' to create an initial symbol file. Then run
590 # 'check-abi' to test for changes against that file.
591 check-abi: site.exp baseline_symbols
592 -@runtest $(AM_RUNTESTFLAGS) --tool libstdc++ $(RUNTESTFLAGS) abi.exp
593 check-compile: testsuite_files ${compile_script}
594 -@(chmod + ${compile_script}; \
595 ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
596 check-performance: testsuite_files_performance ${performance_script}
597 -@(chmod + ${check_performance_script}; \
598 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
600 check-debug: site.exp
601 outputdir=debug; export outputdir; \
602 if test ! -d $${outputdir}; then \
603 mkdir $${outputdir}; \
604 fi; \
605 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
606 EXPECT=$(EXPECT); export EXPECT; \
607 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(debug_flags)" check-DEJAGNU;
609 check-parallel: site.exp
610 -@(if test ! -d $${libgomp_dir}; then \
611 echo "Testing parallel mode failed as libgomp not present."; \
612 exit 1; \
613 fi; \
614 outputdir=parallel; export outputdir; \
615 if test ! -d $${outputdir}; then \
616 mkdir $${outputdir}; \
617 fi; \
618 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
619 EXPECT=$(EXPECT); export EXPECT; \
620 $(MAKE) CXXFLAGS="$(atomic_flags) $(libgomp_flags)" RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(parallel_flags)" check-DEJAGNU; )
622 check-performance-parallel: testsuite_files_performance ${performance_script}
623 -@(chmod + ${check_performance_script}; \
624 CXXFLAGS="-D_GLIBCXX_PARALLEL -fopenmp $(atomic_flags) $(libgomp_flags)"; export CXXFLAGS; \
625 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
627 check-profile: site.exp
628 -@(outputdir=profile; export outputdir; \
629 if test ! -d $${outputdir}; then \
630 mkdir $${outputdir}; \
631 fi; \
632 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
633 EXPECT=$(EXPECT); export EXPECT; \
634 $(MAKE) CXXFLAGS="$(atomic_flags) " RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(profile_flags)" check-DEJAGNU; )
636 .PHONY: baseline_symbols new-abi-baseline \
637 check-abi check-compile check-performance check-parallel check-profile
639 # To remove directories.
640 clean-local:
641 rm -rf debug parallel profile
643 # Tell versions [3.59,3.63) of GNU make to not export all variables.
644 # Otherwise a system limit (for SysV at least) may be exceeded.
645 .NOEXPORT: