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