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
commit3e6bf9ad0a5bd5f396117a2e3dd6394488fae763 (patch)
treea99f8f3a5d563dcb6727f8e8099bd6a0c82d26b0
parentf300a8240d7dd6f61fef586348275c36d94fb50b (diff)
downloadexternal_llvm-3e6bf9ad0a5bd5f396117a2e3dd6394488fae763.zip
external_llvm-3e6bf9ad0a5bd5f396117a2e3dd6394488fae763.tar.gz
external_llvm-3e6bf9ad0a5bd5f396117a2e3dd6394488fae763.tar.bz2
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 ca7b802..33dcbda 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)