summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-25 04:46:58 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-25 04:46:58 +0000
commitf87ea4dd9ac9816131ee52ee6393c7b4012f2e68 (patch)
tree26716b9aac7cd72088d592c94353fff0da1a0664 /Makefile.rules
parent4fc760ecb9b5738111b00c5b798188c721a1e269 (diff)
downloadllvm-f87ea4dd9ac9816131ee52ee6393c7b4012f2e68.tar.gz
llvm-f87ea4dd9ac9816131ee52ee6393c7b4012f2e68.tar.bz2
llvm-f87ea4dd9ac9816131ee52ee6393c7b4012f2e68.tar.xz
Add the rest of the build system logic for optional target disassemblers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index d9b210841e..49ecb1e2d8 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1565,6 +1565,11 @@ $(ObjDir)/%GenDAGISel.inc.tmp : %.td $(ObjDir)/.dir
$(Echo) "Building $(<F) DAG instruction selector implementation with tblgen"
$(Verb) $(TableGen) -gen-dag-isel -o $(call SYSPATH, $@) $<
+$(TARGET:%=$(ObjDir)/%GenDisassemblerTables.inc.tmp): \
+$(ObjDir)/%GenDisassemblerTables.inc.tmp : %.td $(ObjDir)/.dir
+ $(Echo) "Building $(<F) disassembly tables with tblgen"
+ $(Verb) $(TableGen) -gen-disassembler -o $(call SYSPATH, $@) $<
+
$(TARGET:%=$(ObjDir)/%GenFastISel.inc.tmp): \
$(ObjDir)/%GenFastISel.inc.tmp : %.td $(ObjDir)/.dir
$(Echo) "Building $(<F) \"fast\" instruction selector implementation with tblgen"