mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 01:55:19 +01:00
e9ac41698b
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
35 lines
730 B
Makefile
35 lines
730 B
Makefile
.include <src.opts.mk>
|
|
|
|
PACKAGE=pf
|
|
CONFS= pf.os
|
|
PROG= pfctl
|
|
MAN= pfctl.8
|
|
|
|
SRCS = pfctl.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c
|
|
SRCS+= pfctl_osfp.c pfctl_radix.c pfctl_table.c pfctl_qstats.c
|
|
SRCS+= pfctl_optimize.c
|
|
SRCS+= pf_ruleset.c
|
|
|
|
WARNS?= 2
|
|
CFLAGS+= -Wall -Wmissing-prototypes -Wno-uninitialized
|
|
CFLAGS+= -Wstrict-prototypes
|
|
CFLAGS+= -DENABLE_ALTQ -I${.CURDIR}
|
|
CFLAGS+= -I${SRCTOP}/lib/libpfctl -I${OBJTOP}/lib/libpfctl
|
|
|
|
# Need to use "WITH_" prefix to not conflict with the l/y INET/INET6 keywords
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
CFLAGS+= -DWITH_INET6
|
|
.endif
|
|
.if ${MK_INET_SUPPORT} != "no"
|
|
CFLAGS+= -DWITH_INET
|
|
.endif
|
|
|
|
YFLAGS=
|
|
|
|
LIBADD= m md pfctl
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|