[llvm-commits] CVS: llvm/lib/Target/PowerPC/Makefile

Misha Brukman brukman at cs.uiuc.edu
Mon Aug 9 10:24:42 PDT 2004



Changes in directory llvm/lib/Target/PowerPC:

Makefile updated: 1.8 -> 1.9
---
Log message:

Generate a code emitter for PowerPC as well, this will be used in the JIT.


---
Diffs of the changes:  (+5 -1)

Index: llvm/lib/Target/PowerPC/Makefile
diff -u llvm/lib/Target/PowerPC/Makefile:1.8 llvm/lib/Target/PowerPC/Makefile:1.9
--- llvm/lib/Target/PowerPC/Makefile:1.8	Thu Aug  5 13:34:15 2004
+++ llvm/lib/Target/PowerPC/Makefile	Mon Aug  9 12:24:32 2004
@@ -15,7 +15,7 @@
 # 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 @@
 	@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






More information about the llvm-commits mailing list