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