File:  [DragonFly] / src / usr.sbin / tcpdump / tcpdump / Makefile
Revision 1.4: download - view: text, annotated - select for diffs
Sat May 15 12:29:42 2004 UTC (10 years, 2 months ago) by eirikn
Branches: MAIN
CVS tags: HEAD, DragonFly_Stable, DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2, DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Update tcpdump to version 3.8.3

Submitted-by: Brock Johnson <wildefire@isentry.homelinux.org>

    1: # $FreeBSD: src/usr.sbin/tcpdump/tcpdump/Makefile,v 1.25.2.6 2002/07/05 11:30:32 fenner Exp $
    2: # $DragonFly: src/usr.sbin/tcpdump/tcpdump/Makefile,v 1.4 2004/05/15 12:29:42 eirikn Exp $
    3: 
    4: 
    5: TCPDUMP_DISTDIR?= ${.CURDIR}/../../../contrib/tcpdump-3.8.3
    6: .PATH: ${TCPDUMP_DISTDIR}
    7: 
    8: PROG=	tcpdump
    9: SRCS=	addrtoname.c gmpls.c gmt2local.c machdep.c \
   10: 	oui.c parsenfsfh.c print-802_11.c print-ap1394.c \
   11: 	print-ah.c print-arcnet.c print-aodv.c print-arp.c \
   12: 	print-ascii.c print-atalk.c print-atm.c print-beep.c \
   13: 	print-bfd.c print-bgp.c print-bootp.c print-cdp.c \
   14: 	print-chdlc.c print-cip.c print-cnfp.c print-decnet.c \
   15: 	print-domain.c print-dvmrp.c print-enc.c print-egp.c \
   16: 	print-esp.c print-ether.c print-fddi.c print-fr.c \
   17: 	print-gre.c print-hsrp.c print-icmp.c print-igmp.c \
   18: 	print-igrp.c print-ip.c print-ipcomp.c print-ipfc.c \
   19: 	print-ipx.c print-isakmp.c print-isoclns.c print-krb.c \
   20: 	print-l2tp.c print-lane.c print-ldp.c print-llc.c \
   21: 	print-lwres.c print-mobile.c print-mpls.c print-msdp.c \
   22: 	print-nfs.c print-ntp.c print-null.c print-ospf.c \
   23: 	print-pflog.c print-pim.c print-ppp.c print-pppoe.c \
   24: 	print-pptp.c print-radius.c print-raw.c print-rip.c \
   25: 	print-rsvp.c print-rx.c print-sctp.c print-sl.c \
   26: 	print-sll.c print-smb.c print-snmp.c print-stp.c \
   27: 	print-sunatm.c print-sunrpc.c print-tcp.c print-telnet.c \
   28: 	print-tftp.c print-timed.c print-token.c print-udp.c \
   29: 	print-vjc.c print-vrrp.c print-wb.c print-zephyr.c \
   30: 	setsignal.c smbutil.c tcpdump.c util.c version.c
   31: CLEANFILES+=	version.c
   32: 
   33: CFLAGS+= -I${.CURDIR} -I${TCPDUMP_DISTDIR}
   34: CFLAGS+= -DHAVE_CONFIG_H -D_U_="__attribute__((unused))"
   35: 
   36: .if !defined(NOINET6)
   37: SRCS+=	print-ip6.c print-ip6opts.c print-mobility.c \
   38: 	print-ripng.c print-icmp6.c print-frag6.c print-rt6.c \
   39: 	print-ospf6.c print-dhcp6.c
   40: CFLAGS+=	-DINET6
   41: .endif
   42: .if ${MACHINE_ARCH} != "i386"
   43: CFLAGS+=	-DLBL_ALIGN
   44: .endif
   45: 
   46: DPADD=	${LIBL} ${LIBPCAP}
   47: LDADD=	-ll -lpcap
   48: .if exists(../../../secure) && !defined(NOCRYPT) && !defined(NO_OPENSSL) && \
   49: 	!defined(RELEASE_CRUNCH)
   50: DISTRIBUTION=crypto
   51: DPADD+= ${LIBCRYPTO}
   52: LDADD+= -lcrypto
   53: CFLAGS+= -I${DESTDIR}/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_RC5_H -DHAVE_CAST_H
   54: .endif
   55: 
   56: version.c: ${TCPDUMP_DISTDIR}/VERSION
   57: 	@rm -f $@
   58: 	sed 's/.*/char version[] = "&";/' ${TCPDUMP_DISTDIR}/VERSION > $@
   59: 
   60: .include <bsd.prog.mk>