1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5# pf_ruleset.c is shared between kernel and pfctl 6.PATH: ${.CURDIR}/../../sys/netpfil/pf 7 8PACKAGE=pf 9PROG= pfctl 10MAN= pfctl.8 11 12SRCS = pfctl.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c 13SRCS+= pfctl_osfp.c pfctl_radix.c pfctl_table.c pfctl_qstats.c 14SRCS+= pfctl_optimize.c 15SRCS+= pf_ruleset.c 16 17WARNS?= 2 18CFLAGS+= -Wall -Wmissing-prototypes -Wno-uninitialized 19CFLAGS+= -Wstrict-prototypes 20CFLAGS+= -DENABLE_ALTQ -I${.CURDIR} 21 22# Need to use "WITH_" prefix to not conflict with the l/y INET/INET6 keywords 23.if ${MK_INET6_SUPPORT} != "no" 24CFLAGS+= -DWITH_INET6 25.endif 26.if ${MK_INET_SUPPORT} != "no" 27CFLAGS+= -DWITH_INET 28.endif 29 30YFLAGS= 31 32LIBADD= m md 33 34.include <bsd.prog.mk> 35