pkgsrc/lang/clang-static-analyzer/Makefile

19 lines
567 B
Makefile

# $NetBSD: Makefile,v 1.7 2017/01/01 14:43:45 wiz Exp $
PKGNAME= ${DISTNAME:S/cfe/clang-static-analyzer/:S/.src//}
DEPENDS+= clang-${PKGVERSION_NOREV}{,nb*}:../../lang/clang
USE_TOOLS+= perl:run
BUILD_TARGET= clang-check scan-build scan-view
INSTALL_DIRS= ../build/tools/clang-check ../build/tools/scan-build ../build/tools/scan-view
CMAKE_ARGS+= -DCLANG_ENABLE_STATIC_ANALYZER=ON
REPLACE_PYTHON= # empty
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 3.5
.include "../../lang/python/application.mk"
.include "../../lang/clang/Makefile.common"