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