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