llvm-6502/lib/Target/X86/Makefile
2003-08-03 15:48:14 +00:00

22 lines
533 B
Makefile

LEVEL = ../../..
LIBRARYNAME = x86
include $(LEVEL)/Makefile.common
# Make sure that tblgen is run, first thing.
$(SourceDepend): X86GenRegisterInfo.h.inc X86GenRegisterNames.inc X86GenRegisterInfo.inc
X86GenRegisterNames.inc: $(wildcard *.td) $(TBLGEN)
$(TBLGEN) X86.td -gen-register-enums -o $@
X86GenRegisterInfo.h.inc: $(wildcard *.td) $(TBLGEN)
$(TBLGEN) X86.td -gen-register-desc-header -o $@
X86GenRegisterInfo.inc: $(wildcard *.td) $(TBLGEN)
$(TBLGEN) X86.td -gen-register-desc -o $@
clean::
$(VERB) rm -f *.inc