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>
|
|
|
|
|
|
2009-06-05 15:22:47 -04:00
|
|
|
.PATH: ${.CURDIR}/../../netinet/ipfw
|
2001-01-06 09:00:42 -05:00
|
|
|
|
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
|
2011-03-29 02:42:52 -04:00
|
|
|
SRCS+= ip_fw_dynamic.c ip_fw_log.c
|
2009-12-17 12:44:34 -05:00
|
|
|
SRCS+= ip_fw_sockopt.c ip_fw_table.c
|
2009-06-08 15:57:35 -04:00
|
|
|
SRCS+= opt_inet6.h opt_ipsec.h
|
2001-01-06 09:00:42 -05:00
|
|
|
|
1999-04-20 10:31:23 -04:00
|
|
|
CFLAGS+= -DIPFIREWALL
|
2007-07-03 08:46:08 -04:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/pf
|
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>
|