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 21.if ${.CURDIR:M*/libipf} == "" 22LIBADD+= ipf 23.endif 24 25CLEANFILES+= y.tab.c y.tab.h 26 27.PATH: ${.CURDIR}/../../../contrib/ipfilter \ 28 ${.CURDIR}/../../../contrib/ipfilter/lib \ 29 ${.CURDIR}/../../../contrib/ipfilter/tools \ 30 ${.CURDIR}/../../../contrib/ipfilter/man 31 32.include "../Makefile.inc" 33