2107b6c68e
This is needed to pick up the right headers. Wrong headers from src/contrib/ipfilter are used otherwise. The right fix would be to fix contrib/ipfilter C sources to pick up headers from <sys/netinet>. Noticed by: peter
16 lines
414 B
Makefile
16 lines
414 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
|
|
|
|
PROG= ipfstat
|
|
MAN= ipfstat.8
|
|
SRCS= fils.c parse.c opt.c kmem.c facpri.c common.c
|
|
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DSTATETOP -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
|
|
|
|
DPADD= ${NCURSES}
|
|
LDADD= -lncurses
|
|
|
|
MAINTAINER= guido@freebsd.org
|
|
|
|
.include <bsd.prog.mk>
|