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