From: Vladimir Prus Date: Tue, 16 May 2006 06:39:36 +0000 (+0000) Subject: Replace "../whatever.td" with "whatever.td", so that out-of-tree backends X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e438c2a466d2749fbf33ba7d2a32e345bcc51d03;p=oota-llvm.git 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 --- 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"