Fix when configuring in a directory other than the root directory. Multiple build directories for building the executable now possible.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d3ff2f9744
commit
bd04d4cfb0
1 changed files with 5 additions and 2 deletions
|
|
@ -4,19 +4,22 @@
|
||||||
AUTOMAKE_OPTIONS = foreign nostdinc subdir-objects 1.7.2
|
AUTOMAKE_OPTIONS = foreign nostdinc subdir-objects 1.7.2
|
||||||
|
|
||||||
SOURCE_DIR=$(top_srcdir)/Source
|
SOURCE_DIR=$(top_srcdir)/Source
|
||||||
|
BUILD_SOURCE_DIR=$(top_builddir)/Source
|
||||||
|
|
||||||
SWIG_CXX_DEFS = -DSWIG_LIB=\"$(swig_lib)\" \
|
SWIG_CXX_DEFS = -DSWIG_LIB=\"$(swig_lib)\" \
|
||||||
-DLIBDIR=\"$(libdir)\" \
|
-DLIBDIR=\"$(libdir)\" \
|
||||||
-DRELEASE_SUFFIX=\"$(release_suffix)\" @SWILL@
|
-DRELEASE_SUFFIX=\"$(release_suffix)\" @SWILL@
|
||||||
|
|
||||||
AM_CFLAGS = -I$(SOURCE_DIR)/Include \
|
AM_CFLAGS = -I$(BUILD_SOURCE_DIR)/Include \
|
||||||
|
-I$(SOURCE_DIR)/Include \
|
||||||
-I$(SOURCE_DIR)/DOH \
|
-I$(SOURCE_DIR)/DOH \
|
||||||
-I$(SOURCE_DIR)/CParse \
|
-I$(SOURCE_DIR)/CParse \
|
||||||
-I$(SOURCE_DIR)/Preprocessor \
|
-I$(SOURCE_DIR)/Preprocessor \
|
||||||
-I$(SOURCE_DIR)/Swig \
|
-I$(SOURCE_DIR)/Swig \
|
||||||
-I$(SOURCE_DIR)/Modules
|
-I$(SOURCE_DIR)/Modules
|
||||||
|
|
||||||
AM_CXXFLAGS = -I$(SOURCE_DIR)/Include \
|
AM_CXXFLAGS = -I$(BUILD_SOURCE_DIR)/Include \
|
||||||
|
-I$(SOURCE_DIR)/Include \
|
||||||
-I$(SOURCE_DIR)/DOH \
|
-I$(SOURCE_DIR)/DOH \
|
||||||
-I$(SOURCE_DIR)/Preprocessor \
|
-I$(SOURCE_DIR)/Preprocessor \
|
||||||
-I$(SOURCE_DIR)/Swig \
|
-I$(SOURCE_DIR)/Swig \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue