]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/pfctl/Makefile
Add UPDATING entries and bump version.
[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 CFLAGS+= -I${SRCTOP}/lib/libpfctl -I${OBJTOP}/lib/libpfctl
20
21 # Need to use "WITH_" prefix to not conflict with the l/y INET/INET6 keywords
22 .if ${MK_INET6_SUPPORT} != "no"
23 CFLAGS+= -DWITH_INET6
24 .endif
25 .if ${MK_INET_SUPPORT} != "no"
26 CFLAGS+= -DWITH_INET
27 .endif
28
29 YFLAGS=
30
31 LIBADD= m md pfctl
32
33 HAS_TESTS=
34 SUBDIR.${MK_TESTS}+= tests
35
36 .include <bsd.prog.mk>