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