From 5bad8486ad20c4b9d428128c8f3f1f0ef8f019ff Mon Sep 17 00:00:00 2001 From: pst Date: Tue, 20 Aug 1996 05:43:51 +0000 Subject: [PATCH] Bump shared library number to 2.1 --- lib/libpcap/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index 85509b11e001..57a895f9e980 100644 --- a/lib/libpcap/Makefile +++ b/lib/libpcap/Makefile @@ -1,5 +1,5 @@ # Makefile for libpcap -# $Id: Makefile,v 1.7 1996/06/02 17:09:03 phk Exp $ +# $Id: Makefile,v 1.9 1996/08/19 21:00:45 pst Exp $ LIB= pcap SRCS= pcap-bpf.c \ @@ -7,7 +7,6 @@ SRCS= pcap-bpf.c \ etherent.c savefile.c bpf_filter.c bpf_image.c \ grammar.y scanner.l MAN3= pcap.3 - CLEANFILES+= lex.yy.c tokdefs.h grammar.c scanner.c DEFS= -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 \ @@ -16,13 +15,16 @@ DEFS= -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 \ CFLAGS+=-Wall -I. -I${.CURDIR} -Dyylval=pcap_lval -Dlint ${DEFS} +SHLIB_MAJOR=2 +SHLIB_MINOR=1 + # # Magic to grab sources out of src/contrib # DISTDIR?=${.CURDIR}/../../contrib/libpcap +CFLAGS+=-I${DISTDIR} -I${DISTDIR}/lbl .PATH: ${DISTDIR} .PATH: ${DISTDIR}/bpf/net -CFLAGS+=-I${DISTDIR} -I${DISTDIR}/lbl beforeinstall: -cmp -s ${DISTDIR}/pcap.h ${DESTDIR}/usr/include/pcap.h || \