1 # Makefile.in generated by automake 1.11.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
23 echo
'am--echo: ; @echo "AM" OK' |
$(MAKE
) -f
- 2>/dev
/null \
24 | grep
'^AM OK$$' >/dev
/null || am__dry
=yes
;; \
26 for am__flg in
$$MAKEFLAGS; do \
29 *n
*) am__dry
=yes
; break
;; \
33 test $$am__dry = yes
; \
35 pkgdatadir
= $(datadir)/@PACKAGE@
36 pkgincludedir
= $(includedir)/@PACKAGE@
37 pkglibdir
= $(libdir)/@PACKAGE@
38 pkglibexecdir
= $(libexecdir
)/@PACKAGE@
39 am__cd
= CDPATH
="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
40 install_sh_DATA
= $(install_sh
) -c
-m
644
41 install_sh_PROGRAM
= $(install_sh
) -c
42 install_sh_SCRIPT
= $(install_sh
) -c
43 INSTALL_HEADER
= $(INSTALL_DATA
)
44 transform
= $(program_transform_name
)
51 build_triplet
= @build@
53 target_triplet
= @target@
54 DIST_COMMON
= $(top_srcdir
)/fragment.am
$(srcdir)/Makefile.in \
57 ACLOCAL_M4
= $(top_srcdir
)/aclocal.m4
58 am__aclocal_m4_deps
= $(top_srcdir
)/..
/config
/acx.m4 \
59 $(top_srcdir
)/..
/config
/enable.m4 \
60 $(top_srcdir
)/..
/config
/futex.m4 \
61 $(top_srcdir
)/..
/config
/iconv.m4 \
62 $(top_srcdir
)/..
/config
/lead-dot.m4 \
63 $(top_srcdir
)/..
/config
/lib-ld.m4 \
64 $(top_srcdir
)/..
/config
/lib-link.m4 \
65 $(top_srcdir
)/..
/config
/lib-prefix.m4 \
66 $(top_srcdir
)/..
/config
/lthostflags.m4 \
67 $(top_srcdir
)/..
/config
/multi.m4 \
68 $(top_srcdir
)/..
/config
/no-executables.m4 \
69 $(top_srcdir
)/..
/config
/override.m4 \
70 $(top_srcdir
)/..
/config
/stdint.m4 \
71 $(top_srcdir
)/..
/config
/unwind_ipinfo.m4 \
72 $(top_srcdir
)/..
/libtool.m4
$(top_srcdir
)/..
/ltoptions.m4 \
73 $(top_srcdir
)/..
/ltsugar.m4
$(top_srcdir
)/..
/ltversion.m4 \
74 $(top_srcdir
)/..
/lt~obsolete.m4
$(top_srcdir
)/crossconfig.m4 \
75 $(top_srcdir
)/linkage.m4
$(top_srcdir
)/acinclude.m4 \
76 $(top_srcdir
)/..
/config
/gc
++filt.m4 \
77 $(top_srcdir
)/..
/config
/tls.m4
$(top_srcdir
)/..
/config
/gthr.m4 \
78 $(top_srcdir
)/configure.ac
79 am__configure_deps
= $(am__aclocal_m4_deps
) $(CONFIGURE_DEPENDENCIES
) \
81 CONFIG_HEADER
= $(top_builddir
)/config.h
83 CONFIG_CLEAN_VPATH_FILES
=
87 am__can_run_installinfo
= \
88 case
$$AM_UPDATE_INFO_DIR in \
90 *) (install-info
--version
) >/dev
/null
2>&1;; \
92 ABI_TWEAKS_SRCDIR
= @ABI_TWEAKS_SRCDIR@
94 ALLOCATOR_H
= @ALLOCATOR_H@
95 ALLOCATOR_NAME
= @ALLOCATOR_NAME@
99 ATOMICITY_SRCDIR
= @ATOMICITY_SRCDIR@
100 ATOMIC_FLAGS
= @ATOMIC_FLAGS@
101 ATOMIC_WORD_SRCDIR
= @ATOMIC_WORD_SRCDIR@
102 AUTOCONF
= @AUTOCONF@
103 AUTOHEADER
= @AUTOHEADER@
104 AUTOMAKE
= @AUTOMAKE@
106 BASIC_FILE_CC
= @BASIC_FILE_CC@
107 BASIC_FILE_H
= @BASIC_FILE_H@
109 CCODECVT_CC
= @CCODECVT_CC@
110 CCOLLATE_CC
= @CCOLLATE_CC@
111 CCTYPE_CC
= @CCTYPE_CC@
113 CLOCALE_CC
= @CLOCALE_CC@
114 CLOCALE_H
= @CLOCALE_H@
115 CLOCALE_INTERNAL_H
= @CLOCALE_INTERNAL_H@
116 CMESSAGES_CC
= @CMESSAGES_CC@
117 CMESSAGES_H
= @CMESSAGES_H@
118 CMONEY_CC
= @CMONEY_CC@
119 CNUMERIC_CC
= @CNUMERIC_CC@
121 CPPFLAGS
= @CPPFLAGS@
122 CPU_DEFINES_SRCDIR
= @CPU_DEFINES_SRCDIR@
123 CPU_OPT_BITS_RANDOM
= @CPU_OPT_BITS_RANDOM@
124 CPU_OPT_EXT_RANDOM
= @CPU_OPT_EXT_RANDOM@
125 CSTDIO_H
= @CSTDIO_H@
126 CTIME_CC
= @CTIME_CC@
131 CXXFLAGS
= @CXXFLAGS@
132 CYGPATH_W
= @CYGPATH_W@
133 C_INCLUDE_DIR
= @C_INCLUDE_DIR@
135 DEBUG_FLAGS
= @DEBUG_FLAGS@
139 DSYMUTIL
= @DSYMUTIL@
145 ERROR_CONSTANTS_SRCDIR
= @ERROR_CONSTANTS_SRCDIR@
147 EXTRA_CXX_FLAGS
= @EXTRA_CXX_FLAGS@
149 GLIBCXX_INCLUDES
= @GLIBCXX_INCLUDES@
150 GLIBCXX_LIBS
= @GLIBCXX_LIBS@
152 HWCAP_FLAGS
= @HWCAP_FLAGS@
154 INSTALL_DATA
= @INSTALL_DATA@
155 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
156 INSTALL_SCRIPT
= @INSTALL_SCRIPT@
157 INSTALL_STRIP_PROGRAM
= @INSTALL_STRIP_PROGRAM@
160 LIBICONV
= @LIBICONV@
166 LONG_DOUBLE_COMPAT_FLAGS
= @LONG_DOUBLE_COMPAT_FLAGS@
167 LTLIBICONV
= @LTLIBICONV@
168 LTLIBOBJS
= @LTLIBOBJS@
170 MAKEINFO
= @MAKEINFO@
176 OPTIMIZE_CXXFLAGS
= @OPTIMIZE_CXXFLAGS@
177 OPT_LDFLAGS
= @OPT_LDFLAGS@
178 OS_INC_SRCDIR
= @OS_INC_SRCDIR@
182 PACKAGE_BUGREPORT
= @PACKAGE_BUGREPORT@
183 PACKAGE_NAME
= @PACKAGE_NAME@
184 PACKAGE_STRING
= @PACKAGE_STRING@
185 PACKAGE_TARNAME
= @PACKAGE_TARNAME@
186 PACKAGE_URL
= @PACKAGE_URL@
187 PACKAGE_VERSION
= @PACKAGE_VERSION@
188 PATH_SEPARATOR
= @PATH_SEPARATOR@
189 PDFLATEX
= @PDFLATEX@
191 SECTION_FLAGS
= @SECTION_FLAGS@
192 SECTION_LDFLAGS
= @SECTION_LDFLAGS@
194 SET_MAKE
= @SET_MAKE@
197 SYMVER_FILE
= @SYMVER_FILE@
198 TOPLEVEL_INCLUDES
= @TOPLEVEL_INCLUDES@
201 VTV_CXXFLAGS
= @VTV_CXXFLAGS@
202 VTV_CXXLINKFLAGS
= @VTV_CXXLINKFLAGS@
203 VTV_PCH_CXXFLAGS
= @VTV_PCH_CXXFLAGS@
204 WARN_FLAGS
= @WARN_FLAGS@
207 XSLTPROC
= @XSLTPROC@
208 XSL_STYLE_DIR
= @XSL_STYLE_DIR@
209 abs_builddir
= @abs_builddir@
210 abs_srcdir
= @abs_srcdir@
211 abs_top_builddir
= @abs_top_builddir@
212 abs_top_srcdir
= @abs_top_srcdir@
213 ac_ct_CC
= @ac_ct_CC@
214 ac_ct_CXX
= @ac_ct_CXX@
215 ac_ct_DUMPBIN
= @ac_ct_DUMPBIN@
216 am__leading_dot
= @am__leading_dot@
218 am__untar
= @am__untar@
219 baseline_dir
= @baseline_dir@
220 baseline_subdir_switch
= @baseline_subdir_switch@
223 build_alias
= @build_alias@
224 build_cpu
= @build_cpu@
225 build_os
= @build_os@
226 build_vendor
= @build_vendor@
227 builddir
= @builddir@
228 check_msgfmt
= @check_msgfmt@
230 datarootdir
= @datarootdir@
233 enable_shared
= @enable_shared@
234 enable_static
= @enable_static@
235 exec_prefix = @
exec_prefix@
236 glibcxx_MOFILES
= @glibcxx_MOFILES@
237 glibcxx_PCHFLAGS
= @glibcxx_PCHFLAGS@
238 glibcxx_POFILES
= @glibcxx_POFILES@
239 glibcxx_builddir
= @glibcxx_builddir@
240 glibcxx_compiler_pic_flag
= @glibcxx_compiler_pic_flag@
241 glibcxx_compiler_shared_flag
= @glibcxx_compiler_shared_flag@
242 glibcxx_cxx98_abi
= @glibcxx_cxx98_abi@
243 glibcxx_localedir
= @glibcxx_localedir@
244 glibcxx_lt_pic_flag
= @glibcxx_lt_pic_flag@
245 glibcxx_prefixdir
= @glibcxx_prefixdir@
246 glibcxx_srcdir
= @glibcxx_srcdir@
247 glibcxx_toolexecdir
= @glibcxx_toolexecdir@
248 glibcxx_toolexeclibdir
= @glibcxx_toolexeclibdir@
249 gxx_include_dir
= @gxx_include_dir@
251 host_alias
= @host_alias@
252 host_cpu
= @host_cpu@
254 host_vendor
= @host_vendor@
256 includedir = @
includedir@
258 install_sh
= @install_sh@
260 libexecdir
= @libexecdir@
261 libtool_VERSION
= @libtool_VERSION@
262 localedir
= @localedir@
263 localstatedir
= @localstatedir@
264 lt_host_flags
= @lt_host_flags@
267 multi_basedir
= @multi_basedir@
268 oldincludedir = @
oldincludedir@
270 port_specific_symbol_files
= @port_specific_symbol_files@
272 program_transform_name
= @program_transform_name@
274 python_mod_dir
= @python_mod_dir@
276 sharedstatedir
= @sharedstatedir@
278 sysconfdir
= @sysconfdir@
280 target_alias
= @target_alias@
281 target_cpu
= @target_cpu@
282 target_os
= @target_os@
283 target_vendor
= @target_vendor@
284 thread_header
= @thread_header@
285 top_build_prefix
= @top_build_prefix@
286 top_builddir
= @top_builddir@
287 top_srcdir
= @top_srcdir@
288 toplevel_builddir
= @toplevel_builddir@
289 toplevel_srcdir
= @toplevel_srcdir@
290 AUTOMAKE_OPTIONS
= nostdinc
291 RUNTESTDEFAULTFLAGS
= --tool
$$tool --srcdir $$srcdir
294 # May be used by various substitution variables.
295 gcc_version
:= $(shell cat
$(top_srcdir
)/..
/gcc
/BASE-VER
)
296 MAINT_CHARSET
= latin1
297 mkinstalldirs
= $(SHELL
) $(toplevel_srcdir
)/mkinstalldirs
298 PWD_COMMAND
= $${PWDCMD-pwd
}
299 STAMP
= echo timestamp
>
300 toolexecdir
= $(glibcxx_toolexecdir
)
301 toolexeclibdir
= $(glibcxx_toolexeclibdir
)
302 @ENABLE_WERROR_FALSE@WERROR_FLAG
=
303 @ENABLE_WERROR_TRUE@WERROR_FLAG
= $(WERROR
)
304 @ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS
=
305 @ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS
= -fno-implicit-templates
307 # These bits are all figured out from configure. Look in acinclude.m4
308 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
310 $(SECTION_FLAGS
) $(HWCAP_FLAGS
) -frandom-seed
=$@
313 $(WARN_FLAGS
) $(WERROR_FLAG
) -fdiagnostics-show-location
=once
316 # -I/-D flags to pass when compiling.
317 AM_CPPFLAGS
= $(GLIBCXX_INCLUDES
) $(CPPFLAGS
)
319 # Generated lists of files to run. All of these names are valid make
320 # targets, if you wish to generate a list manually.
323 testsuite_files_interactive \
324 testsuite_files_performance
326 extract_symvers
= $(glibcxx_builddir
)/scripts
/extract_symvers
327 baseline_subdir
:= $(shell $(CXX
) $(baseline_subdir_switch
))
328 check_p_numbers0
:= 1 2 3 4 5 6 7 8 9
329 check_p_numbers1
:= 0 $(check_p_numbers0
)
330 check_p_numbers2
:= $(foreach i
,$(check_p_numbers0
),$(addprefix $(i
),$(check_p_numbers1
)))
331 check_p_numbers3
:= $(addprefix 0,$(check_p_numbers1
)) $(check_p_numbers2
)
332 check_p_numbers4
:= $(foreach i
,$(check_p_numbers0
),$(addprefix $(i
),$(check_p_numbers3
)))
333 check_p_numbers5
:= $(addprefix 0,$(check_p_numbers3
)) $(check_p_numbers4
)
334 check_p_numbers6
:= $(foreach i
,$(check_p_numbers0
),$(addprefix $(i
),$(check_p_numbers5
)))
335 check_p_numbers
:= $(check_p_numbers0
) $(check_p_numbers2
) $(check_p_numbers4
) $(check_p_numbers6
)
336 check_p_subdirs
= $(wordlist
1,$(if
$(GCC_TEST_PARALLEL_SLOTS
),$(GCC_TEST_PARALLEL_SLOTS
),128),$(check_p_numbers
))
337 check_DEJAGNU_normal_targets
= $(addprefix check-DEJAGNUnormal
,$(check_p_subdirs
))
339 # Runs the testsuite, but in compile only mode.
340 # Can be used to test sources with non-GNU FE's at various warning
341 # levels and for checking compile time across releases.
343 compile_script
= ${glibcxx_srcdir}/scripts
/check_compile
345 # Runs the testsuite/performance tests.
346 # Some of these tests create large (~75MB) files, allocate huge
347 # ammounts of memory, or otherwise tie up machine resources. Thus,
348 # running this is off by default.
349 # XXX Need to add dependency on libtestc++.a
350 check_performance_script
= ${glibcxx_srcdir}/scripts
/check_performance
352 # Runs the testsuite in debug mode.
353 debug_flags
= "unix/-D_GLIBCXX_DEBUG"
355 # Runs the testsuite in parallel mode.
356 libgomp_dir
= ${glibcxx_builddir}/..
/libgomp
357 libgomp_flags
= -B
${glibcxx_builddir}/..
/libgomp \
358 -I
${glibcxx_builddir}/..
/libgomp \
359 -L
${glibcxx_builddir}/..
/libgomp
/.libs
-lgomp
361 atomic_flags
= $(ATOMIC_FLAGS
)
362 parallel_flags
= "unix/-D_GLIBCXX_PARALLEL/-fopenmp"
364 # Runs the testsuite in profile mode.
365 profile_flags
= "unix/-D_GLIBCXX_PROFILE"
367 # By adding these files here, automake will remove them for 'make clean'
368 CLEANFILES
= *.txt
*.tst
*.exe core
* filebuf_
* tmp
* ostream_
* *.log
*.sum \
369 testsuite_
* site.exp abi_check baseline_symbols
*TEST
* *.dat \
370 *.ii
*.s
*.o
*.
cc *.x
*.a
*.so
*.xml
*.raw
*.out
*.gdb
375 $(srcdir)/Makefile.in
: @MAINTAINER_MODE_TRUE@
$(srcdir)/Makefile.am
$(top_srcdir
)/fragment.am
$(am__configure_deps
)
377 case
'$(am__configure_deps)' in \
379 ( cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
) \
380 && { if
test -f
$@
; then exit
0; else break
; fi
; }; \
384 echo
' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile'; \
385 $(am__cd
) $(top_srcdir
) && \
386 $(AUTOMAKE
) --foreign
--ignore-deps testsuite
/Makefile
388 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
391 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
;; \
393 echo
' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
394 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$(subdir
)/$@
$(am__depfiles_maybe
);; \
396 $(top_srcdir
)/fragment.am
:
398 $(top_builddir
)/config.status
: $(top_srcdir
)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
399 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
401 $(top_srcdir
)/configure
: @MAINTAINER_MODE_TRUE@
$(am__configure_deps
)
402 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
403 $(ACLOCAL_M4
): @MAINTAINER_MODE_TRUE@
$(am__aclocal_m4_deps
)
404 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
405 $(am__aclocal_m4_deps
):
423 install-exec
: install-exec-am
424 install-data
: install-data-am
425 uninstall: uninstall-am
428 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
430 installcheck: installcheck-am
432 if
test -z
'$(STRIP)'; then \
433 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
434 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
437 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
438 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
439 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
444 -test -z
"$(CLEANFILES)" ||
rm -f
$(CLEANFILES
)
447 -test -z
"$(CONFIG_CLEAN_FILES)" ||
rm -f
$(CONFIG_CLEAN_FILES
)
448 -test .
= "$(srcdir)" ||
test -z
"$(CONFIG_CLEAN_VPATH_FILES)" ||
rm -f
$(CONFIG_CLEAN_VPATH_FILES
)
450 maintainer-clean-generic
:
451 @echo
"This command is intended for maintainers to use"
452 @echo
"it deletes files that may require special tools to rebuild."
455 clean-am
: clean-generic clean-libtool clean-local mostlyclean-am
457 distclean: distclean-am
459 distclean-am
: clean-am distclean-generic
475 install-dvi
: install-dvi-am
481 install-html
: install-html-am
485 install-info
: install-info-am
491 install-pdf
: install-pdf-am
495 install-ps
: install-ps-am
501 maintainer-clean
: maintainer-clean-am
503 maintainer-clean-am
: distclean-am maintainer-clean-generic
505 mostlyclean: mostlyclean-am
507 mostlyclean-am
: mostlyclean-generic mostlyclean-libtool
519 .MAKE
: install-am install-strip
521 .PHONY
: all all-am
check check-am
clean clean-generic clean-libtool \
522 clean-local
distclean distclean-generic distclean-libtool
dvi \
523 dvi-am html html-am
info info-am
install install-am \
524 install-data install-data-am install-dvi install-dvi-am \
525 install-exec install-exec-am install-html install-html-am \
526 install-info install-info-am install-man install-pdf \
527 install-pdf-am install-ps install-ps-am install-strip \
528 installcheck installcheck-am
installdirs maintainer-clean \
529 maintainer-clean-generic
mostlyclean mostlyclean-generic \
530 mostlyclean-libtool pdf pdf-am ps ps-am
uninstall uninstall-am
533 # This rule generates all of the testsuite_files* lists at once.
535 ${glibcxx_srcdir}/scripts
/create_testsuite_files \
536 ${glibcxx_srcdir}/testsuite
`${PWD_COMMAND}`
538 # We need more things in site.exp, but automake completely controls the
539 # creation of that file; there's no way to append to it without messing up
540 # the dependancy chains. So we overrule automake. This rule is exactly
541 # what it would have generated, plus our own additions.
543 @echo
'Making a new site.exp file...'
544 @echo
'## these variables are automatically generated by make ##' >site.tmp
545 @echo
'# Do not edit here. If you wish to override these values' >>site.tmp
546 @echo
'# edit the last section' >>site.tmp
547 @echo
'set srcdir $(srcdir)' >>site.tmp
548 @echo
"set objdir `pwd`" >>site.tmp
549 @echo
'set build_alias "$(build_alias)"' >>site.tmp
550 @echo
'set build_triplet $(build_triplet)' >>site.tmp
551 @echo
'set host_alias "$(host_alias)"' >>site.tmp
552 @echo
'set host_triplet $(host_triplet)' >>site.tmp
553 @echo
'set target_alias "$(target_alias)"' >>site.tmp
554 @echo
'set target_triplet $(target_triplet)' >>site.tmp
555 @echo
'set target_triplet $(target_triplet)' >>site.tmp
556 @echo
'set libiconv "$(LIBICONV)"' >>site.tmp
557 @echo
'set baseline_dir "$(baseline_dir)"' >> site.tmp
558 @echo
'set baseline_subdir_switch "$(baseline_subdir_switch)"' >> site.tmp
559 @echo
'set TEST_GCC_EXEC_PREFIX "$(libdir)/gcc/"' >> site.tmp
560 @echo
'## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
561 @
test ! -f site.exp || \
562 sed
'1,/^## All variables above are.*##/ d' site.exp
>> site.tmp
564 @
test ! -f site.exp || mv site.exp site.bak
565 @mv site.tmp site.exp
568 -@
(output
=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt
; \
569 if
test ! -f
$${output}; then \
570 echo
"Baseline file doesn't exist."; \
571 echo
"Try 'make new-abi-baseline' to create it."; \
576 -@
$(mkinstalldirs
) ${baseline_dir}/${baseline_subdir}
577 -@
(output
=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt
; \
578 if
test -f
$${output}; then \
579 output
=$${output}.new
; \
580 t
=`echo $${output} | sed 's=.*config/abi/=='`; \
581 echo
"Baseline file already exists, writing to $${t} instead."; \
583 ${extract_symvers} ..
/src
/.libs
/libstdc
++.so
$${output})
586 -@
test -d
$* || mkdir
$*
587 @
srcdir=`cd $(srcdir); ${PWD_COMMAND}`;
588 @objdir
=`${PWD_COMMAND}`/$*; \
589 sed
-e
"s|^set srcdir .*$$|set srcdir $$srcdir|" \
590 -e
"s|^set objdir .*$$|set objdir $$objdir|" \
591 site.exp
> $*/site.exp.tmp
593 @
test ! -f
$*/site.exp || mv
$*/site.exp
$*/site.bak
594 @mv
$*/site.exp.tmp
$*/site.exp
595 $(check_DEJAGNU_normal_targets
): check-DEJAGNUnormal
%: normal
%/site.exp
597 # Run the testsuite in normal mode.
598 check-DEJAGNU
$(check_DEJAGNU_normal_targets
): check-DEJAGNU
%: site.exp
599 $(if
$*,@
)AR
="$(AR)"; export AR
; \
600 RANLIB
="$(RANLIB)"; export RANLIB
; \
601 if
[ -z
"$*" ] && [ -n
"$(filter -j%, $(MFLAGS))" ]; then \
602 rm -rf normal-parallel || true
; \
603 mkdir normal-parallel
; \
604 $(MAKE
) $(AM_MAKEFLAGS
) $(check_DEJAGNU_normal_targets
); \
605 rm -rf normal-parallel || true
; \
606 for idx in
$(check_p_subdirs
); do \
607 if
[ -d normal
$$idx ]; then \
608 mv
-f normal
$$idx/libstdc
++.sum normal
$$idx/libstdc
++.sum.sep
; \
609 mv
-f normal
$$idx/libstdc
++.log normal
$$idx/libstdc
++.log.sep
; \
612 $(SHELL
) $(srcdir)/..
/..
/contrib
/dg-extract-results.sh \
613 normal
[0-9]*/libstdc
++.sum.sep
> libstdc
++.sum
; \
614 $(SHELL
) $(srcdir)/..
/..
/contrib
/dg-extract-results.sh
-L \
615 normal
[0-9]*/libstdc
++.log.sep
> libstdc
++.log
; \
618 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
619 EXPECT
=$(EXPECT
); export EXPECT
; \
620 runtest
=$(RUNTEST
); \
621 if
[ -z
"$$runtest" ]; then runtest
=runtest
; fi
; \
623 if
[ -n
"$*" ]; then \
624 if
[ -f normal-parallel
/finished
]; then
rm -rf
"$*"; exit
0; fi
; \
625 GCC_RUNTEST_PARALLELIZE_DIR
=`${PWD_COMMAND}`/normal-parallel
; \
626 export GCC_RUNTEST_PARALLELIZE_DIR
; \
629 if
$(SHELL
) -c
"$$runtest --version" > /dev
/null
2>&1; then \
630 $$runtest $(AM_RUNTESTFLAGS
) $(RUNTESTDEFAULTFLAGS
) \
632 if
[ -n
"$*" ]; then \
633 touch
$$GCC_RUNTEST_PARALLELIZE_DIR/finished
; \
636 echo
"WARNING: could not find \`runtest'" 1>&2; :;\
640 $(MAKE
) $(AM_MAKEFLAGS
) check-DEJAGNU
641 .PHONY
: check-DEJAGNU
643 # Use 'new-abi-baseline' to create an initial symbol file. Then run
644 # 'check-abi' to test for changes against that file.
645 check-abi
: site.exp baseline_symbols
646 -@runtest
$(AM_RUNTESTFLAGS
) --tool libstdc
++ $(RUNTESTFLAGS
) abi.exp
647 check-compile
: testsuite_files
${compile_script}
648 -@
(chmod
+ ${compile_script}; \
649 ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
650 check-performance
: testsuite_files_performance
${performance_script}
651 -@
(chmod
+ ${check_performance_script}; \
652 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
654 check-debug
: site.exp
655 outputdir
=debug
; export outputdir
; \
656 if
test ! -d
$${outputdir}; then \
657 mkdir
$${outputdir}; \
659 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
660 EXPECT
=$(EXPECT
); export EXPECT
; \
661 $(MAKE
) RUNTESTFLAGS
="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(debug_flags)" check-DEJAGNU
;
663 check-parallel
: site.exp
664 -@
(if
test ! -d
$${libgomp_dir}; then \
665 echo
"Testing parallel mode failed as libgomp not present."; \
668 outputdir
=parallel
; export outputdir
; \
669 if
test ! -d
$${outputdir}; then \
670 mkdir
$${outputdir}; \
672 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
673 EXPECT
=$(EXPECT
); export EXPECT
; \
674 $(MAKE
) CXXFLAGS
="$(atomic_flags) $(libgomp_flags)" RUNTESTFLAGS
="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(parallel_flags)" check-DEJAGNU
; )
676 check-performance-parallel
: testsuite_files_performance
${performance_script}
677 -@
(chmod
+ ${check_performance_script}; \
678 CXXFLAGS
="-D_GLIBCXX_PARALLEL -fopenmp $(atomic_flags) $(libgomp_flags)"; export CXXFLAGS
; \
679 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
681 check-profile
: site.exp
682 -@
(outputdir
=profile
; export outputdir
; \
683 if
test ! -d
$${outputdir}; then \
684 mkdir
$${outputdir}; \
686 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
687 EXPECT
=$(EXPECT
); export EXPECT
; \
688 $(MAKE
) CXXFLAGS
="$(atomic_flags) " RUNTESTFLAGS
="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(profile_flags)" check-DEJAGNU
; )
690 .PHONY
: baseline_symbols new-abi-baseline \
691 check-abi check-compile check-performance check-parallel check-profile
693 # To remove directories.
695 rm -rf de fr debug parallel profile binaries normal
*
697 # Tell versions [3.59,3.63) of GNU make to not export all variables.
698 # Otherwise a system limit (for SysV at least) may be exceeded.