Replace "../whatever.td" with "whatever.td", so that out-of-tree backends
authorVladimir Prus <ghost@cs.msu.su>
Tue, 16 May 2006 06:39:36 +0000 (06:39 +0000)
committerVladimir Prus <ghost@cs.msu.su>
Tue, 16 May 2006 06:39:36 +0000 (06:39 +0000)
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
lib/Target/Target.td

index 203bccf763ad3bc0463bf80f7327ef0e0a6d0eeb..51826d527f62a2f41aa713883ca348d420673406 100644 (file)
@@ -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
index 57046b826ee9d7b7ea7a0e2ae651cb2e9353d0f0..8fbc58e223c55fe1ba9ffadaaba052c2685ea221 100644 (file)
@@ -118,7 +118,7 @@ class DwarfRegNum<int N> {
 //===----------------------------------------------------------------------===//
 // Pull in the common support for scheduling
 //
-include "../TargetSchedule.td"
+include "TargetSchedule.td"
 
 class Predicate; // Forward def
 
@@ -327,4 +327,4 @@ class Processor<string n, ProcessorItineraries pi, list<SubtargetFeature> f> {
 //===----------------------------------------------------------------------===//
 // Pull in the common support for DAG isel generation
 //
-include "../TargetSelectionDAG.td"
+include "TargetSelectionDAG.td"