aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/Makefile
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2004-08-14 22:06:38 +0000
committerNate Begeman <natebegeman@mac.com>2004-08-14 22:06:38 +0000
commit14d89d68101e603ff570b9fdbe83a98cf4ee85fc (patch)
treeff0fcb88ae7d69fd16495cc76bc578408dfa9aa1 /lib/Target/PowerPC/Makefile
parentf8be5e94aaf70d53dc043f5e541fc0bf6771db22 (diff)
Add generation of asm writer from tablegen files to Makefile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/Makefile')
-rw-r--r--lib/Target/PowerPC/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/Makefile b/lib/Target/PowerPC/Makefile
index 5bc1fcec0c..f210964b8c 100644
--- a/lib/Target/PowerPC/Makefile
+++ b/lib/Target/PowerPC/Makefile
@@ -15,7 +15,8 @@ TARGET = PowerPC
# Make sure that tblgen is run, first thing.
$(SourceDepend): PowerPCGenRegisterInfo.h.inc PowerPCGenRegisterNames.inc \
PowerPCGenRegisterInfo.inc PowerPCGenInstrNames.inc \
- PowerPCGenInstrInfo.inc PowerPCGenCodeEmitter.inc
+ PowerPCGenInstrInfo.inc PowerPCGenCodeEmitter.inc \
+ PowerPCGenAsmWriter.inc
TDFILES = $(SourceDir)/$(TARGET).td $(wildcard $(SourceDir)/*.td) \
$(SourceDir)/../Target.td
@@ -44,5 +45,9 @@ $(TARGET)GenCodeEmitter.inc:: $(TDFILES) $(TBLGEN)
@echo "Building $(TARGET).td code emitter"
$(VERB) $(TBLGEN) -I $(SourceDir) $< -gen-emitter -o $@
+$(TARGET)GenAsmWriter.inc:: $(TDFILES) $(TBLGEN)
+ @echo "Building $(TARGET).td assembly writer with tblgen"
+ $(VERB) $(TBLGEN) -I $(SourceDir) $< -gen-asm-writer -o $@
+
clean::
$(VERB) rm -f *.inc