HAMMER - Stabilize and refactor volume removal
[dragonfly.git] / lib / libpam / Makefile
bloba714afe05e86bb2a8e809f2963524a54e10f59d5
1 # $DragonFly: src/lib/libpam/Makefile,v 1.4 2005/07/14 14:21:16 joerg Exp $
3 LIB= pam
4 WARNS?= 6
6 SRCDIR= ${.CURDIR}/../../contrib/openpam
7 CONTRIBDIR= ${SRCDIR}/lib
8 PATCHES!= echo ${.CURDIR}/patches/*.patch
10 MODULE_DIR= /usr/lib/security
12 CFLAGS+= -DOPENPAM_MODULES_DIR='"${MODULE_DIR}/"'
13 CFLAGS+= -DLIB_MAJ=${MODULE_SHLIB_MAJOR}
14 CFLAGS+= -I${SRCDIR}/lib
16 SRCS= openpam_borrow_cred.c openpam_configure.c openpam_dispatch.c
17 SRCS+= openpam_dynamic.c openpam_findenv.c openpam_free_data.c
18 SRCS+= openpam_free_envlist.c openpam_get_option.c openpam_load.c
19 SRCS+= openpam_log.c openpam_nullconv.c openpam_readline.c
20 SRCS+= openpam_restore_cred.c openpam_set_option.c openpam_static.c
21 SRCS+= openpam_ttyconv.c pam_acct_mgmt.c pam_authenticate.c
22 SRCS+= pam_chauthtok.c pam_close_session.c pam_end.c pam_error.c
23 SRCS+= pam_get_authtok.c pam_get_data.c pam_get_item.c pam_get_user.c
24 SRCS+= pam_getenv.c pam_getenvlist.c pam_info.c pam_open_session.c
25 SRCS+= pam_prompt.c pam_putenv.c pam_set_data.c pam_set_item.c pam_setcred.c
26 SRCS+= pam_setenv.c pam_start.c pam_strerror.c pam_verror.c pam_vinfo.c
27 SRCS+= pam_vprompt.c
28 SRCS+= pam_debug_log.c
29 SRCS+= ${PATCHES}
31 PAMINCS= openpam.h openpam_version.h pam_appl.h pam_constants.h
32 PAMINCS+= pam_modules.h pam_types.h openpam_attr.h
33 INCS= ${PAMINCS:S;^;${SRCDIR}/include/security/;} pam_mod_misc.h
34 INCSDIR= ${INCLUDEDIR}/security
36 MAN= openpam.3 openpam_borrow_cred.3 openpam_free_data.3
37 MAN+= openpam_free_envlist.3 openpam_get_option.3 openpam_log.3
38 MAN+= openpam_nullconv.3 openpam_readline.3 openpam_restore_cred.3
39 MAN+= openpam_set_option.3 openpam_ttyconv.3 pam.3 pam_acct_mgmt.3
40 MAN+= pam_authenticate.3 pam_chauthtok.3 pam_close_session.3 pam_conv.3
41 MAN+= pam_end.3 pam_error.3 pam_get_authtok.3 pam_get_data.3 pam_get_item.3
42 MAN+= pam_get_user.3 pam_getenv.3 pam_getenvlist.3 pam_info.3
43 MAN+= pam_open_session.3 pam_prompt.3 pam_putenv.3 pam_set_data.3
44 MAN+= pam_set_item.3 pam_setcred.3 pam_setenv.3 pam_sm_acct_mgmt.3
45 MAN+= pam_sm_authenticate.3 pam_sm_chauthtok.3 pam_sm_close_session.3
46 MAN+= pam_sm_open_session.3 pam_sm_setcred.3 pam_start.3 pam_strerror.3
47 MAN+= pam_verror.3 pam_vinfo.3 pam_vprompt.3 pam.conf.5
49 .PATH: ${SRCDIR}/lib ${SRCDIR}/doc/man
51 .include "../pam_module/Makefile.shlib"
52 .include <bsd.lib.mk>