From dea7dd81b76d83cb17c0c1e01fbef70c5c203b6a Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 21 Mar 2002 09:15:39 +0000 Subject: Replaced hacks in sbin/Makefile,v 1.99 and usr.sbin/Makefile,v 1.217 with the NO_IPFILTER make.conf(5) knob. (So that we can "make the-rest-of-the-world" again.) --- sbin/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'sbin/Makefile') diff --git a/sbin/Makefile b/sbin/Makefile index 443bb22..cf0d54e 100644 --- a/sbin/Makefile +++ b/sbin/Makefile @@ -29,11 +29,7 @@ SUBDIR= adjkerntz \ ifconfig \ init \ ip6fw \ - ipf \ - ipfs \ - ipfstat \ ipfw \ - ipmon \ kldconfig \ kldload \ kldstat \ @@ -80,6 +76,14 @@ SUBDIR= adjkerntz \ umount \ vinum +.if !defined(NO_IPFILTER) +SUBDIR+=ipf \ + ipfs \ + ipfstat \ + ipmon \ + ipnat +.endif + .if ${MACHINE_ARCH} == "i386" SUBDIR+=cxconfig \ kget \ -- cgit v1.1