Makefile revision 1.1
1#	$NetBSD: Makefile,v 1.1 2004/11/11 11:54:51 yamt Exp $
2#	$OpenBSD: Makefile,v 1.15 2004/03/10 18:49:49 mcbride Exp $
3
4.include <bsd.own.mk>		# for MKDYNAMICROOT definition
5
6PROG=	pfctl
7SRCS=	pfctl.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c
8SRCS+=	pfctl_osfp.c pfctl_radix.c pfctl_table.c pfctl_qstats.c
9CPPFLAGS+=-I${NETBSDSRCDIR}/dist/pf/sbin/pfctl
10YFLAGS=
11MAN=	pfctl.8
12
13WARNS?=	1
14
15LDADD+=	-lm
16DPADD+=	${LIBM}
17
18BINDIR=		/sbin
19.if (${MKDYNAMICROOT} == "no")
20LDSTATIC?=	-static
21.endif
22
23.include <bsd.prog.mk>
24
25.PATH: ${NETBSDSRCDIR}/dist/pf/sbin/pfctl
26