1997-04-05 12:12:16 +04:00
|
|
|
# $NetBSD: Makefile,v 1.8 1997/04/05 08:12:16 veego 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
|
|
|
|
|
|
|
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
|
|
|
|
.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>
|
1996-12-13 11:25:54 +03:00
|
|
|
|
|
|
|
.depend: grammar.c scanner.c
|