Module Name: src
Committed By: christos
Date: Sun Dec 5 03:03:27 UTC 2010
Modified Files:
src/external/bsd/libpcap/lib: Makefile
Log Message:
we need some more files here.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/libpcap/lib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/libpcap/lib/Makefile
diff -u src/external/bsd/libpcap/lib/Makefile:1.1 src/external/bsd/libpcap/lib/Makefile:1.2
--- src/external/bsd/libpcap/lib/Makefile:1.1 Sat Dec 4 20:45:46 2010
+++ src/external/bsd/libpcap/lib/Makefile Sat Dec 4 22:03:27 2010
@@ -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