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