519b6a4c8f
applications linked with Linux-PAM will still work. Remove pam_get_pass(); OpenPAM has pam_get_authtok(). Remove pam_prompt(); OpenPAM has pam_{,v}{error,info,prompt}(). Remove pam_set_item(3) man page as OpenPAM has its own. Sponsored by: DARPA, NAI Labs
19 lines
432 B
Makefile
19 lines
432 B
Makefile
# $FreeBSD$
|
|
|
|
PAMDIR= ${.CURDIR}/../../../../contrib/openpam
|
|
|
|
INTERNALLIB= yes
|
|
INTERNALSTATICLIB=yes
|
|
|
|
CFLAGS+= -I${PAMDIR}/libpam/include
|
|
CFLAGS+= -I${.CURDIR}/../../libpam
|
|
|
|
# This is nasty.
|
|
# For the static case, libpam.a depends on the modules.
|
|
# For the dynamic case, the modules depend on libpam.so.N
|
|
# Punt for the time being until I can figure out how to do it.
|
|
#DPADD+= ${LIBPAM}
|
|
#LDADD+= -lpam
|
|
|
|
.include "../Makefile.inc"
|