OSDN Git Service

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