Slight simplification of test-suite build for new out-of-source changes
Provide default SRCDIR and SCRIPTDIR variables in common.mk and override only where needed.
This commit is contained in:
parent
f574a34155
commit
2b5499a262
25 changed files with 9 additions and 134 deletions
|
|
@ -9,7 +9,6 @@ GO1 = @GO1@
|
|||
GO12 = @GO12@
|
||||
GO13 = @GO13@
|
||||
GOC = @GOC@
|
||||
SCRIPTDIR = $(srcdir)
|
||||
SCRIPTSUFFIX = _runme.go
|
||||
|
||||
GOCOMPILEARG = `if $(GOGCC) ; then echo -c -g; elif $(GO1) ; then echo tool $(GOC:c=g) ; fi`
|
||||
|
|
@ -24,11 +23,6 @@ SO = @SO@
|
|||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
top_builddir = @top_builddir@
|
||||
ifeq (.,$(srcdir))
|
||||
SRCDIR =
|
||||
else
|
||||
SRCDIR = $(srcdir)/
|
||||
endif
|
||||
|
||||
include $(srcdir)/../common.mk
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue