1#	$NetBSD: Makefile,v 1.2 2021/05/30 01:56:49 joerg Exp $
2
3PROG_CXX=	sanstats
4NOMAN=		yes
5
6.include <bsd.init.mk>
7
8.PATH: ${LLVM_SRCDIR}/tools/sanstats
9
10SRCS=	sanstats.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	Support \
28	Demangle
29
30.include "${.PARSEDIR}/../../link.mk"
31
32LDADD+=	-lz
33.if !defined(HOSTPROG)
34DPADD+=	${LIBZ}
35.endif
36
37.include <bsd.prog.mk>
38