OSDN Git Service

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