aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2014-11-26 12:54:58 +0000
committerEnji Cooper <ngie@FreeBSD.org>2014-11-26 12:54:58 +0000
commit046cc7b93efb079e02456dad8172f924009c8c48 (patch)
treeda6e0bc7012f0217763192972f036875e2b5a384 /include
parent12de3059d049b66cc1ca95509c253dc1359b2816 (diff)
downloadsrc-046cc7b93efb079e02456dad8172f924009c8c48.tar.gz
src-046cc7b93efb079e02456dad8172f924009c8c48.zip
Account for /usr/include/protocols/r{outed,whod}.h with their respective build knobs
Notes
Notes: svn path=/projects/building-blocks/; revision=275115
Diffstat (limited to 'include')
-rw-r--r--include/protocols/Makefile10
1 files changed, 9 insertions, 1 deletions
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 <src.opts.mk>
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