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