xref: /dragonfly/sys/net/ipfw3/Makefile (revision ad7194d9)
1# $FreeBSD: src/sys/modules/ipfw/Makefile,v 1.11.2.1 2003/02/14 14:09:21 maxim Exp $
2# $DragonFly: src/sys/net/ipfw/Makefile,v 1.6 2008/09/16 12:16:08 sephe Exp $
3
4KMOD=	ipfw3
5SRCS=	ip_fw3.c
6SRCS+=	ip_fw3_log.c ip_fw3_log.h
7SRCS+=  ip_fw3_table.c ip_fw3_table.h
8SRCS+=	opt_ipfw.h opt_inet.h
9
10.ifndef BUILDING_WITH_KERNEL
11opt_inet.h:
12	echo '#define INET 1' > ${.OBJDIR}/${.TARGET}
13
14opt_ipfw.h:
15	echo '#define IPFIREWALL3 1' > ${.OBJDIR}/${.TARGET}
16	# Debug prints
17	#echo '#define IPFIREWALL_DEBUG 1' >> ${.OBJDIR}/${.TARGET}
18	#
19	# If you want it verbose
20	#echo '#define IPFIREWALL_VERBOSE 1' >> ${.OBJDIR}/${.TARGET}
21	#
22	# If you want it to pass all packets by default
23	#echo '#define IPFIREWALL_DEFAULT_TO_ACCEPT 1' >> ${.OBJDIR}/${.TARGET}
24.endif
25
26.include <bsd.kmod.mk>
27