29 lines
702 B
Makefile
29 lines
702 B
Makefile
# $NetBSD: Makefile,v 1.4 2008/06/18 09:06:28 yamt Exp $
|
|
# $OpenBSD: Makefile,v 1.17 2004/07/16 23:44:24 frantzen Exp $
|
|
|
|
.include <bsd.own.mk> # for MKDYNAMICROOT definition
|
|
|
|
PROG= pfctl
|
|
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 pf_ruleset.c
|
|
CPPFLAGS+=-I${NETBSDSRCDIR}/dist/pf/sbin/pfctl
|
|
CPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/pf
|
|
YFLAGS=
|
|
MAN= pfctl.8
|
|
|
|
# Ruleset and Anchor handling
|
|
.PATH: ${NETBSDSRCDIR}/sys/dist/pf/net
|
|
|
|
LDADD+= -lm
|
|
DPADD+= ${LIBM}
|
|
|
|
BINDIR= /sbin
|
|
.if (${MKDYNAMICROOT} == "no")
|
|
LDSTATIC?= -static
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${NETBSDSRCDIR}/dist/pf/sbin/pfctl
|