Tue Jan 24 22:37:31 2017 UTC ()
Add more files


(christos)
diff -r1.13 -r1.14 src/external/bsd/libpcap/lib/Makefile

cvs diff -r1.13 -r1.14 src/external/bsd/libpcap/lib/Makefile (expand / switch to unified diff)

--- src/external/bsd/libpcap/lib/Makefile 2017/01/24 22:29:29 1.13
+++ src/external/bsd/libpcap/lib/Makefile 2017/01/24 22:37:31 1.14
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.13 2017/01/24 22:29:29 christos Exp $  1# $NetBSD: Makefile,v 1.14 2017/01/24 22:37:31 christos Exp $
2 2
3USE_SHLIBDIR=yes 3USE_SHLIBDIR=yes
4.include <bsd.own.mk> 4.include <bsd.own.mk>
5USE_FORT?= yes # network protocol library 5USE_FORT?= yes # network protocol library
6 6
7CWARNFLAGS.clang+= -Wno-format-extra-args \ 7CWARNFLAGS.clang+= -Wno-format-extra-args \
8 -Wno-unneeded-internal-declaration 8 -Wno-unneeded-internal-declaration
9 9
10CPPFLAGS+= -DPCAP_DONT_INCLUDE_PCAP_BPF_H -DHAVE_CONFIG_H -I${.OBJDIR} 10CPPFLAGS+= -DPCAP_DONT_INCLUDE_PCAP_BPF_H -DHAVE_CONFIG_H -I${.OBJDIR}
11 11
12.SUFFIXES: .3 .3pcap 12.SUFFIXES: .3 .3pcap
13 13
14__sed: .USE 14__sed: .USE
@@ -126,27 +126,28 @@ LPREFIX= pcap_ @@ -126,27 +126,28 @@ LPREFIX= pcap_
126LFLAGS+= --header-file=scanner.h 126LFLAGS+= --header-file=scanner.h
127YPREFIX= pcap_ 127YPREFIX= pcap_
128YHEADER= 1 128YHEADER= 1
129 129
130CPPFLAGS+= -DHAVE_CONFIG_H 130CPPFLAGS+= -DHAVE_CONFIG_H
131CPPFLAGS+= -D_U_="__attribute__((__unused__))" 131CPPFLAGS+= -D_U_="__attribute__((__unused__))"
132 132
133.if (${USE_INET6} != "no") 133.if (${USE_INET6} != "no")
134CPPFLAGS+= -DINET6 134CPPFLAGS+= -DINET6
135.endif 135.endif
136 136
137SRCS= scanner.l savefile.c pcap.c pcap-bpf.c optimize.c nametoaddr.c \ 137SRCS= scanner.l savefile.c pcap.c pcap-bpf.c optimize.c nametoaddr.c \
138 inet.c grammar.y gencode.c fad-getad.c etherent.c bpf_image.c \ 138 inet.c grammar.y gencode.c fad-getad.c etherent.c bpf_image.c \
139 bpf_dump.c version.c sf-pcap-ng.c sf-pcap.c pcap-common.c 139 bpf_dump.c pcap_version.c sf-pcap-ng.c sf-pcap.c pcap-common.c \
 140 fad-getad.c fad-helpers.c
140 141
141.PATH: ${NETBSDSRCDIR}/sys/net 142.PATH: ${NETBSDSRCDIR}/sys/net
142SRCS+= bpf_filter.c 143SRCS+= bpf_filter.c
143 144
144INCS= pcap/pcap.h pcap/namedb.h 145INCS= pcap/pcap.h pcap/namedb.h
145INCSDIR= /usr/include 146INCSDIR= /usr/include
146INCSYMLINKS+= ../net/bpf.h ${INCSDIR}/pcap/bpf.h 147INCSYMLINKS+= ../net/bpf.h ${INCSDIR}/pcap/bpf.h
147INCSYMLINKS+= pcap/pcap.h ${INCSDIR}/pcap.h 148INCSYMLINKS+= pcap/pcap.h ${INCSDIR}/pcap.h
148INCSYMLINKS+= pcap/namedb.h ${INCSDIR}/pcap-namedb.h 149INCSYMLINKS+= pcap/namedb.h ${INCSDIR}/pcap-namedb.h
149 150
150scanner.d scanner.o: tokdefs.h 151scanner.d scanner.o: tokdefs.h
151 152
152tokdefs.h: grammar.h 153tokdefs.h: grammar.h