aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/ipfw
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2004-08-23 03:38:21 +0000
committerWarner Losh <imp@FreeBSD.org>2004-08-23 03:38:21 +0000
commite412451de3684402662c7acef1beb7ac57baba65 (patch)
tree0bb637fc870d3ff7e688ba58933ccad6b8fac172 /sys/modules/ipfw
parentc415679d71b8ca4c09a31c0fe60da2d830a7b2fe (diff)
downloadsrc-e412451de3684402662c7acef1beb7ac57baba65.tar.gz
src-e412451de3684402662c7acef1beb7ac57baba65.zip
Make this compile again in the standalone and the MODULES_WITH_WORLD
environments. Chances are good that this doesn't produce a good module, but I leave the proper defaults to the dummy opt_* files to the author.
Notes
Notes: svn path=/head/; revision=134190
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 cd5a6f791e49..6f877e4fb6ef 100644
--- a/sys/modules/ipfw/Makefile
+++ b/sys/modules/ipfw/Makefile
@@ -3,7 +3,9 @@
.PATH: ${.CURDIR}/../../netinet
KMOD= ipfw
-SRCS= ip_fw2.c ip_fw_pfil.c
+SRCS= ip_fw2.c ip_fw_pfil.c \
+ opt_inet.h opt_ipfw.h opt_ipdn.h opt_ipdivert.h opt_ipsec.h \
+ opt_pfil_hooks.h
CFLAGS+= -DIPFIREWALL
#
@@ -14,5 +16,7 @@ CFLAGS+= -DIPFIREWALL
#If you want it to pass all packets by default
#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT
#
+opt_inet.h:
+ echo "#define INET 1" > opt_inet.h
.include <bsd.kmod.mk>