Fix gcc.c-torture/execute/ieee/cdivchkf.c on hpux
[official-gcc.git] / libgomp / testsuite / Makefile.in
blob4155350cf80e38a97615e2dd63807f09a32daa7e
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/ax_count_cpus.m4 \
95 $(top_srcdir)/../config/depstand.m4 \
96 $(top_srcdir)/../config/enable.m4 \
97 $(top_srcdir)/../config/futex.m4 \
98 $(top_srcdir)/../config/lead-dot.m4 \
99 $(top_srcdir)/../config/lthostflags.m4 \
100 $(top_srcdir)/../config/multi.m4 \
101 $(top_srcdir)/../config/override.m4 \
102 $(top_srcdir)/../config/tls.m4 \
103 $(top_srcdir)/../config/toolexeclibdir.m4 \
104 $(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \
105 $(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \
106 $(top_srcdir)/acinclude.m4 $(top_srcdir)/../libtool.m4 \
107 $(top_srcdir)/../config/cet.m4 \
108 $(top_srcdir)/plugin/configfrag.ac $(top_srcdir)/configure.ac
109 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
110 $(ACLOCAL_M4)
111 DIST_COMMON = $(srcdir)/Makefile.am
112 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
113 CONFIG_HEADER = $(top_builddir)/config.h
114 CONFIG_CLEAN_FILES = libgomp-test-support.pt.exp \
115 libgomp-site-extra.exp
116 CONFIG_CLEAN_VPATH_FILES =
117 AM_V_P = $(am__v_P_@AM_V@)
118 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
119 am__v_P_0 = false
120 am__v_P_1 = :
121 AM_V_GEN = $(am__v_GEN_@AM_V@)
122 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
123 am__v_GEN_0 = @echo " GEN " $@;
124 am__v_GEN_1 =
125 AM_V_at = $(am__v_at_@AM_V@)
126 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
127 am__v_at_0 = @
128 am__v_at_1 =
129 SOURCES =
130 am__can_run_installinfo = \
131 case $$AM_UPDATE_INFO_DIR in \
132 n|no|NO) false;; \
133 *) (install-info --version) >/dev/null 2>&1;; \
134 esac
135 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
136 ACLOCAL = @ACLOCAL@
137 AMTAR = @AMTAR@
138 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
139 AR = @AR@
140 AUTOCONF = @AUTOCONF@
141 AUTOHEADER = @AUTOHEADER@
142 AUTOMAKE = @AUTOMAKE@
143 AWK = @AWK@
144 CC = @CC@
145 CCDEPMODE = @CCDEPMODE@
146 CFLAGS = @CFLAGS@
147 CPP = @CPP@
148 CPPFLAGS = @CPPFLAGS@
149 CPU_COUNT = @CPU_COUNT@
150 CYGPATH_W = @CYGPATH_W@
151 DEFS = @DEFS@
152 DEPDIR = @DEPDIR@
153 DL_LIBS = @DL_LIBS@
154 DSYMUTIL = @DSYMUTIL@
155 DUMPBIN = @DUMPBIN@
156 ECHO_C = @ECHO_C@
157 ECHO_N = @ECHO_N@
158 ECHO_T = @ECHO_T@
159 EGREP = @EGREP@
160 EXEEXT = @EXEEXT@
161 FC = @FC@
162 FCFLAGS = @FCFLAGS@
163 FGREP = @FGREP@
164 FLOCK = @FLOCK@
165 GREP = @GREP@
166 INSTALL = @INSTALL@
167 INSTALL_DATA = @INSTALL_DATA@
168 INSTALL_PROGRAM = @INSTALL_PROGRAM@
169 INSTALL_SCRIPT = @INSTALL_SCRIPT@
170 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
171 INTPTR_T_KIND = @INTPTR_T_KIND@
172 LD = @LD@
173 LDFLAGS = @LDFLAGS@
174 LIBOBJS = @LIBOBJS@
175 LIBS = @LIBS@
176 LIBTOOL = @LIBTOOL@
177 LIPO = @LIPO@
178 LN_S = @LN_S@
179 LTLIBOBJS = @LTLIBOBJS@
180 MAINT = @MAINT@
181 MAKEINFO = @MAKEINFO@
182 MKDIR_P = @MKDIR_P@
183 NM = @NM@
184 NMEDIT = @NMEDIT@
185 OBJDUMP = @OBJDUMP@
186 OBJEXT = @OBJEXT@
187 OMP_DEPEND_KIND = @OMP_DEPEND_KIND@
188 OMP_LOCK_25_ALIGN = @OMP_LOCK_25_ALIGN@
189 OMP_LOCK_25_KIND = @OMP_LOCK_25_KIND@
190 OMP_LOCK_25_SIZE = @OMP_LOCK_25_SIZE@
191 OMP_LOCK_ALIGN = @OMP_LOCK_ALIGN@
192 OMP_LOCK_KIND = @OMP_LOCK_KIND@
193 OMP_LOCK_SIZE = @OMP_LOCK_SIZE@
194 OMP_NEST_LOCK_25_ALIGN = @OMP_NEST_LOCK_25_ALIGN@
195 OMP_NEST_LOCK_25_KIND = @OMP_NEST_LOCK_25_KIND@
196 OMP_NEST_LOCK_25_SIZE = @OMP_NEST_LOCK_25_SIZE@
197 OMP_NEST_LOCK_ALIGN = @OMP_NEST_LOCK_ALIGN@
198 OMP_NEST_LOCK_KIND = @OMP_NEST_LOCK_KIND@
199 OMP_NEST_LOCK_SIZE = @OMP_NEST_LOCK_SIZE@
200 OPT_LDFLAGS = @OPT_LDFLAGS@
201 OTOOL = @OTOOL@
202 OTOOL64 = @OTOOL64@
203 PACKAGE = @PACKAGE@
204 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
205 PACKAGE_NAME = @PACKAGE_NAME@
206 PACKAGE_STRING = @PACKAGE_STRING@
207 PACKAGE_TARNAME = @PACKAGE_TARNAME@
208 PACKAGE_URL = @PACKAGE_URL@
209 PACKAGE_VERSION = @PACKAGE_VERSION@
210 PATH_SEPARATOR = @PATH_SEPARATOR@
211 RANLIB = @RANLIB@
212 SECTION_LDFLAGS = @SECTION_LDFLAGS@
213 SED = @SED@
214 SET_MAKE = @SET_MAKE@
215 SHELL = @SHELL@
216 STRIP = @STRIP@
217 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
218 VERSION = @VERSION@
219 XCFLAGS = @XCFLAGS@
220 XLDFLAGS = @XLDFLAGS@
221 abs_builddir = @abs_builddir@
222 abs_srcdir = @abs_srcdir@
223 abs_top_builddir = @abs_top_builddir@
224 abs_top_srcdir = @abs_top_srcdir@
225 ac_ct_CC = @ac_ct_CC@
226 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
227 ac_ct_FC = @ac_ct_FC@
228 am__include = @am__include@
229 am__leading_dot = @am__leading_dot@
230 am__quote = @am__quote@
231 am__tar = @am__tar@
232 am__untar = @am__untar@
233 bindir = @bindir@
234 build = @build@
235 build_alias = @build_alias@
236 build_cpu = @build_cpu@
237 build_os = @build_os@
238 build_vendor = @build_vendor@
239 builddir = @builddir@
240 config_path = @config_path@
241 datadir = @datadir@
242 datarootdir = @datarootdir@
243 docdir = @docdir@
244 dvidir = @dvidir@
245 enable_shared = @enable_shared@
246 enable_static = @enable_static@
247 exec_prefix = @exec_prefix@
248 get_gcc_base_ver = @get_gcc_base_ver@
249 host = @host@
250 host_alias = @host_alias@
251 host_cpu = @host_cpu@
252 host_os = @host_os@
253 host_vendor = @host_vendor@
254 htmldir = @htmldir@
255 includedir = @includedir@
256 infodir = @infodir@
257 install_sh = @install_sh@
258 libdir = @libdir@
259 libexecdir = @libexecdir@
260 libtool_VERSION = @libtool_VERSION@
261 link_gomp = @link_gomp@
262 localedir = @localedir@
263 localstatedir = @localstatedir@
264 lt_host_flags = @lt_host_flags@
265 mandir = @mandir@
266 mkdir_p = @mkdir_p@
267 multi_basedir = @multi_basedir@
268 offload_additional_lib_paths = @offload_additional_lib_paths@
269 offload_additional_options = @offload_additional_options@
270 offload_plugins = @offload_plugins@
271 offload_targets = @offload_targets@
272 oldincludedir = @oldincludedir@
273 pdfdir = @pdfdir@
274 prefix = @prefix@
275 program_transform_name = @program_transform_name@
276 psdir = @psdir@
277 sbindir = @sbindir@
278 sharedstatedir = @sharedstatedir@
279 srcdir = @srcdir@
280 sysconfdir = @sysconfdir@
281 target = @target@
282 target_alias = @target_alias@
283 target_cpu = @target_cpu@
284 target_os = @target_os@
285 target_vendor = @target_vendor@
286 tmake_file = @tmake_file@
287 toolexecdir = @toolexecdir@
288 toolexeclibdir = @toolexeclibdir@
289 top_build_prefix = @top_build_prefix@
290 top_builddir = @top_builddir@
291 top_srcdir = @top_srcdir@
292 AUTOMAKE_OPTIONS = foreign
294 # May be used by various substitution variables.
295 gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
296 EXPECT = $(shell if test -f $(top_builddir)/../expect/expect; then \
297 echo $(top_builddir)/../expect/expect; else echo expect; fi)
299 _RUNTEST = $(shell if test -f $(top_srcdir)/../dejagnu/runtest; then \
300 echo $(top_srcdir)/../dejagnu/runtest; else echo runtest; fi)
302 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
303 PWD_COMMAND = $${PWDCMD-pwd}
304 EXTRA_DEJAGNU_SITE_CONFIG = libgomp-site-extra.exp
305 check_p_numbers0 := 1 2 3 4 5 6 7 8 9
306 check_p_numbers1 := 0 $(check_p_numbers0)
307 check_p_numbers2 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers1)))
308 check_p_numbers3 := $(addprefix 0,$(check_p_numbers1)) $(check_p_numbers2)
309 check_p_numbers4 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers3)))
310 check_p_numbers5 := $(addprefix 0,$(check_p_numbers3)) $(check_p_numbers4)
311 check_p_numbers6 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers5)))
312 check_p_numbers := $(check_p_numbers0) $(check_p_numbers2) $(check_p_numbers4) $(check_p_numbers6)
313 # If unable to serialize execution testing, use just one parallel slot.
314 gcc_test_parallel_slots := $(if $(FLOCK),$(if $(GCC_TEST_PARALLEL_SLOTS),$(GCC_TEST_PARALLEL_SLOTS),19),1)
315 check_p_subdirs = $(wordlist 1,$(gcc_test_parallel_slots),$(check_p_numbers))
316 check_DEJAGNU_libgomp_targets = $(addprefix check-DEJAGNUlibgomp,$(check_p_subdirs))
317 all: all-am
319 .SUFFIXES:
320 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
321 @for dep in $?; do \
322 case '$(am__configure_deps)' in \
323 *$$dep*) \
324 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
325 && { if test -f $@; then exit 0; else break; fi; }; \
326 exit 1;; \
327 esac; \
328 done; \
329 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign testsuite/Makefile'; \
330 $(am__cd) $(top_srcdir) && \
331 $(AUTOMAKE) --foreign testsuite/Makefile
332 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
333 @case '$?' in \
334 *config.status*) \
335 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
336 *) \
337 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
338 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
339 esac;
341 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
342 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
344 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
345 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
346 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
347 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
348 $(am__aclocal_m4_deps):
349 libgomp-test-support.pt.exp: $(top_builddir)/config.status $(srcdir)/libgomp-test-support.exp.in
350 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
351 libgomp-site-extra.exp: $(top_builddir)/config.status $(srcdir)/libgomp-site-extra.exp.in
352 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
354 mostlyclean-libtool:
355 -rm -f *.lo
357 clean-libtool:
358 -rm -rf .libs _libs
359 tags TAGS:
361 ctags CTAGS:
363 cscope cscopelist:
365 check-am: all-am
366 check: check-am
367 all-am: Makefile all-local
368 installdirs:
369 install: install-am
370 install-exec: install-exec-am
371 install-data: install-data-am
372 uninstall: uninstall-am
374 install-am: all-am
375 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
377 installcheck: installcheck-am
378 install-strip:
379 if test -z '$(STRIP)'; then \
380 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
381 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
382 install; \
383 else \
384 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
385 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
386 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
388 mostlyclean-generic:
390 clean-generic:
392 distclean-generic:
393 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
394 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
396 maintainer-clean-generic:
397 @echo "This command is intended for maintainers to use"
398 @echo "it deletes files that may require special tools to rebuild."
399 clean: clean-am
401 clean-am: clean-generic clean-libtool mostlyclean-am
403 distclean: distclean-am
404 -rm -f Makefile
405 dvi: dvi-am
407 dvi-am:
409 html: html-am
411 html-am:
413 info: info-am
415 info-am:
417 install-data-am:
419 install-dvi: install-dvi-am
421 install-dvi-am:
423 install-exec-am:
425 install-html: install-html-am
427 install-html-am:
429 install-info: install-info-am
431 install-info-am:
433 install-man:
435 install-pdf: install-pdf-am
437 install-pdf-am:
439 install-ps: install-ps-am
441 install-ps-am:
443 installcheck-am:
445 maintainer-clean: maintainer-clean-am
446 -rm -f Makefile
447 maintainer-clean-am: distclean-am maintainer-clean-generic
449 mostlyclean: mostlyclean-am
451 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
453 pdf: pdf-am
455 pdf-am:
457 ps: ps-am
459 ps-am:
461 uninstall-am:
463 .MAKE: install-am install-strip
465 .PHONY: all all-am all-local check check-am clean clean-generic \
466 clean-libtool cscopelist-am ctags-am distclean \
467 distclean-generic distclean-libtool dvi dvi-am html html-am \
468 info info-am install install-am install-data install-data-am \
469 install-dvi install-dvi-am install-exec install-exec-am \
470 install-html install-html-am install-info install-info-am \
471 install-man install-pdf install-pdf-am install-ps \
472 install-ps-am install-strip installcheck installcheck-am \
473 installdirs maintainer-clean maintainer-clean-generic \
474 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
475 ps ps-am tags-am uninstall uninstall-am
477 .PRECIOUS: Makefile
480 # Instead of directly in ../testsuite/libgomp-test-support.exp.in, the
481 # following variables have to be "routed through" this Makefile, for expansion
482 # of the several (Makefile) variables used therein.
483 libgomp-test-support.exp: libgomp-test-support.pt.exp Makefile
484 cp $< $@.tmp
485 echo >> $@.tmp \
486 'set offload_additional_options "$(offload_additional_options)"'
487 echo >> $@.tmp \
488 'set offload_additional_lib_paths "$(offload_additional_lib_paths)"'
489 mv $@.tmp $@
491 site.exp: Makefile $(EXTRA_DEJAGNU_SITE_CONFIG)
492 @echo 'Making a new site.exp file ...'
493 @echo '## these variables are automatically generated by make ##' >site.tmp
494 @echo '# Do not edit here. If you wish to override these values' >>site.tmp
495 @echo '# edit the last section' >>site.tmp
496 @echo 'set srcdir "$(srcdir)"' >>site.tmp
497 @echo "set objdir `pwd`" >>site.tmp
498 @echo 'set build_alias "$(build_alias)"' >>site.tmp
499 @echo 'set build_triplet $(build_triplet)' >>site.tmp
500 @echo 'set host_alias "$(host_alias)"' >>site.tmp
501 @echo 'set host_triplet $(host_triplet)' >>site.tmp
502 @echo 'set target_alias "$(target_alias)"' >>site.tmp
503 @echo 'set target_triplet $(target_triplet)' >>site.tmp
504 @list='$(EXTRA_DEJAGNU_SITE_CONFIG)'; for f in $$list; do \
505 echo "## Begin content included from file $$f. Do not modify. ##" \
506 && cat `test -f "$$f" || echo '$(srcdir)/'`$$f \
507 && echo "## End content included from file $$f. ##" \
508 || exit 1; \
509 done >> site.tmp
510 @echo "## End of auto-generated content; you can edit from here. ##" >> site.tmp
511 @if test -f site.exp; then \
512 sed -e '1,/^## End of auto-generated content.*##/d' site.exp >> site.tmp; \
514 @-rm -f site.bak
515 @test ! -f site.exp || mv site.exp site.bak
516 @mv site.tmp site.exp
518 %/site.exp: site.exp
519 -@test -d $* || mkdir $*
520 @srcdir=`cd $(srcdir); ${PWD_COMMAND}`;
521 @objdir=`${PWD_COMMAND}`/$*; \
522 sed -e "s|^set srcdir .*$$|set srcdir $$srcdir|" \
523 -e "s|^set objdir .*$$|set objdir $$objdir|" \
524 site.exp > $*/site.exp.tmp
525 @-rm -f $*/site.bak
526 @test ! -f $*/site.exp || mv $*/site.exp $*/site.bak
527 @mv $*/site.exp.tmp $*/site.exp
528 $(check_DEJAGNU_libgomp_targets): check-DEJAGNUlibgomp%: libgomp%/site.exp
530 check-DEJAGNU $(check_DEJAGNU_libgomp_targets): check-DEJAGNU%: site.exp
531 $(if $*,@)AR="$(AR)"; export AR; \
532 RANLIB="$(RANLIB)"; export RANLIB; \
533 if [ -z "$*" ] && [ -n "$(filter -j%, $(MFLAGS))" ]; then \
534 rm -rf libgomp-parallel || true; \
535 mkdir libgomp-parallel; \
536 $(MAKE) $(AM_MAKEFLAGS) $(check_DEJAGNU_libgomp_targets); \
537 rm -rf libgomp-parallel || true; \
538 for idx in $(check_p_subdirs); do \
539 if [ -d libgomp$$idx ]; then \
540 mv -f libgomp$$idx/libgomp.sum libgomp$$idx/libgomp.sum.sep; \
541 mv -f libgomp$$idx/libgomp.log libgomp$$idx/libgomp.log.sep; \
542 fi; \
543 done; \
544 $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh \
545 libgomp[0-9]*/libgomp.sum.sep > libgomp.sum; \
546 $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh -L \
547 libgomp[0-9]*/libgomp.log.sep > libgomp.log; \
548 exit 0; \
549 fi; \
550 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
551 EXPECT=$(EXPECT); export EXPECT; \
552 runtest=$(_RUNTEST); \
553 if [ -z "$$runtest" ]; then runtest=runtest; fi; \
554 tool=libgomp; \
555 if [ -n "$*" ]; then \
556 if [ -f libgomp-parallel/finished ]; then rm -rf "$*"; exit 0; fi; \
557 GCC_RUNTEST_PARALLELIZE_DIR=`${PWD_COMMAND}`/libgomp-parallel; \
558 export GCC_RUNTEST_PARALLELIZE_DIR; \
559 cd "$*"; \
560 fi; \
561 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
562 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
563 $(RUNTESTFLAGS); \
564 if [ -n "$*" ]; then \
565 touch $$GCC_RUNTEST_PARALLELIZE_DIR/finished; \
566 fi; \
567 else \
568 echo "WARNING: could not find \`runtest'" 1>&2; :;\
571 distclean-DEJAGNU:
572 -rm -f site.exp site.bak
573 -l='$(PACKAGE)'; for tool in $$l; do \
574 rm -f $$tool.sum $$tool.log; \
575 done
576 distclean-am: distclean-DEJAGNU
577 check-am:
578 @if test -n "$(filter -j%, $(MFLAGS))"; then \
579 num_cpus=@CPU_COUNT@; \
580 if type -p getconf 2>/dev/null >/dev/null; then \
581 num_cpus=`getconf _NPROCESSORS_ONLN 2>/dev/null`; \
582 case "$$num_cpus" in \
583 '' | 0* | *[!0-9]*) num_cpus=@CPU_COUNT@;; \
584 esac; \
585 fi; \
586 if test $$num_cpus -gt 8 && test -z "$$OMP_NUM_THREADS"; then \
587 OMP_NUM_THREADS=8; export OMP_NUM_THREADS; \
588 echo @@@ libgomp OMP_NUM_THREADS adjusted to 8 because of parallel make check and too many CPUs; \
589 fi; \
590 fi; \
591 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
592 all-local: libgomp-test-support.exp
594 .PHONY: check-DEJAGNU distclean-DEJAGNU
596 # Tell versions [3.59,3.63) of GNU make to not export all variables.
597 # Otherwise a system limit (for SysV at least) may be exceeded.
598 .NOEXPORT: