aboutsummaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-03 01:54:54 +0000
committerChris Lattner <sabre@nondot.org>2006-03-03 01:54:54 +0000
commitcb3fc53cbef6e6ec08d22219b452610007658553 (patch)
treec3a2d01e1e377f8809d40f0d7e8400925373a56f /Makefile.rules
parentc1323faa740e10758742418a3dc88314f5d3eb07 (diff)
pass -Illvm/include to tblgen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index aadcf5ed58..358c38c1ec 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -378,7 +378,7 @@ LTInstall = $(LIBTOOL) $(LibTool.Flags) --mode=install $(INSTALL) \
ProgInstall = $(INSTALL) $(Install.StripFlag) -m 0755
DataInstall = $(INSTALL) -m 0644
Burg = $(BURG) -I $(PROJ_SRC_DIR)
-TableGen = $(TBLGEN) -I $(PROJ_SRC_DIR)
+TableGen = $(TBLGEN) -I $(PROJ_SRC_DIR) -I$(PROJ_SRC_ROOT)/include
Archive = $(AR) $(AR.Flags)
LArchive = $(LLVMToolDir)/llvm-ar rcsf
ifdef RANLIB
@@ -1120,7 +1120,8 @@ ifdef TARGET
TDFiles := $(strip $(wildcard $(PROJ_SRC_DIR)/*.td) \
$(LLVM_SRC_ROOT)/lib/Target/Target.td \
- $(LLVM_SRC_ROOT)/lib/Target/TargetSelectionDAG.td)
+ $(LLVM_SRC_ROOT)/lib/Target/TargetSelectionDAG.td \
+ $(LLVM_SRC_ROOT)/include/llvm/CodeGen/ValueTypes.td)
INCFiles := $(filter %.inc,$(BUILT_SOURCES))
INCTMPFiles := $(INCFiles:%=$(ObjDir)/%.tmp)
.PRECIOUS: $(INCTMPFiles) $(INCFiles)