freebsd-skq/sbin/ipf/Makefile.inc
Bryan Drewery b748535cc4 Don't add LIBADD=ipf to libipf itself.
This had no real impact since libipf is a static INTERNALLIB.  It does conflict
with an assertion I am adding for LIBADD though.

Sponsored by:	EMC / Isilon Storage Division
2015-12-01 22:39:19 +00:00

33 lines
678 B
Makefile

# $FreeBSD$
.include <src.opts.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
.if ${.CURDIR:M*/libipf} == ""
LIBADD+= ipf
.endif
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"