summaryrefslogtreecommitdiff
path: root/lang/clang/Makefile
blob: 6ad7cc7915105a553889dc0bd600e414daeb0934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: Makefile,v 1.43 2016/03/10 15:01:52 tnn Exp $

PKGNAME=		${DISTNAME:S/.src//:S/cfe/clang/}
PYTHON_FOR_BUILD_ONLY=	yes

CMAKE_ARGS+=	-DCLANG_ENABLE_STATIC_ANALYZER=OFF

# There are some contrib utilities written in python here.
# We don't want to add a python runtime dependency for that.
CHECK_INTERPRETER_SKIP+=	share/clang/*

.PHONY: install-clang-cpp
post-install: install-clang-cpp
install-clang-cpp:
	${LN} -s clang ${DESTDIR}${PREFIX}/bin/clang-cpp

.include "../../lang/clang/Makefile.common"