Makefile revision 2bcee3400f0a7260b6dfc178d18ba29a5114911b
1LEVEL = ../../.. 2LIBRARYNAME = x86 3include $(LEVEL)/Makefile.common 4 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 9 10X86GenRegisterNames.inc: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN) 11 $(TBLGEN) $< -gen-register-enums -o $@ 12 13X86GenRegisterInfo.h.inc: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN) 14 $(TBLGEN) $< -gen-register-desc-header -o $@ 15 16X86GenRegisterInfo.inc: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN) 17 $(TBLGEN) $< -gen-register-desc -o $@ 18 19X86GenInstrNames.inc: X86.td X86InstrInfo.td ../Target.td $(TBLGEN) 20 $(TBLGEN) $< -gen-instr-enums -o $@ 21 22X86GenInstrInfo.inc: X86.td X86InstrInfo.td ../Target.td $(TBLGEN) 23 $(TBLGEN) $< -gen-instr-desc -o $@ 24 25X86GenInstrSelector.inc: X86.td X86InstrInfo.td ../Target.td $(TBLGEN) 26 $(TBLGEN) $< -gen-instr-selector -o $@ 27 28clean:: 29 $(VERB) rm -f *.inc 30 31