summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/Makefile
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-08-09 17:24:32 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-08-09 17:24:32 +0000
commitf588548a867e3af493054396409020e826a3076e (patch)
tree172ac024e06bd097f78a3def7a70b7cedfbd3883 /lib/Target/PowerPC/Makefile
parent4ad7d1bee7405d1eb323e71671026ec7d8cd7405 (diff)
downloadllvm-f588548a867e3af493054396409020e826a3076e.tar.gz
llvm-f588548a867e3af493054396409020e826a3076e.tar.bz2
llvm-f588548a867e3af493054396409020e826a3076e.tar.xz
Generate a code emitter for PowerPC as well, this will be used in the JIT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15578 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/Makefile')
-rw-r--r--lib/Target/PowerPC/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/Makefile b/lib/Target/PowerPC/Makefile
index 3dfcda889d..5bc1fcec0c 100644
--- a/lib/Target/PowerPC/Makefile
+++ b/lib/Target/PowerPC/Makefile
@@ -15,7 +15,7 @@ TARGET = PowerPC
# Make sure that tblgen is run, first thing.
$(SourceDepend): PowerPCGenRegisterInfo.h.inc PowerPCGenRegisterNames.inc \
PowerPCGenRegisterInfo.inc PowerPCGenInstrNames.inc \
- PowerPCGenInstrInfo.inc
+ PowerPCGenInstrInfo.inc PowerPCGenCodeEmitter.inc
TDFILES = $(SourceDir)/$(TARGET).td $(wildcard $(SourceDir)/*.td) \
$(SourceDir)/../Target.td
@@ -40,5 +40,9 @@ $(TARGET)GenInstrInfo.inc:: $(TDFILES) $(TBLGEN)
@echo "Building $(TARGET).td instruction information with tblgen"
$(VERB) $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-instr-desc -o $@
+$(TARGET)GenCodeEmitter.inc:: $(TDFILES) $(TBLGEN)
+ @echo "Building $(TARGET).td code emitter"
+ $(VERB) $(TBLGEN) -I $(SourceDir) $< -gen-emitter -o $@
+
clean::
$(VERB) rm -f *.inc