150477Speter# $FreeBSD: releng/11.0/sys/modules/ipfw/Makefile 298016 2016-04-14 22:51:23Z ae $
25540Sugen
3240494Sglebius.PATH: ${.CURDIR}/../../netpfil/ipfw
470711Sobrien
540440SpeterKMOD=	ipfw
6134346SruSRCS=	ip_fw2.c ip_fw_pfil.c
7298016SaeSRCS+=	ip_fw_dynamic.c ip_fw_log.c ip_fw_eaction.c
8272840SmelifaroSRCS+=	ip_fw_sockopt.c ip_fw_table.c ip_fw_table_algo.c ip_fw_iface.c
9272840SmelifaroSRCS+=	ip_fw_table_value.c
10227085SbzSRCS+=	opt_inet.h opt_inet6.h opt_ipdivert.h opt_ipfw.h opt_ipsec.h
1170711Sobrien
1245872SpeterCFLAGS+= -DIPFIREWALL
135540Sugen#
145544Sugen#If you want it verbose
155540Sugen#CFLAGS+= -DIPFIREWALL_VERBOSE
1616619Sbde#CFLAGS+= -DIPFIREWALL_VERBOSE_LIMIT=100
175540Sugen#
1829272Speter#If you want it to pass all packets by default
1929272Speter#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT
2029272Speter#
215540Sugen
2260966Speter.include <bsd.kmod.mk>
23