summaryrefslogtreecommitdiff
path: root/mk/check/bsd.check.mk
blob: 9e48a5e6bbd10953f032df3e39b1de72af3c9a63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# $NetBSD: bsd.check.mk,v 1.5 2006/12/12 21:37:20 rillig Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and provides all
# variables and targets related to build and install checks.
#
# There are some predefined hooks where checks can be added:
#
# pre-configure-checks-hook
#	Is run before configuring the package.
#
# pre-build-checks-hook
#	Is run before building the package.
#
# #notyet post-install-privileged-checks-hook
#	Is run after the installation, as the user who installed
#	the package.
#
# #notyet post-install-checks-hook
#	Is run after the installation, as the user who built
#	the package.
#
# The following are the "public" targets provided this module:
#
#    check-files-pre, check-files-post, check-files
#    check-interpreter, check-shlibs, check-vulnerable, check-wrkref
#

.include "${.PARSEDIR}/check-files.mk"
.include "${.PARSEDIR}/check-headers.mk"
.include "${.PARSEDIR}/check-interpreter.mk"
.include "${.PARSEDIR}/check-perms.mk"
.include "${.PARSEDIR}/check-portability.mk"
.include "${.PARSEDIR}/check-shlibs.mk"
.include "${.PARSEDIR}/check-vulnerable.mk"
.include "${.PARSEDIR}/check-wrkref.mk"

pre-configure-checks-hook \
pre-build-checks-hook: .PHONY
	@${DO_NADA}

######################################################################
### check-clean (PRIVATE)
######################################################################
### check-clean is a helper target onto which one can hook all of the
### targets that clean up the output of "check" targets.
###
.PHONY: check-clean
check-clean:
	@${DO_NADA}