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 $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-register-enums -o $@
13 X86GenRegisterInfo.h.inc:: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN)
14 $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-register-desc-header -o $@
16 X86GenRegisterInfo.inc:: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN)
17 $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-register-desc -o $@
19 X86GenInstrNames.inc:: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
20 $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-instr-enums -o $@
22 X86GenInstrInfo.inc:: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
23 $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-instr-desc -o $@
25 X86GenInstrSelector.inc:: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
26 $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-instr-selector -o $@