xref: /freebsd/sys/modules/ipfw/Makefile (revision 389e4940069316fe667ffa263fa7d6390d0a960f)
1# $FreeBSD$
2
3.PATH: ${SRCTOP}/sys/netpfil/ipfw
4
5KMOD=	ipfw
6SRCS=	ip_fw2.c ip_fw_pfil.c ip_fw_bpf.c
7SRCS+=	ip_fw_dynamic.c ip_fw_log.c ip_fw_eaction.c
8SRCS+=	ip_fw_sockopt.c ip_fw_table.c ip_fw_table_algo.c ip_fw_iface.c
9SRCS+=	ip_fw_table_value.c
10SRCS+=	opt_inet.h opt_inet6.h opt_ipdivert.h opt_ipfw.h
11
12CFLAGS+= -DIPFIREWALL -I${SRCTOP}/sys/contrib/ck/include
13#
14#If you want it verbose
15#CFLAGS+= -DIPFIREWALL_VERBOSE
16#CFLAGS+= -DIPFIREWALL_VERBOSE_LIMIT=100
17#
18#If you want it to pass all packets by default
19#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT
20#
21
22.include <bsd.kmod.mk>
23