summaryrefslogtreecommitdiff
path: root/mk/check/bsd.check-vars.mk
blob: a5dab08256c832e89ec477398b03d1a1c6732bc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: bsd.check-vars.mk,v 1.6 2008/05/13 11:40:24 tnn Exp $
#
# This Makefile fragment is included separately by bsd.pkg.mk and
# defines some variables which must be defined earlier than where
# bsd.check.mk is included.
#

CHECK_FILES_SUPPORTED?=		yes
CHECK_SHLIBS_SUPPORTED?=	yes

.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD"
USE_CHECK_SHLIBS_ELF?=		yes
.else
USE_CHECK_SHLIBS_ELF?=		no
.endif

USE_TOOLS+=	awk cat cmp diff echo find grep rm sed test touch true

.if !empty(USE_CHECK_SHLIBS_ELF:M[yY][eE][sS])
USE_TOOLS+=	readelf
.endif