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