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}/sys
|
2021-12-15 16:28:18 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/netpfil/ipfilter
|
2021-12-15 21:45:47 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sbin/ipf/common
|
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
|
|
|
|
|
2021-12-15 21:45:47 +00:00
|
|
|
.PATH: ${SRCTOP}/sbin/ipf/libipf \
|
|
|
|
${SRCTOP}/sbin/ipf/common
|
2005-04-25 18:55:52 +00:00
|
|
|
|
2005-05-17 14:29:06 +00:00
|
|
|
.include "../Makefile.inc"
|