2005-08-18 04:19:28 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.12 2005/08/18 00:19:28 christos Exp $
|
2000-07-25 20:32:24 +04:00
|
|
|
|
2002-09-18 18:00:33 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
SSHDIST?= ${NETBSDSRCDIR}/crypto/dist/ssh
|
2000-07-25 20:32:24 +04:00
|
|
|
|
2005-02-13 22:15:43 +03:00
|
|
|
CPPFLAGS+=-I${SSHDIST} -DHAVE_LOGIN_CAP -DHAVE_MMAP -DHAVE_OPENPTY
|
2000-07-25 20:32:24 +04:00
|
|
|
.PATH: ${SSHDIST}
|
|
|
|
|
2005-03-09 06:11:22 +03:00
|
|
|
LDADD+= -lssh -lcrypto -lcrypt -lz
|
|
|
|
DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} ${LIBZ}
|
2000-07-25 20:32:24 +04:00
|
|
|
|
2005-08-18 04:19:28 +04:00
|
|
|
.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
|
|
|
|
|
|
|
|
.if ${MKKERBEROS4} != "no"
|
|
|
|
CPPFLAGS+=-DKRB4 -DAFS -I${DESTDIR}/usr/include/kerberosIV
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX
|
|
|
|
CPPFLAGS+=-DLIBWRAP
|
|
|
|
|
|
|
|
.if (${USE_SKEY} != "no")
|
|
|
|
CPPFLAGS+=-DSKEY
|
|
|
|
.endif
|
|
|
|
|
2000-07-25 20:32:24 +04:00
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
|
|
.endif
|