mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-04 15:13:58 +01:00
106d839190
Submitted by: Ulrich Spörlein
29 lines
651 B
Makefile
29 lines
651 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../contrib/pf/pfctl
|
|
.PATH: ${.CURDIR}/../../sys/contrib/pf/net
|
|
.PATH: ${.CURDIR}/../../contrib/pf/man
|
|
|
|
PROG= pfctl
|
|
MAN= pfctl.8 pf.4 pflog.4 pfsync.4 pf.conf.5 pf.os.5
|
|
|
|
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 -I${.CURDIR}/../../contrib/pf/pfctl
|
|
|
|
# XXX ALTQ
|
|
CFLAGS+= -DENABLE_ALTQ
|
|
#CFLAGS+= -I${.CURDIR}/missing
|
|
|
|
YFLAGS=
|
|
|
|
LDADD+= -lm -lmd
|
|
DPADD+= ${LIBM} ${LIBMD}
|
|
|
|
.include <bsd.prog.mk>
|