summaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.pcnfsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rpc.pcnfsd/Makefile')
-rw-r--r--usr.sbin/rpc.pcnfsd/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/rpc.pcnfsd/Makefile b/usr.sbin/rpc.pcnfsd/Makefile
index 368adf8e79a..c658251d5d1 100644
--- a/usr.sbin/rpc.pcnfsd/Makefile
+++ b/usr.sbin/rpc.pcnfsd/Makefile
@@ -1,9 +1,15 @@
# $NetBSD: Makefile,v 1.3 1995/07/25 22:20:13 gwr Exp $
+.include <bsd.own.mk>
+
PROG= rpc.pcnfsd
MAN= pcnfsd.8
MLINKS= pcnfsd.8 rpc.pcnfsd.8
-CFLAGS += -DUSER_CACHE -DWTMP -DUSE_YP -I${.OBJDIR}
+CFLAGS += -DUSER_CACHE -DWTMP -I${.OBJDIR}
+
+.if defined(YP)
+CFLAGS+=-DUSE_YP
+.endif
SRCS= pcnfsd_v1.c pcnfsd_v2.c pcnfsd_misc.c \
pcnfsd_cache.c pcnfsd_print.c pcnfsd_svc.c pcnfsd_xdr.c