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_table.c ip_fw3_table.h 7SRCS+= opt_ipfw.h opt_inet.h 8 9.ifndef BUILDING_WITH_KERNEL 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 #echo '#define IPFIREWALL_VERBOSE_LIMIT 100' >> ${.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