blob: 4085cd6111c34f67a2d947310b5dc87d483afba3 (
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.4 2007/03/09 00:39:54 rillig 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 _flavor-check-vulnerable
@${DO_NADA}
.endif
# A package flavor does not need to implement this target, so provide a
# default implementation.
.if !target(_flavor-check-vulnerable)
_flavor-check-vulnerable:
@${PHASE_MSG} "Skipping vulnerability checks."
.endif
|