2004-02-28 21:50:50 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2012-09-14 11:51:49 +00:00
|
|
|
# pf_ruleset.c is shared between kernel and pfctl
|
|
|
|
.PATH: ${.CURDIR}/../../sys/netpfil/pf
|
2004-02-28 21:50:50 +00:00
|
|
|
|
|
|
|
PROG= pfctl
|
2012-09-14 11:51:49 +00:00
|
|
|
MAN= pfctl.8
|
2004-02-28 21:50:50 +00:00
|
|
|
|
|
|
|
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
|
2012-09-14 11:51:49 +00:00
|
|
|
CFLAGS+= -Wstrict-prototypes
|
|
|
|
CFLAGS+= -DENABLE_ALTQ -I${.CURDIR}
|
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>
|