09818ac28e
Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
24 lines
410 B
Makefile
24 lines
410 B
Makefile
# PAM module for SSH
|
|
# $FreeBSD$
|
|
|
|
SSHDIR= ${.CURDIR}/../../../../crypto/openssh
|
|
|
|
LIB= pam_ssh
|
|
MAN= pam_ssh.8
|
|
SRCS= pam_ssh.c
|
|
|
|
# required when linking with a dynamic libssh
|
|
SRCS+= roaming_dummy.c
|
|
|
|
WARNS?= 3
|
|
CFLAGS+= -I${SSHDIR} -include ssh_namespace.h
|
|
|
|
DPADD= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT}
|
|
LDADD= -lssh -lcrypto -lcrypt
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.PATH: ${SSHDIR}
|
|
|
|
${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
|