xref: /minix3/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc#	$NetBSD: Makefile,v 1.9 2015/01/29 20:41:36 joerg Exp $
2f4a2713aSLionel Sambuc
3f4a2713aSLionel SambucLIB=	LLVMSparcCodeGen
4f4a2713aSLionel Sambuc
5f4a2713aSLionel Sambuc.include <bsd.init.mk>
6f4a2713aSLionel Sambuc
7f4a2713aSLionel Sambuc.PATH: ${LLVM_SRCDIR}/lib/Target/Sparc
8f4a2713aSLionel Sambuc
9f4a2713aSLionel SambucSRCS+=	DelaySlotFiller.cpp \
10f4a2713aSLionel Sambuc	SparcAsmPrinter.cpp \
11f4a2713aSLionel Sambuc	SparcInstrInfo.cpp \
12f4a2713aSLionel Sambuc	SparcISelDAGToDAG.cpp \
13f4a2713aSLionel Sambuc	SparcISelLowering.cpp \
14f4a2713aSLionel Sambuc	SparcFrameLowering.cpp \
15*0a6a1f1dSLionel Sambuc	SparcMCInstLower.cpp \
16f4a2713aSLionel Sambuc	SparcMachineFunctionInfo.cpp \
17f4a2713aSLionel Sambuc	SparcRegisterInfo.cpp \
18f4a2713aSLionel Sambuc	SparcSubtarget.cpp \
19f4a2713aSLionel Sambuc	SparcTargetMachine.cpp \
20*0a6a1f1dSLionel Sambuc	SparcTargetObjectFile.cpp \
21f4a2713aSLionel Sambuc	SparcSelectionDAGInfo.cpp
22f4a2713aSLionel Sambuc
23f4a2713aSLionel Sambuc
24f4a2713aSLionel SambucTABLEGEN_SRC=		Sparc.td
25f4a2713aSLionel SambucTABLEGEN_INCLUDES=	-I${LLVM_SRCDIR}/lib/Target/Sparc
26f4a2713aSLionel SambucTABLEGEN_OUTPUT= \
27f4a2713aSLionel Sambuc	SparcGenDAGISel.inc|-gen-dag-isel \
28*0a6a1f1dSLionel Sambuc	SparcGenAsmMatcher.inc|-gen-asm-matcher \
29f4a2713aSLionel Sambuc	SparcGenAsmWriter.inc|-gen-asm-writer \
30f4a2713aSLionel Sambuc	SparcGenCallingConv.inc|-gen-callingconv \
31f4a2713aSLionel Sambuc	SparcGenCodeEmitter.inc|-gen-emitter \
32*0a6a1f1dSLionel Sambuc	SparcGenDisassemblerTables.inc|-gen-disassembler \
33f4a2713aSLionel Sambuc	SparcGenInstrInfo.inc|-gen-instr-info \
34*0a6a1f1dSLionel Sambuc	SparcGenMCCodeEmitter.inc|-gen-emitter \
35f4a2713aSLionel Sambuc	SparcGenRegisterInfo.inc|-gen-register-info \
36f4a2713aSLionel Sambuc	SparcGenSubtargetInfo.inc|-gen-subtarget
37f4a2713aSLionel Sambuc
38f4a2713aSLionel Sambuc.include "${.PARSEDIR}/../../tablegen.mk"
39f4a2713aSLionel Sambuc
40f4a2713aSLionel Sambuc.if defined(HOSTLIB)
41f4a2713aSLionel Sambuc.include <bsd.hostlib.mk>
42f4a2713aSLionel Sambuc.else
43f4a2713aSLionel Sambuc.include <bsd.lib.mk>
44f4a2713aSLionel Sambuc.endif
45