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