Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/libpcap/lib we need some more files here.



details:   https://anonhg.NetBSD.org/src/rev/da8cca6402cb
branches:  trunk
changeset: 759276:da8cca6402cb
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 05 03:03:27 2010 +0000

description:
we need some more files here.

diffstat:

 external/bsd/libpcap/lib/Makefile |  23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)

diffs (56 lines):

diff -r 8c997b3373eb -r da8cca6402cb external/bsd/libpcap/lib/Makefile
--- a/external/bsd/libpcap/lib/Makefile Sun Dec 05 03:02:41 2010 +0000
+++ b/external/bsd/libpcap/lib/Makefile Sun Dec 05 03:03:27 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2010/12/05 01:45:46 christos Exp $   
+# $NetBSD: Makefile,v 1.2 2010/12/05 03:03:27 christos Exp $   
 
 .include <bsd.own.mk>
 
@@ -6,9 +6,17 @@
 
 .SUFFIXES: .3 .3pcap
 
+__sed: .USE
+       @rm -f ${.TARGET}
+       ${TOOL_SED} -e 's,@MAN_FILE_FORMATS@,5,g' \
+           -e 's,@MAN_MISC_INFO@,7,g' \
+           -e 's,3PCAP,3,g' < ${.ALLSRC} > ${.TARGET}
+
 .3pcap.3:
-       rm -f ${.TARGET}
-       cp ${.IMPSRC} ${.TARGET}
+       @rm -f ${.TARGET}
+       ${TOOL_SED} -e 's,@MAN_FILE_FORMATS@,5,g' \
+           -e 's,@MAN_MISC_INFO@,7,g' \
+           -e 's,3PCAP,3,g' < ${.ALLSRC} > ${.TARGET}
 
 
 SRCDIR=                ${.CURDIR}/../dist/
@@ -43,11 +51,6 @@
 
 WARNS?=                5
 
-__sed: .USE
-       @rm -f ${.TARGET}
-       ${TOOL_SED} -e 's,@MAN_FILE_FORMATS@,5,g' \
-           -e 's,@MAN_MISC_INFO@,7,g' < ${.ALLSRC} > ${.TARGET}
-
 .for i in ${MAN3IN}
 ${i:S/pcap.in//}: ${i} __sed
 .endfor
@@ -80,12 +83,12 @@
 
 SRCS=  scanner.l savefile.c pcap.c pcap-bpf.c optimize.c nametoaddr.c \
        inet.c grammar.y gencode.c fad-getad.c etherent.c bpf_image.c \
-       bpf_dump.c version.c
+       bpf_dump.c version.c sf-pcap-ng.c sf-pcap.c pcap-common.c
 
 .PATH: ${NETBSDSRCDIR}/sys/net
 SRCS+= bpf_filter.c
 
-INCS=          pcap-namedb.h pcap.h
+INCS=          pcap-namedb.h pcap.h pcap/pcap.h pcap/namedb.h pcap/bpf.h
 INCSDIR=       /usr/include
 
 scanner.d scanner.o: tokdefs.h



Home | Main Index | Thread Index | Old Index