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

John Criswell criswell at cs.uiuc.edu
Tue Sep 9 15:58:12 PDT 2003


Changes in directory llvm/lib/Target/X86:

Makefile updated: 1.10 -> 1.11

---
Log message:

Updated to find source files using VPATH.  This makes writing build rules
much cleaner and easier.
Labeled .td as a suffix for tblgen files in Makefile.rules.
Modified build rules so that source files generated during the build are placed
in the build directory and not the source directory (and not in a Debug
directory).  This makes the system cleaner and allows us to have a read-only
source tree.



---
Diffs of the changes:

Index: llvm/lib/Target/X86/Makefile
diff -u llvm/lib/Target/X86/Makefile:1.10 llvm/lib/Target/X86/Makefile:1.11
--- llvm/lib/Target/X86/Makefile:1.10	Sat Sep  6 09:50:22 2003
+++ llvm/lib/Target/X86/Makefile	Tue Sep  9 15:57:00 2003
@@ -8,21 +8,27 @@
                  X86GenInstrInfo.inc X86GenInstrSelector.inc
 
 X86GenRegisterNames.inc::  X86.td X86RegisterInfo.td ../Target.td $(TBLGEN)
+	@echo "Tblgen'ing $<"
 	$(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-register-enums -o $@
 
 X86GenRegisterInfo.h.inc:: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN)
+	@echo "Tblgen'ing $<"
 	$(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-register-desc-header -o $@
 
 X86GenRegisterInfo.inc:: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN)
+	@echo "Tblgen'ing $<"
 	$(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-register-desc -o $@
 
 X86GenInstrNames.inc:: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
+	@echo "Tblgen'ing $<"
 	$(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-instr-enums -o $@
 
 X86GenInstrInfo.inc:: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
+	@echo "Tblgen'ing $<"
 	$(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-instr-desc -o $@
 
 X86GenInstrSelector.inc:: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
+	@echo "Tblgen'ing $<"
 	$(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-instr-selector -o $@
 
 clean::





More information about the llvm-commits mailing list