diff options
author | John Criswell <criswell@uiuc.edu> | 2003-09-09 20:57:03 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-09-09 20:57:03 +0000 |
commit | 410d1b5dea31e457c5c5b88e019874789c251aee (patch) | |
tree | 5cf37d7f35474a191ff9da815e9b8a5e30fed605 /lib/Target/X86/Makefile | |
parent | d9cd14440d6e44001d1280e75236b6a9d2247419 (diff) | |
download | llvm-410d1b5dea31e457c5c5b88e019874789c251aee.tar.gz llvm-410d1b5dea31e457c5c5b88e019874789c251aee.tar.bz2 llvm-410d1b5dea31e457c5c5b88e019874789c251aee.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8424 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/Makefile')
-rw-r--r-- | lib/Target/X86/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/X86/Makefile b/lib/Target/X86/Makefile index 84d2e6d6a1..84f168a937 100644 --- a/lib/Target/X86/Makefile +++ b/lib/Target/X86/Makefile @@ -8,21 +8,27 @@ $(SourceDepend): X86GenRegisterInfo.h.inc X86GenRegisterNames.inc \ 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:: |