freebsd-nq/sbin/ipf/Makefile.inc
Cy Schubert 41edb306f0 ipfilter: Move userland bits to sbin
Through fixes and improvements our ipfilter sources have diverged
enough to warrant move from contrib into sbin/ipf. Now that I'm
planning on implementing MSS clamping as in iptables it makes more
sense to move ipfilter to sbin.

This is the second of three commits of the ipfilter move.

Suggested by glebius on two occaions.

Suggested by and discussed with:	glebius
Reviewed by:				glebius, kp (for #network)
MFC after:				1 month
Differential Revision:		https://reviews.freebsd.org/D33510
2021-12-20 06:16:33 -08:00

30 lines
478 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
WARNS?= 2
NO_WFORMAT=
NO_WARRAY_BOUNDS=
CFLAGS+= -I${SRCTOP}/sys
CFLAGS+= -I${SRCTOP}/sys/netpfil/ipfilter
CFLAGS+= -I${SRCTOP}/sbin/ipf/common
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: ${SRCTOP}/sbin/ipf/libipf \
${SRCTOP}/sbin/ipf/common
.include "../Makefile.inc"