1999-10-06 00:37:21 +04:00
|
|
|
# $NetBSD: Makefile,v 1.17 1999/10/05 20:37:21 is Exp $
|
1995-03-08 02:18:35 +03:00
|
|
|
|
|
|
|
PROG= tcpdump
|
1997-10-03 23:54:07 +04:00
|
|
|
MAN= tcpdump.8
|
1995-03-08 02:18:35 +03:00
|
|
|
|
1997-10-25 10:57:53 +04:00
|
|
|
CPPFLAGS+=-DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1
|
|
|
|
CPPFLAGS+=-DTIME_WITH_SYS_TIME=1 -DHAVE_NET_SLIP_H=1 -DHAVE_VFPRINTF=1
|
|
|
|
CPPFLAGS+=-DHAVE_STRCASECMP=1 -DHAVE_ETHER_NTOA=1 -DHAVE_SETLINEBUF=1
|
|
|
|
CPPFLAGS+=-DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGACTION=1
|
1999-03-23 03:02:24 +03:00
|
|
|
CPPFLAGS+=-DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_FDDI -DHAVE_TOKEN -DLBL_ALIGN
|
1998-07-25 15:30:43 +04:00
|
|
|
CPPFLAGS+=-DHAVE_HDLC
|
1999-07-02 15:31:28 +04:00
|
|
|
CPPFLAGS+=-DINET6 -DHAVE_LIBZ -DHAVE_ZLIB_H
|
1995-03-08 02:18:35 +03:00
|
|
|
|
|
|
|
LDADD+= -lpcap -ll
|
1997-03-25 01:02:40 +03:00
|
|
|
DPADD+= ${LIBPCAP} ${LIBL}
|
1995-03-08 02:18:35 +03:00
|
|
|
|
1997-10-03 23:54:07 +04:00
|
|
|
SRCS= util.c tcpdump.c setsignal.c savestr.c print-wb.c print-udp.c \
|
|
|
|
print-tftp.c print-tcp.c print-sunrpc.c print-snmp.c print-sl.c print-rip.c \
|
|
|
|
print-raw.c print-ppp.c print-pim.c print-ospf.c print-null.c print-ntp.c \
|
|
|
|
print-nfs.c print-netbios.c print-llc.c print-krb.c print-isoclns.c print-ipx.c \
|
|
|
|
print-ip.c print-igrp.c print-icmp.c print-gre.c print-fddi.c print-ether.c \
|
|
|
|
print-egp.c print-dvmrp.c print-domain.c print-decnet.c print-bootp.c print-atm.c \
|
1999-03-23 03:02:24 +03:00
|
|
|
print-hdlc.c print-token.c \
|
1997-10-03 23:54:07 +04:00
|
|
|
print-atalk.c print-arp.c parsenfsfh.c machdep.c gmt2local.c bpf_dump.c \
|
1999-10-06 00:37:21 +04:00
|
|
|
addrtoname.c print-mobile.c print-arcnet.c
|
1999-07-02 15:31:28 +04:00
|
|
|
SRCS+= print-ah.c print-esp.c print-frag6.c print-icmp6.c print-ip6.c \
|
|
|
|
print-ip6opts.c print-ipcomp.c print-isakmp.c print-ospf6.c \
|
|
|
|
print-ripng.c print-rt6.c
|
1997-10-03 23:54:07 +04:00
|
|
|
SRCS+= version.c
|
1999-09-30 18:49:12 +04:00
|
|
|
SRCS+= print-ascii.c print-telnet.c
|
1995-03-08 02:18:35 +03:00
|
|
|
|
1997-10-03 23:54:07 +04:00
|
|
|
AWKS= atime.awk packetdat.awk stime.awk send-ack.awk
|
1995-03-08 02:18:35 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|