summaryrefslogtreecommitdiff
path: root/sbin/nfsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/nfsd/Makefile')
-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>