xref: /netbsd-src/external/apache2/llvm/bin/llvm-symbolizer/Makefile (revision 53d1339bf7f9c7367b35a9e1ebe693f9b047a47b)
1#	$NetBSD: Makefile,v 1.3 2021/05/30 01:56:49 joerg Exp $
2
3PROG_CXX=	llvm-symbolizer
4NOMAN=		yes
5
6.include <bsd.init.mk>
7
8.PATH: ${LLVM_SRCDIR}/tools/llvm-symbolizer
9
10SRCS=	llvm-symbolizer.cpp
11
12LLVM_LIBS+= \
13	DebugInfoSymbolize \
14	DebugInfoDWARF \
15	DebugInfoPDB \
16	DebugInfoMSF \
17	DebugInfoCodeView \
18	Object \
19	TextAPI \
20	MCParser \
21	MC \
22	BitReader \
23	BitstreamReader \
24	IR \
25	Remarks \
26	BinaryFormat \
27	ObjectYAML \
28	TextAPI \
29	Option \
30	Support \
31	Demangle
32
33LDADD+=	-lz
34DPADD+=	${LIBZ}
35
36TABLEGEN_SRC=	Opts.td
37TABLEGEN_OUTPUT.Opts.td= \
38	Opts.inc|-gen-opt-parser-defs
39
40.include "${.PARSEDIR}/../../tablegen.mk"
41.include "${.PARSEDIR}/../../link.mk"
42
43.include <bsd.prog.mk>
44