Multiple build directories fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
383f223334
commit
5afe8316ab
1 changed files with 4 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ SWIG_CXX_DEFS = -DSWIG_LIB=\"$(swig_lib)\" \
|
||||||
-DRELEASE_SUFFIX=\"$(release_suffix)\" @SWILL@
|
-DRELEASE_SUFFIX=\"$(release_suffix)\" @SWILL@
|
||||||
|
|
||||||
AM_CFLAGS = -I$(BUILD_SOURCE_DIR)/Include \
|
AM_CFLAGS = -I$(BUILD_SOURCE_DIR)/Include \
|
||||||
|
-I$(BUILD_SOURCE_DIR)/CParse \
|
||||||
-I$(SOURCE_DIR)/Include \
|
-I$(SOURCE_DIR)/Include \
|
||||||
-I$(SOURCE_DIR)/DOH \
|
-I$(SOURCE_DIR)/DOH \
|
||||||
-I$(SOURCE_DIR)/CParse \
|
-I$(SOURCE_DIR)/CParse \
|
||||||
|
|
@ -88,6 +89,9 @@ eswig_SOURCES = CParse/cscanner.c \
|
||||||
bin_PROGRAMS = eswig
|
bin_PROGRAMS = eswig
|
||||||
eswig_LDADD = @SWIGLIBS@
|
eswig_LDADD = @SWIGLIBS@
|
||||||
|
|
||||||
|
# Override the link stage to avoid using Libtool
|
||||||
|
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
|
||||||
# The executable is copied to the root directory for installation and running the test-suite.
|
# The executable is copied to the root directory for installation and running the test-suite.
|
||||||
# This occurs on each invocation of make and is a step towards providing support for multiple
|
# This occurs on each invocation of make and is a step towards providing support for multiple
|
||||||
# build directories.
|
# build directories.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue