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