OSDN Git Service

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