summaryrefslogtreecommitdiffstats
path: root/usr.sbin/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 /usr.sbin/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 'usr.sbin/Makefile')
-rw-r--r--usr.sbin/Makefile30
1 files changed, 21 insertions, 9 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index a976e53..28d6bbb 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -136,9 +136,9 @@ SUBDIR= ac \
rpc.lockd \
rpc.statd \
rpc.umntall \
- rpc.yppasswdd \
- rpc.ypupdated \
- rpc.ypxfrd \
+ ${_rpc.yppasswdd} \
+ ${_rpc.ypupdated} \
+ ${_rpc.ypxfrd} \
rrenumd \
rtadvd \
rtprio \
@@ -175,12 +175,12 @@ SUBDIR= ac \
watchdogd \
wicontrol \
${_wlconfig} \
- ypbind \
- yp_mkdb \
- yppoll \
- yppush \
- ypserv \
- ypset \
+ ${_ypbind} \
+ ${_yp_mkdb} \
+ ${_yppoll} \
+ ${_yppush} \
+ ${_ypserv} \
+ ${_ypset} \
zic \
${_zzz}
@@ -229,6 +229,18 @@ _ipsend= ipsend
_iptest= iptest
.endif
+.if !defined(NO_NIS)
+_rpc.yppasswdd= rpc.yppasswdd
+_rpc.ypupdated= rpc.ypupdated
+_rpc.ypxfrd= rpc.ypxfrd
+_ypbind= ypbind
+_yp_mkdb= yp_mkdb
+_yppoll= yppoll
+_yppush= yppush
+_ypserv= ypserv
+_ypset= ypset
+.endif
+
.if !defined(NO_PF) && !defined(NO_AUTHPF)
_authpf= authpf
.endif
OpenPOWER on IntegriCloud