diff options
author | fenner <fenner@FreeBSD.org> | 1997-05-27 00:08:01 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1997-05-27 00:08:01 +0000 |
commit | b41570e6e6abdf2160b56a7a11a62b5fa881a326 (patch) | |
tree | d8e45cc7a7905ed34a729cea7c1c6ff4effeaf41 | |
parent | 3e7c4bdb91135768905ce9376cfa8ec86a60890c (diff) | |
download | FreeBSD-src-b41570e6e6abdf2160b56a7a11a62b5fa881a326.zip FreeBSD-src-b41570e6e6abdf2160b56a7a11a62b5fa881a326.tar.gz |
Bump minor version number.
Add -I${PCAP_DISTDIR}/bpf to CFLAGS since our <net/bpf.h> is out of date.
Remove -Wall and -Dlint.
DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 \
-DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1
CFLAGS+=-I. -Dyylval=pcap_lval ${DEFS}
SHLIB_MAJOR=2
SHLIB_MINOR=2
#
# Magic to grab sources out of src/contrib
#
PCAP_DISTDIR?=${.CURDIR}/../../contrib/libpcap
CFLAGS+=-I${PCAP_DISTDIR} -I${PCAP_DISTDIR}/lbl -I${PCAP_DISTDIR}/bpf
.PATH: ${PCAP_DISTDIR}
.PATH: ${PCAP_DISTDIR}/bpf/net
beforeinstall:
.for i in pcap.h pcap-namedb.h
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${PCAP_DISTDIR}/$i \
${DESTDIR}/usr/include
.endfor
tokdefs.h grammar.c: grammar.y
${YACC} ${YACCFLAGS} -d ${PCAP_DISTDIR}/grammar.y
mv y.tab.c grammar.c
mv y.tab.h tok/home/ncvs/CVSROOT/commitcheck
-rw-r--r-- | lib/libpcap/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index cd51de3..9256d62 100644 --- a/lib/libpcap/Makefile +++ b/lib/libpcap/Makefile @@ -1,5 +1,5 @@ # Makefile for libpcap -# $Id$ +# $Id: Makefile,v 1.15 1997/02/22 15:07:50 peter Exp $ LIB= pcap SRCS= grammar.c tokdefs.h pcap-bpf.c \ @@ -13,16 +13,16 @@ 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 -CFLAGS+=-Wall -I. -I${.CURDIR} -Dyylval=pcap_lval -Dlint ${DEFS} +CFLAGS+=-I. -Dyylval=pcap_lval ${DEFS} SHLIB_MAJOR=2 -SHLIB_MINOR=1 +SHLIB_MINOR=2 # # 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 |