OSDN Git Service

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