NetBSD/lib/libpcap/Makefile

28 lines
637 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.16 1998/04/09 00:32:35 tv Exp $
LIB= pcap
1997-10-03 19:53:00 +04:00
MAN= pcap.3
LEX= flex
1997-10-23 06:53:50 +04:00
CPPFLAGS+=-I. -I${.CURDIR} -DYYBISON
CPPFLAGS+=-DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1
CPPFLAGS+=-DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SOCKADDR_SA_LEN=1
CFPPLAGS+=-DLBL_ALIGN=1
LFLAGS+=-olex.yy.c -Ppcap_
YFLAGS+=-ppcap_
YHEADER=1
1997-10-03 19:53:00 +04:00
SRCS= scanner.l savefile.c pcap.c pcap-bpf.c optimize.c nametoaddr.c \
inet.c grammar.y gencode.c etherent.c bpf_image.c
SRCS+= bpf_filter.c version.c
.PATH: ${.CURDIR}/../../sys/net
1997-10-03 19:53:00 +04:00
INCS= pcap-namedb.h pcap.h
INCSDIR=/usr/include
scanner.c: grammar.h
.include <bsd.lib.mk>