mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
c01f39307e
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7538 91177308-0d34-0410-b5e6-96231b3b80d8
28 lines
829 B
Makefile
28 lines
829 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 X86GenInstrNames.inc \
|
|
X86GenInstrInfo.inc
|
|
|
|
X86GenRegisterNames.inc: X86.td X86RegisterInfo.td $(TBLGEN)
|
|
$(TBLGEN) X86.td -gen-register-enums -o $@
|
|
|
|
X86GenRegisterInfo.h.inc: X86.td X86RegisterInfo.td $(TBLGEN)
|
|
$(TBLGEN) X86.td -gen-register-desc-header -o $@
|
|
|
|
X86GenRegisterInfo.inc: X86.td X86RegisterInfo.td $(TBLGEN)
|
|
$(TBLGEN) X86.td -gen-register-desc -o $@
|
|
|
|
X86GenInstrNames.inc: X86.td X86InstrInfo.td $(TBLGEN)
|
|
$(TBLGEN) X86.td -gen-instr-enums -o $@
|
|
|
|
X86GenInstrInfo.inc: X86.td X86InstrInfo.td $(TBLGEN)
|
|
$(TBLGEN) X86.td -gen-instr-desc -o $@
|
|
|
|
clean::
|
|
$(VERB) rm -f *.inc
|
|
|