From e438c2a466d2749fbf33ba7d2a32e345bcc51d03 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Tue, 16 May 2006 06:39:36 +0000 Subject: [PATCH] Replace "../whatever.td" with "whatever.td", so that out-of-tree backends can just add lib/Target to TableGen includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28318 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.rules | 3 ++- lib/Target/Target.td | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.rules b/Makefile.rules index 203bccf763a..51826d527f6 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -404,7 +404,8 @@ LTInstall = $(LIBTOOL) $(LibTool.Flags) --mode=install $(INSTALL) \ ProgInstall = $(INSTALL) $(Install.StripFlag) -m 0755 ScriptInstall = $(INSTALL) -m 0755 DataInstall = $(INSTALL) -m 0644 -TableGen = $(TBLGEN) -I $(PROJ_SRC_DIR) -I$(PROJ_SRC_ROOT)/include +TableGen = $(TBLGEN) -I $(PROJ_SRC_DIR) -I$(PROJ_SRC_ROOT)/include \ + -I $(PROJ_SRC_ROOT)/lib/Target Archive = $(AR) $(AR.Flags) LArchive = $(LLVMToolDir)/llvm-ar rcsf ifdef RANLIB diff --git a/lib/Target/Target.td b/lib/Target/Target.td index 57046b826ee..8fbc58e223c 100644 --- a/lib/Target/Target.td +++ b/lib/Target/Target.td @@ -118,7 +118,7 @@ class DwarfRegNum { //===----------------------------------------------------------------------===// // Pull in the common support for scheduling // -include "../TargetSchedule.td" +include "TargetSchedule.td" class Predicate; // Forward def @@ -327,4 +327,4 @@ class Processor f> { //===----------------------------------------------------------------------===// // Pull in the common support for DAG isel generation // -include "../TargetSelectionDAG.td" +include "TargetSelectionDAG.td" -- 2.34.1