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