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
|
|
@ -3,7 +3,6 @@
|
|||
#######################################################################
|
||||
|
||||
LANGUAGE = csharp
|
||||
SCRIPTDIR = $(srcdir)
|
||||
SCRIPTSUFFIX = _runme.cs
|
||||
CSHARPCILINTERPRETER = @CSHARPCILINTERPRETER@
|
||||
CSHARPCILINTERPRETER_FLAGS = @CSHARPCILINTERPRETER_FLAGS@
|
||||
|
|
@ -13,11 +12,6 @@ CSHARPCYGPATH_W = @CSHARPCYGPATH_W@
|
|||
srcdir = @srcdir@
|
||||
top_srcdir = ../@top_srcdir@
|
||||
top_builddir = ../@top_builddir@
|
||||
ifeq (.,$(srcdir))
|
||||
SRCDIR = ../
|
||||
else
|
||||
SRCDIR = ../$(srcdir)/
|
||||
endif
|
||||
|
||||
CPP_TEST_CASES = \
|
||||
csharp_attributes \
|
||||
|
|
@ -37,6 +31,7 @@ CPP_TEST_CASES = \
|
|||
include $(srcdir)/../common.mk
|
||||
|
||||
# Overridden variables here
|
||||
SRCDIR = ../$(srcdir)/
|
||||
SWIGOPT += -namespace $*Namespace
|
||||
|
||||
CSHARPFLAGSSPECIAL =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue