OSDN Git Service

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