34 lines
700 B
Makefile
34 lines
700 B
Makefile
# $NetBSD: Makefile.inc,v 1.13 2006/03/20 04:03:23 christos Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
SSHDIST?= ${NETBSDSRCDIR}/crypto/dist/ssh
|
|
|
|
CPPFLAGS+=-I${SSHDIST} -DHAVE_LOGIN_CAP -DHAVE_MMAP -DHAVE_OPENPTY
|
|
.PATH: ${SSHDIST}
|
|
|
|
LDADD+= -lssh -lcrypto -lcrypt -lz
|
|
DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} ${LIBZ}
|
|
|
|
.if (${USE_PAM} != "no")
|
|
CPPFLAGS+=-DUSE_PAM
|
|
.endif
|
|
|
|
.if (${USE_KERBEROS} != "no")
|
|
|
|
CPPFLAGS+=-DGSSAPI -I${DESTDIR}/usr/include/gssapi
|
|
CPPFLAGS+=-DKRB5 -I${DESTDIR}/usr/include/krb5
|
|
|
|
.endif
|
|
|
|
CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX
|
|
CPPFLAGS+=-DLIBWRAP
|
|
|
|
.if (${USE_SKEY} != "no")
|
|
CPPFLAGS+=-DSKEY
|
|
.endif
|
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
.endif
|