summaryrefslogtreecommitdiff
path: root/security/PAM/builtin.mk
blob: 2c85e5426e13288cffe94fb6e3623c0a756465c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: builtin.mk,v 1.5 2004/08/06 15:41:46 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}