]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/pfctl/Makefile
MFC r314655:
[FreeBSD/FreeBSD.git] / sbin / pfctl / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 # pf_ruleset.c is shared between kernel and pfctl
6 .PATH: ${SRCTOP}/sys/netpfil/pf
7
8 PACKAGE=pf
9 PROG=   pfctl
10 MAN=    pfctl.8
11
12 SRCS = pfctl.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c
13 SRCS+= pfctl_osfp.c pfctl_radix.c pfctl_table.c pfctl_qstats.c
14 SRCS+= pfctl_optimize.c
15 SRCS+= pf_ruleset.c
16
17 WARNS?= 2
18 CFLAGS+= -Wall -Wmissing-prototypes -Wno-uninitialized
19 CFLAGS+= -Wstrict-prototypes
20 CFLAGS+= -DENABLE_ALTQ -I${.CURDIR}
21
22 # Need to use "WITH_" prefix to not conflict with the l/y INET/INET6 keywords
23 .if ${MK_INET6_SUPPORT} != "no"
24 CFLAGS+= -DWITH_INET6
25 .endif
26 .if ${MK_INET_SUPPORT} != "no"
27 CFLAGS+= -DWITH_INET
28 .endif
29
30 YFLAGS=
31
32 LIBADD= m md
33
34 .include <bsd.prog.mk>