OSDN Git Service

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