Update files for OpenPAM Micrampelis import.
[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}/"'
64431545 9CFLAGS+= -I${SRCDIR}/lib -I${SRCDIR}/include -I${.CURDIR}
61be715a 10
ee324936
PA
11# Dist files
12SRCS= openpam_borrow_cred.c \
13 openpam_check_owner_perms.c \
14 openpam_configure.c \
15 openpam_constants.c \
16 openpam_dispatch.c \
17 openpam_dynamic.c \
64431545 18 openpam_features.c \
ee324936
PA
19 openpam_findenv.c \
20 openpam_free_data.c \
21 openpam_free_envlist.c \
64431545 22 openpam_get_feature.c \
ee324936
PA
23 openpam_get_option.c \
24 openpam_load.c \
25 openpam_log.c \
26 openpam_nullconv.c \
27 openpam_readline.c \
64431545
PA
28 openpam_readlinev.c \
29 openpam_readword.c \
ee324936
PA
30 openpam_restore_cred.c \
31 openpam_set_option.c \
64431545 32 openpam_set_feature.c \
ee324936 33 openpam_static.c \
64431545 34 openpam_straddch.c \
ee324936
PA
35 openpam_subst.c \
36 openpam_ttyconv.c \
37 pam_acct_mgmt.c \
38 pam_authenticate.c \
39 pam_chauthtok.c \
40 pam_close_session.c \
41 pam_end.c \
42 pam_error.c \
43 pam_get_authtok.c \
44 pam_get_data.c \
45 pam_get_item.c \
46 pam_get_user.c \
47 pam_getenv.c \
48 pam_getenvlist.c \
49 pam_info.c \
50 pam_open_session.c \
51 pam_prompt.c \
52 pam_putenv.c \
53 pam_set_data.c \
54 pam_set_item.c \
55 pam_setcred.c \
56 pam_setenv.c \
57 pam_start.c \
58 pam_strerror.c \
59 pam_verror.c \
60 pam_vinfo.c \
61 pam_vprompt.c
62# Local files
61be715a 63SRCS+= pam_debug_log.c
61be715a 64
ee324936
PA
65PAMINCS=openpam.h \
66 openpam_attr.h \
67 openpam_version.h \
68 pam_appl.h \
69 pam_constants.h \
70 pam_modules.h \
71 pam_types.h
61be715a
JS
72INCS= ${PAMINCS:S;^;${SRCDIR}/include/security/;} pam_mod_misc.h
73INCSDIR= ${INCLUDEDIR}/security
74
ee324936
PA
75MAN= pam_acct_mgmt.3 \
76 pam_authenticate.3 \
77 pam_chauthtok.3 \
78 pam_close_session.3 \
79 pam_end.3 \
80 pam_get_data.3 \
81 pam_get_item.3 \
82 pam_get_user.3 \
83 pam_getenv.3 \
84 pam_getenvlist.3 \
85 pam_open_session.3 \
86 pam_putenv.3 \
87 pam_set_data.3 \
88 pam_set_item.3 \
89 pam_setcred.3 \
90 pam_start.3 \
91 pam_strerror.3 \
92 pam_sm_acct_mgmt.3 \
93 pam_sm_authenticate.3 \
94 pam_sm_chauthtok.3 \
95 pam_sm_close_session.3 \
96 pam_sm_open_session.3 \
97 pam_sm_setcred.3 \
98 openpam_borrow_cred.3 \
99 openpam_free_data.3 \
100 openpam_free_envlist.3 \
64431545 101 openpam_get_feature.3 \
ee324936
PA
102 openpam_get_option.3 \
103 openpam_log.3 \
104 openpam_nullconv.3 \
105 openpam_readline.3 \
64431545
PA
106 openpam_readlinev.3 \
107 openpam_readword.3 \
ee324936 108 openpam_restore_cred.3 \
64431545 109 openpam_set_feature.3 \
ee324936 110 openpam_set_option.3 \
64431545 111 openpam_straddch.3 \
ee324936
PA
112 openpam_subst.3 \
113 openpam_ttyconv.3 \
114 pam_error.3 \
115 pam_get_authtok.3 \
116 pam_info.3 \
117 pam_prompt.3 \
118 pam_setenv.3 \
119 pam_verror.3 \
120 pam_vinfo.3 \
121 pam_vprompt.3 \
122 openpam.3 \
123 pam.3 \
124 pam_conv.3 \
125 pam.conf.5
61be715a
JS
126
127.PATH: ${SRCDIR}/lib ${SRCDIR}/doc/man
128
61be715a 129.include <bsd.lib.mk>