xref: /freebsd/sys/modules/ipfw/Makefile (revision 7d8f797b725e3efc0a4256554654780df83c456c)
1# $FreeBSD$
2
3.PATH: ${.CURDIR}/../../netpfil/ipfw
4
5KMOD=	ipfw
6SRCS=	ip_fw2.c ip_fw_pfil.c
7SRCS+=	ip_fw_dynamic.c ip_fw_log.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 opt_ipsec.h
11
12CFLAGS+= -DIPFIREWALL
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