NetBSD/usr.sbin/pf/pflogd/Makefile

23 lines
514 B
Makefile

# $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
DPAPP+= ${LIBPCAP} ${LIBUTIL}
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