OSDN Git Service

00a51b48fa4e79fef197489c5e07d169c2f978c6
[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 baseline_file = ${baseline_dir}/baseline_symbols.txt
303 extract_symvers = $(glibcxx_srcdir)/scripts/extract_symvers
304 check_DEJAGNU_normal_targets = $(patsubst %,check-DEJAGNUnormal%,0 1 2 3)
305
306 # Runs the testsuite, but in compile only mode.
307 # Can be used to test sources with non-GNU FE's at various warning
308 # levels and for checking compile time across releases.
309 # See script.
310 compile_script = ${glibcxx_srcdir}/scripts/check_compile
311
312 # Runs the testsuite/performance tests.
313 # Some of these tests create large (~75MB) files, allocate huge
314 # ammounts of memory, or otherwise tie up machine resources. Thus,
315 # running this is off by default.
316 # XXX Need to add dependency on libtestc++.a
317 check_performance_script = ${glibcxx_srcdir}/scripts/check_performance
318
319 # Runs the testsuite in parallel mode.
320 libgomp_dir = ${glibcxx_builddir}/../libgomp
321 libgomp_flags = -B${glibcxx_builddir}/../libgomp \
322               -I${glibcxx_builddir}/../libgomp \
323               -L${glibcxx_builddir}/../libgomp/.libs -lgomp
324
325 atomic_flags = $(ATOMIC_FLAGS)
326 parallel_flags = "unix/-D_GLIBCXX_PARALLEL/-fopenmp"
327
328 # By adding these files here, automake will remove them for 'make clean'
329 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
330              testsuite_* site.exp abi_check baseline_symbols *TEST* *.dat \
331              *.s *.o *.cc *.a *.so *.xml 
332
333 all: all-am
334
335 .SUFFIXES:
336 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
337         @for dep in $?; do \
338           case '$(am__configure_deps)' in \
339             *$$dep*) \
340               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
341                 && exit 0; \
342               exit 1;; \
343           esac; \
344         done; \
345         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps testsuite/Makefile'; \
346         cd $(top_srcdir) && \
347           $(AUTOMAKE) --foreign  --ignore-deps testsuite/Makefile
348 .PRECIOUS: Makefile
349 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
350         @case '$?' in \
351           *config.status*) \
352             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
353           *) \
354             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
355             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
356         esac;
357
358 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
359         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
360
361 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
362         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
363 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
364         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
365
366 mostlyclean-libtool:
367         -rm -f *.lo
368
369 clean-libtool:
370         -rm -rf .libs _libs
371
372 distclean-libtool:
373         -rm -f libtool
374 uninstall-info-am:
375 tags: TAGS
376 TAGS:
377
378 ctags: CTAGS
379 CTAGS:
380
381
382 distdir: $(DISTFILES)
383         $(mkdir_p) $(distdir)/..
384         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
385         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
386         list='$(DISTFILES)'; for file in $$list; do \
387           case $$file in \
388             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
389             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
390           esac; \
391           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
392           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
393           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
394             dir="/$$dir"; \
395             $(mkdir_p) "$(distdir)$$dir"; \
396           else \
397             dir=''; \
398           fi; \
399           if test -d $$d/$$file; then \
400             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
401               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
402             fi; \
403             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
404           else \
405             test -f $(distdir)/$$file \
406             || cp -p $$d/$$file $(distdir)/$$file \
407             || exit 1; \
408           fi; \
409         done
410 check-am: all-am
411 check: check-am
412 all-am: Makefile
413 installdirs:
414 install: install-am
415 install-exec: install-exec-am
416 install-data: install-data-am
417 uninstall: uninstall-am
418
419 install-am: all-am
420         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
421
422 installcheck: installcheck-am
423 install-strip:
424         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
425           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
426           `test -z '$(STRIP)' || \
427             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
428 mostlyclean-generic:
429
430 clean-generic:
431         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
432
433 distclean-generic:
434         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
435
436 maintainer-clean-generic:
437         @echo "This command is intended for maintainers to use"
438         @echo "it deletes files that may require special tools to rebuild."
439 clean: clean-am
440
441 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
442
443 distclean: distclean-am
444         -rm -f Makefile
445 distclean-am: clean-am distclean-generic distclean-libtool
446
447 dvi: dvi-am
448
449 dvi-am:
450
451 html: html-am
452
453 info: info-am
454
455 info-am:
456
457 install-data-am:
458
459 install-exec-am:
460
461 install-info: install-info-am
462
463 install-man:
464
465 installcheck-am:
466
467 maintainer-clean: maintainer-clean-am
468         -rm -f Makefile
469 maintainer-clean-am: distclean-am maintainer-clean-generic
470
471 mostlyclean: mostlyclean-am
472
473 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
474
475 pdf: pdf-am
476
477 pdf-am:
478
479 ps: ps-am
480
481 ps-am:
482
483 uninstall-am: uninstall-info-am
484
485 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
486         clean-local distclean distclean-generic distclean-libtool \
487         distdir dvi dvi-am html html-am info info-am install \
488         install-am install-data install-data-am install-exec \
489         install-exec-am install-info install-info-am install-man \
490         install-strip installcheck installcheck-am installdirs \
491         maintainer-clean maintainer-clean-generic mostlyclean \
492         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
493         uninstall uninstall-am uninstall-info-am
494
495
496 # This rule generates all of the testsuite_files* lists at once.
497 ${lists_of_files}:
498         ${glibcxx_srcdir}/scripts/create_testsuite_files \
499           ${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
500
501 # We need more things in site.exp, but automake completely controls the
502 # creation of that file; there's no way to append to it without messing up
503 # the dependancy chains.  So we overrule automake.  This rule is exactly
504 # what it would have generated, plus our own additions.
505 site.exp: Makefile
506         @echo 'Making a new site.exp file...'
507         @echo '## these variables are automatically generated by make ##' >site.tmp
508         @echo '# Do not edit here.  If you wish to override these values' >>site.tmp
509         @echo '# edit the last section' >>site.tmp
510         @echo 'set srcdir $(srcdir)' >>site.tmp
511         @echo "set objdir `pwd`" >>site.tmp
512         @echo 'set build_alias "$(build_alias)"' >>site.tmp
513         @echo 'set build_triplet $(build_triplet)' >>site.tmp
514         @echo 'set host_alias "$(host_alias)"' >>site.tmp
515         @echo 'set host_triplet $(host_triplet)' >>site.tmp
516         @echo 'set target_alias "$(target_alias)"' >>site.tmp
517         @echo 'set target_triplet $(target_triplet)' >>site.tmp
518         @echo 'set target_triplet $(target_triplet)' >>site.tmp
519         @echo 'set libiconv "$(LIBICONV)"' >>site.tmp
520         @echo 'set baseline_file "$(baseline_file)"' >> site.tmp
521         @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
522         @test ! -f site.exp || \
523           sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
524         @-rm -f site.bak
525         @test ! -f site.exp || mv site.exp site.bak
526         @mv site.tmp site.exp
527
528 baseline_symbols:
529         -@(output=${baseline_file}; \
530           if test ! -f $${output}; then \
531             echo "Baseline file doesn't exist."; \
532             echo "Try 'make new-abi-baseline' to create it."; \
533             exit 1; \
534           fi; true)
535
536 new-abi-baseline:
537         -@$(mkinstalldirs) ${baseline_dir}
538         -@(output=${baseline_file}; \
539           if test -f $${output}; then \
540             output=$${output}.new; \
541             t=`echo $${output} | sed 's=.*config/abi/=='`; \
542             echo "Baseline file already exists, writing to $${t} instead."; \
543           fi; \
544           ${extract_symvers} ../src/.libs/libstdc++.so $${output})
545
546 %/site.exp: site.exp
547         -test -d $* || mkdir $*
548         @srcdir=`cd $(srcdir); ${PWD_COMMAND}`;
549         objdir=`${PWD_COMMAND}`/$*; \
550         sed -e "s|^set srcdir .*$$|set srcdir $$srcdir|" \
551             -e "s|^set objdir .*$$|set objdir $$objdir|" \
552             site.exp > $*/site.exp.tmp
553         @-rm -f $*/site.bak
554         @test ! -f $*/site.exp || mv $*/site.exp $*/site.bak
555         @mv $*/site.exp.tmp $*/site.exp
556 $(check_DEJAGNU_normal_targets): check-DEJAGNUnormal%: normal%/site.exp
557
558 # Run the testsuite in normal mode.
559 check-DEJAGNU $(check_DEJAGNU_normal_targets): check-DEJAGNU%: site.exp
560         if [ -z "$*$(filter-out --target_board=%, $(RUNTESTFLAGS))" ] \
561             && [ "$(filter -j, $(MFLAGS))" = "-j" ]; then \
562           $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNUnormal0 check-DEJAGNUnormal1 \
563                   check-DEJAGNUnormal2 check-DEJAGNUnormal3; \
564           for idx in 0 1 2 3; do \
565             mv -f normal$$idx/libstdc++.sum normal$$idx/libstdc++.sum.sep; \
566             mv -f normal$$idx/libstdc++.log normal$$idx/libstdc++.log.sep; \
567           done; \
568           mv -f libstdc++.sum libstdc++.sum.sep; \
569           mv -f libstdc++.log libstdc++.log.sep; \
570           $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh \
571             libstdc++.sum.sep normal0/libstdc++.sum.sep \
572             normal1/libstdc++.sum.sep normal2/libstdc++.sum.sep \
573             normal3/libstdc++.sum.sep > libstdc++.sum; \
574           $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh -L \
575             libstdc++.log.sep normal0/libstdc++.log.sep \
576             normal1/libstdc++.log.sep normal2/libstdc++.log.sep \
577             normal3/libstdc++.log.sep > libstdc++.log; \
578           exit 0; \
579         fi; \
580         srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
581         EXPECT=$(EXPECT); export EXPECT; \
582         runtest=$(RUNTEST); \
583         if [ -z "$$runtest" ]; then runtest=runtest; fi; \
584         tool=libstdc++; \
585         dirs=; \
586         case "$*" in \
587           normal0) \
588             if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
589               $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
590                         $(RUNTESTFLAGS) abi.exp; \
591             else echo "WARNING: could not find \`runtest'" 1>&2; :;\
592             fi; \
593             dirs="`cd $$srcdir; echo [013-9][0-9]_*/* [abep]*/*`";; \
594           normal1) \
595             dirs="`cd $$srcdir; echo 2[0-2]_*/*`";; \
596           normal2) \
597             dirs="`cd $$srcdir; echo 2[4-9]_*/*`";; \
598           normal3) \
599             dirs="`cd $$srcdir; echo 23_*/* t*/*`";; \
600         esac; \
601         if [ -n "$*" ]; then cd "$*"; fi; \
602         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
603           if [ -n "$$dirs" ]; then \
604             $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
605                     $(RUNTESTFLAGS) \
606                     "conformance.exp=`echo $$dirs | sed 's/ /* /g;s/$$/*/'`"; \
607           else \
608             $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
609                     $(RUNTESTFLAGS); \
610           fi; \
611         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
612         fi
613
614 check-am:
615         $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
616 .PHONY: check-DEJAGNU
617
618 # Use 'new-abi-baseline' to create an initial symbol file.  Then run
619 # 'check-abi' to test for changes against that file.
620 check-abi: site.exp baseline_symbols 
621         -@runtest --tool libstdc++ abi.exp
622 check-compile: testsuite_files ${compile_script}
623         -@(chmod + ${compile_script}; \
624           ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
625 check-performance: testsuite_files_performance ${performance_script}
626         -@(chmod + ${check_performance_script}; \
627           ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
628
629 check-parallel: site.exp
630         -@(if test ! -d $${libgomp_dir}; then \
631           echo "Testing parallel mode failed as libgomp not present."; \
632           exit 1; \
633         fi; \
634         outputdir=parallel; export outputdir; \
635         if test ! -d $${outputdir}; then \
636           mkdir $${outputdir}; \
637         fi; \
638         srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
639         EXPECT=$(EXPECT); export EXPECT; \
640         $(MAKE) CXXFLAGS="$(atomic_flags) $(libgomp_flags)" RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(parallel_flags)" check-DEJAGNU; )
641
642 check-performance-parallel: testsuite_files_performance ${performance_script}
643         -@(chmod + ${check_performance_script}; \
644         CXXFLAGS="-D_GLIBCXX_PARALLEL -fopenmp $(atomic_flags) $(libgomp_flags)"; export CXXFLAGS; \
645         ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
646
647 .PHONY: baseline_symbols new-abi-baseline \
648         check-abi check-compile check-performance check-parallel
649
650 # To remove directories.
651 clean-local:
652         rm -rf parallel
653 # Tell versions [3.59,3.63) of GNU make to not export all variables.
654 # Otherwise a system limit (for SysV at least) may be exceeded.
655 .NOEXPORT: