Warner Losh e412451de3 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.
2004-08-23 03:38:21 +00:00

23 lines
453 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../netinet
KMOD= ipfw
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
#
#If you want it verbose
#CFLAGS+= -DIPFIREWALL_VERBOSE
#CFLAGS+= -DIPFIREWALL_VERBOSE_LIMIT=100
#
#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>