2002-10-25 22:55:53 +00:00
|
|
|
LEVEL = ../../..
|
|
|
|
LIBRARYNAME = x86
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
|
2003-08-03 15:48:14 +00:00
|
|
|
# Make sure that tblgen is run, first thing.
|
2003-08-03 21:54:59 +00:00
|
|
|
$(SourceDepend): X86GenRegisterInfo.h.inc X86GenRegisterNames.inc \
|
|
|
|
X86GenRegisterInfo.inc X86GenInstrNames.inc \
|
2003-08-11 14:59:22 +00:00
|
|
|
X86GenInstrInfo.inc X86GenInstrSelector.inc
|
2003-08-03 15:48:14 +00:00
|
|
|
|
2003-08-11 14:59:22 +00:00
|
|
|
X86GenRegisterNames.inc: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN)
|
|
|
|
$(TBLGEN) $< -gen-register-enums -o $@
|
2003-08-03 15:48:14 +00:00
|
|
|
|
2003-08-11 14:59:22 +00:00
|
|
|
X86GenRegisterInfo.h.inc: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN)
|
|
|
|
$(TBLGEN) $< -gen-register-desc-header -o $@
|
2003-08-03 15:48:14 +00:00
|
|
|
|
2003-08-11 14:59:22 +00:00
|
|
|
X86GenRegisterInfo.inc: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN)
|
|
|
|
$(TBLGEN) $< -gen-register-desc -o $@
|
2003-08-03 15:48:14 +00:00
|
|
|
|
2003-08-11 14:59:22 +00:00
|
|
|
X86GenInstrNames.inc: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
|
|
|
|
$(TBLGEN) $< -gen-instr-enums -o $@
|
2003-08-03 21:54:59 +00:00
|
|
|
|
2003-08-11 14:59:22 +00:00
|
|
|
X86GenInstrInfo.inc: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
|
|
|
|
$(TBLGEN) $< -gen-instr-desc -o $@
|
|
|
|
|
|
|
|
X86GenInstrSelector.inc: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
|
2003-08-11 19:35:46 +00:00
|
|
|
$(TBLGEN) $< -gen-instr-selector -o $@
|
2003-08-03 21:54:59 +00:00
|
|
|
|
2003-08-03 15:48:14 +00:00
|
|
|
clean::
|
|
|
|
$(VERB) rm -f *.inc
|
|
|
|
|