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

Chris Lattner lattner at cs.uiuc.edu
Mon Aug 4 00:00:11 PDT 2003


Changes in directory llvm/lib/Target/X86:

Makefile updated: 1.2 -> 1.3

---
Log message:

Start using tablegenerated instruction descriptions


---
Diffs of the changes:

Index: llvm/lib/Target/X86/Makefile
diff -u llvm/lib/Target/X86/Makefile:1.2 llvm/lib/Target/X86/Makefile:1.3
--- llvm/lib/Target/X86/Makefile:1.2	Sun Aug  3 10:48:14 2003
+++ llvm/lib/Target/X86/Makefile	Sun Aug  3 16:54:59 2003
@@ -2,19 +2,25 @@
 LIBRARYNAME = x86
 include $(LEVEL)/Makefile.common
 
-
-
 # Make sure that tblgen is run, first thing.
-$(SourceDepend): X86GenRegisterInfo.h.inc X86GenRegisterNames.inc X86GenRegisterInfo.inc
+$(SourceDepend): X86GenRegisterInfo.h.inc X86GenRegisterNames.inc \
+                 X86GenRegisterInfo.inc X86GenInstrNames.inc \
+                 X86GenInstrInfo.inc
 
-X86GenRegisterNames.inc:  $(wildcard *.td) $(TBLGEN)
+X86GenRegisterNames.inc:  X86.td X86RegisterInfo.td $(TBLGEN)
 	$(TBLGEN) X86.td -gen-register-enums -o $@
 
-X86GenRegisterInfo.h.inc: $(wildcard *.td) $(TBLGEN)
+X86GenRegisterInfo.h.inc: X86.td X86RegisterInfo.td $(TBLGEN)
 	$(TBLGEN) X86.td -gen-register-desc-header -o $@
 
-X86GenRegisterInfo.inc: $(wildcard *.td) $(TBLGEN)
+X86GenRegisterInfo.inc: X86.td X86RegisterInfo.td $(TBLGEN)
 	$(TBLGEN) X86.td -gen-register-desc -o $@
+
+X86GenInstrNames.inc: X86.td X86InstrInfo.td $(TBLGEN)
+	$(TBLGEN) X86.td -gen-instr-enums -o $@
+
+X86GenInstrInfo.inc: X86.td X86InstrInfo.td $(TBLGEN)
+	$(TBLGEN) X86.td -gen-instr-desc -o $@
 
 clean::
 	$(VERB) rm -f *.inc





More information about the llvm-commits mailing list