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/SWIG@4646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-04-01 11:26:17 +00:00
commit 10d2f46a7f

View file

@ -4,19 +4,22 @@
AUTOMAKE_OPTIONS = foreign nostdinc subdir-objects 1.7.2
SOURCE_DIR=$(top_srcdir)/Source
BUILD_SOURCE_DIR=$(top_builddir)/Source
SWIG_CXX_DEFS = -DSWIG_LIB=\"$(swig_lib)\" \
-DLIBDIR=\"$(libdir)\" \
-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)/CParse \
-I$(SOURCE_DIR)/Preprocessor \
-I$(SOURCE_DIR)/Swig \
-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)/Preprocessor \
-I$(SOURCE_DIR)/Swig \