diff options
author | Nate Begeman <natebegeman@mac.com> | 2004-08-14 22:06:38 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2004-08-14 22:06:38 +0000 |
commit | 8536df7dbe1a7e81210e81a155d0c47566cc5d11 (patch) | |
tree | bacf8ba206edc144d94583f74fe23170c918bd25 /llvm/lib | |
parent | a4da0d6294926cc3899c4268c7c498029a08830c (diff) | |
download | bcm5719-llvm-8536df7dbe1a7e81210e81a155d0c47566cc5d11.tar.gz bcm5719-llvm-8536df7dbe1a7e81210e81a155d0c47566cc5d11.zip |
Add generation of asm writer from tablegen files to Makefile
llvm-svn: 15740
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/PowerPC/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/Makefile b/llvm/lib/Target/PowerPC/Makefile index 5bc1fcec0c4..f210964b8cb 100644 --- a/llvm/lib/Target/PowerPC/Makefile +++ b/llvm/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 |