summaryrefslogtreecommitdiff
path: root/lang/clang-static-analyzer/Makefile
blob: 786e6279f5676ecaf966e3e4a007f465ced95787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: Makefile,v 1.4 2016/07/09 06:38:24 wiz Exp $

PKGNAME=	${DISTNAME:S/cfe/clang-static-analyzer/:S/.src//}
PKGREVISION=	1

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=	33 34 35 # not yet ported as of 3.5

.include "../../lang/python/application.mk"
.include "../../lang/clang/Makefile.common"