1 # $NetBSD: Makefile.inc,v 1.1 2009/06/07 22:38:45 christos Exp $
3 WARNS?= 1 # XXX -Wshadow -Wcast-qual
7 USE_FORT?= yes # network client/server
9 SSHDIST?= ${NETBSDSRCDIR}/crypto/external/bsd/openssh/dist
11 CPPFLAGS+=-I${SSHDIST} -DHAVE_LOGIN_CAP -DHAVE_MMAP -DHAVE_OPENPTY
14 .if (${USE_PAM} != "no")
17 .if (${USE_SKEY} != "no")
20 .endif # USE_PAM == no
22 .if (${USE_KERBEROS} != "no")
23 CPPFLAGS+=-DGSSAPI -I${DESTDIR}/usr/include/gssapi
24 CPPFLAGS+=-DKRB5 -I${DESTDIR}/usr/include/krb5 -DHEIMDAL
27 .if ${X11FLAVOUR} == "Xorg"
28 CPPFLAGS+=-DX11BASE=\"/usr/X11R7\"
31 CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX