xref: /netbsd-src/external/apache2/llvm/lib/libLLVMPowerPCCodeGen/Makefile (revision 627f7eb200a4419d89b531d55fccd2ee3ffdcde0)
1#	$NetBSD: Makefile,v 1.1 2019/11/11 22:45:10 joerg Exp $
2
3LIB=	LLVMPowerPCCodeGen
4
5.include <bsd.init.mk>
6
7.PATH: ${LLVM_SRCDIR}/lib/Target/PowerPC
8
9SRCS+=	PPCAsmPrinter.cpp \
10	PPCBoolRetToInt.cpp \
11	PPCBranchCoalescing.cpp \
12	PPCBranchSelector.cpp \
13	PPCCallingConv.cpp \
14	PPCCCState.cpp \
15	PPCCTRLoops.cpp \
16	PPCEarlyReturn.cpp \
17	PPCExpandISEL.cpp \
18	PPCFastISel.cpp \
19	PPCFrameLowering.cpp \
20	PPCHazardRecognizers.cpp \
21	PPCInstrInfo.cpp \
22	PPCISelDAGToDAG.cpp \
23	PPCISelLowering.cpp \
24	PPCLoopPreIncPrep.cpp \
25	PPCMachineFunctionInfo.cpp \
26	PPCMachineScheduler.cpp \
27	PPCMCInstLower.cpp \
28	PPCMIPeephole.cpp \
29	PPCPreEmitPeephole.cpp \
30	PPCQPXLoadSplat.cpp \
31	PPCReduceCRLogicals.cpp \
32	PPCRegisterInfo.cpp \
33	PPCSubtarget.cpp \
34	PPCTargetMachine.cpp \
35	PPCTargetObjectFile.cpp \
36	PPCTargetTransformInfo.cpp \
37	PPCTLSDynamicCall.cpp \
38	PPCTOCRegDeps.cpp \
39	PPCVSXCopy.cpp \
40	PPCVSXFMAMutate.cpp \
41	PPCVSXSwapRemoval.cpp
42
43TABLEGEN_SRC=		PPC.td
44TABLEGEN_INCLUDES=	-I${LLVM_SRCDIR}/lib/Target/PowerPC
45TABLEGEN_OUTPUT= \
46	PPCGenAsmMatcher.inc|-gen-asm-matcher \
47	PPCGenAsmWriter.inc|-gen-asm-writer \
48	PPCGenCallingConv.inc|-gen-callingconv \
49	PPCGenCodeEmitter.inc|-gen-emitter \
50	PPCGenDAGISel.inc|-gen-dag-isel \
51	PPCGenDisassemblerTables.inc|-gen-disassembler \
52	PPCGenFastISel.inc|-gen-fast-isel \
53	PPCGenInstrInfo.inc|-gen-instr-info \
54	PPCGenMCCodeEmitter.inc|-gen-emitter \
55	PPCGenRegisterInfo.inc|-gen-register-info \
56	PPCGenSubtargetInfo.inc|-gen-subtarget
57
58.include "${.PARSEDIR}/../../tablegen.mk"
59
60.if defined(HOSTLIB)
61.include <bsd.hostlib.mk>
62.else
63.include <bsd.lib.mk>
64.endif
65