summaryrefslogtreecommitdiffstats
path: root/lib/libpcap
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1998-09-15 19:34:01 +0000
committerfenner <fenner@FreeBSD.org>1998-09-15 19:34:01 +0000
commita27e663b5d642e5ff5d602bd19ae97c80c736585 (patch)
treefef0ac1a19b400249c783c89e78a2242a1f7b362 /lib/libpcap
parenteba95a7c80ca78a1aab3295884a272ed03ae80ab (diff)
downloadFreeBSD-src-a27e663b5d642e5ff5d602bd19ae97c80c736585.zip
FreeBSD-src-a27e663b5d642e5ff5d602bd19ae97c80c736585.tar.gz
Bump minor version number and add version.c to update to version 0.4
PR: bin/7877
Diffstat (limited to 'lib/libpcap')
-rw-r--r--lib/libpcap/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index f49bbe9..81f3206 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -1,11 +1,11 @@
# Makefile for libpcap
-# $Id: Makefile,v 1.19 1998/05/08 06:43:07 bde Exp $
+# $Id: Makefile,v 1.20 1998/08/18 10:29:37 ache Exp $
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
+ scanner.l version.c
MAN3= pcap.3
CLEANFILES+= tokdefs.h
@@ -16,7 +16,7 @@ DEFS= -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 \
CFLAGS+=-I. -Dyylval=pcap_lval ${DEFS}
SHLIB_MAJOR=2
-SHLIB_MINOR=2
+SHLIB_MINOR=3
#
# Magic to grab sources out of src/contrib
@@ -26,6 +26,10 @@ CFLAGS+=-I${PCAP_DISTDIR} -I${PCAP_DISTDIR}/lbl
.PATH: ${PCAP_DISTDIR}
.PATH: ${PCAP_DISTDIR}/bpf/net
+version.c: ${PCAP_DISTDIR}/VERSION
+ @rm -f $@
+ sed 's/.*/char pcap_version[] = "&";/' ${PCAP_DISTDIR}/VERSION > $@
+
beforeinstall:
.for i in pcap.h pcap-int.h pcap-namedb.h
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${PCAP_DISTDIR}/$i \
OpenPOWER on IntegriCloud