084a46829b
Move common stuff into Makefile.inc, and tidy up all the Makefiles as a result. Build new modules. Put a commented-out dependancy on libpam for the (shared) modules. I can't bring this in just yet, as the dependancy (modules->libpam) is reversed for the static case (libpam->modules).
18 lines
380 B
Makefile
18 lines
380 B
Makefile
# PAM module for SSH
|
|
# $FreeBSD$
|
|
|
|
SSHSRC= ${.CURDIR}/../../../../crypto/openssh
|
|
|
|
LIB= pam_ssh
|
|
SHLIB_NAME= pam_ssh.so
|
|
SRCS= log-client.c pam_ssh.c
|
|
CFLAGS= -I${SSHSRC}
|
|
DPADD+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
|
|
LDADD+= -L${.OBJDIR}/../../../../secure/lib/libssh -lssh -lcrypto \
|
|
-lcrypt -lutil -lz
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.PATH: ${SSHSRC}/pam_ssh
|
|
.PATH: ${SSHSRC}
|