xref: /dragonfly/sys/net/ipfw3/Makefile (revision 63e03116)
1KMOD=	ipfw3
2SRCS=	opt_fw3.h
3SRCS=	ip_fw3.c
4SRCS+=	ip_fw3_set.c
5SRCS+=	opt_ipfw.h opt_inet.h
6
7.ifndef KERNBUILDDIR
8opt_inet.h:
9	echo '#define INET 1' > ${.OBJDIR}/${.TARGET}
10
11opt_ipfw.h:
12	echo '#define IPFIREWALL3 1' > ${.OBJDIR}/${.TARGET}
13	# Debug prints
14	#echo '#define IPFIREWALL_DEBUG 1' >> ${.OBJDIR}/${.TARGET}
15	#
16	# If you want it verbose
17	#echo '#define IPFIREWALL_VERBOSE 1' >> ${.OBJDIR}/${.TARGET}
18	#
19	# If you want it to pass all packets by default
20	#echo '#define IPFIREWALL_DEFAULT_TO_ACCEPT 1' >> ${.OBJDIR}/${.TARGET}
21.endif
22
23.include <bsd.kmod.mk>
24