NetBSD/lib/libpcap/Makefile

33 lines
712 B
Makefile
Raw Normal View History

2002-09-14 18:59:30 +04:00
# $NetBSD: Makefile,v 1.23 2002/09/14 14:59:30 thorpej Exp $
.include <bsd.own.mk>
LIB= pcap
1999-07-02 19:58:35 +04:00
MAN= pcap.3
2001-11-05 18:22:23 +03:00
WARNS?= 1
1997-10-23 06:53:50 +04:00
CPPFLAGS+=-I. -I${.CURDIR} -DYYBISON
CPPFLAGS+=-DINET6
1997-10-23 06:53:50 +04:00
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
CPPFLAGS+=-DHAVE_IFADDRS_H=1
# used in no place
#CPPFLAGS+=-DLBL_ALIGN=1
1998-11-01 06:48:35 +03:00
LPREFIX=pcap_
YPREFIX=pcap_
YHEADER=1
1997-10-03 19:53:00 +04:00
SRCS= scanner.l savefile.c pcap.c pcap-bpf.c optimize.c nametoaddr.c \
1999-07-02 19:58:35 +04:00
inet.c grammar.y gencode.c etherent.c bpf_image.c
SRCS+= bpf_filter.c version.c
.PATH: ${NETBSDSRCDIR}/sys/net
1999-07-02 19:58:35 +04:00
INCS= pcap-namedb.h pcap.h
INCSDIR=/usr/include
scanner.c: grammar.h
.include <bsd.lib.mk>