3 include $(LEVEL)/Makefile.common
5 # Make sure that tblgen is run, first thing.
6 $(SourceDepend): X86GenRegisterInfo.h.inc X86GenRegisterNames.inc \
7 X86GenRegisterInfo.inc X86GenInstrNames.inc \
8 X86GenInstrInfo.inc X86GenInstrSelector.inc
10 X86GenRegisterNames.inc:: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN)
11 @echo "Building $< register names with tblgen"
12 $(VERB) $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-register-enums -o $@
14 X86GenRegisterInfo.h.inc:: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN)
15 @echo "Building $< register information header with tblgen"
16 $(VERB) $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-register-desc-header -o $@
18 X86GenRegisterInfo.inc:: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN)
19 @echo "Building $< register information implementation with tblgen"
20 $(VERB) $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-register-desc -o $@
22 X86GenInstrNames.inc:: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
23 @echo "Building $< instruction names with tblgen"
24 $(VERB) $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-instr-enums -o $@
26 X86GenInstrInfo.inc:: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
27 @echo "Building $< instruction information with tblgen"
28 $(VERB) $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-instr-desc -o $@
30 X86GenInstrSelector.inc:: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
31 @echo "Building $< instruction selector with tblgen"
32 $(VERB) $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-instr-selector -o $@