2005-04-25 18:55:52 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-08-05 13:01:21 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2009-10-19 16:00:24 +00:00
|
|
|
WARNS?= 2
|
2011-12-17 00:54:09 +00:00
|
|
|
NO_WFORMAT=
|
|
|
|
NO_WARRAY_BOUNDS=
|
2009-10-19 16:00:24 +00:00
|
|
|
|
2005-04-25 18:55:52 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter/tools
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../sys
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/contrib/ipfilter
|
|
|
|
CFLAGS+= -DSTATETOP -D__UIO_EXPOSE
|
|
|
|
|
2014-08-05 13:01:21 +00:00
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
|
|
CFLAGS+= -DUSE_INET6
|
|
|
|
.else
|
|
|
|
CFLAGS+= -DNOINET6
|
|
|
|
.endif
|
|
|
|
|
2005-05-17 14:29:06 +00:00
|
|
|
LIBIPF= ${.OBJDIR}/../libipf/libipf.a
|
|
|
|
DPADD+= ${LIBIPF} ${LIBKVM}
|
|
|
|
LDADD+= ${LIBIPF} -lkvm
|
2005-04-25 18:55:52 +00:00
|
|
|
|
|
|
|
CLEANFILES+= y.tab.c y.tab.h
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ipfilter \
|
|
|
|
${.CURDIR}/../../../contrib/ipfilter/lib \
|
|
|
|
${.CURDIR}/../../../contrib/ipfilter/tools \
|
|
|
|
${.CURDIR}/../../../contrib/ipfilter/man
|
|
|
|
|
2005-05-17 14:29:06 +00:00
|
|
|
.include "../Makefile.inc"
|