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
/hwcaps.m4 \
62 $(top_srcdir
)/..
/config
/iconv.m4 \
63 $(top_srcdir
)/..
/config
/lead-dot.m4 \
64 $(top_srcdir
)/..
/config
/lib-ld.m4 \
65 $(top_srcdir
)/..
/config
/lib-link.m4 \
66 $(top_srcdir
)/..
/config
/lib-prefix.m4 \
67 $(top_srcdir
)/..
/config
/lthostflags.m4 \
68 $(top_srcdir
)/..
/config
/multi.m4 \
69 $(top_srcdir
)/..
/config
/no-executables.m4 \
70 $(top_srcdir
)/..
/config
/override.m4 \
71 $(top_srcdir
)/..
/config
/stdint.m4 \
72 $(top_srcdir
)/..
/config
/unwind_ipinfo.m4 \
73 $(top_srcdir
)/..
/libtool.m4
$(top_srcdir
)/..
/ltoptions.m4 \
74 $(top_srcdir
)/..
/ltsugar.m4
$(top_srcdir
)/..
/ltversion.m4 \
75 $(top_srcdir
)/..
/lt~obsolete.m4
$(top_srcdir
)/crossconfig.m4 \
76 $(top_srcdir
)/linkage.m4
$(top_srcdir
)/acinclude.m4 \
77 $(top_srcdir
)/..
/config
/gc
++filt.m4 \
78 $(top_srcdir
)/..
/config
/tls.m4
$(top_srcdir
)/..
/config
/gthr.m4 \
79 $(top_srcdir
)/..
/config
/cet.m4
$(top_srcdir
)/configure.ac
80 am__configure_deps
= $(am__aclocal_m4_deps
) $(CONFIGURE_DEPENDENCIES
) \
82 CONFIG_HEADER
= $(top_builddir
)/config.h
84 CONFIG_CLEAN_VPATH_FILES
=
88 am__can_run_installinfo
= \
89 case
$$AM_UPDATE_INFO_DIR in \
91 *) (install-info
--version
) >/dev
/null
2>&1;; \
93 ABI_TWEAKS_SRCDIR
= @ABI_TWEAKS_SRCDIR@
95 ALLOCATOR_H
= @ALLOCATOR_H@
96 ALLOCATOR_NAME
= @ALLOCATOR_NAME@
100 ATOMICITY_SRCDIR
= @ATOMICITY_SRCDIR@
101 ATOMIC_FLAGS
= @ATOMIC_FLAGS@
102 ATOMIC_WORD_SRCDIR
= @ATOMIC_WORD_SRCDIR@
103 AUTOCONF
= @AUTOCONF@
104 AUTOHEADER
= @AUTOHEADER@
105 AUTOMAKE
= @AUTOMAKE@
107 BASIC_FILE_CC
= @BASIC_FILE_CC@
108 BASIC_FILE_H
= @BASIC_FILE_H@
110 CCODECVT_CC
= @CCODECVT_CC@
111 CCOLLATE_CC
= @CCOLLATE_CC@
112 CCTYPE_CC
= @CCTYPE_CC@
114 CLOCALE_CC
= @CLOCALE_CC@
115 CLOCALE_H
= @CLOCALE_H@
116 CLOCALE_INTERNAL_H
= @CLOCALE_INTERNAL_H@
117 CMESSAGES_CC
= @CMESSAGES_CC@
118 CMESSAGES_H
= @CMESSAGES_H@
119 CMONEY_CC
= @CMONEY_CC@
120 CNUMERIC_CC
= @CNUMERIC_CC@
122 CPPFLAGS
= @CPPFLAGS@
123 CPU_DEFINES_SRCDIR
= @CPU_DEFINES_SRCDIR@
124 CPU_OPT_BITS_RANDOM
= @CPU_OPT_BITS_RANDOM@
125 CPU_OPT_EXT_RANDOM
= @CPU_OPT_EXT_RANDOM@
126 CSTDIO_H
= @CSTDIO_H@
127 CTIME_CC
= @CTIME_CC@
132 CXXFLAGS
= @CXXFLAGS@
133 CYGPATH_W
= @CYGPATH_W@
134 C_INCLUDE_DIR
= @C_INCLUDE_DIR@
136 DEBUG_FLAGS
= @DEBUG_FLAGS@
140 DSYMUTIL
= @DSYMUTIL@
146 ERROR_CONSTANTS_SRCDIR
= @ERROR_CONSTANTS_SRCDIR@
148 EXTRA_CFLAGS
= @EXTRA_CFLAGS@
149 EXTRA_CXX_FLAGS
= @EXTRA_CXX_FLAGS@
151 GLIBCXX_INCLUDES
= @GLIBCXX_INCLUDES@
152 GLIBCXX_LIBS
= @GLIBCXX_LIBS@
154 HWCAP_CFLAGS
= @HWCAP_CFLAGS@
156 INSTALL_DATA
= @INSTALL_DATA@
157 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
158 INSTALL_SCRIPT
= @INSTALL_SCRIPT@
159 INSTALL_STRIP_PROGRAM
= @INSTALL_STRIP_PROGRAM@
162 LIBICONV
= @LIBICONV@
168 LONG_DOUBLE_COMPAT_FLAGS
= @LONG_DOUBLE_COMPAT_FLAGS@
169 LTLIBICONV
= @LTLIBICONV@
170 LTLIBOBJS
= @LTLIBOBJS@
172 MAKEINFO
= @MAKEINFO@
178 OPTIMIZE_CXXFLAGS
= @OPTIMIZE_CXXFLAGS@
179 OPT_LDFLAGS
= @OPT_LDFLAGS@
180 OS_INC_SRCDIR
= @OS_INC_SRCDIR@
184 PACKAGE_BUGREPORT
= @PACKAGE_BUGREPORT@
185 PACKAGE_NAME
= @PACKAGE_NAME@
186 PACKAGE_STRING
= @PACKAGE_STRING@
187 PACKAGE_TARNAME
= @PACKAGE_TARNAME@
188 PACKAGE_URL
= @PACKAGE_URL@
189 PACKAGE_VERSION
= @PACKAGE_VERSION@
190 PATH_SEPARATOR
= @PATH_SEPARATOR@
191 PDFLATEX
= @PDFLATEX@
193 SECTION_FLAGS
= @SECTION_FLAGS@
194 SECTION_LDFLAGS
= @SECTION_LDFLAGS@
196 SET_MAKE
= @SET_MAKE@
199 SYMVER_FILE
= @SYMVER_FILE@
200 TOPLEVEL_INCLUDES
= @TOPLEVEL_INCLUDES@
203 VTV_CXXFLAGS
= @VTV_CXXFLAGS@
204 VTV_CXXLINKFLAGS
= @VTV_CXXLINKFLAGS@
205 VTV_PCH_CXXFLAGS
= @VTV_PCH_CXXFLAGS@
206 WARN_FLAGS
= @WARN_FLAGS@
209 XSLTPROC
= @XSLTPROC@
210 XSL_STYLE_DIR
= @XSL_STYLE_DIR@
211 abs_builddir
= @abs_builddir@
212 abs_srcdir
= @abs_srcdir@
213 abs_top_builddir
= @abs_top_builddir@
214 abs_top_srcdir
= @abs_top_srcdir@
215 ac_ct_CC
= @ac_ct_CC@
216 ac_ct_CXX
= @ac_ct_CXX@
217 ac_ct_DUMPBIN
= @ac_ct_DUMPBIN@
218 am__leading_dot
= @am__leading_dot@
220 am__untar
= @am__untar@
221 baseline_dir
= @baseline_dir@
222 baseline_subdir_switch
= @baseline_subdir_switch@
225 build_alias
= @build_alias@
226 build_cpu
= @build_cpu@
227 build_os
= @build_os@
228 build_vendor
= @build_vendor@
229 builddir
= @builddir@
230 check_msgfmt
= @check_msgfmt@
232 datarootdir
= @datarootdir@
235 enable_shared
= @enable_shared@
236 enable_static
= @enable_static@
237 exec_prefix = @
exec_prefix@
238 get_gcc_base_ver
= @get_gcc_base_ver@
239 glibcxx_MOFILES
= @glibcxx_MOFILES@
240 glibcxx_PCHFLAGS
= @glibcxx_PCHFLAGS@
241 glibcxx_POFILES
= @glibcxx_POFILES@
242 glibcxx_builddir
= @glibcxx_builddir@
243 glibcxx_compiler_pic_flag
= @glibcxx_compiler_pic_flag@
244 glibcxx_compiler_shared_flag
= @glibcxx_compiler_shared_flag@
245 glibcxx_cxx98_abi
= @glibcxx_cxx98_abi@
246 glibcxx_localedir
= @glibcxx_localedir@
247 glibcxx_lt_pic_flag
= @glibcxx_lt_pic_flag@
248 glibcxx_prefixdir
= @glibcxx_prefixdir@
249 glibcxx_srcdir
= @glibcxx_srcdir@
250 glibcxx_toolexecdir
= @glibcxx_toolexecdir@
251 glibcxx_toolexeclibdir
= @glibcxx_toolexeclibdir@
252 gxx_include_dir
= @gxx_include_dir@
254 host_alias
= @host_alias@
255 host_cpu
= @host_cpu@
257 host_vendor
= @host_vendor@
259 includedir = @
includedir@
261 install_sh
= @install_sh@
263 libexecdir
= @libexecdir@
264 libtool_VERSION
= @libtool_VERSION@
265 localedir
= @localedir@
266 localstatedir
= @localstatedir@
267 lt_host_flags
= @lt_host_flags@
270 multi_basedir
= @multi_basedir@
271 oldincludedir = @
oldincludedir@
273 port_specific_symbol_files
= @port_specific_symbol_files@
275 program_transform_name
= @program_transform_name@
277 python_mod_dir
= @python_mod_dir@
279 sharedstatedir
= @sharedstatedir@
281 sysconfdir
= @sysconfdir@
283 target_alias
= @target_alias@
284 target_cpu
= @target_cpu@
285 target_os
= @target_os@
286 target_vendor
= @target_vendor@
287 thread_header
= @thread_header@
288 top_build_prefix
= @top_build_prefix@
289 top_builddir
= @top_builddir@
290 top_srcdir
= @top_srcdir@
291 toplevel_builddir
= @toplevel_builddir@
292 toplevel_srcdir
= @toplevel_srcdir@
293 AUTOMAKE_OPTIONS
= nostdinc
294 RUNTESTDEFAULTFLAGS
= --tool
$$tool --srcdir $$srcdir
297 # May be used by various substitution variables.
298 gcc_version
:= $(shell @get_gcc_base_ver@
$(top_srcdir
)/..
/gcc
/BASE-VER
)
299 MAINT_CHARSET
= latin1
300 mkinstalldirs
= $(SHELL
) $(toplevel_srcdir
)/mkinstalldirs
301 PWD_COMMAND
= $${PWDCMD-pwd
}
302 STAMP
= echo timestamp
>
303 toolexecdir
= $(glibcxx_toolexecdir
)
304 toolexeclibdir
= $(glibcxx_toolexeclibdir
)
305 @ENABLE_WERROR_FALSE@WERROR_FLAG
=
306 @ENABLE_WERROR_TRUE@WERROR_FLAG
= $(WERROR
)
307 @ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS
=
308 @ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS
= -fno-implicit-templates
310 # These bits are all figured out from configure. Look in acinclude.m4
311 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
313 $(SECTION_FLAGS
) $(HWCAP_CFLAGS
) -frandom-seed
=$@
316 $(WARN_FLAGS
) $(WERROR_FLAG
) -fdiagnostics-show-location
=once
319 # -I/-D flags to pass when compiling.
320 AM_CPPFLAGS
= $(GLIBCXX_INCLUDES
) $(CPPFLAGS
)
322 # Generated lists of files to run. All of these names are valid make
323 # targets, if you wish to generate a list manually.
326 testsuite_files_interactive \
327 testsuite_files_performance
329 extract_symvers
= $(glibcxx_builddir
)/scripts
/extract_symvers
330 baseline_subdir
:= $(shell $(CXX
) $(baseline_subdir_switch
))
331 check_p_numbers0
:= 1 2 3 4 5 6 7 8 9
332 check_p_numbers1
:= 0 $(check_p_numbers0
)
333 check_p_numbers2
:= $(foreach i
,$(check_p_numbers0
),$(addprefix $(i
),$(check_p_numbers1
)))
334 check_p_numbers3
:= $(addprefix 0,$(check_p_numbers1
)) $(check_p_numbers2
)
335 check_p_numbers4
:= $(foreach i
,$(check_p_numbers0
),$(addprefix $(i
),$(check_p_numbers3
)))
336 check_p_numbers5
:= $(addprefix 0,$(check_p_numbers3
)) $(check_p_numbers4
)
337 check_p_numbers6
:= $(foreach i
,$(check_p_numbers0
),$(addprefix $(i
),$(check_p_numbers5
)))
338 check_p_numbers
:= $(check_p_numbers0
) $(check_p_numbers2
) $(check_p_numbers4
) $(check_p_numbers6
)
339 check_p_subdirs
= $(wordlist
1,$(if
$(GCC_TEST_PARALLEL_SLOTS
),$(GCC_TEST_PARALLEL_SLOTS
),128),$(check_p_numbers
))
340 check_DEJAGNU_normal_targets
= $(addprefix check-DEJAGNUnormal
,$(check_p_subdirs
))
342 # Runs the testsuite, but in compile only mode.
343 # Can be used to test sources with non-GNU FE's at various warning
344 # levels and for checking compile time across releases.
346 compile_script
= ${glibcxx_srcdir}/scripts
/check_compile
348 # Runs the testsuite/performance tests.
349 # Some of these tests create large (~75MB) files, allocate huge
350 # ammounts of memory, or otherwise tie up machine resources. Thus,
351 # running this is off by default.
352 # XXX Need to add dependency on libtestc++.a
353 check_performance_script
= ${glibcxx_srcdir}/scripts
/check_performance
355 # Runs the testsuite in debug mode.
356 debug_flags
= "unix/-D_GLIBCXX_DEBUG"
358 # Runs the testsuite in parallel mode.
359 libgomp_dir
= ${glibcxx_builddir}/..
/libgomp
360 libgomp_flags
= -B
${glibcxx_builddir}/..
/libgomp \
361 -I
${glibcxx_builddir}/..
/libgomp \
362 -L
${glibcxx_builddir}/..
/libgomp
/.libs
-lgomp
364 atomic_flags
= $(ATOMIC_FLAGS
)
365 parallel_flags
= "unix/-D_GLIBCXX_PARALLEL/-fopenmp"
367 # Runs the testsuite in profile mode.
368 profile_flags
= "unix/-D_GLIBCXX_PROFILE"
370 # By adding these files here, automake will remove them for 'make clean'
371 CLEANFILES
= *.txt
*.tst
*.exe core
* filebuf_
* tmp
* ostream_
* *.log
*.sum \
372 testsuite_
* site.exp abi_check baseline_symbols
*TEST
* *.dat \
373 *.ii
*.s
*.o
*.
cc *.x
*.a
*.so
*.xml
*.raw
*.out
*.gdb
378 $(srcdir)/Makefile.in
: @MAINTAINER_MODE_TRUE@
$(srcdir)/Makefile.am
$(top_srcdir
)/fragment.am
$(am__configure_deps
)
380 case
'$(am__configure_deps)' in \
382 ( cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
) \
383 && { if
test -f
$@
; then exit
0; else break
; fi
; }; \
387 echo
' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile'; \
388 $(am__cd
) $(top_srcdir
) && \
389 $(AUTOMAKE
) --foreign
--ignore-deps testsuite
/Makefile
391 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
394 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
;; \
396 echo
' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
397 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$(subdir
)/$@
$(am__depfiles_maybe
);; \
399 $(top_srcdir
)/fragment.am
:
401 $(top_builddir
)/config.status
: $(top_srcdir
)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
402 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
404 $(top_srcdir
)/configure
: @MAINTAINER_MODE_TRUE@
$(am__configure_deps
)
405 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
406 $(ACLOCAL_M4
): @MAINTAINER_MODE_TRUE@
$(am__aclocal_m4_deps
)
407 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
408 $(am__aclocal_m4_deps
):
426 install-exec
: install-exec-am
427 install-data
: install-data-am
428 uninstall: uninstall-am
431 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
433 installcheck: installcheck-am
435 if
test -z
'$(STRIP)'; then \
436 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
437 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
440 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
441 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
442 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
447 -test -z
"$(CLEANFILES)" ||
rm -f
$(CLEANFILES
)
450 -test -z
"$(CONFIG_CLEAN_FILES)" ||
rm -f
$(CONFIG_CLEAN_FILES
)
451 -test .
= "$(srcdir)" ||
test -z
"$(CONFIG_CLEAN_VPATH_FILES)" ||
rm -f
$(CONFIG_CLEAN_VPATH_FILES
)
453 maintainer-clean-generic
:
454 @echo
"This command is intended for maintainers to use"
455 @echo
"it deletes files that may require special tools to rebuild."
458 clean-am
: clean-generic clean-libtool clean-local mostlyclean-am
460 distclean: distclean-am
462 distclean-am
: clean-am distclean-generic
478 install-dvi
: install-dvi-am
484 install-html
: install-html-am
488 install-info
: install-info-am
494 install-pdf
: install-pdf-am
498 install-ps
: install-ps-am
504 maintainer-clean
: maintainer-clean-am
506 maintainer-clean-am
: distclean-am maintainer-clean-generic
508 mostlyclean: mostlyclean-am
510 mostlyclean-am
: mostlyclean-generic mostlyclean-libtool
522 .MAKE
: install-am install-strip
524 .PHONY
: all all-am
check check-am
clean clean-generic clean-libtool \
525 clean-local
distclean distclean-generic distclean-libtool
dvi \
526 dvi-am html html-am
info info-am
install install-am \
527 install-data install-data-am install-dvi install-dvi-am \
528 install-exec install-exec-am install-html install-html-am \
529 install-info install-info-am install-man install-pdf \
530 install-pdf-am install-ps install-ps-am install-strip \
531 installcheck installcheck-am
installdirs maintainer-clean \
532 maintainer-clean-generic
mostlyclean mostlyclean-generic \
533 mostlyclean-libtool pdf pdf-am ps ps-am
uninstall uninstall-am
536 # This rule generates all of the testsuite_files* lists at once.
538 ${glibcxx_srcdir}/scripts
/create_testsuite_files \
539 ${glibcxx_srcdir}/testsuite
`${PWD_COMMAND}`
541 # We need more things in site.exp, but automake completely controls the
542 # creation of that file; there's no way to append to it without messing up
543 # the dependancy chains. So we overrule automake. This rule is exactly
544 # what it would have generated, plus our own additions.
546 @echo
'Making a new site.exp file...'
547 @echo
'## these variables are automatically generated by make ##' >site.tmp
548 @echo
'# Do not edit here. If you wish to override these values' >>site.tmp
549 @echo
'# edit the last section' >>site.tmp
550 @echo
'set srcdir $(srcdir)' >>site.tmp
551 @echo
"set objdir `pwd`" >>site.tmp
552 @echo
'set build_alias "$(build_alias)"' >>site.tmp
553 @echo
'set build_triplet $(build_triplet)' >>site.tmp
554 @echo
'set host_alias "$(host_alias)"' >>site.tmp
555 @echo
'set host_triplet $(host_triplet)' >>site.tmp
556 @echo
'set target_alias "$(target_alias)"' >>site.tmp
557 @echo
'set target_triplet $(target_triplet)' >>site.tmp
558 @echo
'set target_triplet $(target_triplet)' >>site.tmp
559 @echo
'set libiconv "$(LIBICONV)"' >>site.tmp
560 @echo
'set baseline_dir "$(baseline_dir)"' >> site.tmp
561 @echo
'set baseline_subdir_switch "$(baseline_subdir_switch)"' >> site.tmp
562 @echo
'set TEST_GCC_EXEC_PREFIX "$(libdir)/gcc/"' >> site.tmp
563 @echo
'## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
564 @
test ! -f site.exp || \
565 sed
'1,/^## All variables above are.*##/ d' site.exp
>> site.tmp
567 @
test ! -f site.exp || mv site.exp site.bak
568 @mv site.tmp site.exp
571 -@
(output
=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt
; \
572 if
test ! -f
$${output}; then \
573 echo
"Baseline file doesn't exist."; \
574 echo
"Try 'make new-abi-baseline' to create it."; \
579 -@
$(mkinstalldirs
) ${baseline_dir}/${baseline_subdir}
580 -@
(output
=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt
; \
581 if
test -f
$${output}; then \
582 output
=$${output}.new
; \
583 t
=`echo $${output} | sed 's=.*config/abi/=='`; \
584 echo
"Baseline file already exists, writing to $${t} instead."; \
586 ${extract_symvers} ..
/src
/.libs
/libstdc
++.so
$${output})
589 -@
test -d
$* || mkdir
$*
590 @
srcdir=`cd $(srcdir); ${PWD_COMMAND}`;
591 @objdir
=`${PWD_COMMAND}`/$*; \
592 sed
-e
"s|^set srcdir .*$$|set srcdir $$srcdir|" \
593 -e
"s|^set objdir .*$$|set objdir $$objdir|" \
594 site.exp
> $*/site.exp.tmp
596 @
test ! -f
$*/site.exp || mv
$*/site.exp
$*/site.bak
597 @mv
$*/site.exp.tmp
$*/site.exp
598 $(check_DEJAGNU_normal_targets
): check-DEJAGNUnormal
%: normal
%/site.exp
600 # Run the testsuite in normal mode.
601 check-DEJAGNU
$(check_DEJAGNU_normal_targets
): check-DEJAGNU
%: site.exp
602 $(if
$*,@
)AR
="$(AR)"; export AR
; \
603 RANLIB
="$(RANLIB)"; export RANLIB
; \
604 if
[ -z
"$*" ] && [ -n
"$(filter -j%, $(MFLAGS))" ]; then \
605 rm -rf normal-parallel || true
; \
606 mkdir normal-parallel
; \
607 $(MAKE
) $(AM_MAKEFLAGS
) $(check_DEJAGNU_normal_targets
); \
608 rm -rf normal-parallel || true
; \
609 for idx in
$(check_p_subdirs
); do \
610 if
[ -d normal
$$idx ]; then \
611 mv
-f normal
$$idx/libstdc
++.sum normal
$$idx/libstdc
++.sum.sep
; \
612 mv
-f normal
$$idx/libstdc
++.log normal
$$idx/libstdc
++.log.sep
; \
615 $(SHELL
) $(srcdir)/..
/..
/contrib
/dg-extract-results.sh \
616 normal
[0-9]*/libstdc
++.sum.sep
> libstdc
++.sum
; \
617 $(SHELL
) $(srcdir)/..
/..
/contrib
/dg-extract-results.sh
-L \
618 normal
[0-9]*/libstdc
++.log.sep
> libstdc
++.log
; \
621 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
622 EXPECT
=$(EXPECT
); export EXPECT
; \
623 runtest
=$(RUNTEST
); \
624 if
[ -z
"$$runtest" ]; then runtest
=runtest
; fi
; \
626 if
[ -n
"$*" ]; then \
627 if
[ -f normal-parallel
/finished
]; then
rm -rf
"$*"; exit
0; fi
; \
628 GCC_RUNTEST_PARALLELIZE_DIR
=`${PWD_COMMAND}`/normal-parallel
; \
629 export GCC_RUNTEST_PARALLELIZE_DIR
; \
632 if
$(SHELL
) -c
"$$runtest --version" > /dev
/null
2>&1; then \
633 $$runtest $(AM_RUNTESTFLAGS
) $(RUNTESTDEFAULTFLAGS
) \
635 if
[ -n
"$*" ]; then \
636 touch
$$GCC_RUNTEST_PARALLELIZE_DIR/finished
; \
639 echo
"WARNING: could not find \`runtest'" 1>&2; :;\
643 $(MAKE
) $(AM_MAKEFLAGS
) check-DEJAGNU
644 .PHONY
: check-DEJAGNU
646 # Use 'new-abi-baseline' to create an initial symbol file. Then run
647 # 'check-abi' to test for changes against that file.
648 check-abi
: site.exp baseline_symbols
649 -@runtest
$(AM_RUNTESTFLAGS
) --tool libstdc
++ $(RUNTESTFLAGS
) abi.exp
650 check-compile
: testsuite_files
${compile_script}
651 -@
(chmod
+ ${compile_script}; \
652 ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
653 check-performance
: testsuite_files_performance
${performance_script}
654 -@
(chmod
+ ${check_performance_script}; \
655 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
657 check-debug
: site.exp
658 outputdir
=debug
; export outputdir
; \
659 if
test ! -d
$${outputdir}; then \
660 mkdir
$${outputdir}; \
662 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
663 EXPECT
=$(EXPECT
); export EXPECT
; \
664 $(MAKE
) RUNTESTFLAGS
="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(debug_flags)" check-DEJAGNU
;
666 check-parallel
: site.exp
667 -@
(if
test ! -d
$${libgomp_dir}; then \
668 echo
"Testing parallel mode failed as libgomp not present."; \
671 outputdir
=parallel
; export outputdir
; \
672 if
test ! -d
$${outputdir}; then \
673 mkdir
$${outputdir}; \
675 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
676 EXPECT
=$(EXPECT
); export EXPECT
; \
677 $(MAKE
) CXXFLAGS
="$(atomic_flags) $(libgomp_flags)" RUNTESTFLAGS
="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(parallel_flags)" check-DEJAGNU
; )
679 check-performance-parallel
: testsuite_files_performance
${performance_script}
680 -@
(chmod
+ ${check_performance_script}; \
681 CXXFLAGS
="-D_GLIBCXX_PARALLEL -fopenmp $(atomic_flags) $(libgomp_flags)"; export CXXFLAGS
; \
682 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
684 check-profile
: site.exp
685 -@
(outputdir
=profile
; export outputdir
; \
686 if
test ! -d
$${outputdir}; then \
687 mkdir
$${outputdir}; \
689 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
690 EXPECT
=$(EXPECT
); export EXPECT
; \
691 $(MAKE
) CXXFLAGS
="$(atomic_flags) " RUNTESTFLAGS
="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(profile_flags)" check-DEJAGNU
; )
693 .PHONY
: baseline_symbols new-abi-baseline \
694 check-abi check-compile check-performance check-parallel check-profile
696 # To remove directories.
698 rm -rf de fr debug parallel profile binaries normal
*
700 # Tell versions [3.59,3.63) of GNU make to not export all variables.
701 # Otherwise a system limit (for SysV at least) may be exceeded.