Chris Lattner | 7261408 | 2002-10-25 22:55:53 +0000 | [diff] [blame] | 1 | LEVEL = ../../.. |
| 2 | LIBRARYNAME = x86 |
| 3 | include $(LEVEL)/Makefile.common |
| 4 | |
Chris Lattner | 7ad3e06 | 2003-08-03 15:48:14 +0000 | [diff] [blame] | 5 | |
| 6 | |
| 7 | # Make sure that tblgen is run, first thing. |
| 8 | $(SourceDepend): X86GenRegisterInfo.h.inc X86GenRegisterNames.inc X86GenRegisterInfo.inc |
| 9 | |
| 10 | X86GenRegisterNames.inc: $(wildcard *.td) $(TBLGEN) |
| 11 | $(TBLGEN) X86.td -gen-register-enums -o $@ |
| 12 | |
| 13 | X86GenRegisterInfo.h.inc: $(wildcard *.td) $(TBLGEN) |
| 14 | $(TBLGEN) X86.td -gen-register-desc-header -o $@ |
| 15 | |
| 16 | X86GenRegisterInfo.inc: $(wildcard *.td) $(TBLGEN) |
| 17 | $(TBLGEN) X86.td -gen-register-desc -o $@ |
| 18 | |
| 19 | clean:: |
| 20 | $(VERB) rm -f *.inc |
| 21 | |