1#	$NetBSD: Makefile,v 1.20 2013/09/02 14:34:56 joerg Exp $
2
3LIB=	LLVMMipsCodeGen
4
5.include <bsd.init.mk>
6
7.PATH: ${LLVM_SRCDIR}/lib/Target/Mips
8
9SRCS+=	Mips16ISelDAGToDAG.cpp \
10	Mips16ISelLowering.cpp \
11	Mips16InstrInfo.cpp \
12	Mips16FrameLowering.cpp \
13	Mips16HardFloat.cpp \
14	Mips16RegisterInfo.cpp \
15	MipsAnalyzeImmediate.cpp \
16	MipsAsmPrinter.cpp \
17	MipsCodeEmitter.cpp \
18	MipsConstantIslandPass.cpp \
19	MipsDelaySlotFiller.cpp \
20	MipsFrameLowering.cpp \
21	MipsInstrInfo.cpp \
22	MipsISelDAGToDAG.cpp \
23	MipsISelLowering.cpp \
24	MipsJITInfo.cpp \
25	MipsLongBranch.cpp \
26	MipsMachineFunction.cpp \
27	MipsModuleISelDAGToDAG.cpp \
28	MipsMCInstLower.cpp \
29	MipsOs16.cpp \
30	MipsRegisterInfo.cpp \
31	MipsSEISelLowering.cpp \
32	MipsSEISelDAGToDAG.cpp \
33	MipsSEInstrInfo.cpp \
34	MipsSEFrameLowering.cpp \
35	MipsSERegisterInfo.cpp \
36	MipsSubtarget.cpp \
37	MipsTargetMachine.cpp \
38	MipsTargetObjectFile.cpp \
39	MipsSelectionDAGInfo.cpp
40
41
42TABLEGEN_SRC=		Mips.td
43TABLEGEN_INCLUDES=	-I${LLVM_SRCDIR}/lib/Target/Mips
44TABLEGEN_OUTPUT= \
45	MipsGenRegisterInfo.inc|-gen-register-info \
46	MipsGenInstrInfo.inc|-gen-instr-info \
47	MipsGenAsmMatcher.inc|-gen-asm-matcher \
48	MipsGenAsmWriter.inc|-gen-asm-writer \
49	MipsGenCallingConv.inc|-gen-callingconv \
50	MipsGenCodeEmitter.inc|-gen-emitter \
51	MipsGenDAGISel.inc|-gen-dag-isel \
52	MipsGenDisassemblerTables.inc|-gen-disassembler \
53	MipsGenMCCodeEmitter.inc|-gen-emitter^-mc-emitter \
54	MipsGenMCPseudoLowering.inc|-gen-pseudo-lowering \
55	MipsGenSubtargetInfo.inc|-gen-subtarget
56
57.include "${.PARSEDIR}/../../tablegen.mk"
58
59.if defined(HOSTLIB)
60.include <bsd.hostlib.mk>
61.else
62.include <bsd.lib.mk>
63.endif
64