From 046cc7b93efb079e02456dad8172f924009c8c48 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Wed, 26 Nov 2014 12:54:58 +0000 Subject: Account for /usr/include/protocols/r{outed,whod}.h with their respective build knobs --- include/protocols/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/protocols/Makefile b/include/protocols/Makefile index 0008c76fb875..c39002ef9598 100644 --- a/include/protocols/Makefile +++ b/include/protocols/Makefile @@ -3,9 +3,17 @@ .include NO_OBJ= -INCS= dumprestore.h routed.h rwhod.h timed.h +INCS= dumprestore.h timed.h INCSDIR=${INCLUDEDIR}/protocols +.if ${MK_RCMDS} != "no" +INCS+= rwhod.h +.endif + +.if ${MK_ROUTED} != "no" +INCS+= routed.h +.endif + .if ${MK_TALK} != "no" INCS+= talkd.h .endif -- cgit v1.2.3