xref: /freebsd/lib/libpam/modules/pam_ssh/Makefile (revision 09d325677d53a12c79a43664ff29871e92247629)
1# PAM module for SSH
2# $FreeBSD$
3
4SSHDIR=	${.CURDIR}/../../../../crypto/openssh
5
6LIB=	pam_ssh
7MAN=	pam_ssh.8
8SRCS=	pam_ssh.c
9
10# required when linking with a dynamic libssh
11SRCS+=	roaming_dummy.c
12
13WARNS?=	3
14CFLAGS+= -I${SSHDIR} -include ssh_namespace.h
15
16DPADD=	${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT}
17LDADD=	-lssh -lcrypto -lcrypt
18USEPRIVATELIB= ssh
19
20.include <bsd.lib.mk>
21
22.PATH: ${SSHDIR}
23
24${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
25