summaryrefslogtreecommitdiff
path: root/mk/check/check-vulnerable.mk
blob: 7f8dad0f99ee0cfc7812d07da790db616deeac1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: check-vulnerable.mk,v 1.5 2011/10/15 00:23:08 reed Exp $
#
# Public targets:
#
# check-vulnerable:
#	Checks for vulnerabilities in the package.
#

.if defined(ALLOW_VULNERABLE_PACKAGES)
check-vulnerable: .PHONY
	@${DO_NADA}
.  else
check-vulnerable: .PHONY _pkgformat-check-vulnerable
	@${DO_NADA}
.endif

# A package format does not need to implement this target, so provide a
# default implementation.
.if !target(_pkgformat-check-vulnerable)
_pkgformat-check-vulnerable:
	@${PHASE_MSG} "Skipping vulnerability checks."
.endif