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