1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PACKAGE=pf 6CONFS= pf.os 7PROG= pfctl 8MAN= pfctl.8 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 18CFLAGS+= -DENABLE_ALTQ -I${.CURDIR} 19 20# Need to use "WITH_" prefix to not conflict with the l/y INET/INET6 keywords 21.if ${MK_INET6_SUPPORT} != "no" 22CFLAGS+= -DWITH_INET6 23.endif 24.if ${MK_INET_SUPPORT} != "no" 25CFLAGS+= -DWITH_INET 26.endif 27 28YFLAGS= 29 30LIBADD= m md 31 32HAS_TESTS= 33SUBDIR.${MK_TESTS}+= tests 34 35.include <bsd.prog.mk> 36