050783e980
where the headers should live, as the code references both "ip_fil.h" and "netinet/ip_fil.h" (among others). As a consequence, put both sys/contrib/ipfilter and sys/contrib/ipfilter/netinet to the include path so either variant works. PR: 29384 Pointed out by: Thomas.Quinot@Cuivre.FR.EU.ORG
19 lines
471 B
Makefile
19 lines
471 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
|
|
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
|
|
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
|
|
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
|
|
|
|
DPADD= ${LIBNCURSES}
|
|
LDADD= -lncurses
|
|
|
|
MAINTAINER= guido@freebsd.org
|
|
|
|
.include <bsd.prog.mk>
|