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