OSDN Git Service

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