OSDN Git Service

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