xref: /netbsd-src/external/apache2/llvm/lib/libLLVMIR/Makefile (revision 8ecbf5f02b752fcb7debe1a8fab1dc82602bc760)
1#	$NetBSD: Makefile,v 1.1 2019/11/11 22:45:07 joerg Exp $
2
3LIB=	LLVMIR
4
5.include <bsd.init.mk>
6
7.PATH: ${LLVM_SRCDIR}/lib/IR
8
9TABLEGEN_SRC=		AttributesCompatFunc.td
10TABLEGEN_OUTPUT= \
11	AttributesCompatFunc.inc|-gen-attrs
12
13.include "${.PARSEDIR}/../../tablegen.mk"
14
15SRCS+=	AbstractCallSite.cpp \
16	AsmWriter.cpp \
17	Attributes.cpp \
18	AutoUpgrade.cpp \
19	BasicBlock.cpp \
20	Comdat.cpp \
21	ConstantFold.cpp \
22	ConstantRange.cpp \
23	Constants.cpp \
24	Core.cpp \
25	DataLayout.cpp \
26	DebugInfo.cpp \
27	DebugInfoMetadata.cpp \
28	DebugLoc.cpp \
29	DiagnosticHandler.cpp \
30	DiagnosticInfo.cpp \
31	DiagnosticPrinter.cpp \
32	DIBuilder.cpp \
33	Dominators.cpp \
34	Function.cpp \
35	Globals.cpp \
36	GVMaterializer.cpp \
37	InlineAsm.cpp \
38	Instruction.cpp \
39	Instructions.cpp \
40	IntrinsicInst.cpp \
41	IRBuilder.cpp \
42	IRPrintingPasses.cpp \
43	LegacyPassManager.cpp \
44	LLVMContext.cpp \
45	LLVMContextImpl.cpp \
46	Mangler.cpp \
47	MDBuilder.cpp \
48	Metadata.cpp \
49	Module.cpp \
50	ModuleSummaryIndex.cpp \
51	Operator.cpp \
52	OptBisect.cpp \
53	Pass.cpp \
54	PassInstrumentation.cpp \
55	PassManager.cpp \
56	PassRegistry.cpp \
57	PassTimingInfo.cpp \
58	ProfileSummary.cpp \
59	RemarkStreamer.cpp \
60	SafepointIRVerifier.cpp \
61	Statepoint.cpp \
62	Type.cpp \
63	TypeFinder.cpp \
64	Use.cpp \
65	User.cpp \
66	Value.cpp \
67	ValueSymbolTable.cpp \
68	Verifier.cpp
69
70.if defined(HOSTLIB)
71.include <bsd.hostlib.mk>
72.else
73.include <bsd.lib.mk>
74.endif
75