Update build for OpenPAM Lycopsida.
[dragonfly.git] / lib / libpam / Makefile
CommitLineData
61be715a 1LIB= pam
61be715a
JS
2
3SRCDIR= ${.CURDIR}/../../contrib/openpam
61be715a 4
bf6d3320 5MODULE_DIR= ${LIBDIR}/security
61be715a 6
bf6d3320 7CFLAGS+= -DHAVE_CONFIG_H
a51e6a72 8CFLAGS+= -DOPENPAM_MODULES_DIR='"${MODULE_DIR}/"'
bf6d3320 9CFLAGS+= -I${SRCDIR}/lib -I${.CURDIR}
61be715a 10
bf6d3320
PA
11SRCS= openpam_borrow_cred.c openpam_check_owner_perms.c
12SRCS+= openpam_configure.c openpam_constants.c openpam_dispatch.c
61be715a
JS
13SRCS+= openpam_dynamic.c openpam_findenv.c openpam_free_data.c
14SRCS+= openpam_free_envlist.c openpam_get_option.c openpam_load.c
15SRCS+= openpam_log.c openpam_nullconv.c openpam_readline.c
16SRCS+= openpam_restore_cred.c openpam_set_option.c openpam_static.c
bf6d3320 17SRCS+= openpam_subst.c
61be715a
JS
18SRCS+= openpam_ttyconv.c pam_acct_mgmt.c pam_authenticate.c
19SRCS+= pam_chauthtok.c pam_close_session.c pam_end.c pam_error.c
20SRCS+= pam_get_authtok.c pam_get_data.c pam_get_item.c pam_get_user.c
21SRCS+= pam_getenv.c pam_getenvlist.c pam_info.c pam_open_session.c
22SRCS+= pam_prompt.c pam_putenv.c pam_set_data.c pam_set_item.c pam_setcred.c
23SRCS+= pam_setenv.c pam_start.c pam_strerror.c pam_verror.c pam_vinfo.c
24SRCS+= pam_vprompt.c
25SRCS+= pam_debug_log.c
61be715a
JS
26
27PAMINCS= openpam.h openpam_version.h pam_appl.h pam_constants.h
210bf96c 28PAMINCS+= pam_modules.h pam_types.h openpam_attr.h
61be715a
JS
29INCS= ${PAMINCS:S;^;${SRCDIR}/include/security/;} pam_mod_misc.h
30INCSDIR= ${INCLUDEDIR}/security
31
32MAN= openpam.3 openpam_borrow_cred.3 openpam_free_data.3
33MAN+= openpam_free_envlist.3 openpam_get_option.3 openpam_log.3
34MAN+= openpam_nullconv.3 openpam_readline.3 openpam_restore_cred.3
bf6d3320
PA
35MAN+= openpam_set_option.3 openpam_subst.3
36MAN+= openpam_ttyconv.3 pam.3 pam_acct_mgmt.3
61be715a
JS
37MAN+= pam_authenticate.3 pam_chauthtok.3 pam_close_session.3 pam_conv.3
38MAN+= pam_end.3 pam_error.3 pam_get_authtok.3 pam_get_data.3 pam_get_item.3
39MAN+= pam_get_user.3 pam_getenv.3 pam_getenvlist.3 pam_info.3
40MAN+= pam_open_session.3 pam_prompt.3 pam_putenv.3 pam_set_data.3
41MAN+= pam_set_item.3 pam_setcred.3 pam_setenv.3 pam_sm_acct_mgmt.3
42MAN+= pam_sm_authenticate.3 pam_sm_chauthtok.3 pam_sm_close_session.3
43MAN+= pam_sm_open_session.3 pam_sm_setcred.3 pam_start.3 pam_strerror.3
44MAN+= pam_verror.3 pam_vinfo.3 pam_vprompt.3 pam.conf.5
45
46.PATH: ${SRCDIR}/lib ${SRCDIR}/doc/man
47
61be715a 48.include <bsd.lib.mk>