Change all #include'd files to be :: rules instead of : rules
[oota-llvm.git] / lib / Target / X86 / Makefile
1 LEVEL = ../../..
2 LIBRARYNAME = x86
3 include $(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
10 X86GenRegisterNames.inc::  X86.td X86RegisterInfo.td ../Target.td $(TBLGEN)
11         $(TBLGEN) $< -gen-register-enums -o $@
12
13 X86GenRegisterInfo.h.inc:: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN)
14         $(TBLGEN) $< -gen-register-desc-header -o $@
15
16 X86GenRegisterInfo.inc:: X86.td X86RegisterInfo.td ../Target.td $(TBLGEN)
17         $(TBLGEN) $< -gen-register-desc -o $@
18
19 X86GenInstrNames.inc:: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
20         $(TBLGEN) $< -gen-instr-enums -o $@
21
22 X86GenInstrInfo.inc:: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
23         $(TBLGEN) $< -gen-instr-desc -o $@
24
25 X86GenInstrSelector.inc:: X86.td X86InstrInfo.td ../Target.td $(TBLGEN)
26         $(TBLGEN) $< -gen-instr-selector -o $@
27
28 clean::
29         $(VERB) rm -f *.inc
30