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
|
|
|
|
2017-03-04 11:33:01 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/contrib/ipfilter
|
|
|
|
CFLAGS+= -I${SRCTOP}/contrib/ipfilter/tools
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/ipfilter
|
2005-04-25 18:55:52 +00:00
|
|
|
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
|
|
|
|
|
2015-12-01 22:39:19 +00:00
|
|
|
.if ${.CURDIR:M*/libipf} == ""
|
2014-11-25 11:23:12 +00:00
|
|
|
LIBADD+= ipf
|
2015-12-01 22:39:19 +00:00
|
|
|
.endif
|
2005-04-25 18:55:52 +00:00
|
|
|
|
|
|
|
CLEANFILES+= y.tab.c y.tab.h
|
|
|
|
|
2017-03-04 11:33:01 +00:00
|
|
|
.PATH: ${SRCTOP}/contrib/ipfilter \
|
|
|
|
${SRCTOP}/contrib/ipfilter/lib \
|
|
|
|
${SRCTOP}/contrib/ipfilter/tools \
|
|
|
|
${SRCTOP}/contrib/ipfilter/man
|
2005-04-25 18:55:52 +00:00
|
|
|
|
2005-05-17 14:29:06 +00:00
|
|
|
.include "../Makefile.inc"
|