Update files for OpenPAM Micrampelis import.
[dragonfly.git] / lib / libpam / Makefile
1 LIB=    pam
2
3 SRCDIR= ${.CURDIR}/../../contrib/openpam
4
5 MODULE_DIR=     ${LIBDIR}/security
6
7 CFLAGS+= -DHAVE_CONFIG_H
8 CFLAGS+= -DOPENPAM_MODULES_DIR='"${MODULE_DIR}/"'
9 CFLAGS+= -I${SRCDIR}/lib -I${SRCDIR}/include -I${.CURDIR}
10
11 # Dist files
12 SRCS=   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 \
18         openpam_features.c \
19         openpam_findenv.c \
20         openpam_free_data.c \
21         openpam_free_envlist.c \
22         openpam_get_feature.c \
23         openpam_get_option.c \
24         openpam_load.c \
25         openpam_log.c \
26         openpam_nullconv.c \
27         openpam_readline.c \
28         openpam_readlinev.c \
29         openpam_readword.c \
30         openpam_restore_cred.c \
31         openpam_set_option.c \
32         openpam_set_feature.c \
33         openpam_static.c \
34         openpam_straddch.c \
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
63 SRCS+=  pam_debug_log.c
64
65 PAMINCS=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
72 INCS=   ${PAMINCS:S;^;${SRCDIR}/include/security/;} pam_mod_misc.h
73 INCSDIR=        ${INCLUDEDIR}/security
74
75 MAN=    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 \
101         openpam_get_feature.3 \
102         openpam_get_option.3 \
103         openpam_log.3 \
104         openpam_nullconv.3 \
105         openpam_readline.3 \
106         openpam_readlinev.3 \
107         openpam_readword.3 \
108         openpam_restore_cred.3 \
109         openpam_set_feature.3 \
110         openpam_set_option.3 \
111         openpam_straddch.3 \
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
126
127 .PATH: ${SRCDIR}/lib ${SRCDIR}/doc/man
128
129 .include <bsd.lib.mk>