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