mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
8db07ead86
Approved by: glebius (mentor - implicit)
33 lines
719 B
Makefile
33 lines
719 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
WARNS?= 2
|
|
NO_WFORMAT=
|
|
NO_WARRAY_BOUNDS=
|
|
|
|
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
|
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
CFLAGS+= -DUSE_INET6
|
|
.else
|
|
CFLAGS+= -DNOINET6
|
|
.endif
|
|
|
|
LIBIPF= ${.OBJDIR}/../libipf/libipf.a
|
|
DPADD+= ${LIBIPF} ${LIBKVM}
|
|
LDADD+= ${LIBIPF} -lkvm
|
|
|
|
CLEANFILES+= y.tab.c y.tab.h
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ipfilter \
|
|
${.CURDIR}/../../../contrib/ipfilter/lib \
|
|
${.CURDIR}/../../../contrib/ipfilter/tools \
|
|
${.CURDIR}/../../../contrib/ipfilter/man
|
|
|
|
.include "../Makefile.inc"
|