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