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