OSDN Git Service

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