150477Speter# $FreeBSD: stable/11/sys/modules/ipfw/Makefile 332401 2018-04-11 10:36:20Z ae $
25540Sugen
3319182Sngie.PATH: ${SRCTOP}/sys/netpfil/ipfw
470711Sobrien
540440SpeterKMOD=	ipfw
6316446SaeSRCS=	ip_fw2.c ip_fw_pfil.c ip_fw_bpf.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
10326142SaeSRCS+=	opt_inet.h opt_inet6.h opt_ipdivert.h opt_ipfw.h
1170711Sobrien
12332401SaeCFLAGS+= -DIPFIREWALL -I${SRCTOP}/sys/contrib/ck/include
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