aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/ipfilter
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-08-04 22:37:02 +0000
committerWarner Losh <imp@FreeBSD.org>2014-08-04 22:37:02 +0000
commitaeaed508982227551b2748339033bb2483382b4d (patch)
treec03685b1d6ae030d6a0c9b2f8902e105aa1e4fd4 /sys/modules/ipfilter
parentb0a8d404e5b942b4ccf1ad17137e33115202c1cf (diff)
Move most of the 15 variations on generating opt_inet.h and
opt_inet6.h into kmod.mk by forcing almost everybody to eat the same dogfood. While at it, consolidate the opt_bpf.h and opt_mroute.h targets here too.
Notes
Notes: svn path=/head/; revision=269540
Diffstat (limited to 'sys/modules/ipfilter')
-rw-r--r--sys/modules/ipfilter/Makefile11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/modules/ipfilter/Makefile b/sys/modules/ipfilter/Makefile
index 0bdfbf2dfcee..0d8fa8a05816 100644
--- a/sys/modules/ipfilter/Makefile
+++ b/sys/modules/ipfilter/Makefile
@@ -1,7 +1,5 @@
# $FreeBSD$
-.include <src.opts.mk>
-
.PATH: ${.CURDIR}/../../contrib/ipfilter/netinet
KMOD= ipl
@@ -11,15 +9,6 @@ SRCS= mlfk_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c ip_auth.c \
ip_nat6.c ip_rules.c ip_scan.c ip_dstlist.c radix_ipf.c
SRCS+= opt_bpf.h opt_inet6.h
-.if !defined(KERNBUILDDIR)
-opt_bpf.h:
- echo "#define DEV_BPF 1" > ${.TARGET}
-
-.if ${MK_INET6_SUPPORT} != "no"
-opt_inet6.h:
- echo "#define INET6 1" > ${.TARGET}
-.endif
-.endif
CFLAGS+= -I${.CURDIR}/../../contrib/ipfilter
CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP
#