Makefile revision 220124
1119679Smbr# $FreeBSD: head/sys/modules/ipfw/Makefile 220124 2011-03-29 06:42:52Z ae $ 2174294Sobrien 3174294Sobrien.include <bsd.own.mk> 4119679Smbr 5119679Smbr.PATH: ${.CURDIR}/../../netinet/ipfw 6119679Smbr 7119679SmbrKMOD= ipfw 8119679SmbrSRCS= ip_fw2.c ip_fw_pfil.c 9119679SmbrSRCS+= ip_fw_dynamic.c ip_fw_log.c 10119679SmbrSRCS+= ip_fw_sockopt.c ip_fw_table.c 11119679SmbrSRCS+= opt_inet6.h opt_ipsec.h 12119679Smbr 13119679SmbrCFLAGS+= -DIPFIREWALL 14119679SmbrCFLAGS+= -I${.CURDIR}/../../contrib/pf 15119679Smbr# 16119679Smbr#If you want it verbose 17119679Smbr#CFLAGS+= -DIPFIREWALL_VERBOSE 18119679Smbr#CFLAGS+= -DIPFIREWALL_VERBOSE_LIMIT=100 19119679Smbr# 20119679Smbr#If you want it to pass all packets by default 21119679Smbr#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT 22119679Smbr# 23119679Smbr 24119679Smbr.if !defined(KERNBUILDDIR) 25119679Smbr.if ${MK_INET6_SUPPORT} != "no" 26119679Smbropt_inet6.h: 27119679Smbr echo "#define INET6 1" > ${.TARGET} 28119679Smbr.endif 29119679Smbr.endif 30119679Smbr 31119679Smbr.include <bsd.kmod.mk> 32119679Smbr