OSDN Git Service

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