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@
208 XSLTPROC
= @XSLTPROC@
209 XSL_STYLE_DIR
= @XSL_STYLE_DIR@
210 abs_builddir
= @abs_builddir@
211 abs_srcdir
= @abs_srcdir@
212 abs_top_builddir
= @abs_top_builddir@
213 abs_top_srcdir
= @abs_top_srcdir@
214 ac_ct_CC
= @ac_ct_CC@
215 ac_ct_CXX
= @ac_ct_CXX@
216 ac_ct_DUMPBIN
= @ac_ct_DUMPBIN@
217 am__leading_dot
= @am__leading_dot@
219 am__untar
= @am__untar@
220 baseline_dir
= @baseline_dir@
221 baseline_subdir_switch
= @baseline_subdir_switch@
224 build_alias
= @build_alias@
225 build_cpu
= @build_cpu@
226 build_os
= @build_os@
227 build_vendor
= @build_vendor@
228 builddir
= @builddir@
229 check_msgfmt
= @check_msgfmt@
231 datarootdir
= @datarootdir@
234 enable_shared
= @enable_shared@
235 enable_static
= @enable_static@
236 exec_prefix = @
exec_prefix@
237 get_gcc_base_ver
= @get_gcc_base_ver@
238 glibcxx_MOFILES
= @glibcxx_MOFILES@
239 glibcxx_PCHFLAGS
= @glibcxx_PCHFLAGS@
240 glibcxx_POFILES
= @glibcxx_POFILES@
241 glibcxx_builddir
= @glibcxx_builddir@
242 glibcxx_compiler_pic_flag
= @glibcxx_compiler_pic_flag@
243 glibcxx_compiler_shared_flag
= @glibcxx_compiler_shared_flag@
244 glibcxx_cxx98_abi
= @glibcxx_cxx98_abi@
245 glibcxx_localedir
= @glibcxx_localedir@
246 glibcxx_lt_pic_flag
= @glibcxx_lt_pic_flag@
247 glibcxx_prefixdir
= @glibcxx_prefixdir@
248 glibcxx_srcdir
= @glibcxx_srcdir@
249 glibcxx_toolexecdir
= @glibcxx_toolexecdir@
250 glibcxx_toolexeclibdir
= @glibcxx_toolexeclibdir@
251 gxx_include_dir
= @gxx_include_dir@
253 host_alias
= @host_alias@
254 host_cpu
= @host_cpu@
256 host_vendor
= @host_vendor@
258 includedir = @
includedir@
260 install_sh
= @install_sh@
262 libexecdir
= @libexecdir@
263 libtool_VERSION
= @libtool_VERSION@
264 localedir
= @localedir@
265 localstatedir
= @localstatedir@
266 lt_host_flags
= @lt_host_flags@
269 multi_basedir
= @multi_basedir@
270 oldincludedir = @
oldincludedir@
272 port_specific_symbol_files
= @port_specific_symbol_files@
274 program_transform_name
= @program_transform_name@
276 python_mod_dir
= @python_mod_dir@
278 sharedstatedir
= @sharedstatedir@
280 sysconfdir
= @sysconfdir@
282 target_alias
= @target_alias@
283 target_cpu
= @target_cpu@
284 target_os
= @target_os@
285 target_vendor
= @target_vendor@
286 thread_header
= @thread_header@
287 top_build_prefix
= @top_build_prefix@
288 top_builddir
= @top_builddir@
289 top_srcdir
= @top_srcdir@
290 toplevel_builddir
= @toplevel_builddir@
291 toplevel_srcdir
= @toplevel_srcdir@
292 AUTOMAKE_OPTIONS
= nostdinc
293 RUNTESTDEFAULTFLAGS
= --tool
$$tool --srcdir $$srcdir
296 # May be used by various substitution variables.
297 gcc_version
:= $(shell @get_gcc_base_ver@
$(top_srcdir
)/..
/gcc
/BASE-VER
)
298 MAINT_CHARSET
= latin1
299 mkinstalldirs
= $(SHELL
) $(toplevel_srcdir
)/mkinstalldirs
300 PWD_COMMAND
= $${PWDCMD-pwd
}
301 STAMP
= echo timestamp
>
302 toolexecdir
= $(glibcxx_toolexecdir
)
303 toolexeclibdir
= $(glibcxx_toolexeclibdir
)
304 @ENABLE_WERROR_FALSE@WERROR_FLAG
=
305 @ENABLE_WERROR_TRUE@WERROR_FLAG
= -Werror
306 @ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS
=
307 @ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS
= -fno-implicit-templates
309 # These bits are all figured out from configure. Look in acinclude.m4
310 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
312 $(SECTION_FLAGS
) $(HWCAP_CFLAGS
) -frandom-seed
=$@
315 $(WARN_FLAGS
) $(WERROR_FLAG
) -fdiagnostics-show-location
=once
318 # -I/-D flags to pass when compiling.
319 AM_CPPFLAGS
= $(GLIBCXX_INCLUDES
) $(CPPFLAGS
)
321 # Generated lists of files to run. All of these names are valid make
322 # targets, if you wish to generate a list manually.
325 testsuite_files_interactive \
326 testsuite_files_performance
328 extract_symvers
= $(glibcxx_builddir
)/scripts
/extract_symvers
329 baseline_subdir
:= $(shell $(CXX
) $(baseline_subdir_switch
))
330 check_p_numbers0
:= 1 2 3 4 5 6 7 8 9
331 check_p_numbers1
:= 0 $(check_p_numbers0
)
332 check_p_numbers2
:= $(foreach i
,$(check_p_numbers0
),$(addprefix $(i
),$(check_p_numbers1
)))
333 check_p_numbers3
:= $(addprefix 0,$(check_p_numbers1
)) $(check_p_numbers2
)
334 check_p_numbers4
:= $(foreach i
,$(check_p_numbers0
),$(addprefix $(i
),$(check_p_numbers3
)))
335 check_p_numbers5
:= $(addprefix 0,$(check_p_numbers3
)) $(check_p_numbers4
)
336 check_p_numbers6
:= $(foreach i
,$(check_p_numbers0
),$(addprefix $(i
),$(check_p_numbers5
)))
337 check_p_numbers
:= $(check_p_numbers0
) $(check_p_numbers2
) $(check_p_numbers4
) $(check_p_numbers6
)
338 check_p_subdirs
= $(wordlist
1,$(if
$(GCC_TEST_PARALLEL_SLOTS
),$(GCC_TEST_PARALLEL_SLOTS
),128),$(check_p_numbers
))
339 check_DEJAGNU_normal_targets
= $(addprefix check-DEJAGNUnormal
,$(check_p_subdirs
))
341 # Runs the testsuite, but in compile only mode.
342 # Can be used to test sources with non-GNU FE's at various warning
343 # levels and for checking compile time across releases.
345 compile_script
= ${glibcxx_srcdir}/scripts
/check_compile
347 # Runs the testsuite/performance tests.
348 # Some of these tests create large (~75MB) files, allocate huge
349 # ammounts of memory, or otherwise tie up machine resources. Thus,
350 # running this is off by default.
351 # XXX Need to add dependency on libtestc++.a
352 check_performance_script
= ${glibcxx_srcdir}/scripts
/check_performance
354 # Runs the testsuite in debug mode.
355 debug_flags
= "unix/-D_GLIBCXX_DEBUG"
357 # Runs the testsuite in parallel mode.
358 libgomp_dir
= ${glibcxx_builddir}/..
/libgomp
359 libgomp_flags
= -B
${glibcxx_builddir}/..
/libgomp \
360 -I
${glibcxx_builddir}/..
/libgomp \
361 -L
${glibcxx_builddir}/..
/libgomp
/.libs
-lgomp
363 atomic_flags
= $(ATOMIC_FLAGS
)
364 parallel_flags
= "unix/-D_GLIBCXX_PARALLEL/-fopenmp"
366 # Runs the testsuite in profile mode.
367 profile_flags
= "unix/-D_GLIBCXX_PROFILE"
369 # By adding these files here, automake will remove them for 'make clean'
370 CLEANFILES
= *.txt
*.tst
*.exe core
* filebuf_
* tmp
* ostream_
* *.log
*.sum \
371 testsuite_
* site.exp abi_check baseline_symbols
*TEST
* *.dat \
372 *.ii
*.s
*.o
*.
cc *.x
*.a
*.so
*.xml
*.raw
*.out
*.gdb
377 $(srcdir)/Makefile.in
: @MAINTAINER_MODE_TRUE@
$(srcdir)/Makefile.am
$(top_srcdir
)/fragment.am
$(am__configure_deps
)
379 case
'$(am__configure_deps)' in \
381 ( cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
) \
382 && { if
test -f
$@
; then exit
0; else break
; fi
; }; \
386 echo
' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile'; \
387 $(am__cd
) $(top_srcdir
) && \
388 $(AUTOMAKE
) --foreign
--ignore-deps testsuite
/Makefile
390 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
393 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
;; \
395 echo
' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
396 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$(subdir
)/$@
$(am__depfiles_maybe
);; \
398 $(top_srcdir
)/fragment.am
:
400 $(top_builddir
)/config.status
: $(top_srcdir
)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
401 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
403 $(top_srcdir
)/configure
: @MAINTAINER_MODE_TRUE@
$(am__configure_deps
)
404 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
405 $(ACLOCAL_M4
): @MAINTAINER_MODE_TRUE@
$(am__aclocal_m4_deps
)
406 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
407 $(am__aclocal_m4_deps
):
425 install-exec
: install-exec-am
426 install-data
: install-data-am
427 uninstall: uninstall-am
430 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
432 installcheck: installcheck-am
434 if
test -z
'$(STRIP)'; then \
435 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
436 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
439 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
440 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
441 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
446 -test -z
"$(CLEANFILES)" ||
rm -f
$(CLEANFILES
)
449 -test -z
"$(CONFIG_CLEAN_FILES)" ||
rm -f
$(CONFIG_CLEAN_FILES
)
450 -test .
= "$(srcdir)" ||
test -z
"$(CONFIG_CLEAN_VPATH_FILES)" ||
rm -f
$(CONFIG_CLEAN_VPATH_FILES
)
452 maintainer-clean-generic
:
453 @echo
"This command is intended for maintainers to use"
454 @echo
"it deletes files that may require special tools to rebuild."
457 clean-am
: clean-generic clean-libtool clean-local mostlyclean-am
459 distclean: distclean-am
461 distclean-am
: clean-am distclean-generic
477 install-dvi
: install-dvi-am
483 install-html
: install-html-am
487 install-info
: install-info-am
493 install-pdf
: install-pdf-am
497 install-ps
: install-ps-am
503 maintainer-clean
: maintainer-clean-am
505 maintainer-clean-am
: distclean-am maintainer-clean-generic
507 mostlyclean: mostlyclean-am
509 mostlyclean-am
: mostlyclean-generic mostlyclean-libtool
521 .MAKE
: install-am install-strip
523 .PHONY
: all all-am
check check-am
clean clean-generic clean-libtool \
524 clean-local
distclean distclean-generic distclean-libtool
dvi \
525 dvi-am html html-am
info info-am
install install-am \
526 install-data install-data-am install-dvi install-dvi-am \
527 install-exec install-exec-am install-html install-html-am \
528 install-info install-info-am install-man install-pdf \
529 install-pdf-am install-ps install-ps-am install-strip \
530 installcheck installcheck-am
installdirs maintainer-clean \
531 maintainer-clean-generic
mostlyclean mostlyclean-generic \
532 mostlyclean-libtool pdf pdf-am ps ps-am
uninstall uninstall-am
535 # This rule generates all of the testsuite_files* lists at once.
537 ${glibcxx_srcdir}/scripts
/create_testsuite_files \
538 ${glibcxx_srcdir}/testsuite
`${PWD_COMMAND}`
540 # We need more things in site.exp, but automake completely controls the
541 # creation of that file; there's no way to append to it without messing up
542 # the dependancy chains. So we overrule automake. This rule is exactly
543 # what it would have generated, plus our own additions.
545 @echo
'Making a new site.exp file...'
546 @echo
'## these variables are automatically generated by make ##' >site.tmp
547 @echo
'# Do not edit here. If you wish to override these values' >>site.tmp
548 @echo
'# edit the last section' >>site.tmp
549 @echo
'set srcdir $(srcdir)' >>site.tmp
550 @echo
"set objdir `pwd`" >>site.tmp
551 @echo
'set build_alias "$(build_alias)"' >>site.tmp
552 @echo
'set build_triplet $(build_triplet)' >>site.tmp
553 @echo
'set host_alias "$(host_alias)"' >>site.tmp
554 @echo
'set host_triplet $(host_triplet)' >>site.tmp
555 @echo
'set target_alias "$(target_alias)"' >>site.tmp
556 @echo
'set target_triplet $(target_triplet)' >>site.tmp
557 @echo
'set target_triplet $(target_triplet)' >>site.tmp
558 @echo
'set libiconv "$(LIBICONV)"' >>site.tmp
559 @echo
'set baseline_dir "$(baseline_dir)"' >> site.tmp
560 @echo
'set baseline_subdir_switch "$(baseline_subdir_switch)"' >> site.tmp
561 @echo
'set TEST_GCC_EXEC_PREFIX "$(libdir)/gcc/"' >> site.tmp
562 @echo
'## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
563 @
test ! -f site.exp || \
564 sed
'1,/^## All variables above are.*##/ d' site.exp
>> site.tmp
566 @
test ! -f site.exp || mv site.exp site.bak
567 @mv site.tmp site.exp
570 -@
(output
=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt
; \
571 if
test ! -f
$${output}; then \
572 echo
"Baseline file doesn't exist."; \
573 echo
"Try 'make new-abi-baseline' to create it."; \
578 -@
$(mkinstalldirs
) ${baseline_dir}/${baseline_subdir}
579 -@
(output
=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt
; \
580 if
test -f
$${output}; then \
581 output
=$${output}.new
; \
582 t
=`echo $${output} | sed 's=.*config/abi/=='`; \
583 echo
"Baseline file already exists, writing to $${t} instead."; \
585 ${extract_symvers} ..
/src
/.libs
/libstdc
++.so
$${output})
588 -@
test -d
$* || mkdir
$*
589 @
srcdir=`cd $(srcdir); ${PWD_COMMAND}`;
590 @objdir
=`${PWD_COMMAND}`/$*; \
591 sed
-e
"s|^set srcdir .*$$|set srcdir $$srcdir|" \
592 -e
"s|^set objdir .*$$|set objdir $$objdir|" \
593 site.exp
> $*/site.exp.tmp
595 @
test ! -f
$*/site.exp || mv
$*/site.exp
$*/site.bak
596 @mv
$*/site.exp.tmp
$*/site.exp
597 $(check_DEJAGNU_normal_targets
): check-DEJAGNUnormal
%: normal
%/site.exp
599 # Run the testsuite in normal mode.
600 check-DEJAGNU
$(check_DEJAGNU_normal_targets
): check-DEJAGNU
%: site.exp
601 $(if
$*,@
)AR
="$(AR)"; export AR
; \
602 RANLIB
="$(RANLIB)"; export RANLIB
; \
603 if
[ -z
"$*" ] && [ -n
"$(filter -j%, $(MFLAGS))" ]; then \
604 rm -rf normal-parallel || true
; \
605 mkdir normal-parallel
; \
606 $(MAKE
) $(AM_MAKEFLAGS
) $(check_DEJAGNU_normal_targets
); \
607 rm -rf normal-parallel || true
; \
608 for idx in
$(check_p_subdirs
); do \
609 if
[ -d normal
$$idx ]; then \
610 mv
-f normal
$$idx/libstdc
++.sum normal
$$idx/libstdc
++.sum.sep
; \
611 mv
-f normal
$$idx/libstdc
++.log normal
$$idx/libstdc
++.log.sep
; \
614 $(SHELL
) $(srcdir)/..
/..
/contrib
/dg-extract-results.sh \
615 normal
[0-9]*/libstdc
++.sum.sep
> libstdc
++.sum
; \
616 $(SHELL
) $(srcdir)/..
/..
/contrib
/dg-extract-results.sh
-L \
617 normal
[0-9]*/libstdc
++.log.sep
> libstdc
++.log
; \
620 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
621 EXPECT
=$(EXPECT
); export EXPECT
; \
622 runtest
=$(RUNTEST
); \
623 if
[ -z
"$$runtest" ]; then runtest
=runtest
; fi
; \
625 if
[ -n
"$*" ]; then \
626 if
[ -f normal-parallel
/finished
]; then
rm -rf
"$*"; exit
0; fi
; \
627 GCC_RUNTEST_PARALLELIZE_DIR
=`${PWD_COMMAND}`/normal-parallel
; \
628 export GCC_RUNTEST_PARALLELIZE_DIR
; \
631 if
$(SHELL
) -c
"$$runtest --version" > /dev
/null
2>&1; then \
632 $$runtest $(AM_RUNTESTFLAGS
) $(RUNTESTDEFAULTFLAGS
) \
634 if
[ -n
"$*" ]; then \
635 touch
$$GCC_RUNTEST_PARALLELIZE_DIR/finished
; \
638 echo
"WARNING: could not find \`runtest'" 1>&2; :;\
642 $(MAKE
) $(AM_MAKEFLAGS
) check-DEJAGNU
643 .PHONY
: check-DEJAGNU
645 # Use 'new-abi-baseline' to create an initial symbol file. Then run
646 # 'check-abi' to test for changes against that file.
647 check-abi
: site.exp baseline_symbols
648 -@runtest
$(AM_RUNTESTFLAGS
) --tool libstdc
++ $(RUNTESTFLAGS
) abi.exp
649 check-compile
: testsuite_files
${compile_script}
650 -@
(chmod
+ ${compile_script}; \
651 ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
652 check-performance
: testsuite_files_performance
${performance_script}
653 -@
(chmod
+ ${check_performance_script}; \
654 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
656 check-debug
: site.exp
657 outputdir
=debug
; export outputdir
; \
658 if
test ! -d
$${outputdir}; then \
659 mkdir
$${outputdir}; \
661 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
662 EXPECT
=$(EXPECT
); export EXPECT
; \
663 $(MAKE
) RUNTESTFLAGS
="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(debug_flags)" check-DEJAGNU
;
665 check-parallel
: site.exp
666 -@
(if
test ! -d
$${libgomp_dir}; then \
667 echo
"Testing parallel mode failed as libgomp not present."; \
670 outputdir
=parallel
; export outputdir
; \
671 if
test ! -d
$${outputdir}; then \
672 mkdir
$${outputdir}; \
674 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
675 EXPECT
=$(EXPECT
); export EXPECT
; \
676 $(MAKE
) CXXFLAGS
="$(atomic_flags) $(libgomp_flags)" RUNTESTFLAGS
="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(parallel_flags)" check-DEJAGNU
; )
678 check-performance-parallel
: testsuite_files_performance
${performance_script}
679 -@
(chmod
+ ${check_performance_script}; \
680 CXXFLAGS
="-D_GLIBCXX_PARALLEL -fopenmp $(atomic_flags) $(libgomp_flags)"; export CXXFLAGS
; \
681 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
683 check-profile
: site.exp
684 -@
(outputdir
=profile
; export outputdir
; \
685 if
test ! -d
$${outputdir}; then \
686 mkdir
$${outputdir}; \
688 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
689 EXPECT
=$(EXPECT
); export EXPECT
; \
690 $(MAKE
) CXXFLAGS
="$(atomic_flags) " RUNTESTFLAGS
="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(profile_flags)" check-DEJAGNU
; )
692 .PHONY
: baseline_symbols new-abi-baseline \
693 check-abi check-compile check-performance check-parallel check-profile
695 # To remove directories.
697 rm -rf de fr debug parallel profile binaries normal
*
699 # Tell versions [3.59,3.63) of GNU make to not export all variables.
700 # Otherwise a system limit (for SysV at least) may be exceeded.