41afd2a06ad830b935c007f066e62e37b34346b2
[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${.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_findenv.c \
19         openpam_free_data.c \
20         openpam_free_envlist.c \
21         openpam_get_option.c \
22         openpam_load.c \
23         openpam_log.c \
24         openpam_nullconv.c \
25         openpam_readline.c \
26         openpam_restore_cred.c \
27         openpam_set_option.c \
28         openpam_static.c \
29         openpam_subst.c \
30         openpam_ttyconv.c \
31         pam_acct_mgmt.c \
32         pam_authenticate.c \
33         pam_chauthtok.c \
34         pam_close_session.c \
35         pam_end.c \
36         pam_error.c \
37         pam_get_authtok.c \
38         pam_get_data.c \
39         pam_get_item.c \
40         pam_get_user.c \
41         pam_getenv.c \
42         pam_getenvlist.c \
43         pam_info.c \
44         pam_open_session.c \
45         pam_prompt.c \
46         pam_putenv.c \
47         pam_set_data.c \
48         pam_set_item.c \
49         pam_setcred.c \
50         pam_setenv.c \
51         pam_start.c \
52         pam_strerror.c \
53         pam_verror.c \
54         pam_vinfo.c \
55         pam_vprompt.c
56 # Local files
57 SRCS+=  pam_debug_log.c
58
59 PAMINCS=openpam.h \
60         openpam_attr.h \
61         openpam_version.h \
62         pam_appl.h \
63         pam_constants.h \
64         pam_modules.h \
65         pam_types.h
66 INCS=   ${PAMINCS:S;^;${SRCDIR}/include/security/;} pam_mod_misc.h
67 INCSDIR=        ${INCLUDEDIR}/security
68
69 MAN=    pam_acct_mgmt.3 \
70         pam_authenticate.3 \
71         pam_chauthtok.3 \
72         pam_close_session.3 \
73         pam_end.3 \
74         pam_get_data.3 \
75         pam_get_item.3 \
76         pam_get_user.3 \
77         pam_getenv.3 \
78         pam_getenvlist.3 \
79         pam_open_session.3 \
80         pam_putenv.3 \
81         pam_set_data.3 \
82         pam_set_item.3 \
83         pam_setcred.3 \
84         pam_start.3 \
85         pam_strerror.3 \
86         pam_sm_acct_mgmt.3 \
87         pam_sm_authenticate.3 \
88         pam_sm_chauthtok.3 \
89         pam_sm_close_session.3 \
90         pam_sm_open_session.3 \
91         pam_sm_setcred.3 \
92         openpam_borrow_cred.3 \
93         openpam_free_data.3 \
94         openpam_free_envlist.3 \
95         openpam_get_option.3 \
96         openpam_log.3 \
97         openpam_nullconv.3 \
98         openpam_readline.3 \
99         openpam_restore_cred.3 \
100         openpam_set_option.3 \
101         openpam_subst.3 \
102         openpam_ttyconv.3 \
103         pam_error.3 \
104         pam_get_authtok.3 \
105         pam_info.3 \
106         pam_prompt.3 \
107         pam_setenv.3 \
108         pam_verror.3 \
109         pam_vinfo.3 \
110         pam_vprompt.3 \
111         openpam.3 \
112         pam.3 \
113         pam_conv.3 \
114         pam.conf.5
115
116 .PATH: ${SRCDIR}/lib ${SRCDIR}/doc/man
117
118 .include <bsd.lib.mk>