Sync usage with man page.
[netbsd-mini2440.git] / usr.sbin / pf / pfctl / Makefile
blob9522102b71ba3054d1ad8788ef09ffbb49699e6a
1 # $NetBSD: Makefile,v 1.3 2004/11/14 11:26:48 yamt Exp $
2 # $OpenBSD: Makefile,v 1.17 2004/07/16 23:44:24 frantzen Exp $
4 .include <bsd.own.mk> # for MKDYNAMICROOT definition
6 PROG= pfctl
7 SRCS= pfctl.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c
8 SRCS+= pfctl_osfp.c pfctl_radix.c pfctl_table.c pfctl_qstats.c
9 SRCS+= pfctl_optimize.c pf_ruleset.c
10 CPPFLAGS+=-I${NETBSDSRCDIR}/dist/pf/sbin/pfctl
11 CPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/pf
12 YFLAGS=
13 MAN= pfctl.8
15 # Ruleset and Anchor handling
16 .PATH: ${NETBSDSRCDIR}/sys/dist/pf/net
18 LDADD+= -lm
19 DPADD+= ${LIBM}
21 BINDIR= /sbin
22 .if (${MKDYNAMICROOT} == "no")
23 LDSTATIC?= -static
24 .endif
26 .include <bsd.prog.mk>
28 .PATH: ${NETBSDSRCDIR}/dist/pf/sbin/pfctl