From 4b83c5852a5bcba28ed7ce5d13ff021642859772 Mon Sep 17 00:00:00 2001 From: bz Date: Sat, 13 Nov 2004 20:40:32 +0000 Subject: 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 PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks --- rescue/librescue/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rescue/librescue/Makefile') diff --git a/rescue/librescue/Makefile b/rescue/librescue/Makefile index c53c23d..f73984c 100644 --- a/rescue/librescue/Makefile +++ b/rescue/librescue/Makefile @@ -30,7 +30,10 @@ CFLAGS+= -DPOSIX_MISTAKE # libc/rpc/Makefile.inc CFLAGS+= -DBROKEN_DES -DPORTMAP -DDES_BUILTIN # libc/Makefile -CFLAGS+= -DYP -DHESIOD +.if !defined(NO_NIS) +CFLAGS+= -DYP +.endif +CFLAGS+= -DHESIOD CFLAGS+= -I${.CURDIR}/../../lib/libc/include .include -- cgit v1.1