2004-02-28 21:50:50 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../contrib/pf/pfctl
|
2007-07-03 12:46:08 +00:00
|
|
|
.PATH: ${.CURDIR}/../../sys/contrib/pf/net
|
2004-02-28 21:50:50 +00:00
|
|
|
.PATH: ${.CURDIR}/../../contrib/pf/man
|
|
|
|
|
|
|
|
PROG= pfctl
|
|
|
|
MAN= pfctl.8 pf.4 pflog.4 pfsync.4 pf.conf.5 pf.os.5
|
|
|
|
|
|
|
|
SRCS = pfctl.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c
|
|
|
|
SRCS+= pfctl_osfp.c pfctl_radix.c pfctl_table.c pfctl_qstats.c
|
2005-05-03 16:57:38 +00:00
|
|
|
SRCS+= pfctl_optimize.c
|
2007-07-03 12:46:08 +00:00
|
|
|
SRCS+= pf_ruleset.c
|
2004-02-28 21:50:50 +00:00
|
|
|
|
2009-10-19 16:00:24 +00:00
|
|
|
WARNS?= 2
|
2004-02-28 21:50:50 +00:00
|
|
|
CFLAGS+= -Wall -Wmissing-prototypes -Wno-uninitialized
|
|
|
|
CFLAGS+= -Wstrict-prototypes -I${.CURDIR}/../../contrib/pf/pfctl
|
|
|
|
|
|
|
|
# XXX ALTQ
|
2004-06-16 23:39:33 +00:00
|
|
|
CFLAGS+= -DENABLE_ALTQ
|
|
|
|
#CFLAGS+= -I${.CURDIR}/missing
|
2004-02-28 21:50:50 +00:00
|
|
|
|
|
|
|
YFLAGS=
|
|
|
|
|
|
|
|
LDADD+= -lm -lmd
|
2006-04-13 12:49:24 +00:00
|
|
|
DPADD+= ${LIBM} ${LIBMD}
|
2004-02-28 21:50:50 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|