Change BINDIR to /sbin and support MKDYNAMICROOT.
This commit is contained in:
parent
f08689a2d1
commit
9843641178
@ -1,6 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.1 2005/03/15 16:32:47 peter Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2005/03/15 17:45:11 peter Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2003/11/20 23:23:09 avsm Exp $
|
||||
|
||||
.include <bsd.own.mk> # for MKDYNAMICROOT definition
|
||||
|
||||
CPPFLAGS+=-I${NETBSDSRCDIR}/dist/pf/sbin/pflogd -I${NETBSDSRCDIR}/lib/libpcap
|
||||
|
||||
LDADD+= -lpcap -lutil
|
||||
@ -10,6 +12,11 @@ PROG= pflogd
|
||||
SRCS= pflogd.c privsep.c privsep_fdpass.c
|
||||
MAN= pflogd.8
|
||||
|
||||
BINDIR= /sbin
|
||||
.if (${MKDYNAMICROOT} == "no")
|
||||
LDSTATIC?= -static
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.PATH: ${NETBSDSRCDIR}/dist/pf/sbin/pflogd
|
||||
|
Loading…
Reference in New Issue
Block a user