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