Add testcase of PR c++/92542, already fixed.
[official-gcc.git] / libstdc++-v3 / testsuite / Makefile.in
blobf68d62776ff93886f9b35a8091b459a569d860d0
1 # Makefile.in generated by automake 1.15.1 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994-2017 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 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 target_triplet = @target@
91 subdir = testsuite
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
94 $(top_srcdir)/../config/enable.m4 \
95 $(top_srcdir)/../config/futex.m4 \
96 $(top_srcdir)/../config/hwcaps.m4 \
97 $(top_srcdir)/../config/iconv.m4 \
98 $(top_srcdir)/../config/lead-dot.m4 \
99 $(top_srcdir)/../config/lib-ld.m4 \
100 $(top_srcdir)/../config/lib-link.m4 \
101 $(top_srcdir)/../config/lib-prefix.m4 \
102 $(top_srcdir)/../config/lthostflags.m4 \
103 $(top_srcdir)/../config/multi.m4 \
104 $(top_srcdir)/../config/no-executables.m4 \
105 $(top_srcdir)/../config/override.m4 \
106 $(top_srcdir)/../config/stdint.m4 \
107 $(top_srcdir)/../config/unwind_ipinfo.m4 \
108 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
109 $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
110 $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \
111 $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
112 $(top_srcdir)/../config/gc++filt.m4 \
113 $(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \
114 $(top_srcdir)/../config/cet.m4 $(top_srcdir)/configure.ac
115 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
116 $(ACLOCAL_M4)
117 DIST_COMMON = $(srcdir)/Makefile.am
118 CONFIG_HEADER = $(top_builddir)/config.h
119 CONFIG_CLEAN_FILES =
120 CONFIG_CLEAN_VPATH_FILES =
121 AM_V_P = $(am__v_P_@AM_V@)
122 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
123 am__v_P_0 = false
124 am__v_P_1 = :
125 AM_V_GEN = $(am__v_GEN_@AM_V@)
126 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
127 am__v_GEN_0 = @echo " GEN " $@;
128 am__v_GEN_1 =
129 AM_V_at = $(am__v_at_@AM_V@)
130 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
131 am__v_at_0 = @
132 am__v_at_1 =
133 depcomp =
134 am__depfiles_maybe =
135 SOURCES =
136 am__can_run_installinfo = \
137 case $$AM_UPDATE_INFO_DIR in \
138 n|no|NO) false;; \
139 *) (install-info --version) >/dev/null 2>&1;; \
140 esac
141 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
142 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
143 ACLOCAL = @ACLOCAL@
144 ALLOCATOR_H = @ALLOCATOR_H@
145 ALLOCATOR_NAME = @ALLOCATOR_NAME@
146 AMTAR = @AMTAR@
147 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
148 AR = @AR@
149 AS = @AS@
150 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
151 ATOMIC_FLAGS = @ATOMIC_FLAGS@
152 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
153 AUTOCONF = @AUTOCONF@
154 AUTOHEADER = @AUTOHEADER@
155 AUTOMAKE = @AUTOMAKE@
156 AWK = @AWK@
157 BASIC_FILE_CC = @BASIC_FILE_CC@
158 BASIC_FILE_H = @BASIC_FILE_H@
159 CC = @CC@
160 CCODECVT_CC = @CCODECVT_CC@
161 CCOLLATE_CC = @CCOLLATE_CC@
162 CCTYPE_CC = @CCTYPE_CC@
163 CFLAGS = @CFLAGS@
164 CLOCALE_CC = @CLOCALE_CC@
165 CLOCALE_H = @CLOCALE_H@
166 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
167 CMESSAGES_CC = @CMESSAGES_CC@
168 CMESSAGES_H = @CMESSAGES_H@
169 CMONEY_CC = @CMONEY_CC@
170 CNUMERIC_CC = @CNUMERIC_CC@
171 CPP = @CPP@
172 CPPFLAGS = @CPPFLAGS@
173 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
174 CPU_OPT_BITS_RANDOM = @CPU_OPT_BITS_RANDOM@
175 CPU_OPT_EXT_RANDOM = @CPU_OPT_EXT_RANDOM@
176 CSTDIO_H = @CSTDIO_H@
177 CTIME_CC = @CTIME_CC@
178 CTIME_H = @CTIME_H@
179 CXX = @CXX@
180 CXXCPP = @CXXCPP@
181 CXXFILT = @CXXFILT@
182 CXXFLAGS = @CXXFLAGS@
183 CYGPATH_W = @CYGPATH_W@
184 C_INCLUDE_DIR = @C_INCLUDE_DIR@
185 DBLATEX = @DBLATEX@
186 DEBUG_FLAGS = @DEBUG_FLAGS@
187 DEFS = @DEFS@
188 DOT = @DOT@
189 DOXYGEN = @DOXYGEN@
190 DSYMUTIL = @DSYMUTIL@
191 DUMPBIN = @DUMPBIN@
192 ECHO_C = @ECHO_C@
193 ECHO_N = @ECHO_N@
194 ECHO_T = @ECHO_T@
195 EGREP = @EGREP@
196 ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
197 EXEEXT = @EXEEXT@
198 EXTRA_CFLAGS = @EXTRA_CFLAGS@
199 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
200 FGREP = @FGREP@
201 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
202 GLIBCXX_LIBS = @GLIBCXX_LIBS@
203 GREP = @GREP@
204 HWCAP_CFLAGS = @HWCAP_CFLAGS@
205 INSTALL = @INSTALL@
206 INSTALL_DATA = @INSTALL_DATA@
207 INSTALL_PROGRAM = @INSTALL_PROGRAM@
208 INSTALL_SCRIPT = @INSTALL_SCRIPT@
209 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
210 LD = @LD@
211 LDFLAGS = @LDFLAGS@
212 LIBICONV = @LIBICONV@
213 LIBOBJS = @LIBOBJS@
214 LIBS = @LIBS@
215 LIBTOOL = @LIBTOOL@
216 LIPO = @LIPO@
217 LN_S = @LN_S@
218 LONG_DOUBLE_COMPAT_FLAGS = @LONG_DOUBLE_COMPAT_FLAGS@
219 LTLIBICONV = @LTLIBICONV@
220 LTLIBOBJS = @LTLIBOBJS@
221 MAINT = @MAINT@
222 MAKEINFO = @MAKEINFO@
223 MKDIR_P = @MKDIR_P@
224 NM = @NM@
225 NMEDIT = @NMEDIT@
226 OBJDUMP = @OBJDUMP@
227 OBJEXT = @OBJEXT@
228 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
229 OPT_LDFLAGS = @OPT_LDFLAGS@
230 OS_INC_SRCDIR = @OS_INC_SRCDIR@
231 OTOOL = @OTOOL@
232 OTOOL64 = @OTOOL64@
233 PACKAGE = @PACKAGE@
234 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
235 PACKAGE_NAME = @PACKAGE_NAME@
236 PACKAGE_STRING = @PACKAGE_STRING@
237 PACKAGE_TARNAME = @PACKAGE_TARNAME@
238 PACKAGE_URL = @PACKAGE_URL@
239 PACKAGE_VERSION = @PACKAGE_VERSION@
240 PATH_SEPARATOR = @PATH_SEPARATOR@
241 PDFLATEX = @PDFLATEX@
242 RANLIB = @RANLIB@
243 SECTION_FLAGS = @SECTION_FLAGS@
244 SECTION_LDFLAGS = @SECTION_LDFLAGS@
245 SED = @SED@
246 SET_MAKE = @SET_MAKE@
247 SHELL = @SHELL@
248 STRIP = @STRIP@
249 SYMVER_FILE = @SYMVER_FILE@
250 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
251 USE_NLS = @USE_NLS@
252 VERSION = @VERSION@
253 VTV_CXXFLAGS = @VTV_CXXFLAGS@
254 VTV_CXXLINKFLAGS = @VTV_CXXLINKFLAGS@
255 VTV_PCH_CXXFLAGS = @VTV_PCH_CXXFLAGS@
256 WARN_FLAGS = @WARN_FLAGS@
257 XMLCATALOG = @XMLCATALOG@
258 XMLLINT = @XMLLINT@
259 XSLTPROC = @XSLTPROC@
260 XSL_STYLE_DIR = @XSL_STYLE_DIR@
261 abs_builddir = @abs_builddir@
262 abs_srcdir = @abs_srcdir@
263 abs_top_builddir = @abs_top_builddir@
264 abs_top_srcdir = @abs_top_srcdir@
265 ac_ct_CC = @ac_ct_CC@
266 ac_ct_CXX = @ac_ct_CXX@
267 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
268 am__leading_dot = @am__leading_dot@
269 am__tar = @am__tar@
270 am__untar = @am__untar@
271 baseline_dir = @baseline_dir@
272 baseline_subdir_switch = @baseline_subdir_switch@
273 bindir = @bindir@
274 build = @build@
275 build_alias = @build_alias@
276 build_cpu = @build_cpu@
277 build_os = @build_os@
278 build_vendor = @build_vendor@
279 builddir = @builddir@
280 check_msgfmt = @check_msgfmt@
281 datadir = @datadir@
282 datarootdir = @datarootdir@
283 docdir = @docdir@
284 dvidir = @dvidir@
285 enable_shared = @enable_shared@
286 enable_static = @enable_static@
287 exec_prefix = @exec_prefix@
288 get_gcc_base_ver = @get_gcc_base_ver@
289 glibcxx_MOFILES = @glibcxx_MOFILES@
290 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
291 glibcxx_POFILES = @glibcxx_POFILES@
292 glibcxx_builddir = @glibcxx_builddir@
293 glibcxx_compiler_pic_flag = @glibcxx_compiler_pic_flag@
294 glibcxx_compiler_shared_flag = @glibcxx_compiler_shared_flag@
295 glibcxx_cxx98_abi = @glibcxx_cxx98_abi@
296 glibcxx_localedir = @glibcxx_localedir@
297 glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
298 glibcxx_prefixdir = @glibcxx_prefixdir@
299 glibcxx_srcdir = @glibcxx_srcdir@
300 glibcxx_toolexecdir = @glibcxx_toolexecdir@
301 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
302 gxx_include_dir = @gxx_include_dir@
303 host = @host@
304 host_alias = @host_alias@
305 host_cpu = @host_cpu@
306 host_os = @host_os@
307 host_vendor = @host_vendor@
308 htmldir = @htmldir@
309 includedir = @includedir@
310 infodir = @infodir@
311 install_sh = @install_sh@
312 libdir = @libdir@
313 libexecdir = @libexecdir@
314 libtool_VERSION = @libtool_VERSION@
315 localedir = @localedir@
316 localstatedir = @localstatedir@
317 lt_host_flags = @lt_host_flags@
318 mandir = @mandir@
319 mkdir_p = @mkdir_p@
320 multi_basedir = @multi_basedir@
321 oldincludedir = @oldincludedir@
322 pdfdir = @pdfdir@
323 port_specific_symbol_files = @port_specific_symbol_files@
324 prefix = @prefix@
325 program_transform_name = @program_transform_name@
326 psdir = @psdir@
327 python_mod_dir = @python_mod_dir@
328 sbindir = @sbindir@
329 sharedstatedir = @sharedstatedir@
330 srcdir = @srcdir@
331 sysconfdir = @sysconfdir@
332 target = @target@
333 target_alias = @target_alias@
334 target_cpu = @target_cpu@
335 target_os = @target_os@
336 target_vendor = @target_vendor@
337 thread_header = @thread_header@
338 top_build_prefix = @top_build_prefix@
339 top_builddir = @top_builddir@
340 top_srcdir = @top_srcdir@
341 toplevel_builddir = @toplevel_builddir@
342 toplevel_srcdir = @toplevel_srcdir@
343 AUTOMAKE_OPTIONS = nostdinc
344 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
345 EXPECT = expect
347 # May be used by various substitution variables.
348 gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
349 MAINT_CHARSET = latin1
350 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
351 PWD_COMMAND = $${PWDCMD-pwd}
352 STAMP = echo timestamp >
353 toolexecdir = $(glibcxx_toolexecdir)
354 toolexeclibdir = $(glibcxx_toolexeclibdir)
355 @ENABLE_WERROR_FALSE@WERROR_FLAG =
356 @ENABLE_WERROR_TRUE@WERROR_FLAG = -Werror
357 @ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS =
358 @ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates
360 # These bits are all figured out from configure. Look in acinclude.m4
361 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
362 CONFIG_CXXFLAGS = \
363 $(SECTION_FLAGS) $(HWCAP_CFLAGS) -frandom-seed=$@
365 WARN_CXXFLAGS = \
366 $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
369 # -I/-D flags to pass when compiling.
370 AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS)
372 # Generated lists of files to run. All of these names are valid make
373 # targets, if you wish to generate a list manually.
374 lists_of_files = \
375 testsuite_files \
376 testsuite_files_interactive \
377 testsuite_files_performance
379 extract_symvers = $(glibcxx_builddir)/scripts/extract_symvers
380 baseline_subdir := $(shell $(CXX) $(baseline_subdir_switch))
381 check_p_numbers0 := 1 2 3 4 5 6 7 8 9
382 check_p_numbers1 := 0 $(check_p_numbers0)
383 check_p_numbers2 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers1)))
384 check_p_numbers3 := $(addprefix 0,$(check_p_numbers1)) $(check_p_numbers2)
385 check_p_numbers4 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers3)))
386 check_p_numbers5 := $(addprefix 0,$(check_p_numbers3)) $(check_p_numbers4)
387 check_p_numbers6 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers5)))
388 check_p_numbers := $(check_p_numbers0) $(check_p_numbers2) $(check_p_numbers4) $(check_p_numbers6)
389 check_p_subdirs = $(wordlist 1,$(if $(GCC_TEST_PARALLEL_SLOTS),$(GCC_TEST_PARALLEL_SLOTS),128),$(check_p_numbers))
390 check_DEJAGNU_normal_targets = $(addprefix check-DEJAGNUnormal,$(check_p_subdirs))
392 # Runs the testsuite, but in compile only mode.
393 # Can be used to test sources with non-GNU FE's at various warning
394 # levels and for checking compile time across releases.
395 # See script.
396 compile_script = ${glibcxx_srcdir}/scripts/check_compile
398 # Runs the testsuite/performance tests.
399 # Some of these tests create large (~75MB) files, allocate huge
400 # ammounts of memory, or otherwise tie up machine resources. Thus,
401 # running this is off by default.
402 # XXX Need to add dependency on libtestc++.a
403 check_performance_script = ${glibcxx_srcdir}/scripts/check_performance
405 # Runs the testsuite in debug mode.
406 debug_flags = "unix/-D_GLIBCXX_DEBUG"
408 # Runs the testsuite in parallel mode.
409 libgomp_dir = ${glibcxx_builddir}/../libgomp
410 libgomp_flags = -B${glibcxx_builddir}/../libgomp \
411 -I${glibcxx_builddir}/../libgomp \
412 -L${glibcxx_builddir}/../libgomp/.libs -lgomp
414 atomic_flags = $(ATOMIC_FLAGS)
415 parallel_flags = "unix/-D_GLIBCXX_PARALLEL/-fopenmp"
417 # By adding these files here, automake will remove them for 'make clean'
418 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
419 testsuite_* site.exp abi_check baseline_symbols *TEST* *.dat \
420 *.ii *.s *.o *.cc *.x *.a *.so *.xml *.raw *.out *.gdb
422 all: all-am
424 .SUFFIXES:
425 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
426 @for dep in $?; do \
427 case '$(am__configure_deps)' in \
428 *$$dep*) \
429 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
430 && { if test -f $@; then exit 0; else break; fi; }; \
431 exit 1;; \
432 esac; \
433 done; \
434 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile'; \
435 $(am__cd) $(top_srcdir) && \
436 $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile
437 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
438 @case '$?' in \
439 *config.status*) \
440 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
441 *) \
442 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
443 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
444 esac;
445 $(top_srcdir)/fragment.am $(am__empty):
447 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
448 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
450 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
451 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
452 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
453 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
454 $(am__aclocal_m4_deps):
456 mostlyclean-libtool:
457 -rm -f *.lo
459 clean-libtool:
460 -rm -rf .libs _libs
461 tags TAGS:
463 ctags CTAGS:
465 cscope cscopelist:
467 check-am: all-am
468 check: check-am
469 all-am: Makefile
470 installdirs:
471 install: install-am
472 install-exec: install-exec-am
473 install-data: install-data-am
474 uninstall: uninstall-am
476 install-am: all-am
477 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
479 installcheck: installcheck-am
480 install-strip:
481 if test -z '$(STRIP)'; then \
482 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
483 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
484 install; \
485 else \
486 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
487 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
488 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
490 mostlyclean-generic:
492 clean-generic:
493 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
495 distclean-generic:
496 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
497 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
499 maintainer-clean-generic:
500 @echo "This command is intended for maintainers to use"
501 @echo "it deletes files that may require special tools to rebuild."
502 clean: clean-am
504 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
506 distclean: distclean-am
507 -rm -f Makefile
508 distclean-am: clean-am distclean-generic
510 dvi: dvi-am
512 dvi-am:
514 html: html-am
516 html-am:
518 info: info-am
520 info-am:
522 install-data-am:
524 install-dvi: install-dvi-am
526 install-dvi-am:
528 install-exec-am:
530 install-html: install-html-am
532 install-html-am:
534 install-info: install-info-am
536 install-info-am:
538 install-man:
540 install-pdf: install-pdf-am
542 install-pdf-am:
544 install-ps: install-ps-am
546 install-ps-am:
548 installcheck-am:
550 maintainer-clean: maintainer-clean-am
551 -rm -f Makefile
552 maintainer-clean-am: distclean-am maintainer-clean-generic
554 mostlyclean: mostlyclean-am
556 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
558 pdf: pdf-am
560 pdf-am:
562 ps: ps-am
564 ps-am:
566 uninstall-am:
568 .MAKE: install-am install-strip
570 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
571 clean-local cscopelist-am ctags-am distclean distclean-generic \
572 distclean-libtool dvi dvi-am html html-am info info-am install \
573 install-am install-data install-data-am install-dvi \
574 install-dvi-am install-exec install-exec-am install-html \
575 install-html-am install-info install-info-am install-man \
576 install-pdf install-pdf-am install-ps install-ps-am \
577 install-strip installcheck installcheck-am installdirs \
578 maintainer-clean maintainer-clean-generic mostlyclean \
579 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
580 tags-am uninstall uninstall-am
582 .PRECIOUS: Makefile
585 # This rule generates all of the testsuite_files* lists at once.
586 ${lists_of_files}:
587 ${glibcxx_srcdir}/scripts/create_testsuite_files \
588 ${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
590 # We need more things in site.exp, but automake completely controls the
591 # creation of that file; there's no way to append to it without messing up
592 # the dependancy chains. So we overrule automake. This rule is exactly
593 # what it would have generated, plus our own additions.
594 site.exp: Makefile
595 @echo 'Making a new site.exp file...'
596 @echo '## these variables are automatically generated by make ##' >site.tmp
597 @echo '# Do not edit here. If you wish to override these values' >>site.tmp
598 @echo '# edit the last section' >>site.tmp
599 @echo 'set srcdir $(srcdir)' >>site.tmp
600 @echo "set objdir `pwd`" >>site.tmp
601 @echo 'set build_alias "$(build_alias)"' >>site.tmp
602 @echo 'set build_triplet $(build_triplet)' >>site.tmp
603 @echo 'set host_alias "$(host_alias)"' >>site.tmp
604 @echo 'set host_triplet $(host_triplet)' >>site.tmp
605 @echo 'set target_alias "$(target_alias)"' >>site.tmp
606 @echo 'set target_triplet $(target_triplet)' >>site.tmp
607 @echo 'set target_triplet $(target_triplet)' >>site.tmp
608 @echo 'set libiconv "$(LIBICONV)"' >>site.tmp
609 @echo 'set baseline_dir "$(baseline_dir)"' >> site.tmp
610 @echo 'set baseline_subdir_switch "$(baseline_subdir_switch)"' >> site.tmp
611 @echo 'set TEST_GCC_EXEC_PREFIX "$(libdir)/gcc/"' >> site.tmp
612 @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
613 @test ! -f site.exp || \
614 sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
615 @-rm -f site.bak
616 @test ! -f site.exp || mv site.exp site.bak
617 @mv site.tmp site.exp
619 baseline_symbols:
620 -@(output=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt; \
621 if test ! -f $${output}; then \
622 echo "Baseline file doesn't exist."; \
623 echo "Try 'make new-abi-baseline' to create it."; \
624 exit 1; \
625 fi; true)
627 new-abi-baseline:
628 -@$(mkinstalldirs) ${baseline_dir}/${baseline_subdir}
629 -@(output=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt; \
630 if test -f $${output}; then \
631 output=$${output}.new; \
632 t=`echo $${output} | sed 's=.*config/abi/=='`; \
633 echo "Baseline file already exists, writing to $${t} instead."; \
634 fi; \
635 ${extract_symvers} ../src/.libs/libstdc++.so $${output})
637 %/site.exp: site.exp
638 -@test -d $* || mkdir $*
639 @srcdir=`cd $(srcdir); ${PWD_COMMAND}`;
640 @objdir=`${PWD_COMMAND}`/$*; \
641 sed -e "s|^set srcdir .*$$|set srcdir $$srcdir|" \
642 -e "s|^set objdir .*$$|set objdir $$objdir|" \
643 site.exp > $*/site.exp.tmp
644 @-rm -f $*/site.bak
645 @test ! -f $*/site.exp || mv $*/site.exp $*/site.bak
646 @mv $*/site.exp.tmp $*/site.exp
647 $(check_DEJAGNU_normal_targets): check-DEJAGNUnormal%: normal%/site.exp
649 # Run the testsuite in normal mode.
650 check-DEJAGNU $(check_DEJAGNU_normal_targets): check-DEJAGNU%: site.exp
651 $(if $*,@)AR="$(AR)"; export AR; \
652 RANLIB="$(RANLIB)"; export RANLIB; \
653 if [ -z "$*" ] && [ -n "$(filter -j%, $(MFLAGS))" ]; then \
654 rm -rf normal-parallel || true; \
655 mkdir normal-parallel; \
656 $(MAKE) $(AM_MAKEFLAGS) $(check_DEJAGNU_normal_targets); \
657 rm -rf normal-parallel || true; \
658 for idx in $(check_p_subdirs); do \
659 if [ -d normal$$idx ]; then \
660 mv -f normal$$idx/libstdc++.sum normal$$idx/libstdc++.sum.sep; \
661 mv -f normal$$idx/libstdc++.log normal$$idx/libstdc++.log.sep; \
662 fi; \
663 done; \
664 $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh \
665 normal[0-9]*/libstdc++.sum.sep > libstdc++.sum; \
666 $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh -L \
667 normal[0-9]*/libstdc++.log.sep > libstdc++.log; \
668 exit 0; \
669 fi; \
670 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
671 EXPECT=$(EXPECT); export EXPECT; \
672 runtest=$(RUNTEST); \
673 if [ -z "$$runtest" ]; then runtest=runtest; fi; \
674 tool=libstdc++; \
675 if [ -n "$*" ]; then \
676 if [ -f normal-parallel/finished ]; then rm -rf "$*"; exit 0; fi; \
677 GCC_RUNTEST_PARALLELIZE_DIR=`${PWD_COMMAND}`/normal-parallel; \
678 export GCC_RUNTEST_PARALLELIZE_DIR; \
679 cd "$*"; \
680 fi; \
681 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
682 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
683 $(RUNTESTFLAGS); \
684 if [ -n "$*" ]; then \
685 touch $$GCC_RUNTEST_PARALLELIZE_DIR/finished; \
686 fi; \
687 else \
688 echo "WARNING: could not find \`runtest'" 1>&2; :;\
691 check-am:
692 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
693 .PHONY: check-DEJAGNU
695 # Use 'new-abi-baseline' to create an initial symbol file. Then run
696 # 'check-abi' to test for changes against that file.
697 check-abi: site.exp baseline_symbols
698 -@runtest $(AM_RUNTESTFLAGS) --tool libstdc++ $(RUNTESTFLAGS) abi.exp
699 check-compile: testsuite_files ${compile_script}
700 -@(chmod + ${compile_script}; \
701 ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
702 check-performance: testsuite_files_performance ${performance_script}
703 -@(chmod + ${check_performance_script}; \
704 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
706 check-debug: site.exp
707 outputdir=debug; export outputdir; \
708 if test ! -d $${outputdir}; then \
709 mkdir $${outputdir}; \
710 fi; \
711 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
712 EXPECT=$(EXPECT); export EXPECT; \
713 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(debug_flags)" check-DEJAGNU;
715 check-parallel: site.exp
716 -@(if test ! -d $${libgomp_dir}; then \
717 echo "Testing parallel mode failed as libgomp not present."; \
718 exit 1; \
719 fi; \
720 outputdir=parallel; export outputdir; \
721 if test ! -d $${outputdir}; then \
722 mkdir $${outputdir}; \
723 fi; \
724 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
725 EXPECT=$(EXPECT); export EXPECT; \
726 $(MAKE) CXXFLAGS="$(atomic_flags) $(libgomp_flags)" RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(parallel_flags)" check-DEJAGNU; )
728 check-performance-parallel: testsuite_files_performance ${performance_script}
729 -@(chmod + ${check_performance_script}; \
730 CXXFLAGS="-D_GLIBCXX_PARALLEL -fopenmp $(atomic_flags) $(libgomp_flags)"; export CXXFLAGS; \
731 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
733 .PHONY: baseline_symbols new-abi-baseline \
734 check-abi check-compile check-performance check-parallel
736 # To remove directories.
737 clean-local:
738 rm -rf de fr debug parallel binaries normal*
740 # Tell versions [3.59,3.63) of GNU make to not export all variables.
741 # Otherwise a system limit (for SysV at least) may be exceeded.
742 .NOEXPORT: