aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-11-13 00:05:09 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-11-13 00:05:09 +0000
commitbede635646c4008f5adf3a18d628a2e858df09a6 (patch)
tree177e17633fb8165f0736fbbd706878e66dfa54aa /lib/Target
parent9a92729581c85891ae86d28281bdec7b5e4a702d (diff)
downloadexternal_llvm-bede635646c4008f5adf3a18d628a2e858df09a6.zip
external_llvm-bede635646c4008f5adf3a18d628a2e858df09a6.tar.gz
external_llvm-bede635646c4008f5adf3a18d628a2e858df09a6.tar.bz2
Force a dependency on the .inc file, which must be generated!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9949 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/SparcV9/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/Makefile b/lib/Target/SparcV9/Makefile
index 4046fc9..ab923a0 100644
--- a/lib/Target/SparcV9/Makefile
+++ b/lib/Target/SparcV9/Makefile
@@ -45,6 +45,9 @@ TARGET_NAME := SparcV9
TABLEGEN_FILES := $(notdir $(wildcard $(SourceDir)/*.td))
+# Make sure that tblgen is run, first thing.
+$(SourceDepend): $(TARGET_NAME)CodeEmitter.inc
+
$(TARGET_NAME)CodeEmitter.cpp:: $(TARGET_NAME)CodeEmitter.inc
$(TARGET_NAME)CodeEmitter.inc:: $(SourceDir)/$(TARGET_NAME).td $(TABLEGEN_FILES) $(TBLGEN)