summaryrefslogtreecommitdiff
path: root/external/apache2/llvm/bin/llvm-xray/Makefile
blob: f5dddc9f0c412f6800f91adbd41ba50bc86e1c42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#	$NetBSD: Makefile,v 1.2 2021/05/30 01:56:49 joerg Exp $

PROG_CXX=	llvm-xray
NOMAN=		yes

.include <bsd.init.mk>

.PATH: ${LLVM_SRCDIR}/tools/llvm-xray

SRCS=	func-id-helper.cpp \
	llvm-xray.cpp \
	xray-account.cpp \
	xray-color-helper.cpp \
	xray-converter.cpp \
	xray-extract.cpp \
	xray-fdr-dump.cpp \
	xray-graph.cpp \
	xray-graph-diff.cpp \
	xray-registry.cpp \
	xray-stacks.cpp

LLVM_LIBS+= \
	XRay \
	DebugInfoSymbolize \
	DebugInfoDWARF \
	DebugInfoPDB \
	DebugInfoMSF \
	DebugInfoCodeView \
	Object \
	TextAPI \
	BitReader \
	BitstreamReader \
	MCParser \
	IR \
	Remarks \
	MC \
	BinaryFormat \
	Support \
	Demangle

LDADD+=	-lz
.if !defined(HOSTPROG)
DPADD+=	${LIBZ}
.endif

.include "${.PARSEDIR}/../../link.mk"

.include <bsd.prog.mk>