diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2005-11-18 11:05:40 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2005-11-18 11:05:40 +0000 |
commit | b3d796352917fe2a0f9021b3d370e7fa278210f1 (patch) | |
tree | 0c943c5097ed32c71ced43194d854fcb75db9446 /lib/libpcap/Makefile | |
parent | 237b9b47f2326dabd4a6bddc33123e3a52be6179 (diff) |
pull in the good bits of libpcap-0.9.4's API without the cross-platform
cruft. help from deraadt@, mpf@, jmc@; ok mpf@a
nb. this will break tcpdump unless it updated too
Diffstat (limited to 'lib/libpcap/Makefile')
-rw-r--r-- | lib/libpcap/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index 12d178175ac..3e0d2a560ac 100644 --- a/lib/libpcap/Makefile +++ b/lib/libpcap/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.15 2003/02/20 03:20:09 deraadt Exp $ +# $OpenBSD: Makefile,v 1.16 2005/11/18 11:05:38 djm Exp $ # $NetBSD: Makefile,v 1.3 1996/05/10 21:54:24 cgd Exp $ LIB= pcap @@ -13,7 +13,14 @@ MLINKS= pcap.3 pcap_open_live.3 pcap.3 pcap_open_offline.3 \ pcap_stats.3 pcap.3 pcap_file.3 pcap.3 pcap_fileno.3 pcap.3 \ pcap_perror.3 pcap.3 pcap_geterr.3 pcap.3 pcap_strerror.3 \ pcap.3 pcap_close.3 pcap.3 pcap_dump_close.3 \ - pcap.3 pcap_freecode.3 + pcap.3 pcap_freecode.3 pcap.3 pcap_breakloop.3 \ + pcap.3 pcap_findalldevs.3 pcap.3 pcap_freealldevs.3 \ + pcap.3 pcap_getnonblock.3 pcap.3 pcap_setnonblock.3 \ + pcap.3 pcap_set_datalink.3 pcap.3 pcap_list_datalinks.3 \ + pcap.3 pcap_open_dead.3 pcap.3 pcap_lib_version.3 \ + pcap.3 pcap_datalink_val_to_name.3 \ + pcap.3 pcap_datalink_val_to_description.3 \ + pcap.3 pcap_datalink_name_to_val.3 DEFS= -DHAVE_SYS_IOCCOM_H -DHAVE_SYS_SOCKIO_H -DHAVE_ETHER_HOSTTON \ -DHAVE_STRERROR -DHAVE_SOCKADDR_SA_LEN -DLBL_ALIGN -DHAVE_IFADDRS_H \ @@ -24,7 +31,7 @@ CFLAGS+=-I. -I${.CURDIR} -Dyylval=pcap_yylval ${DEFS} HDRS= pcap.h pcap-int.h pcap-namedb.h SRCS= pcap.c inet.c gencode.c optimize.c nametoaddr.c etherent.c \ savefile.c bpf_filter.c bpf_image.c grammar.y scanner.l \ - pcap-bpf.c version.c + pcap-bpf.c version.c fad-getad.c .PATH: ${.CURDIR}/../../sys/net CLEANFILES+= grammar.c scanner.c grammar.tab.h version.c |