1# $FreeBSD$ 2 3# pf_ruleset.c is shared between kernel and pfctl 4.PATH: ${.CURDIR}/../../sys/netpfil/pf 5 6PROG= pfctl 7MAN= pfctl.8 8 9SRCS = pfctl.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c 10SRCS+= pfctl_osfp.c pfctl_radix.c pfctl_table.c pfctl_qstats.c 11SRCS+= pfctl_optimize.c 12SRCS+= pf_ruleset.c 13 14WARNS?= 2 15CFLAGS+= -Wall -Wmissing-prototypes -Wno-uninitialized 16CFLAGS+= -Wstrict-prototypes 17CFLAGS+= -DENABLE_ALTQ -I${.CURDIR} 18 19YFLAGS= 20 21LDADD+= -lm -lmd 22DPADD+= ${LIBM} ${LIBMD} 23 24.include <bsd.prog.mk> 25