1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1995-01-12 13:03:02 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2001-01-06 14:00:42 +00:00
|
|
|
.PATH: ${.CURDIR}/../../netinet
|
|
|
|
|
1998-10-16 04:30:52 +00:00
|
|
|
KMOD= ipfw
|
2004-08-26 14:18:30 +00:00
|
|
|
SRCS= ip_fw2.c ip_fw_pfil.c
|
2006-09-12 04:25:13 +00:00
|
|
|
SRCS+= opt_inet6.h opt_ipsec.h opt_mac.h
|
2001-01-06 14:00:42 +00:00
|
|
|
|
1999-04-20 14:31:23 +00:00
|
|
|
CFLAGS+= -DIPFIREWALL
|
1995-01-12 13:03:02 +00:00
|
|
|
#
|
1995-01-12 13:57:51 +00:00
|
|
|
#If you want it verbose
|
1995-01-12 13:03:02 +00:00
|
|
|
#CFLAGS+= -DIPFIREWALL_VERBOSE
|
1996-06-23 14:28:02 +00:00
|
|
|
#CFLAGS+= -DIPFIREWALL_VERBOSE_LIMIT=100
|
1995-01-12 13:03:02 +00:00
|
|
|
#
|
1997-09-10 04:19:07 +00:00
|
|
|
#If you want it to pass all packets by default
|
|
|
|
#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT
|
|
|
|
#
|
1995-01-12 13:03:02 +00:00
|
|
|
|
2005-11-29 17:56:11 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
2005-11-29 17:56:11 +00:00
|
|
|
opt_inet6.h:
|
|
|
|
echo "#define INET6 1" > ${.TARGET}
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2000-05-27 01:14:33 +00:00
|
|
|
.include <bsd.kmod.mk>
|