1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5.PATH: ${.CURDIR}/../../netinet 6 7KMOD= ipfw 8SRCS= ip_fw2.c ip_fw_pfil.c 9SRCS+= opt_inet6.h opt_ipsec.h 10 11CFLAGS+= -DIPFIREWALL 12# 13#If you want it verbose 14#CFLAGS+= -DIPFIREWALL_VERBOSE 15#CFLAGS+= -DIPFIREWALL_VERBOSE_LIMIT=100 16# 17#If you want it to pass all packets by default 18#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT 19# 20 21.if !defined(KERNBUILDDIR) 22.if ${MK_INET6_SUPPORT} != "no" 23opt_inet6.h: 24 echo "#define INET6 1" > ${.TARGET} 25.endif 26.endif 27 28.include <bsd.kmod.mk> 29