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