1 # $NetBSD: Makefile,v 1.30 2007/05/28 12:06:20 tls Exp $
5 USE_FORT?
= yes
# network protocol library
7 SRCDIR
= ${NETBSDSRCDIR}/dist/libpcap
15 CPPFLAGS
+= -I
${.CURDIR
} -I.
-I
${SRCDIR}
21 CPPFLAGS
+= -DHAVE_CONFIG_H
25 .elif defined
(HAVE_GCC
)
26 CPPFLAGS
+= -D_U_
="__attribute__((unused))"
29 .if
(${USE_INET6} != "no")
33 SRCS
= scanner.l savefile.c pcap.c pcap-bpf.c optimize.c nametoaddr.c \
34 inet.c grammar.y gencode.c fad-getad.c etherent.c bpf_image.c \
37 .PATH
: ${NETBSDSRCDIR}/sys
/net
40 INCS
= pcap-namedb.h pcap.h
43 scanner.d scanner.o
: tokdefs.h
48 CLEANFILES
+= tokdefs.h