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@ 17VPATH = @srcdir@ 18pkgdatadir = $(datadir)/@PACKAGE@ 19pkgincludedir = $(includedir)/@PACKAGE@ 20pkglibdir = $(libdir)/@PACKAGE@ 21pkglibexecdir = $(libexecdir)/@PACKAGE@ 22am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 23install_sh_DATA = $(install_sh) -c -m 644 24install_sh_PROGRAM = $(install_sh) -c 25install_sh_SCRIPT = $(install_sh) -c 26INSTALL_HEADER = $(INSTALL_DATA) 27transform = $(program_transform_name) 28NORMAL_INSTALL = : 29PRE_INSTALL = : 30POST_INSTALL = : 31NORMAL_UNINSTALL = : 32PRE_UNINSTALL = : 33POST_UNINSTALL = : 34build_triplet = @build@ 35host_triplet = @host@ 36target_triplet = @target@ 37DIST_COMMON = $(top_srcdir)/fragment.am $(srcdir)/Makefile.in \ 38 $(srcdir)/Makefile.am 39subdir = testsuite 40ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 41am__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 62am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 63 $(ACLOCAL_M4) 64CONFIG_HEADER = $(top_builddir)/config.h 65CONFIG_CLEAN_FILES = 66CONFIG_CLEAN_VPATH_FILES = 67depcomp = 68am__depfiles_maybe = 69SOURCES = 70ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@ 71ACLOCAL = @ACLOCAL@ 72ALLOCATOR_H = @ALLOCATOR_H@ 73ALLOCATOR_NAME = @ALLOCATOR_NAME@ 74AMTAR = @AMTAR@ 75AR = @AR@ 76AS = @AS@ 77ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@ 78ATOMIC_FLAGS = @ATOMIC_FLAGS@ 79ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@ 80AUTOCONF = @AUTOCONF@ 81AUTOHEADER = @AUTOHEADER@ 82AUTOMAKE = @AUTOMAKE@ 83AWK = @AWK@ 84BASIC_FILE_CC = @BASIC_FILE_CC@ 85BASIC_FILE_H = @BASIC_FILE_H@ 86CC = @CC@ 87CCODECVT_CC = @CCODECVT_CC@ 88CCOLLATE_CC = @CCOLLATE_CC@ 89CCTYPE_CC = @CCTYPE_CC@ 90CFLAGS = @CFLAGS@ 91CLOCALE_CC = @CLOCALE_CC@ 92CLOCALE_H = @CLOCALE_H@ 93CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@ 94CMESSAGES_CC = @CMESSAGES_CC@ 95CMESSAGES_H = @CMESSAGES_H@ 96CMONEY_CC = @CMONEY_CC@ 97CNUMERIC_CC = @CNUMERIC_CC@ 98CPP = @CPP@ 99CPPFLAGS = @CPPFLAGS@ 100CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@ 101CPU_OPT_BITS_RANDOM = @CPU_OPT_BITS_RANDOM@ 102CPU_OPT_EXT_RANDOM = @CPU_OPT_EXT_RANDOM@ 103CSTDIO_H = @CSTDIO_H@ 104CTIME_CC = @CTIME_CC@ 105CTIME_H = @CTIME_H@ 106CXX = @CXX@ 107CXXCPP = @CXXCPP@ 108CXXFILT = @CXXFILT@ 109CXXFLAGS = @CXXFLAGS@ 110CYGPATH_W = @CYGPATH_W@ 111C_INCLUDE_DIR = @C_INCLUDE_DIR@ 112DBLATEX = @DBLATEX@ 113DEBUG_FLAGS = @DEBUG_FLAGS@ 114DEFS = @DEFS@ 115DOT = @DOT@ 116DOXYGEN = @DOXYGEN@ 117DSYMUTIL = @DSYMUTIL@ 118DUMPBIN = @DUMPBIN@ 119ECHO_C = @ECHO_C@ 120ECHO_N = @ECHO_N@ 121ECHO_T = @ECHO_T@ 122EGREP = @EGREP@ 123ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@ 124EXEEXT = @EXEEXT@ 125EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@ 126FGREP = @FGREP@ 127GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@ 128GLIBCXX_LIBS = @GLIBCXX_LIBS@ 129GREP = @GREP@ 130HWCAP_FLAGS = @HWCAP_FLAGS@ 131INSTALL = @INSTALL@ 132INSTALL_DATA = @INSTALL_DATA@ 133INSTALL_PROGRAM = @INSTALL_PROGRAM@ 134INSTALL_SCRIPT = @INSTALL_SCRIPT@ 135INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 136LD = @LD@ 137LDFLAGS = @LDFLAGS@ 138LIBICONV = @LIBICONV@ 139LIBOBJS = @LIBOBJS@ 140LIBS = @LIBS@ 141LIBTOOL = @LIBTOOL@ 142LIPO = @LIPO@ 143LN_S = @LN_S@ 144LTLIBICONV = @LTLIBICONV@ 145LTLIBOBJS = @LTLIBOBJS@ 146MAINT = @MAINT@ 147MAKEINFO = @MAKEINFO@ 148MKDIR_P = @MKDIR_P@ 149NM = @NM@ 150NMEDIT = @NMEDIT@ 151OBJDUMP = @OBJDUMP@ 152OBJEXT = @OBJEXT@ 153OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@ 154OPT_LDFLAGS = @OPT_LDFLAGS@ 155OS_INC_SRCDIR = @OS_INC_SRCDIR@ 156OTOOL = @OTOOL@ 157OTOOL64 = @OTOOL64@ 158PACKAGE = @PACKAGE@ 159PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 160PACKAGE_NAME = @PACKAGE_NAME@ 161PACKAGE_STRING = @PACKAGE_STRING@ 162PACKAGE_TARNAME = @PACKAGE_TARNAME@ 163PACKAGE_URL = @PACKAGE_URL@ 164PACKAGE_VERSION = @PACKAGE_VERSION@ 165PATH_SEPARATOR = @PATH_SEPARATOR@ 166PDFLATEX = @PDFLATEX@ 167RANLIB = @RANLIB@ 168SECTION_FLAGS = @SECTION_FLAGS@ 169SECTION_LDFLAGS = @SECTION_LDFLAGS@ 170SED = @SED@ 171SET_MAKE = @SET_MAKE@ 172SHELL = @SHELL@ 173STRIP = @STRIP@ 174SYMVER_FILE = @SYMVER_FILE@ 175TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@ 176USE_NLS = @USE_NLS@ 177VERSION = @VERSION@ 178WARN_FLAGS = @WARN_FLAGS@ 179WERROR = @WERROR@ 180XMLLINT = @XMLLINT@ 181XSLTPROC = @XSLTPROC@ 182XSL_STYLE_DIR = @XSL_STYLE_DIR@ 183abs_builddir = @abs_builddir@ 184abs_srcdir = @abs_srcdir@ 185abs_top_builddir = @abs_top_builddir@ 186abs_top_srcdir = @abs_top_srcdir@ 187ac_ct_CC = @ac_ct_CC@ 188ac_ct_CXX = @ac_ct_CXX@ 189ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ 190am__leading_dot = @am__leading_dot@ 191am__tar = @am__tar@ 192am__untar = @am__untar@ 193baseline_dir = @baseline_dir@ 194baseline_subdir_switch = @baseline_subdir_switch@ 195bindir = @bindir@ 196build = @build@ 197build_alias = @build_alias@ 198build_cpu = @build_cpu@ 199build_os = @build_os@ 200build_vendor = @build_vendor@ 201builddir = @builddir@ 202check_msgfmt = @check_msgfmt@ 203datadir = @datadir@ 204datarootdir = @datarootdir@ 205docdir = @docdir@ 206dvidir = @dvidir@ 207enable_shared = @enable_shared@ 208enable_static = @enable_static@ 209exec_prefix = @exec_prefix@ 210glibcxx_MOFILES = @glibcxx_MOFILES@ 211glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@ 212glibcxx_POFILES = @glibcxx_POFILES@ 213glibcxx_builddir = @glibcxx_builddir@ 214glibcxx_compiler_pic_flag = @glibcxx_compiler_pic_flag@ 215glibcxx_compiler_shared_flag = @glibcxx_compiler_shared_flag@ 216glibcxx_localedir = @glibcxx_localedir@ 217glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@ 218glibcxx_prefixdir = @glibcxx_prefixdir@ 219glibcxx_srcdir = @glibcxx_srcdir@ 220glibcxx_toolexecdir = @glibcxx_toolexecdir@ 221glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@ 222gxx_include_dir = @gxx_include_dir@ 223host = @host@ 224host_alias = @host_alias@ 225host_cpu = @host_cpu@ 226host_os = @host_os@ 227host_vendor = @host_vendor@ 228htmldir = @htmldir@ 229includedir = @includedir@ 230infodir = @infodir@ 231install_sh = @install_sh@ 232libdir = @libdir@ 233libexecdir = @libexecdir@ 234libtool_VERSION = @libtool_VERSION@ 235localedir = @localedir@ 236localstatedir = @localstatedir@ 237lt_host_flags = @lt_host_flags@ 238mandir = @mandir@ 239mkdir_p = @mkdir_p@ 240multi_basedir = @multi_basedir@ 241oldincludedir = @oldincludedir@ 242pdfdir = @pdfdir@ 243port_specific_symbol_files = @port_specific_symbol_files@ 244prefix = @prefix@ 245program_transform_name = @program_transform_name@ 246psdir = @psdir@ 247python_mod_dir = @python_mod_dir@ 248sbindir = @sbindir@ 249sharedstatedir = @sharedstatedir@ 250srcdir = @srcdir@ 251sysconfdir = @sysconfdir@ 252target = @target@ 253target_alias = @target_alias@ 254target_cpu = @target_cpu@ 255target_os = @target_os@ 256target_vendor = @target_vendor@ 257thread_header = @thread_header@ 258top_build_prefix = @top_build_prefix@ 259top_builddir = @top_builddir@ 260top_srcdir = @top_srcdir@ 261toplevel_builddir = @toplevel_builddir@ 262toplevel_srcdir = @toplevel_srcdir@ 263AUTOMAKE_OPTIONS = nostdinc 264RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir 265EXPECT = expect 266 267# May be used by various substitution variables. 268gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) 269MAINT_CHARSET = latin1 270mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs 271PWD_COMMAND = $${PWDCMD-pwd} 272STAMP = echo timestamp > 273toolexecdir = $(glibcxx_toolexecdir) 274toolexeclibdir = $(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. 280CONFIG_CXXFLAGS = \ 281 $(SECTION_FLAGS) $(HWCAP_FLAGS) -frandom-seed=$@ 282 283WARN_CXXFLAGS = \ 284 $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once 285 286 287# -I/-D flags to pass when compiling. 288AM_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. 292lists_of_files = \ 293 testsuite_files \ 294 testsuite_files_interactive \ 295 testsuite_files_performance 296 297extract_symvers = $(glibcxx_builddir)/scripts/extract_symvers 298baseline_subdir := $(shell $(CXX) $(baseline_subdir_switch)) 299check_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. 305compile_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 312check_performance_script = ${glibcxx_srcdir}/scripts/check_performance 313 314# Runs the testsuite in debug mode. 315debug_flags = "unix/-D_GLIBCXX_DEBUG" 316 317# Runs the testsuite in parallel mode. 318libgomp_dir = ${glibcxx_builddir}/../libgomp 319libgomp_flags = -B${glibcxx_builddir}/../libgomp \ 320 -I${glibcxx_builddir}/../libgomp \ 321 -L${glibcxx_builddir}/../libgomp/.libs -lgomp 322 323atomic_flags = $(ATOMIC_FLAGS) 324parallel_flags = "unix/-D_GLIBCXX_PARALLEL/-fopenmp" 325 326# Runs the testsuite in profile mode. 327profile_flags = "unix/-D_GLIBCXX_PROFILE" 328 329# By adding these files here, automake will remove them for 'make clean' 330CLEANFILES = *.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 334all: 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 350Makefile: $(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 368mostlyclean-libtool: 369 -rm -f *.lo 370 371clean-libtool: 372 -rm -rf .libs _libs 373tags: TAGS 374TAGS: 375 376ctags: CTAGS 377CTAGS: 378 379check-am: all-am 380check: check-am 381all-am: Makefile 382installdirs: 383install: install-am 384install-exec: install-exec-am 385install-data: install-data-am 386uninstall: uninstall-am 387 388install-am: all-am 389 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 390 391installcheck: installcheck-am 392install-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 397mostlyclean-generic: 398 399clean-generic: 400 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 401 402distclean-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 406maintainer-clean-generic: 407 @echo "This command is intended for maintainers to use" 408 @echo "it deletes files that may require special tools to rebuild." 409clean: clean-am 410 411clean-am: clean-generic clean-libtool clean-local mostlyclean-am 412 413distclean: distclean-am 414 -rm -f Makefile 415distclean-am: clean-am distclean-generic 416 417dvi: dvi-am 418 419dvi-am: 420 421html: html-am 422 423html-am: 424 425info: info-am 426 427info-am: 428 429install-data-am: 430 431install-dvi: install-dvi-am 432 433install-dvi-am: 434 435install-exec-am: 436 437install-html: install-html-am 438 439install-html-am: 440 441install-info: install-info-am 442 443install-info-am: 444 445install-man: 446 447install-pdf: install-pdf-am 448 449install-pdf-am: 450 451install-ps: install-ps-am 452 453install-ps-am: 454 455installcheck-am: 456 457maintainer-clean: maintainer-clean-am 458 -rm -f Makefile 459maintainer-clean-am: distclean-am maintainer-clean-generic 460 461mostlyclean: mostlyclean-am 462 463mostlyclean-am: mostlyclean-generic mostlyclean-libtool 464 465pdf: pdf-am 466 467pdf-am: 468 469ps: ps-am 470 471ps-am: 472 473uninstall-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. 498site.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 523baseline_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 531new-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. 554check-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 618check-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. 624check-abi: site.exp baseline_symbols 625 -@runtest $(AM_RUNTESTFLAGS) --tool libstdc++ $(RUNTESTFLAGS) abi.exp 626check-compile: testsuite_files ${compile_script} 627 -@(chmod + ${compile_script}; \ 628 ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir}) 629check-performance: testsuite_files_performance ${performance_script} 630 -@(chmod + ${check_performance_script}; \ 631 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir}) 632 633check-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 642check-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 655check-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 660check-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. 673clean-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: 679