1# $NetBSD: Makefile,v 1.2 2021/05/30 01:56:49 joerg Exp $ 2 3PROG_CXX= llvm-xray 4NOMAN= yes 5 6.include <bsd.init.mk> 7 8.PATH: ${LLVM_SRCDIR}/tools/llvm-xray 9 10SRCS= func-id-helper.cpp \ 11 llvm-xray.cpp \ 12 xray-account.cpp \ 13 xray-color-helper.cpp \ 14 xray-converter.cpp \ 15 xray-extract.cpp \ 16 xray-fdr-dump.cpp \ 17 xray-graph.cpp \ 18 xray-graph-diff.cpp \ 19 xray-registry.cpp \ 20 xray-stacks.cpp 21 22LLVM_LIBS+= \ 23 XRay \ 24 DebugInfoSymbolize \ 25 DebugInfoDWARF \ 26 DebugInfoPDB \ 27 DebugInfoMSF \ 28 DebugInfoCodeView \ 29 Object \ 30 TextAPI \ 31 BitReader \ 32 BitstreamReader \ 33 MCParser \ 34 IR \ 35 Remarks \ 36 MC \ 37 BinaryFormat \ 38 Support \ 39 Demangle 40 41LDADD+= -lz 42.if !defined(HOSTPROG) 43DPADD+= ${LIBZ} 44.endif 45 46.include "${.PARSEDIR}/../../link.mk" 47 48.include <bsd.prog.mk> 49