OSDN Git Service

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