Clean up temporary files created by std::filesystem testsuite
[official-gcc.git] / libstdc++-v3 / testsuite / Makefile.in
blob1033421eaeb414782ae04bcc8f7f89291b907957
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 XMLLINT = @XMLLINT@
258 XSLTPROC = @XSLTPROC@
259 XSL_STYLE_DIR = @XSL_STYLE_DIR@
260 abs_builddir = @abs_builddir@
261 abs_srcdir = @abs_srcdir@
262 abs_top_builddir = @abs_top_builddir@
263 abs_top_srcdir = @abs_top_srcdir@
264 ac_ct_CC = @ac_ct_CC@
265 ac_ct_CXX = @ac_ct_CXX@
266 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
267 am__leading_dot = @am__leading_dot@
268 am__tar = @am__tar@
269 am__untar = @am__untar@
270 baseline_dir = @baseline_dir@
271 baseline_subdir_switch = @baseline_subdir_switch@
272 bindir = @bindir@
273 build = @build@
274 build_alias = @build_alias@
275 build_cpu = @build_cpu@
276 build_os = @build_os@
277 build_vendor = @build_vendor@
278 builddir = @builddir@
279 check_msgfmt = @check_msgfmt@
280 datadir = @datadir@
281 datarootdir = @datarootdir@
282 docdir = @docdir@
283 dvidir = @dvidir@
284 enable_shared = @enable_shared@
285 enable_static = @enable_static@
286 exec_prefix = @exec_prefix@
287 get_gcc_base_ver = @get_gcc_base_ver@
288 glibcxx_MOFILES = @glibcxx_MOFILES@
289 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
290 glibcxx_POFILES = @glibcxx_POFILES@
291 glibcxx_builddir = @glibcxx_builddir@
292 glibcxx_compiler_pic_flag = @glibcxx_compiler_pic_flag@
293 glibcxx_compiler_shared_flag = @glibcxx_compiler_shared_flag@
294 glibcxx_cxx98_abi = @glibcxx_cxx98_abi@
295 glibcxx_localedir = @glibcxx_localedir@
296 glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
297 glibcxx_prefixdir = @glibcxx_prefixdir@
298 glibcxx_srcdir = @glibcxx_srcdir@
299 glibcxx_toolexecdir = @glibcxx_toolexecdir@
300 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
301 gxx_include_dir = @gxx_include_dir@
302 host = @host@
303 host_alias = @host_alias@
304 host_cpu = @host_cpu@
305 host_os = @host_os@
306 host_vendor = @host_vendor@
307 htmldir = @htmldir@
308 includedir = @includedir@
309 infodir = @infodir@
310 install_sh = @install_sh@
311 libdir = @libdir@
312 libexecdir = @libexecdir@
313 libtool_VERSION = @libtool_VERSION@
314 localedir = @localedir@
315 localstatedir = @localstatedir@
316 lt_host_flags = @lt_host_flags@
317 mandir = @mandir@
318 mkdir_p = @mkdir_p@
319 multi_basedir = @multi_basedir@
320 oldincludedir = @oldincludedir@
321 pdfdir = @pdfdir@
322 port_specific_symbol_files = @port_specific_symbol_files@
323 prefix = @prefix@
324 program_transform_name = @program_transform_name@
325 psdir = @psdir@
326 python_mod_dir = @python_mod_dir@
327 sbindir = @sbindir@
328 sharedstatedir = @sharedstatedir@
329 srcdir = @srcdir@
330 sysconfdir = @sysconfdir@
331 target = @target@
332 target_alias = @target_alias@
333 target_cpu = @target_cpu@
334 target_os = @target_os@
335 target_vendor = @target_vendor@
336 thread_header = @thread_header@
337 top_build_prefix = @top_build_prefix@
338 top_builddir = @top_builddir@
339 top_srcdir = @top_srcdir@
340 toplevel_builddir = @toplevel_builddir@
341 toplevel_srcdir = @toplevel_srcdir@
342 AUTOMAKE_OPTIONS = nostdinc
343 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
344 EXPECT = expect
346 # May be used by various substitution variables.
347 gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
348 MAINT_CHARSET = latin1
349 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
350 PWD_COMMAND = $${PWDCMD-pwd}
351 STAMP = echo timestamp >
352 toolexecdir = $(glibcxx_toolexecdir)
353 toolexeclibdir = $(glibcxx_toolexeclibdir)
354 @ENABLE_WERROR_FALSE@WERROR_FLAG =
355 @ENABLE_WERROR_TRUE@WERROR_FLAG = -Werror
356 @ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS =
357 @ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates
359 # These bits are all figured out from configure. Look in acinclude.m4
360 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
361 CONFIG_CXXFLAGS = \
362 $(SECTION_FLAGS) $(HWCAP_CFLAGS) -frandom-seed=$@
364 WARN_CXXFLAGS = \
365 $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
368 # -I/-D flags to pass when compiling.
369 AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS)
371 # Generated lists of files to run. All of these names are valid make
372 # targets, if you wish to generate a list manually.
373 lists_of_files = \
374 testsuite_files \
375 testsuite_files_interactive \
376 testsuite_files_performance
378 extract_symvers = $(glibcxx_builddir)/scripts/extract_symvers
379 baseline_subdir := $(shell $(CXX) $(baseline_subdir_switch))
380 check_p_numbers0 := 1 2 3 4 5 6 7 8 9
381 check_p_numbers1 := 0 $(check_p_numbers0)
382 check_p_numbers2 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers1)))
383 check_p_numbers3 := $(addprefix 0,$(check_p_numbers1)) $(check_p_numbers2)
384 check_p_numbers4 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers3)))
385 check_p_numbers5 := $(addprefix 0,$(check_p_numbers3)) $(check_p_numbers4)
386 check_p_numbers6 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers5)))
387 check_p_numbers := $(check_p_numbers0) $(check_p_numbers2) $(check_p_numbers4) $(check_p_numbers6)
388 check_p_subdirs = $(wordlist 1,$(if $(GCC_TEST_PARALLEL_SLOTS),$(GCC_TEST_PARALLEL_SLOTS),128),$(check_p_numbers))
389 check_DEJAGNU_normal_targets = $(addprefix check-DEJAGNUnormal,$(check_p_subdirs))
391 # Runs the testsuite, but in compile only mode.
392 # Can be used to test sources with non-GNU FE's at various warning
393 # levels and for checking compile time across releases.
394 # See script.
395 compile_script = ${glibcxx_srcdir}/scripts/check_compile
397 # Runs the testsuite/performance tests.
398 # Some of these tests create large (~75MB) files, allocate huge
399 # ammounts of memory, or otherwise tie up machine resources. Thus,
400 # running this is off by default.
401 # XXX Need to add dependency on libtestc++.a
402 check_performance_script = ${glibcxx_srcdir}/scripts/check_performance
404 # Runs the testsuite in debug mode.
405 debug_flags = "unix/-D_GLIBCXX_DEBUG"
407 # Runs the testsuite in parallel mode.
408 libgomp_dir = ${glibcxx_builddir}/../libgomp
409 libgomp_flags = -B${glibcxx_builddir}/../libgomp \
410 -I${glibcxx_builddir}/../libgomp \
411 -L${glibcxx_builddir}/../libgomp/.libs -lgomp
413 atomic_flags = $(ATOMIC_FLAGS)
414 parallel_flags = "unix/-D_GLIBCXX_PARALLEL/-fopenmp"
416 # Runs the testsuite in profile mode.
417 profile_flags = "unix/-D_GLIBCXX_PROFILE"
419 # By adding these files here, automake will remove them for 'make clean'
420 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
421 testsuite_* site.exp abi_check baseline_symbols *TEST* *.dat \
422 *.ii *.s *.o *.cc *.x *.a *.so *.xml *.raw *.out *.gdb
424 all: all-am
426 .SUFFIXES:
427 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
428 @for dep in $?; do \
429 case '$(am__configure_deps)' in \
430 *$$dep*) \
431 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
432 && { if test -f $@; then exit 0; else break; fi; }; \
433 exit 1;; \
434 esac; \
435 done; \
436 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile'; \
437 $(am__cd) $(top_srcdir) && \
438 $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile
439 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
440 @case '$?' in \
441 *config.status*) \
442 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
443 *) \
444 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
445 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
446 esac;
447 $(top_srcdir)/fragment.am $(am__empty):
449 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
450 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
452 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
453 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
454 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
455 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
456 $(am__aclocal_m4_deps):
458 mostlyclean-libtool:
459 -rm -f *.lo
461 clean-libtool:
462 -rm -rf .libs _libs
463 tags TAGS:
465 ctags CTAGS:
467 cscope cscopelist:
469 check-am: all-am
470 check: check-am
471 all-am: Makefile
472 installdirs:
473 install: install-am
474 install-exec: install-exec-am
475 install-data: install-data-am
476 uninstall: uninstall-am
478 install-am: all-am
479 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
481 installcheck: installcheck-am
482 install-strip:
483 if test -z '$(STRIP)'; then \
484 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
485 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
486 install; \
487 else \
488 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
489 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
490 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
492 mostlyclean-generic:
494 clean-generic:
495 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
497 distclean-generic:
498 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
499 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
501 maintainer-clean-generic:
502 @echo "This command is intended for maintainers to use"
503 @echo "it deletes files that may require special tools to rebuild."
504 clean: clean-am
506 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
508 distclean: distclean-am
509 -rm -f Makefile
510 distclean-am: clean-am distclean-generic
512 dvi: dvi-am
514 dvi-am:
516 html: html-am
518 html-am:
520 info: info-am
522 info-am:
524 install-data-am:
526 install-dvi: install-dvi-am
528 install-dvi-am:
530 install-exec-am:
532 install-html: install-html-am
534 install-html-am:
536 install-info: install-info-am
538 install-info-am:
540 install-man:
542 install-pdf: install-pdf-am
544 install-pdf-am:
546 install-ps: install-ps-am
548 install-ps-am:
550 installcheck-am:
552 maintainer-clean: maintainer-clean-am
553 -rm -f Makefile
554 maintainer-clean-am: distclean-am maintainer-clean-generic
556 mostlyclean: mostlyclean-am
558 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
560 pdf: pdf-am
562 pdf-am:
564 ps: ps-am
566 ps-am:
568 uninstall-am:
570 .MAKE: install-am install-strip
572 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
573 clean-local cscopelist-am ctags-am distclean distclean-generic \
574 distclean-libtool dvi dvi-am html html-am info info-am install \
575 install-am install-data install-data-am install-dvi \
576 install-dvi-am install-exec install-exec-am install-html \
577 install-html-am install-info install-info-am install-man \
578 install-pdf install-pdf-am install-ps install-ps-am \
579 install-strip installcheck installcheck-am installdirs \
580 maintainer-clean maintainer-clean-generic mostlyclean \
581 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
582 tags-am uninstall uninstall-am
584 .PRECIOUS: Makefile
587 # This rule generates all of the testsuite_files* lists at once.
588 ${lists_of_files}:
589 ${glibcxx_srcdir}/scripts/create_testsuite_files \
590 ${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
592 # We need more things in site.exp, but automake completely controls the
593 # creation of that file; there's no way to append to it without messing up
594 # the dependancy chains. So we overrule automake. This rule is exactly
595 # what it would have generated, plus our own additions.
596 site.exp: Makefile
597 @echo 'Making a new site.exp file...'
598 @echo '## these variables are automatically generated by make ##' >site.tmp
599 @echo '# Do not edit here. If you wish to override these values' >>site.tmp
600 @echo '# edit the last section' >>site.tmp
601 @echo 'set srcdir $(srcdir)' >>site.tmp
602 @echo "set objdir `pwd`" >>site.tmp
603 @echo 'set build_alias "$(build_alias)"' >>site.tmp
604 @echo 'set build_triplet $(build_triplet)' >>site.tmp
605 @echo 'set host_alias "$(host_alias)"' >>site.tmp
606 @echo 'set host_triplet $(host_triplet)' >>site.tmp
607 @echo 'set target_alias "$(target_alias)"' >>site.tmp
608 @echo 'set target_triplet $(target_triplet)' >>site.tmp
609 @echo 'set target_triplet $(target_triplet)' >>site.tmp
610 @echo 'set libiconv "$(LIBICONV)"' >>site.tmp
611 @echo 'set baseline_dir "$(baseline_dir)"' >> site.tmp
612 @echo 'set baseline_subdir_switch "$(baseline_subdir_switch)"' >> site.tmp
613 @echo 'set TEST_GCC_EXEC_PREFIX "$(libdir)/gcc/"' >> site.tmp
614 @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
615 @test ! -f site.exp || \
616 sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
617 @-rm -f site.bak
618 @test ! -f site.exp || mv site.exp site.bak
619 @mv site.tmp site.exp
621 baseline_symbols:
622 -@(output=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt; \
623 if test ! -f $${output}; then \
624 echo "Baseline file doesn't exist."; \
625 echo "Try 'make new-abi-baseline' to create it."; \
626 exit 1; \
627 fi; true)
629 new-abi-baseline:
630 -@$(mkinstalldirs) ${baseline_dir}/${baseline_subdir}
631 -@(output=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt; \
632 if test -f $${output}; then \
633 output=$${output}.new; \
634 t=`echo $${output} | sed 's=.*config/abi/=='`; \
635 echo "Baseline file already exists, writing to $${t} instead."; \
636 fi; \
637 ${extract_symvers} ../src/.libs/libstdc++.so $${output})
639 %/site.exp: site.exp
640 -@test -d $* || mkdir $*
641 @srcdir=`cd $(srcdir); ${PWD_COMMAND}`;
642 @objdir=`${PWD_COMMAND}`/$*; \
643 sed -e "s|^set srcdir .*$$|set srcdir $$srcdir|" \
644 -e "s|^set objdir .*$$|set objdir $$objdir|" \
645 site.exp > $*/site.exp.tmp
646 @-rm -f $*/site.bak
647 @test ! -f $*/site.exp || mv $*/site.exp $*/site.bak
648 @mv $*/site.exp.tmp $*/site.exp
649 $(check_DEJAGNU_normal_targets): check-DEJAGNUnormal%: normal%/site.exp
651 # Run the testsuite in normal mode.
652 check-DEJAGNU $(check_DEJAGNU_normal_targets): check-DEJAGNU%: site.exp
653 $(if $*,@)AR="$(AR)"; export AR; \
654 RANLIB="$(RANLIB)"; export RANLIB; \
655 if [ -z "$*" ] && [ -n "$(filter -j%, $(MFLAGS))" ]; then \
656 rm -rf normal-parallel || true; \
657 mkdir normal-parallel; \
658 $(MAKE) $(AM_MAKEFLAGS) $(check_DEJAGNU_normal_targets); \
659 rm -rf normal-parallel || true; \
660 for idx in $(check_p_subdirs); do \
661 if [ -d normal$$idx ]; then \
662 mv -f normal$$idx/libstdc++.sum normal$$idx/libstdc++.sum.sep; \
663 mv -f normal$$idx/libstdc++.log normal$$idx/libstdc++.log.sep; \
664 fi; \
665 done; \
666 $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh \
667 normal[0-9]*/libstdc++.sum.sep > libstdc++.sum; \
668 $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh -L \
669 normal[0-9]*/libstdc++.log.sep > libstdc++.log; \
670 exit 0; \
671 fi; \
672 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
673 EXPECT=$(EXPECT); export EXPECT; \
674 runtest=$(RUNTEST); \
675 if [ -z "$$runtest" ]; then runtest=runtest; fi; \
676 tool=libstdc++; \
677 if [ -n "$*" ]; then \
678 if [ -f normal-parallel/finished ]; then rm -rf "$*"; exit 0; fi; \
679 GCC_RUNTEST_PARALLELIZE_DIR=`${PWD_COMMAND}`/normal-parallel; \
680 export GCC_RUNTEST_PARALLELIZE_DIR; \
681 cd "$*"; \
682 fi; \
683 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
684 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
685 $(RUNTESTFLAGS); \
686 if [ -n "$*" ]; then \
687 touch $$GCC_RUNTEST_PARALLELIZE_DIR/finished; \
688 fi; \
689 else \
690 echo "WARNING: could not find \`runtest'" 1>&2; :;\
693 check-am:
694 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
695 .PHONY: check-DEJAGNU
697 # Use 'new-abi-baseline' to create an initial symbol file. Then run
698 # 'check-abi' to test for changes against that file.
699 check-abi: site.exp baseline_symbols
700 -@runtest $(AM_RUNTESTFLAGS) --tool libstdc++ $(RUNTESTFLAGS) abi.exp
701 check-compile: testsuite_files ${compile_script}
702 -@(chmod + ${compile_script}; \
703 ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
704 check-performance: testsuite_files_performance ${performance_script}
705 -@(chmod + ${check_performance_script}; \
706 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
708 check-debug: site.exp
709 outputdir=debug; export outputdir; \
710 if test ! -d $${outputdir}; then \
711 mkdir $${outputdir}; \
712 fi; \
713 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
714 EXPECT=$(EXPECT); export EXPECT; \
715 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(debug_flags)" check-DEJAGNU;
717 check-parallel: site.exp
718 -@(if test ! -d $${libgomp_dir}; then \
719 echo "Testing parallel mode failed as libgomp not present."; \
720 exit 1; \
721 fi; \
722 outputdir=parallel; export outputdir; \
723 if test ! -d $${outputdir}; then \
724 mkdir $${outputdir}; \
725 fi; \
726 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
727 EXPECT=$(EXPECT); export EXPECT; \
728 $(MAKE) CXXFLAGS="$(atomic_flags) $(libgomp_flags)" RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(parallel_flags)" check-DEJAGNU; )
730 check-performance-parallel: testsuite_files_performance ${performance_script}
731 -@(chmod + ${check_performance_script}; \
732 CXXFLAGS="-D_GLIBCXX_PARALLEL -fopenmp $(atomic_flags) $(libgomp_flags)"; export CXXFLAGS; \
733 ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
735 check-profile: site.exp
736 -@(outputdir=profile; export outputdir; \
737 if test ! -d $${outputdir}; then \
738 mkdir $${outputdir}; \
739 fi; \
740 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
741 EXPECT=$(EXPECT); export EXPECT; \
742 $(MAKE) CXXFLAGS="$(atomic_flags) " RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(profile_flags)" check-DEJAGNU; )
744 .PHONY: baseline_symbols new-abi-baseline \
745 check-abi check-compile check-performance check-parallel check-profile
747 # To remove directories.
748 clean-local:
749 rm -rf de fr debug parallel profile binaries normal*
751 # Tell versions [3.59,3.63) of GNU make to not export all variables.
752 # Otherwise a system limit (for SysV at least) may be exceeded.
753 .NOEXPORT: