Makefile revision 225793
150477Speter# $FreeBSD: head/sys/modules/ipfw/Makefile 225793 2011-09-27 13:27:17Z bz $ 25540Sugen 3156813Sru.include <bsd.own.mk> 4156813Sru 5193532Sluigi.PATH: ${.CURDIR}/../../netinet/ipfw 670711Sobrien 740440SpeterKMOD= ipfw 8134346SruSRCS= ip_fw2.c ip_fw_pfil.c 9220124SaeSRCS+= ip_fw_dynamic.c ip_fw_log.c 10200636SluigiSRCS+= ip_fw_sockopt.c ip_fw_table.c 11225793SbzSRCS+= opt_inet.h opt_inet6.h opt_ipfw.h opt_ipsec.h 1270711Sobrien 1345872SpeterCFLAGS+= -DIPFIREWALL 14171173SmlaierCFLAGS+= -I${.CURDIR}/../../contrib/pf 155540Sugen# 165544Sugen#If you want it verbose 175540Sugen#CFLAGS+= -DIPFIREWALL_VERBOSE 1816619Sbde#CFLAGS+= -DIPFIREWALL_VERBOSE_LIMIT=100 195540Sugen# 2029272Speter#If you want it to pass all packets by default 2129272Speter#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT 2229272Speter# 235540Sugen 24152928Sume.if !defined(KERNBUILDDIR) 25225793Sbz.if ${MK_INET_SUPPORT} != "no" 26225793Sbzopt_inet.h: 27225793Sbz echo "#define INET 1" > ${.TARGET} 28225793Sbz.endif 29156813Sru.if ${MK_INET6_SUPPORT} != "no" 30152928Sumeopt_inet6.h: 31152928Sume echo "#define INET6 1" > ${.TARGET} 32152928Sume.endif 33152928Sume.endif 34152928Sume 3560966Speter.include <bsd.kmod.mk> 36