OSDN Git Service

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