aboutsummaryrefslogtreecommitdiffstats
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
commitd262856c12f952f5c258f8b33c09009e09f0153f (patch)
tree26716b9aac7cd72088d592c94353fff0da1a0664 /Makefile.rules
parent0e18f26816cf75f2f3173ed51f44b708762414a4 (diff)
downloadexternal_llvm-d262856c12f952f5c258f8b33c09009e09f0153f.zip
external_llvm-d262856c12f952f5c258f8b33c09009e09f0153f.tar.gz
external_llvm-d262856c12f952f5c258f8b33c09009e09f0153f.tar.bz2
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 d9b2108..49ecb1e 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"