1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5WARNS?= 2 6NO_WFORMAT= 7NO_WARRAY_BOUNDS= 8 9CFLAGS+= -I${SRCTOP}/contrib/ipfilter 10CFLAGS+= -I${SRCTOP}/contrib/ipfilter/tools 11CFLAGS+= -I${SRCTOP}/sys 12CFLAGS+= -I${SRCTOP}/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: ${SRCTOP}/contrib/ipfilter \ 28 ${SRCTOP}/contrib/ipfilter/lib \ 29 ${SRCTOP}/contrib/ipfilter/tools \ 30 ${SRCTOP}/contrib/ipfilter/man 31 32.include "../Makefile.inc" 33