mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
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.
This commit is contained in:
parent
c415679d71
commit
e412451de3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134190
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user