summaryrefslogtreecommitdiff
path: root/security/PAM/module.mk
blob: 45e1c420f8bf91304345a6a3e9b53e72fc1f080b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: module.mk,v 1.3 2005/01/14 00:08:46 jlam Exp $

.if !defined(PAM_MODULE_MK)
PAM_MODULE_MK=	# defined

.if empty(USE_BUILDLINK3:M[nN][oO])
.  include "../../security/PAM/buildlink3.mk"
.endif

.if defined(DEFAULT_VIEW.linux-pam)
DEFAULT_VIEW.${PKGBASE}=	${DEFAULT_VIEW.linux-pam}
.endif

PAM_MODULEDIR=		${VIEWBASE}/lib/security
PAM_INSTMODULEDIR=	${PREFIX}/${PAM_MODULEDIR:S,${VIEWBASE}/,,}

.endif	# PAM_MODULE_MK