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