No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / external / bsd / openssh / Makefile.inc
blob67402ed2fd718ba4f1485e03b1d568f141161bd9
1 #       $NetBSD: Makefile.inc,v 1.1 2009/06/07 22:38:45 christos Exp $
3 WARNS?= 1       # XXX -Wshadow -Wcast-qual
5 .include <bsd.own.mk>
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
12 .PATH: ${SSHDIST}
14 .if (${USE_PAM} != "no")
15 CPPFLAGS+=-DUSE_PAM
16 .else   # USE_PAM == no
17 .if (${USE_SKEY} != "no")
18 CPPFLAGS+=-DSKEY
19 .endif
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
25 .endif
27 .if ${X11FLAVOUR} == "Xorg"
28 CPPFLAGS+=-DX11BASE=\"/usr/X11R7\"
29 .endif
31 CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX
32 CPPFLAGS+=-DLIBWRAP