aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/ipfilter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/ipfilter/Makefile')
-rw-r--r--sys/modules/ipfilter/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/modules/ipfilter/Makefile b/sys/modules/ipfilter/Makefile
index 6c5fc140f36c..969df7dfad84 100644
--- a/sys/modules/ipfilter/Makefile
+++ b/sys/modules/ipfilter/Makefile
@@ -1,3 +1,5 @@
+.include <src.opts.mk>
+
.PATH: ${SRCTOP}/sys/netpfil/ipfilter/netinet
KMOD= ipl
@@ -9,6 +11,11 @@ SRCS+= opt_bpf.h opt_inet6.h opt_kern_tls.h
CFLAGS+= -I${SRCTOP}/sys/netpfil/ipfilter
CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP
+
+.if ${MK_IPFILTER_IPFS} != "no"
+CFLAGS+= -DIPFILTER_IPFS
+.endif
+
#
# If you don't want log functionality remove -DIPFILTER_LOG
#