gcc/
[official-gcc.git] / libstdc++-v3 / testsuite / Makefile.in
blob7a923f36d951942f21d1a3d52ecd2d301b6fa5ed
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/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 VTV_CXXFLAGS = @VTV_CXXFLAGS@
179 VTV_CXXLINKFLAGS = @VTV_CXXLINKFLAGS@
180 VTV_PCH_CXXFLAGS = @VTV_PCH_CXXFLAGS@
181 WARN_FLAGS = @WARN_FLAGS@
182 WERROR = @WERROR@
183 XMLLINT = @XMLLINT@
184 XSLTPROC = @XSLTPROC@
185 XSL_STYLE_DIR = @XSL_STYLE_DIR@
186 abs_builddir = @abs_builddir@
187 abs_srcdir = @abs_srcdir@
188 abs_top_builddir = @abs_top_builddir@
189 abs_top_srcdir = @abs_top_srcdir@
190 ac_ct_CC = @ac_ct_CC@
191 ac_ct_CXX = @ac_ct_CXX@
192 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
193 am__leading_dot = @am__leading_dot@
194 am__tar = @am__tar@
195 am__untar = @am__untar@
196 baseline_dir = @baseline_dir@
197 baseline_subdir_switch = @baseline_subdir_switch@
198 bindir = @bindir@
199 build = @build@
200 build_alias = @build_alias@
201 build_cpu = @build_cpu@
202 build_os = @build_os@
203 build_vendor = @build_vendor@
204 builddir = @builddir@
205 check_msgfmt = @check_msgfmt@
206 datadir = @datadir@
207 datarootdir = @datarootdir@
208 docdir = @docdir@
209 dvidir = @dvidir@
210 enable_shared = @enable_shared@
211 enable_static = @enable_static@
212 exec_prefix = @exec_prefix@
213 glibcxx_MOFILES = @glibcxx_MOFILES@
214 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
215 glibcxx_POFILES = @glibcxx_POFILES@
216 glibcxx_builddir = @glibcxx_builddir@
217 glibcxx_compiler_pic_flag = @glibcxx_compiler_pic_flag@
218 glibcxx_compiler_shared_flag = @glibcxx_compiler_shared_flag@
219 glibcxx_localedir = @glibcxx_localedir@
220 glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
221 glibcxx_prefixdir = @glibcxx_prefixdir@
222 glibcxx_srcdir = @glibcxx_srcdir@
223 glibcxx_toolexecdir = @glibcxx_toolexecdir@
224 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
225 gxx_include_dir = @gxx_include_dir@
226 host = @host@
227 host_alias = @host_alias@
228 host_cpu = @host_cpu@
229 host_os = @host_os@
230 host_vendor = @host_vendor@
231 htmldir = @htmldir@
232 includedir = @includedir@
233 infodir = @infodir@
234 install_sh = @install_sh@
235 libdir = @libdir@
236 libexecdir = @libexecdir@
237 libtool_VERSION = @libtool_VERSION@
238 localedir = @localedir@
239 localstatedir = @localstatedir@
240 lt_host_flags = @lt_host_flags@
241 mandir = @mandir@
242 mkdir_p = @mkdir_p@
243 multi_basedir = @multi_basedir@
244 oldincludedir = @oldincludedir@
245 pdfdir = @pdfdir@
246 port_specific_symbol_files = @port_specific_symbol_files@
247 prefix = @prefix@
248 program_transform_name = @program_transform_name@
249 psdir = @psdir@
250 python_mod_dir = @python_mod_dir@
251 sbindir = @sbindir@
252 sharedstatedir = @sharedstatedir@
253 srcdir = @srcdir@
254 sysconfdir = @sysconfdir@
255 target = @target@
256 target_alias = @target_alias@
257 target_cpu = @target_cpu@
258 target_os = @target_os@
259 target_vendor = @target_vendor@
260 thread_header = @thread_header@
261 top_build_prefix = @top_build_prefix@
262 top_builddir = @top_builddir@
263 top_srcdir = @top_srcdir@
264 toplevel_builddir = @toplevel_builddir@
265 toplevel_srcdir = @toplevel_srcdir@
266 AUTOMAKE_OPTIONS = nostdinc
267 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
268 EXPECT = expect
270 # May be used by various substitution variables.
271 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
272 MAINT_CHARSET = latin1
273 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
274 PWD_COMMAND = $${PWDCMD-pwd}
275 STAMP = echo timestamp >
276 toolexecdir = $(glibcxx_toolexecdir)
277 toolexeclibdir = $(glibcxx_toolexeclibdir)
278 @ENABLE_WERROR_FALSE@WERROR_FLAG =
279 @ENABLE_WERROR_TRUE@WERROR_FLAG = $(WERROR)
280 @ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS =
281 @ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates
283 # These bits are all figured out from configure. Look in acinclude.m4
284 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
285 CONFIG_CXXFLAGS = \
286 $(SECTION_FLAGS) $(HWCAP_FLAGS) -frandom-seed=$@
288 WARN_CXXFLAGS = \
289 $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
292 # -I/-D flags to pass when compiling.
293 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
295 # Generated lists of files to run. All of these names are valid make
296 # targets, if you wish to generate a list manually.
297 lists_of_files = \
298 testsuite_files \
299 testsuite_files_interactive \
300 testsuite_files_performance
302 extract_symvers = $(glibcxx_builddir)/scripts/extract_symvers
303 baseline_subdir := $(shell $(CXX) $(baseline_subdir_switch))
304 check_DEJAGNU_normal_targets = $(patsubst %,check-DEJAGNUnormal%,0 1 2 3 4 5 6 7 8 9 10)
306 # Runs the testsuite, but in compile only mode.
307 # Can be used to test sources with non-GNU FE's at various warning
308 # levels and for checking compile time across releases.
309 # See script.
310 compile_script = ${glibcxx_srcdir}/scripts/check_compile
312 # Runs the testsuite/performance tests.
313 # Some of these tests create large (~75MB) files, allocate huge
314 # ammounts of memory, or otherwise tie up machine resources. Thus,
315 # running this is off by default.
316 # XXX Need to add dependency on libtestc++.a
317 check_performance_script = ${glibcxx_srcdir}/scripts/check_performance
319 # Runs the testsuite in debug mode.
320 debug_flags = "unix/-D_GLIBCXX_DEBUG"
322 # Runs the testsuite in parallel mode.
323 libgomp_dir = ${glibcxx_builddir}/../libgomp
324 libgomp_flags = -B${glibcxx_builddir}/../libgomp \
325 -I${glibcxx_builddir}/../libgomp \
326 -L${glibcxx_builddir}/../libgomp/.libs -lgomp
328 atomic_flags = $(ATOMIC_FLAGS)
329 parallel_flags = "unix/-D_GLIBCXX_PARALLEL/-fopenmp"
331 # Runs the testsuite in profile mode.
332 profile_flags = "unix/-D_GLIBCXX_PROFILE"
334 # By adding these files here, automake will remove them for 'make clean'
335 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
336 testsuite_* site.exp abi_check baseline_symbols *TEST* *.dat \
337 *.ii *.s *.o *.cc *.x *.a *.so *.xml *.raw *.out *.gdb
339 all: all-am
341 .SUFFIXES:
342 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
343 @for dep in $?; do \
344 case '$(am__configure_deps)' in \
345 *$$dep*) \
346 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
347 && { if test -f $@; then exit 0; else break; fi; }; \
348 exit 1;; \
349 esac; \
350 done; \
351 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile'; \
352 $(am__cd) $(top_srcdir) && \
353 $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile
354 .PRECIOUS: Makefile
355 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
356 @case '$?' in \
357 *config.status*) \
358 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
359 *) \
360 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
361 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
362 esac;
364 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
365 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
367 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
368 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
369 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
370 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
371 $(am__aclocal_m4_deps):
373 mostlyclean-libtool:
374 -rm -f *.lo
376 clean-libtool:
377 -rm -rf .libs _libs
378 tags: TAGS
379 TAGS:
381 ctags: CTAGS
382 CTAGS:
384 check-am: all-am
385 check: check-am
386 all-am: Makefile
387 installdirs:
388 install: install-am
389 install-exec: install-exec-am
390 install-data: install-data-am
391 uninstall: uninstall-am
393 install-am: all-am
394 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
396 installcheck: installcheck-am
397 install-strip:
398 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
399 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
400 `test -z '$(STRIP)' || \
401 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
402 mostlyclean-generic:
404 clean-generic:
405 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
407 distclean-generic:
408 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
409 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
411 maintainer-clean-generic:
412 @echo "This command is intended for maintainers to use"
413 @echo "it deletes files that may require special tools to rebuild."
414 clean: clean-am
416 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
418 distclean: distclean-am
419 -rm -f Makefile
420 distclean-am: clean-am distclean-generic
422 dvi: dvi-am
424 dvi-am:
426 html: html-am
428 html-am:
430 info: info-am
432 info-am:
434 install-data-am:
436 install-dvi: install-dvi-am
438 install-dvi-am:
440 install-exec-am:
442 install-html: install-html-am
444 install-html-am:
446 install-info: install-info-am
448 install-info-am:
450 install-man:
452 install-pdf: install-pdf-am
454 install-pdf-am:
456 install-ps: install-ps-am
458 install-ps-am:
460 installcheck-am:
462 maintainer-clean: maintainer-clean-am
463 -rm -f Makefile
464 maintainer-clean-am: distclean-am maintainer-clean-generic
466 mostlyclean: mostlyclean-am
468 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
470 pdf: pdf-am
472 pdf-am:
474 ps: ps-am
476 ps-am:
478 uninstall-am:
480 .MAKE: install-am install-strip
482 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
483 clean-local distclean distclean-generic distclean-libtool dvi \
484 dvi-am html html-am info info-am install install-am \
485 install-data install-data-am install-dvi install-dvi-am \
486 install-exec install-exec-am install-html install-html-am \
487 install-info install-info-am install-man install-pdf \
488 install-pdf-am install-ps install-ps-am install-strip \
489 installcheck installcheck-am installdirs maintainer-clean \
490 maintainer-clean-generic mostlyclean mostlyclean-generic \
491 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
494 # This rule generates all of the testsuite_files* lists at once.
495 ${lists_of_files}:
496 ${glibcxx_srcdir}/scripts/create_testsuite_files \
497 ${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
499 # We need more things in site.exp, but automake completely controls the
500 # creation of that file; there's no way to append to it without messing up
501 # the dependancy chains. So we overrule automake. This rule is exactly
502 # what it would have generated, plus our own additions.
503 site.exp: Makefile
504 @echo 'Making a new site.exp file...'
505 @echo '## these variables are automatically generated by make ##' >site.tmp
506 @echo '# Do not edit here. If you wish to override these values' >>site.tmp
507 @echo '# edit the last section' >>site.tmp
508 @echo 'set srcdir $(srcdir)' >>site.tmp
509 @echo "set objdir `pwd`" >>site.tmp
510 @echo 'set build_alias "$(build_alias)"' >>site.tmp
511 @echo 'set build_triplet $(build_triplet)' >>site.tmp
512 @echo 'set host_alias "$(host_alias)"' >>site.tmp
513 @echo 'set host_triplet $(host_triplet)' >>site.tmp
514 @echo 'set target_alias "$(target_alias)"' >>site.tmp
515 @echo 'set target_triplet $(target_triplet)' >>site.tmp
516 @echo 'set target_triplet $(target_triplet)' >>site.tmp
517 @echo 'set libiconv "$(LIBICONV)"' >>site.tmp
518 @echo 'set baseline_dir "$(baseline_dir)"' >> site.tmp
519 @echo 'set baseline_subdir_switch "$(baseline_subdir_switch)"' >> site.tmp
520 @echo 'set TEST_GCC_EXEC_PREFIX "$(libdir)/gcc/"' >> site.tmp
521 @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
522 @test ! -f site.exp || \
523 sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
524 @-rm -f site.bak
525 @test ! -f site.exp || mv site.exp site.bak
526 @mv site.tmp site.exp
528 baseline_symbols:
529 -@(output=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt; \
530 if test ! -f $${output}; then \
531 echo "Baseline file doesn't exist."; \
532 echo "Try 'make new-abi-baseline' to create it."; \
533 exit 1; \
534 fi; true)
536 new-abi-baseline:
537 -@$(mkinstalldirs) ${baseline_dir}/${baseline_subdir}
538 -@(output=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt; \
539 if test -f $${output}; then \
540 output=$${output}.new; \
541 t=`echo $${output} | sed 's=.*config/abi/=='`; \
542 echo "Baseline file already exists, writing to $${t} instead."; \
543 fi; \
544 ${extract_symvers} ../src/.libs/libstdc++.so $${output})
546 %/site.exp: site.exp
547 -test -d $* || mkdir $*
548 @srcdir=`cd $(srcdir); ${PWD_COMMAND}`;
549 objdir=`${PWD_COMMAND}`/$*; \
550 sed -e "s|^set srcdir .*$$|set srcdir $$srcdir|" \
551 -e "s|^set objdir .*$$|set objdir $$objdir|" \
552 site.exp > $*/site.exp.tmp
553 @-rm -f $*/site.bak
554 @test ! -f $*/site.exp || mv $*/site.exp $*/site.bak
555 @mv $*/site.exp.tmp $*/site.exp
556 $(check_DEJAGNU_normal_targets): check-DEJAGNUnormal%: normal%/site.exp
558 # Run the testsuite in normal mode.
559 check-DEJAGNU $(check_DEJAGNU_normal_targets): check-DEJAGNU%: site.exp
560 AR="$(AR)"; export AR; \
561 RANLIB="$(RANLIB)"; export RANLIB; \
562 if [ -z "$*$(filter-out --target_board=%, $(RUNTESTFLAGS))" ] \
563 && [ "$(filter -j, $(MFLAGS))" = "-j" ]; then \
564 $(MAKE) $(AM_MAKEFLAGS) $(check_DEJAGNU_normal_targets); \
565 for idx in 0 1 2 3 4 5 6 7 8 9 10; do \
566 mv -f normal$$idx/libstdc++.sum normal$$idx/libstdc++.sum.sep; \
567 mv -f normal$$idx/libstdc++.log normal$$idx/libstdc++.log.sep; \
568 done; \
569 mv -f libstdc++.sum libstdc++.sum.sep; \
570 mv -f libstdc++.log libstdc++.log.sep; \
571 $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh \
572 libstdc++.sum.sep normal[0-9]*/libstdc++.sum.sep > libstdc++.sum; \
573 $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh -L \
574 libstdc++.log.sep normal[0-9]*/libstdc++.log.sep > libstdc++.log; \
575 exit 0; \
576 fi; \
577 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
578 EXPECT=$(EXPECT); export EXPECT; \
579 runtest=$(RUNTEST); \
580 if [ -z "$$runtest" ]; then runtest=runtest; fi; \
581 tool=libstdc++; \
582 dirs=; \
583 case "$*" in \
584 normal0) \
585 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
586 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
587 $(RUNTESTFLAGS) abi.exp prettyprinters.exp; \
588 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
589 fi; \
590 dirs="`cd $$srcdir; echo [013-9][0-9]_*/*`";; \
591 normal1) \
592 dirs="`cd $$srcdir; echo [ab]* de* [ep]*/*`";; \
593 normal2) \
594 dirs="`cd $$srcdir; echo 2[01]_*/*`";; \
595 normal3) \
596 dirs="`cd $$srcdir; echo 22_*/*`";; \
597 normal4) \
598 dirs="`cd $$srcdir; echo 23_*/[a-km-tw-z]*`";; \
599 normal5) \
600 dirs="`cd $$srcdir; echo 23_*/[luv]*`";; \
601 normal6) \
602 dirs="`cd $$srcdir; echo 2[459]_*/*`";; \
603 normal7) \
604 dirs="`cd $$srcdir; echo 26_*/* 28_*/[c-z]*`";; \
605 normal8) \
606 dirs="`cd $$srcdir; echo 27_*/*`";; \
607 normal9) \
608 dirs="`cd $$srcdir; echo 28_*/[ab]*`";; \
609 normal10) \
610 dirs="`cd $$srcdir; echo t*/*`";; \
611 esac; \
612 if [ -n "$*" ]; then cd "$*"; fi; \
613 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
614 if [ -n "$$dirs" ]; then \
615 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
616 $(RUNTESTFLAGS) \
617 "conformance.exp=`echo $$dirs | sed 's/ /* /g;s/$$/*/'`"; \
618 else \
619 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
620 $(RUNTESTFLAGS); \
621 fi; \
622 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
625 check-am:
626 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
627 .PHONY: check-DEJAGNU
629 # Use 'new-abi-baseline' to create an initial symbol file. Then run
630 # 'check-abi' to test for changes against that file.
631 check-abi: site.exp baseline_symbols
632 -@runtest $(AM_RUNTESTFLAGS) --tool libstdc++ $(RUNTESTFLAGS) abi.exp
633 check-compile: testsuite_files ${compile_script}
634 -@(chmod + ${compile_script}; \
635 ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
636 check-performance: testsuite_files_performance ${performance_script}
637 -@(chmod + ${check_performance_script}; \
638 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
640 check-debug: site.exp
641 outputdir=debug; export outputdir; \
642 if test ! -d $${outputdir}; then \
643 mkdir $${outputdir}; \
644 fi; \
645 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
646 EXPECT=$(EXPECT); export EXPECT; \
647 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(debug_flags)" check-DEJAGNU;
649 check-parallel: site.exp
650 -@(if test ! -d $${libgomp_dir}; then \
651 echo "Testing parallel mode failed as libgomp not present."; \
652 exit 1; \
653 fi; \
654 outputdir=parallel; export outputdir; \
655 if test ! -d $${outputdir}; then \
656 mkdir $${outputdir}; \
657 fi; \
658 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
659 EXPECT=$(EXPECT); export EXPECT; \
660 $(MAKE) CXXFLAGS="$(atomic_flags) $(libgomp_flags)" RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(parallel_flags)" check-DEJAGNU; )
662 check-performance-parallel: testsuite_files_performance ${performance_script}
663 -@(chmod + ${check_performance_script}; \
664 CXXFLAGS="-D_GLIBCXX_PARALLEL -fopenmp $(atomic_flags) $(libgomp_flags)"; export CXXFLAGS; \
665 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
667 check-profile: site.exp
668 -@(outputdir=profile; export outputdir; \
669 if test ! -d $${outputdir}; then \
670 mkdir $${outputdir}; \
671 fi; \
672 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
673 EXPECT=$(EXPECT); export EXPECT; \
674 $(MAKE) CXXFLAGS="$(atomic_flags) " RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(profile_flags)" check-DEJAGNU; )
676 .PHONY: baseline_symbols new-abi-baseline \
677 check-abi check-compile check-performance check-parallel check-profile
679 # To remove directories.
680 clean-local:
681 rm -rf de fr debug parallel profile binaries normal*
683 # Tell versions [3.59,3.63) of GNU make to not export all variables.
684 # Otherwise a system limit (for SysV at least) may be exceeded.
685 .NOEXPORT: