aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-01-09 16:31:01 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-01-09 16:31:01 +0000
commitafa2259e36960b01f9861aec031fafaf63e1fdf2 (patch)
treea99f8f3a5d563dcb6727f8e8099bd6a0c82d26b0
parentf8c430b3da9a9f6ebd9fc070bf409435d65bb4f2 (diff)
downloadexternal_llvm-afa2259e36960b01f9861aec031fafaf63e1fdf2.tar.gz
external_llvm-afa2259e36960b01f9861aec031fafaf63e1fdf2.tar.bz2
external_llvm-afa2259e36960b01f9861aec031fafaf63e1fdf2.zip
Support llvmc plugins in out-of-tree projects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61990 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index ca7b802983..33dcbda7ef 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -517,6 +517,7 @@ DataInstall = $(INSTALL) -m 0644
# paths. In this case, the SYSPATH function (defined in
# Makefile.config) transforms Unix paths into Windows paths.
TableGen = $(TBLGEN) -I $(call SYSPATH, $(PROJ_SRC_DIR)) \
+ -I $(call SYSPATH, $(LLVM_SRC_ROOT)/include) \
-I $(call SYSPATH, $(PROJ_SRC_ROOT)/include) \
-I $(call SYSPATH, $(PROJ_SRC_ROOT)/lib/Target)