8dd9cf3d41
Split check-vulnerable into a general an a flavor-specific part, for consistence with all the other targets.
22 lines
533 B
Makefile
22 lines
533 B
Makefile
# $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
|