]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/pfctl/Makefile
sys/{x86,amd64}: remove one of doubled ;s
[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 CONFS=  pf.os
10 PROG=   pfctl
11 MAN=    pfctl.8
12
13 SRCS = pfctl.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c
14 SRCS+= pfctl_osfp.c pfctl_radix.c pfctl_table.c pfctl_qstats.c
15 SRCS+= pfctl_optimize.c
16 SRCS+= pf_ruleset.c
17
18 WARNS?= 2
19 CFLAGS+= -Wall -Wmissing-prototypes -Wno-uninitialized
20 CFLAGS+= -Wstrict-prototypes
21 CFLAGS+= -DENABLE_ALTQ -I${.CURDIR}
22
23 # Need to use "WITH_" prefix to not conflict with the l/y INET/INET6 keywords
24 .if ${MK_INET6_SUPPORT} != "no"
25 CFLAGS+= -DWITH_INET6
26 .endif
27 .if ${MK_INET_SUPPORT} != "no"
28 CFLAGS+= -DWITH_INET
29 .endif
30
31 YFLAGS=
32
33 LIBADD= m md
34
35 HAS_TESTS=
36 SUBDIR.${MK_TESTS}+= tests
37
38 .include <bsd.prog.mk>