summaryrefslogtreecommitdiff
path: root/sys/modules/ipfw
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2011-09-27 13:27:17 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2011-09-27 13:27:17 +0000
commit75e54d60177c67d95b41308147dc7d66088cea35 (patch)
tree5396173c83dc2000247d17e1fc189ef71122a8a8 /sys/modules/ipfw
parentce8bd78b2aec7eb6ee3fb1e5bdb04c3a2f5b412d (diff)
downloadsrc-test2-75e54d60177c67d95b41308147dc7d66088cea35.tar.gz
src-test2-75e54d60177c67d95b41308147dc7d66088cea35.zip
Notes
Diffstat (limited to 'sys/modules/ipfw')
-rw-r--r--sys/modules/ipfw/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/modules/ipfw/Makefile b/sys/modules/ipfw/Makefile
index ec9b3cc49c1a..60ab84858c70 100644
--- a/sys/modules/ipfw/Makefile
+++ b/sys/modules/ipfw/Makefile
@@ -8,7 +8,7 @@ KMOD= ipfw
SRCS= ip_fw2.c ip_fw_pfil.c
SRCS+= ip_fw_dynamic.c ip_fw_log.c
SRCS+= ip_fw_sockopt.c ip_fw_table.c
-SRCS+= opt_inet6.h opt_ipfw.h opt_ipsec.h
+SRCS+= opt_inet.h opt_inet6.h opt_ipfw.h opt_ipsec.h
CFLAGS+= -DIPFIREWALL
CFLAGS+= -I${.CURDIR}/../../contrib/pf
@@ -22,6 +22,10 @@ CFLAGS+= -I${.CURDIR}/../../contrib/pf
#
.if !defined(KERNBUILDDIR)
+.if ${MK_INET_SUPPORT} != "no"
+opt_inet.h:
+ echo "#define INET 1" > ${.TARGET}
+.endif
.if ${MK_INET6_SUPPORT} != "no"
opt_inet6.h:
echo "#define INET6 1" > ${.TARGET}