OSDN Git Service

2005-11-05 Paolo Carlini <pcarlini@suse.de>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / Makefile.in
1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005  Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 pkgdatadir = $(datadir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
22 top_builddir = ..
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24 INSTALL = @INSTALL@
25 install_sh_DATA = $(install_sh) -c -m 644
26 install_sh_PROGRAM = $(install_sh) -c
27 install_sh_SCRIPT = $(install_sh) -c
28 INSTALL_HEADER = $(INSTALL_DATA)
29 transform = $(program_transform_name)
30 NORMAL_INSTALL = :
31 PRE_INSTALL = :
32 POST_INSTALL = :
33 NORMAL_UNINSTALL = :
34 PRE_UNINSTALL = :
35 POST_UNINSTALL = :
36 build_triplet = @build@
37 host_triplet = @host@
38 target_triplet = @target@
39 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
40         $(top_srcdir)/fragment.am
41 subdir = testsuite
42 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43 am__aclocal_m4_deps = $(top_srcdir)/../config/lead-dot.m4 \
44         $(top_srcdir)/../config/no-executables.m4 \
45         $(top_srcdir)/../libtool.m4 $(top_srcdir)/crossconfig.m4 \
46         $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
47         $(top_srcdir)/configure.ac
48 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
49         $(ACLOCAL_M4)
50 CONFIG_HEADER = $(top_builddir)/config.h
51 CONFIG_CLEAN_FILES =
52 depcomp =
53 am__depfiles_maybe =
54 SOURCES =
55 DIST_SOURCES =
56 DEJATOOL = $(PACKAGE)
57 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
58 EXPECT = expect
59 RUNTEST = runtest
60 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
61 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
62 ACLOCAL = @ACLOCAL@
63 ALLOCATOR_H = @ALLOCATOR_H@
64 ALLOCATOR_NAME = @ALLOCATOR_NAME@
65 AMTAR = @AMTAR@
66 AR = @AR@
67 AS = @AS@
68 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
69 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
70 AUTOCONF = @AUTOCONF@
71 AUTOHEADER = @AUTOHEADER@
72 AUTOMAKE = @AUTOMAKE@
73 AWK = @AWK@
74 BASIC_FILE_CC = @BASIC_FILE_CC@
75 BASIC_FILE_H = @BASIC_FILE_H@
76 CC = @CC@
77 CCODECVT_CC = @CCODECVT_CC@
78 CCOLLATE_CC = @CCOLLATE_CC@
79 CCTYPE_CC = @CCTYPE_CC@
80 CFLAGS = @CFLAGS@
81 CLOCALE_CC = @CLOCALE_CC@
82 CLOCALE_H = @CLOCALE_H@
83 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
84 CMESSAGES_CC = @CMESSAGES_CC@
85 CMESSAGES_H = @CMESSAGES_H@
86 CMONEY_CC = @CMONEY_CC@
87 CNUMERIC_CC = @CNUMERIC_CC@
88 CPP = @CPP@
89 CPPFLAGS = @CPPFLAGS@
90 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
91 CSTDIO_H = @CSTDIO_H@
92 CTIME_CC = @CTIME_CC@
93 CTIME_H = @CTIME_H@
94 CXX = @CXX@
95 CXXCPP = @CXXCPP@
96 CXXFLAGS = @CXXFLAGS@
97 CYGPATH_W = @CYGPATH_W@
98 C_INCLUDE_DIR = @C_INCLUDE_DIR@
99 DEBUG_FLAGS = @DEBUG_FLAGS@
100 DEFS = @DEFS@
101 ECHO_C = @ECHO_C@
102 ECHO_N = @ECHO_N@
103 ECHO_T = @ECHO_T@
104 EGREP = @EGREP@
105 ENABLE_SYMVERS_DARWIN_EXPORT_FALSE = @ENABLE_SYMVERS_DARWIN_EXPORT_FALSE@
106 ENABLE_SYMVERS_DARWIN_EXPORT_TRUE = @ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@
107 ENABLE_SYMVERS_GNU_FALSE = @ENABLE_SYMVERS_GNU_FALSE@
108 ENABLE_SYMVERS_GNU_TRUE = @ENABLE_SYMVERS_GNU_TRUE@
109 EXEEXT = @EXEEXT@
110 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
111 GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
112 GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
113 GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
114 GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
115 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
116 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
117 GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
118 GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
119 GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
120 GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
121 GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
122 GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
123 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
124 INSTALL_DATA = @INSTALL_DATA@
125 INSTALL_PROGRAM = @INSTALL_PROGRAM@
126 INSTALL_SCRIPT = @INSTALL_SCRIPT@
127 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
128 LIBICONV = @LIBICONV@
129 LIBMATHOBJS = @LIBMATHOBJS@
130 LIBOBJS = @LIBOBJS@
131 LIBS = @LIBS@
132 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
133 LIBTOOL = @LIBTOOL@
134 LN_S = @LN_S@
135 LTLIBOBJS = @LTLIBOBJS@
136 MAINT = @MAINT@
137 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
138 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
139 MAKEINFO = @MAKEINFO@
140 OBJEXT = @OBJEXT@
141 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
142 OPT_LDFLAGS = @OPT_LDFLAGS@
143 OS_INC_SRCDIR = @OS_INC_SRCDIR@
144 PACKAGE = @PACKAGE@
145 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
146 PACKAGE_NAME = @PACKAGE_NAME@
147 PACKAGE_STRING = @PACKAGE_STRING@
148 PACKAGE_TARNAME = @PACKAGE_TARNAME@
149 PACKAGE_VERSION = @PACKAGE_VERSION@
150 PATH_SEPARATOR = @PATH_SEPARATOR@
151 RANLIB = @RANLIB@
152 SECTION_FLAGS = @SECTION_FLAGS@
153 SECTION_LDFLAGS = @SECTION_LDFLAGS@
154 SET_MAKE = @SET_MAKE@
155 SHELL = @SHELL@
156 STRIP = @STRIP@
157 SYMVER_MAP = @SYMVER_MAP@
158 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
159 USE_NLS = @USE_NLS@
160 VERSION = @VERSION@
161 WARN_FLAGS = @WARN_FLAGS@
162 WERROR = @WERROR@
163 ac_ct_AR = @ac_ct_AR@
164 ac_ct_AS = @ac_ct_AS@
165 ac_ct_CC = @ac_ct_CC@
166 ac_ct_CXX = @ac_ct_CXX@
167 ac_ct_RANLIB = @ac_ct_RANLIB@
168 ac_ct_STRIP = @ac_ct_STRIP@
169 am__leading_dot = @am__leading_dot@
170 am__tar = @am__tar@
171 am__untar = @am__untar@
172 baseline_dir = @baseline_dir@
173 bindir = @bindir@
174 build = @build@
175 build_alias = @build_alias@
176 build_cpu = @build_cpu@
177 build_os = @build_os@
178 build_vendor = @build_vendor@
179 check_msgfmt = @check_msgfmt@
180 datadir = @datadir@
181 enable_shared = @enable_shared@
182 enable_static = @enable_static@
183 exec_prefix = @exec_prefix@
184 glibcxx_MOFILES = @glibcxx_MOFILES@
185 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
186 glibcxx_POFILES = @glibcxx_POFILES@
187 glibcxx_builddir = @glibcxx_builddir@
188 glibcxx_localedir = @glibcxx_localedir@
189 glibcxx_prefixdir = @glibcxx_prefixdir@
190 glibcxx_srcdir = @glibcxx_srcdir@
191 glibcxx_thread_h = @glibcxx_thread_h@
192 glibcxx_toolexecdir = @glibcxx_toolexecdir@
193 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
194 gxx_include_dir = @gxx_include_dir@
195 host = @host@
196 host_alias = @host_alias@
197 host_cpu = @host_cpu@
198 host_os = @host_os@
199 host_vendor = @host_vendor@
200 includedir = @includedir@
201 infodir = @infodir@
202 install_sh = @install_sh@
203 libdir = @libdir@
204 libexecdir = @libexecdir@
205 libtool_VERSION = @libtool_VERSION@
206 localstatedir = @localstatedir@
207 mandir = @mandir@
208 mkdir_p = @mkdir_p@
209 multi_basedir = @multi_basedir@
210 oldincludedir = @oldincludedir@
211 port_specific_symbol_files = @port_specific_symbol_files@
212 prefix = @prefix@
213 program_transform_name = @program_transform_name@
214 sbindir = @sbindir@
215 sharedstatedir = @sharedstatedir@
216 sysconfdir = @sysconfdir@
217 target = @target@
218 target_alias = @target_alias@
219 target_cpu = @target_cpu@
220 target_os = @target_os@
221 target_vendor = @target_vendor@
222 toplevel_srcdir = @toplevel_srcdir@
223 AUTOMAKE_OPTIONS = dejagnu nostdinc
224
225 # May be used by various substitution variables.
226 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
227 MAINT_CHARSET = latin1
228 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
229 PWD_COMMAND = $${PWDCMD-pwd}
230 STAMP = echo timestamp >
231 toolexecdir = $(glibcxx_toolexecdir)
232 toolexeclibdir = $(glibcxx_toolexeclibdir)
233
234 # These bits are all figured out from configure.  Look in acinclude.m4
235 # or configure.ac to see how they are set.  See GLIBCXX_EXPORT_FLAGS.
236 CONFIG_CXXFLAGS = \
237         $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
238
239 WARN_CXXFLAGS = \
240         $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
241
242
243 # -I/-D flags to pass when compiling.
244 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
245 AM_MAKEFLAGS = -j1
246 AM_RUNTESTFLAGS = 
247
248 # Generated lists of files to run.  All of these names are valid make
249 # targets, if you wish to generate a list manually.
250 lists_of_files = \
251    testsuite_files \
252    testsuite_files_interactive \
253    testsuite_files_performance
254
255 baseline_file = ${baseline_dir}/baseline_symbols.txt
256 extract_symvers = $(glibcxx_srcdir)/scripts/extract_symvers
257
258 # Runs the testsuite, but in compile only mode.
259 # Can be used to test sources with non-GNU FE's at various warning
260 # levels and for checking compile time across releases.
261 # See script.
262 compile_script = ${glibcxx_srcdir}/scripts/check_compile
263
264 # Runs the testsuite/performance tests.
265 # Some of these tests create large (~75MB) files, allocate huge
266 # ammounts of memory, or otherwise tie up machine resources. Thus,
267 # running this is off by default.
268 performance_script = ${glibcxx_srcdir}/scripts/check_performance
269
270 # By adding these files here, automake will remove them for 'make clean'
271 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
272              testsuite_* site.exp abi_check baseline_symbols *TEST* *.dat \
273              *.o *.cc
274
275 all: all-am
276
277 .SUFFIXES:
278 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
279         @for dep in $?; do \
280           case '$(am__configure_deps)' in \
281             *$$dep*) \
282               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
283                 && exit 0; \
284               exit 1;; \
285           esac; \
286         done; \
287         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps testsuite/Makefile'; \
288         cd $(top_srcdir) && \
289           $(AUTOMAKE) --foreign  --ignore-deps testsuite/Makefile
290 .PRECIOUS: Makefile
291 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
292         @case '$?' in \
293           *config.status*) \
294             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
295           *) \
296             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
297             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
298         esac;
299
300 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
301         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
302
303 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
304         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
305 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
306         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
307
308 mostlyclean-libtool:
309         -rm -f *.lo
310
311 clean-libtool:
312         -rm -rf .libs _libs
313
314 distclean-libtool:
315         -rm -f libtool
316 uninstall-info-am:
317 tags: TAGS
318 TAGS:
319
320 ctags: CTAGS
321 CTAGS:
322
323
324 check-DEJAGNU: site.exp
325         srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
326         EXPECT=$(EXPECT); export EXPECT; \
327         runtest=$(RUNTEST); \
328         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
329           l='$(DEJATOOL)'; for tool in $$l; do \
330             $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
331           done; \
332         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
333         fi
334
335 distclean-DEJAGNU:
336         -rm -f site.exp site.bak
337         -l='$(DEJATOOL)'; for tool in $$l; do \
338           rm -f $$tool.sum $$tool.log; \
339         done
340
341 distdir: $(DISTFILES)
342         $(mkdir_p) $(distdir)/..
343         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
344         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
345         list='$(DISTFILES)'; for file in $$list; do \
346           case $$file in \
347             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
348             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
349           esac; \
350           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
351           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
352           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
353             dir="/$$dir"; \
354             $(mkdir_p) "$(distdir)$$dir"; \
355           else \
356             dir=''; \
357           fi; \
358           if test -d $$d/$$file; then \
359             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
360               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
361             fi; \
362             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
363           else \
364             test -f $(distdir)/$$file \
365             || cp -p $$d/$$file $(distdir)/$$file \
366             || exit 1; \
367           fi; \
368         done
369 check-am: all-am
370         $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
371 check: check-am
372 all-am: Makefile
373 installdirs:
374 install: install-am
375 install-exec: install-exec-am
376 install-data: install-data-am
377 uninstall: uninstall-am
378
379 install-am: all-am
380         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
381
382 installcheck: installcheck-am
383 install-strip:
384         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
385           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
386           `test -z '$(STRIP)' || \
387             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
388 mostlyclean-generic:
389
390 clean-generic:
391         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
392
393 distclean-generic:
394         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
395
396 maintainer-clean-generic:
397         @echo "This command is intended for maintainers to use"
398         @echo "it deletes files that may require special tools to rebuild."
399 clean: clean-am
400
401 clean-am: clean-generic clean-libtool mostlyclean-am
402
403 distclean: distclean-am
404         -rm -f Makefile
405 distclean-am: clean-am distclean-DEJAGNU distclean-generic \
406         distclean-libtool
407
408 dvi: dvi-am
409
410 dvi-am:
411
412 html: html-am
413
414 info: info-am
415
416 info-am:
417
418 install-data-am:
419
420 install-exec-am:
421
422 install-info: install-info-am
423
424 install-man:
425
426 installcheck-am:
427
428 maintainer-clean: maintainer-clean-am
429         -rm -f Makefile
430 maintainer-clean-am: distclean-am maintainer-clean-generic
431
432 mostlyclean: mostlyclean-am
433
434 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
435
436 pdf: pdf-am
437
438 pdf-am:
439
440 ps: ps-am
441
442 ps-am:
443
444 uninstall-am: uninstall-info-am
445
446 .PHONY: all all-am check check-DEJAGNU check-am clean clean-generic \
447         clean-libtool distclean distclean-DEJAGNU distclean-generic \
448         distclean-libtool distdir dvi dvi-am html html-am info info-am \
449         install install-am install-data install-data-am install-exec \
450         install-exec-am install-info install-info-am install-man \
451         install-strip installcheck installcheck-am installdirs \
452         maintainer-clean maintainer-clean-generic mostlyclean \
453         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
454         uninstall uninstall-am uninstall-info-am
455
456
457 # This rule generates all of the testsuite_files* lists at once.
458 ${lists_of_files}:
459         ${glibcxx_srcdir}/scripts/create_testsuite_files \
460           ${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
461
462 # We need more things in site.exp, but automake completely controls the
463 # creation of that file; there's no way to append to it without messing up
464 # the dependancy chains.  So we overrule automake.  This rule is exactly
465 # what it would have generated, plus our own additions.
466 site.exp: Makefile
467         @echo 'Making a new site.exp file...'
468         @echo '## these variables are automatically generated by make ##' >site.tmp
469         @echo '# Do not edit here.  If you wish to override these values' >>site.tmp
470         @echo '# edit the last section' >>site.tmp
471         @echo 'set srcdir $(srcdir)' >>site.tmp
472         @echo "set objdir `pwd`" >>site.tmp
473         @echo 'set build_alias "$(build_alias)"' >>site.tmp
474         @echo 'set build_triplet $(build_triplet)' >>site.tmp
475         @echo 'set host_alias "$(host_alias)"' >>site.tmp
476         @echo 'set host_triplet $(host_triplet)' >>site.tmp
477         @echo 'set target_alias "$(target_alias)"' >>site.tmp
478         @echo 'set target_triplet $(target_triplet)' >>site.tmp
479         @echo 'set target_triplet $(target_triplet)' >>site.tmp
480         @echo 'set libiconv "$(LIBICONV)"' >>site.tmp
481         @echo 'set baseline_file "$(baseline_file)"' >> site.tmp
482         @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
483         @test ! -f site.exp || \
484           sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
485         @-rm -f site.bak
486         @test ! -f site.exp || mv site.exp site.bak
487         @mv site.tmp site.exp
488
489 baseline_symbols:
490         -@(output=${baseline_file}; \
491           if test ! -f $${output}; then \
492             echo "Baseline file doesn't exist."; \
493             echo "Try 'make new-abi-baseline' to create it."; \
494             exit 1; \
495           fi; true)
496
497 new-abi-baseline:
498         -@$(mkinstalldirs) ${baseline_dir}
499         -@(output=${baseline_file}; \
500           if test -f $${output}; then \
501             output=$${output}.new; \
502             t=`echo $${output} | sed 's=.*config/abi/=='`; \
503             echo "Baseline file already exists, writing to $${t} instead."; \
504           fi; \
505           ${extract_symvers} ../src/.libs/libstdc++.so $${output})
506
507 # Use 'new-abi-baseline' to create an initial symbol file.  Then run
508 # 'check-abi' to test for changes against that file.
509 check-abi: baseline_symbols site.exp
510         -@runtest --tool libstdc++ abi.exp
511 check-compile: testsuite_files ${compile_script}
512         -@(chmod + ${compile_script}; \
513           ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
514 check-performance: testsuite_files_performance ${performance_script}
515         -@(chmod + ${performance_script}; \
516           ${performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
517
518 .PHONY: baseline_symbols new-abi-baseline \
519         check-abi check-compile check-performance
520 # Tell versions [3.59,3.63) of GNU make to not export all variables.
521 # Otherwise a system limit (for SysV at least) may be exceeded.
522 .NOEXPORT: