summaryrefslogtreecommitdiff
path: root/sbin/nfsd
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1995-12-16 22:20:39 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1995-12-16 22:20:39 +0000
commit14a9e0b27dc4374bb21711ddfd2c319471498493 (patch)
tree3f9b41aa80386aa9df94540971211fe446c61555 /sbin/nfsd
parentec46b838472184755608a409e432009edbfb979a (diff)
Make it possible to build without SKEY support
Add support for building with kerberosIV
Diffstat (limited to 'sbin/nfsd')
-rw-r--r--sbin/nfsd/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sbin/nfsd/Makefile b/sbin/nfsd/Makefile
index 700c65bf44b..4326e4e5417 100644
--- a/sbin/nfsd/Makefile
+++ b/sbin/nfsd/Makefile
@@ -4,4 +4,12 @@
PROG= nfsd
MAN= nfsd.8
+.include <bsd.own.mk> # For KERBEROS
+
+.if defined(KERBEROS)
+CFLAGS+=-DKERBEROS
+LDADD+= -lkrb -ldes
+DPADD+= ${LIBKRB} ${LIBDES}
+.endif
+
.include <bsd.prog.mk>