summaryrefslogtreecommitdiffstats
path: root/lib/librpcsvc/Makefile
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2004-11-13 20:40:32 +0000
committerbz <bz@FreeBSD.org>2004-11-13 20:40:32 +0000
commit4b83c5852a5bcba28ed7ce5d13ff021642859772 (patch)
treeda33d2aed5fb6a0c2319fb0d10f0957f518eee99 /lib/librpcsvc/Makefile
parenta67c7e75123103251e304a51ba19d0530b75981d (diff)
downloadFreeBSD-src-4b83c5852a5bcba28ed7ce5d13ff021642859772.zip
FreeBSD-src-4b83c5852a5bcba28ed7ce5d13ff021642859772.tar.gz
Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on no NIS support and related programs will be built. Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks
Diffstat (limited to 'lib/librpcsvc/Makefile')
-rw-r--r--lib/librpcsvc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/librpcsvc/Makefile b/lib/librpcsvc/Makefile
index c572249..49a918b 100644
--- a/lib/librpcsvc/Makefile
+++ b/lib/librpcsvc/Makefile
@@ -9,9 +9,13 @@ RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
rquota.x rstat.x rwall.x sm_inter.x spray.x yppasswd.x ypxfrd.x \
ypupdate_prot.x
-OTHERSRCS= rnusers.c rstat.c rwall.c yp_passwd.c yp_update.c
+OTHERSRCS= rnusers.c rstat.c rwall.c
SECRPCSRCS= secretkey.c xcrypt.c
+.if !defined(NO_NIS)
+OTHERSRCS+= yp_passwd.c yp_update.c
+.endif
+
RPCCOM = rpcgen -C
INCDIRS= -I${DESTDIR}/usr/include/rpcsvc
OpenPOWER on IntegriCloud