Support llvmc plugins in out-of-tree projects.
authorMikhail Glushenkov <foldr@codedgers.com>
Fri, 9 Jan 2009 16:31:01 +0000 (16:31 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Fri, 9 Jan 2009 16:31:01 +0000 (16:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61990 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index ca7b80298379710722b9b0c0d466d3a65e68d445..33dcbda7ef3bb1f679f4e4046693868958f29efa 100644 (file)
@@ -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)