3 SRCDIR
= ${.CURDIR
}/..
/..
/contrib
/openpam
5 MODULE_DIR
= ${LIBDIR}/security
7 CFLAGS
+= -DHAVE_CONFIG_H
8 CFLAGS
+= -DOPENPAM_MODULES_DIR
='"${MODULE_DIR}/"'
9 CFLAGS
+= -I
${SRCDIR}/lib
-I
${SRCDIR}/include -I
${.CURDIR
}
14 SRCS
= openpam_borrow_cred.c \
15 openpam_check_owner_perms.c \
23 openpam_free_envlist.c \
24 openpam_get_feature.c \
25 openpam_get_option.c \
32 openpam_restore_cred.c \
33 openpam_set_option.c \
34 openpam_set_feature.c \
64 SRCS
+= pam_debug_log.c
66 # only when OPENPAM_STATIC_MODULES
67 #SRCS+= openpam_static.c
76 INCS
= ${PAMINCS
:S
;^
;${SRCDIR}/include/security
/;} pam_mod_misc.h
77 INCSDIR
= ${INCLUDEDIR}/security
79 MAN
= pam_acct_mgmt
.3 \
97 pam_sm_authenticate
.3 \
99 pam_sm_close_session
.3 \
100 pam_sm_open_session
.3 \
102 openpam_borrow_cred
.3 \
103 openpam_free_data
.3 \
104 openpam_free_envlist
.3 \
105 openpam_get_feature
.3 \
106 openpam_get_option
.3 \
110 openpam_readlinev
.3 \
112 openpam_restore_cred
.3 \
113 openpam_set_feature
.3 \
114 openpam_set_option
.3 \
131 .PATH
: ${SRCDIR}/lib
${SRCDIR}/doc
/man
133 .
include <bsd.lib.mk
>