File:  [DragonFly] / src / usr.sbin / tcpdump / tcpdump / Makefile
Revision 1.3: download - view: text, annotated - select for diffs
Sun Aug 3 16:45:17 2003 UTC (11 years, 3 months ago) by dillon
Branches: MAIN
CVS tags: HEAD
Remove NOSECURE which no longer serves a purpose.  Note: FreeBSD also removed
NOSECURE.

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