5 # pf_ruleset.c is shared between kernel and pfctl
6 .PATH: ${.CURDIR}/../../sys/netpfil/pf
11 SRCS = pfctl.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c
12 SRCS+= pfctl_osfp.c pfctl_radix.c pfctl_table.c pfctl_qstats.c
13 SRCS+= pfctl_optimize.c
17 CFLAGS+= -Wall -Wmissing-prototypes -Wno-uninitialized
18 CFLAGS+= -Wstrict-prototypes
19 CFLAGS+= -DENABLE_ALTQ -I${.CURDIR}
21 # Need to use "WITH_" prefix to not conflict with the l/y INET/INET6 keywords
22 .if ${MK_INET6_SUPPORT} != "no"
25 .if ${MK_INET_SUPPORT} != "no"
32 DPADD+= ${LIBM} ${LIBMD}
34 .include <bsd.prog.mk>