3a4d16937d
for a variable on the stack.
25 lines
565 B
Makefile
25 lines
565 B
Makefile
# $NetBSD: Makefile,v 1.4 2006/11/09 20:33:25 christos 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}/dist/libpcap
|
|
|
|
LDADD+= -lpcap -lutil
|
|
DPAPP+= ${LIBPCAP} ${LIBUTIL}
|
|
|
|
PROG= pflogd
|
|
SRCS= pflogd.c privsep.c privsep_fdpass.c
|
|
MAN= pflogd.8
|
|
|
|
COPTS.privsep_fdpass.c = -Wno-stack-protector
|
|
|
|
BINDIR= /sbin
|
|
.if (${MKDYNAMICROOT} == "no")
|
|
LDSTATIC?= -static
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${NETBSDSRCDIR}/dist/pf/sbin/pflogd
|