summaryrefslogtreecommitdiff
path: root/sbin/pflogd/Makefile
diff options
context:
space:
mode:
authorLawrence Teo <lteo@cvs.openbsd.org>2013-06-19 03:51:31 +0000
committerLawrence Teo <lteo@cvs.openbsd.org>2013-06-19 03:51:31 +0000
commit001bdfd0bc84a2e9a6f113de77f60f4e06e71fac (patch)
tree127dc124affc7013dbf996fbaeee344c5826b069 /sbin/pflogd/Makefile
parentaddb686c249c0bd50683516f299368427e6c6b0b (diff)
Do not install pcap-int.h to /usr/include as it is an internal library
header (pointed out by matthew@). Let only pflogd and tcpdump include pcap-int.h directly since they need it for privilege separation. "looks good" sthen feedback/ok deraadt matthew millert
Diffstat (limited to 'sbin/pflogd/Makefile')
-rw-r--r--sbin/pflogd/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/pflogd/Makefile b/sbin/pflogd/Makefile
index fd5b4d52c0b..826ed0a22af 100644
--- a/sbin/pflogd/Makefile
+++ b/sbin/pflogd/Makefile
@@ -1,6 +1,10 @@
-# $OpenBSD: Makefile,v 1.8 2009/11/16 16:56:50 otto Exp $
+# $OpenBSD: Makefile,v 1.9 2013/06/19 03:51:30 lteo Exp $
CFLAGS+=-Wall -Wmissing-prototypes -Wshadow
+
+# for pcap-int.h
+CFLAGS+=-I${.CURDIR}/../../lib/libpcap
+
LDADD+= -lpcap
DPADD+= ${LIBPCAP}