summaryrefslogtreecommitdiff
path: root/security/PAM/builtin.mk
blob: 8e96806732d47b8f312297e892062f59263119ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: builtin.mk,v 1.4 2004/08/06 15:37:20 jlam Exp $

.include "../../mk/bsd.prefs.mk"

_SECURITY_PAM_APPL_H=	/usr/include/security/pam_appl.h

.if !defined(IS_BUILTIN.pam)
IS_BUILTIN.pam=	no
.  if exists(${_SECURITY_PAM_APPL_H}) && \
      !empty(_SECURITY_PAM_APPL_H:M${LOCALBASE}/*)
IS_BUILTIN.pam=	yes
.  endif
.endif	# IS_BUILTIN.pam

USE_BUILTIN.pam?=	${IS_BUILTIN.pam}