Makefile revision 227085
1175383Sjhb# $FreeBSD: head/sys/modules/ipfw/Makefile 227085 2011-11-04 16:24:19Z bz $ 2175383Sjhb 3175383Sjhb.include <bsd.own.mk> 4175383Sjhb 5175383Sjhb.PATH: ${.CURDIR}/../../netinet/ipfw 6175383Sjhb 7175383SjhbKMOD= ipfw 8175383SjhbSRCS= ip_fw2.c ip_fw_pfil.c 9175383SjhbSRCS+= ip_fw_dynamic.c ip_fw_log.c 10175383SjhbSRCS+= ip_fw_sockopt.c ip_fw_table.c 11175383SjhbSRCS+= opt_inet.h opt_inet6.h opt_ipdivert.h opt_ipfw.h opt_ipsec.h 12175383Sjhb 13175383SjhbCFLAGS+= -DIPFIREWALL 14175383SjhbCFLAGS+= -I${.CURDIR}/../../contrib/pf 15175383Sjhb# 16175383Sjhb#If you want it verbose 17175383Sjhb#CFLAGS+= -DIPFIREWALL_VERBOSE 18175383Sjhb#CFLAGS+= -DIPFIREWALL_VERBOSE_LIMIT=100 19175383Sjhb# 20175383Sjhb#If you want it to pass all packets by default 21175383Sjhb#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT 22175383Sjhb# 23175383Sjhb 24175383Sjhb.if !defined(KERNBUILDDIR) 25175383Sjhb.if ${MK_INET_SUPPORT} != "no" 26175383Sjhbopt_inet.h: 27175383Sjhb echo "#define INET 1" > ${.TARGET} 28175383Sjhb.endif 29175383Sjhb.if ${MK_INET6_SUPPORT} != "no" 30175383Sjhbopt_inet6.h: 31175383Sjhb echo "#define INET6 1" > ${.TARGET} 32175383Sjhb.endif 33175383Sjhb.endif 34175383Sjhb 35175383Sjhb.include <bsd.kmod.mk> 36175383Sjhb