1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5WARNS?= 2 6NO_WFORMAT= 7NO_WARRAY_BOUNDS= 8 9CFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter 10CFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter/tools 11CFLAGS+= -I${.CURDIR}/../../../sys 12CFLAGS+= -I${.CURDIR}/../../../sys/contrib/ipfilter 13CFLAGS+= -DSTATETOP -D__UIO_EXPOSE 14 15.if ${MK_INET6_SUPPORT} != "no" 16CFLAGS+= -DUSE_INET6 17.else 18CFLAGS+= -DNOINET6 19.endif 20 21LIBADD+= ipf 22 23CLEANFILES+= y.tab.c y.tab.h 24 25.PATH: ${.CURDIR}/../../../contrib/ipfilter \ 26 ${.CURDIR}/../../../contrib/ipfilter/lib \ 27 ${.CURDIR}/../../../contrib/ipfilter/tools \ 28 ${.CURDIR}/../../../contrib/ipfilter/man 29 30.include "../Makefile.inc" 31