1997-05-09 11:50:03 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 1997/05/09 07:50:15 mycroft Exp $
|
1995-03-06 14:37:58 +03:00
|
|
|
|
|
|
|
LIB= pcap
|
|
|
|
MAN= pcap.3
|
|
|
|
|
1996-12-13 11:25:54 +03:00
|
|
|
LEX= flex
|
|
|
|
|
|
|
|
CFLAGS+=-I. -I${.CURDIR} -DYYBISON
|
|
|
|
CFLAGS+=-DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1
|
|
|
|
CFLAGS+=-DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SOCKADDR_SA_LEN=1
|
1997-03-25 01:11:48 +03:00
|
|
|
CFLAGS+=-DLBL_ALIGN=1
|
1996-12-13 11:25:54 +03:00
|
|
|
LFLAGS+=-olex.yy.c -Ppcap_
|
|
|
|
YFLAGS+=-ppcap_
|
1995-03-06 14:37:58 +03:00
|
|
|
|
1997-05-09 11:50:03 +04:00
|
|
|
SRCS= bpf_filter.c bpf_image.c etherent.c gencode.c grammar.c inet.c \
|
|
|
|
nametoaddr.c optimize.c pcap-bpf.c pcap.c savefile.c scanner.c
|
|
|
|
|
1995-03-06 14:37:58 +03:00
|
|
|
.PATH: ${.CURDIR}/../../sys/net
|
|
|
|
|
1997-03-25 01:11:48 +03:00
|
|
|
INCS=pcap.h pcap-namedb.h
|
|
|
|
INCSDIR=/usr/include
|
1995-03-06 14:37:58 +03:00
|
|
|
|
1997-03-25 01:11:48 +03:00
|
|
|
CLEANFILES+= grammar.c scanner.c y.tab.h
|
1995-03-06 14:37:58 +03:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|