NetBSD/lib/libpcap/Makefile

26 lines
607 B
Makefile
Raw Normal View History

1996-10-18 09:45:01 +04:00
# $NetBSD: Makefile,v 1.5 1996/10/18 05:45:04 thorpej Exp $
LIB= pcap
MAN= pcap.3
1996-08-11 02:31:19 +04:00
CFLAGS+=-I. -I${.CURDIR} -DFDDI
HDRS= pcap.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
.PATH: ${.CURDIR}/../../sys/net
CLEANFILES+= grammar.c scanner.c y.tab.h
includes:
@cd ${.CURDIR}; for i in $(HDRS); do \
j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \
1996-10-18 09:45:01 +04:00
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \
${DESTDIR}/usr/include"; \
echo $$j; \
eval "$$j"; \
done
.include <bsd.lib.mk>