xref: /freebsd/sys/modules/ipfw/Makefile (revision 0197ba465f275a32975d5c93b811e7caaec5b438)
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 opt_kern_tls.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
22EXPORT_SYMS=	YES
23
24.include <bsd.kmod.mk>
25