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