summaryrefslogtreecommitdiffstats
path: root/lib/libpcap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpcap/Makefile')
-rw-r--r--lib/libpcap/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index d4af1ac..5e52247 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -3,15 +3,13 @@
LIB= pcap
SRCS= grammar.y tokdefs.h pcap-bpf.c \
- pcap.c inet.c gencode.c optimize.c nametoaddr.c \
- etherent.c savefile.c bpf_filter.c bpf_image.c \
- scanner.l version.c
+ pcap.c inet.c gencode.c optimize.c nametoaddr.c \
+ etherent.c savefile.c bpf_filter.c bpf_image.c bpf_dump.c \
+ scanner.l version.c
MAN= pcap.3
CLEANFILES=tokdefs.h version.c
-DEFS= -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 \
- -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 \
- -DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1
+DEFS= -DHAVE_CONFIG_H
.if !defined(NOINET6)
DEFS+= -DINET6
.endif
@@ -19,13 +17,13 @@ DEFS+= -DINET6
CFLAGS+=-I. -Dyylval=pcap_lval ${DEFS}
SHLIB_MAJOR=2
-SHLIB_MINOR=4
+SHLIB_MINOR=5
#
# Magic to grab sources out of src/contrib
#
PCAP_DISTDIR?=${.CURDIR}/../../contrib/libpcap
-CFLAGS+=-I${PCAP_DISTDIR} -I${PCAP_DISTDIR}/lbl
+CFLAGS+=-I${PCAP_DISTDIR} -I${PCAP_DISTDIR}/lbl -I${PCAP_DISTDIR}/bpf
.PATH: ${PCAP_DISTDIR}
.PATH: ${PCAP_DISTDIR}/bpf/net
OpenPOWER on IntegriCloud