[llvm-commits] CVS: llvm/Makefile.rules
Reid Spencer
reid at x10sys.com
Tue Oct 26 21:34:57 PDT 2004
Changes in directory llvm:
Makefile.rules updated: 1.216 -> 1.217
---
Log message:
Get the *.inc files to depend on tblgen so if tblgen gets fixed, all the
*.inc files get regenerated.
---
Diffs of the changes: (+4 -3)
Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.216 llvm/Makefile.rules:1.217
--- llvm/Makefile.rules:1.216 Tue Oct 26 18:10:00 2004
+++ llvm/Makefile.rules Tue Oct 26 23:34:35 2004
@@ -732,14 +732,15 @@
ifdef TARGET
TDFILES := $(strip $(wildcard $(BUILD_SRC_DIR)/*.td) $(LLVM_SRC_ROOT)/lib/Target/Target.td)
+INCFILES := $(filter %.inc,$(BUILT_SOURCES))
-$(BUILT_SOURCES): $(TDFILES)
+$(INCFILES) : $(TBLGEN) $(TDFILES)
-%GenRegisterNames.inc : %.td
+%GenRegisterNames.inc : %.td
@echo "Building $(<F) register names with tblgen"
$(VERB) $(TableGen) -gen-register-enums -o $@ $<
-%GenRegisterInfo.h.inc : %.td
+%GenRegisterInfo.h.inc : %.td
@echo "Building $(<F) register information header with tblgen"
$(VERB) $(TableGen) -gen-register-desc-header -o $@ $<
More information about the llvm-commits
mailing list