OSDN Git Service

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