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