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