1 # $NetBSD: Makefile,v 1.2 2021/05/30 01:56:47 joerg Exp $ 2 3 PROG_CXX= llvm-cov 4 NOMAN= yes 5 6 .include <bsd.init.mk> 7 8 .PATH: ${LLVM_SRCDIR}/tools/llvm-cov 9 10 SRCS= gcov.cpp \ 11 llvm-cov.cpp \ 12 CodeCoverage.cpp \ 13 CoverageExporterJson.cpp \ 14 CoverageExporterLcov.cpp \ 15 CoverageFilters.cpp \ 16 CoverageReport.cpp \ 17 CoverageSummaryInfo.cpp \ 18 SourceCoverageView.cpp \ 19 SourceCoverageViewHTML.cpp \ 20 SourceCoverageViewText.cpp \ 21 TestingSupport.cpp 22 23 LLVM_LIBS+= \ 24 ProfileDataCoverage \ 25 ProfileData \ 26 Object \ 27 TextAPI \ 28 MCParser \ 29 MC \ 30 BitReader \ 31 BitstreamReader \ 32 IR \ 33 Remarks \ 34 BinaryFormat \ 35 Support \ 36 Demangle 37 38 .include "${.PARSEDIR}/../../link.mk" 39 40 LDADD+= -lz 41 .if !defined(HOSTPROG) 42 DPADD+= ${LIBZ} 43 .endif 44 45 .include <bsd.prog.mk> 46