Be a little more specific about what is begin generated. Only print
[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         @echo "Building $< register names with tblgen"
12         $(VERB) $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-register-enums -o $@
13
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 $@
17
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 $@
21
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 $@
25
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 $@
29
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 $@
33
34 clean::
35         $(VERB) rm -f *.inc
36