KMOD= ipfw3_layer2 SRCS= ip_fw3_layer2.c SRCS+= opt_ipfw.h opt_inet.h .ifndef KERNBUILDDIR opt_inet.h: echo '#define INET 1' > ${.OBJDIR}/${.TARGET} opt_ipfw.h: echo '#define IPFIREWALL3 1' > ${.OBJDIR}/${.TARGET} # Debug prints #echo '#define IPFIREWALL_DEBUG 1' >> ${.OBJDIR}/${.TARGET} # # If you want it verbose #echo '#define IPFIREWALL_VERBOSE 1' >> ${.OBJDIR}/${.TARGET} # # If you want it to pass all packets by default #echo '#define IPFIREWALL_DEFAULT_TO_ACCEPT 1' >> ${.OBJDIR}/${.TARGET} .endif .include