blob: 7245ee78f88048d092da7f699f883d06545f7460 (
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
|
# $NetBSD: solaris-pam.builtin.mk,v 1.2 2005/01/14 07:54:20 jlam Exp $
_SOLARIS_PAM_APPL_HEADERS= /usr/include/security/pam_appl.h
_SOLARIS_PAM_IDENT= Copyright.*Sun Microsystems
.if !defined(IS_BUILTIN.solaris-pam)
IS_BUILTIN.solaris-pam= no
. for _inc_ in ${_SOLARIS_PAM_APPL_HEADERS}
. if !empty(IS_BUILTIN.solaris-pam:M[nN][oO]) && exists(${_inc_})
IS_BUILTIN.solaris-pam!= \
case ${_inc_} in \
${LOCALBASE}/*) \
${ECHO} "no"; \
;; \
*) \
if ${GREP} -q "${_SOLARIS_PAM_IDENT}" ${_inc_}; then \
${ECHO} "yes"; \
else \
${ECHO} "no"; \
fi; \
;; \
esac
. endif
. endfor
BUILDLINK_VARS+= IS_BUILTIN.solaris-pam
.endif # IS_BUILTIN.solaris-pam
USE_BUILTIN.solaris-pam?= ${IS_BUILTIN.solaris-pam}
|