comparison libgomp/testsuite/Makefile.am @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents a06113de4d67
children 1830386684a0
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 ## Process this file with automake to produce Makefile.in. 1 ## Process this file with automake to produce Makefile.in.
2 2
3 AUTOMAKE_OPTIONS = foreign dejagnu 3 AUTOMAKE_OPTIONS = foreign dejagnu
4 4
5 # May be used by various substitution variables. 5 # May be used by various substitution variables.
6 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) 6 gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
7 7
8 EXPECT = $(shell if test -f $(top_builddir)/../expect/expect; then \ 8 EXPECT = $(shell if test -f $(top_builddir)/../expect/expect; then \
9 echo $(top_builddir)/../expect/expect; else echo expect; fi) 9 echo $(top_builddir)/../expect/expect; else echo expect; fi)
10 10
11 _RUNTEST = $(shell if test -f $(top_srcdir)/../dejagnu/runtest; then \ 11 _RUNTEST = $(shell if test -f $(top_srcdir)/../dejagnu/runtest; then \
12 echo $(top_srcdir)/../dejagnu/runtest; else echo runtest; fi) 12 echo $(top_srcdir)/../dejagnu/runtest; else echo runtest; fi)
13 RUNTEST = "$(_RUNTEST) $(AM_RUNTESTFLAGS)" 13 RUNTEST = "$(_RUNTEST) $(AM_RUNTESTFLAGS)"
14
15
16 # Instead of directly in ../testsuite/libgomp-test-support.exp.in, the
17 # following variables have to be "routed through" this Makefile, for expansion
18 # of the several (Makefile) variables used therein.
19 libgomp-test-support.exp: libgomp-test-support.pt.exp Makefile
20 cp $< $@.tmp
21 echo >> $@.tmp \
22 'set offload_additional_options "$(offload_additional_options)"'
23 echo >> $@.tmp \
24 'set offload_additional_lib_paths "$(offload_additional_lib_paths)"'
25 mv $@.tmp $@
26
27 all-local: libgomp-test-support.exp