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