1# @(#)Makefile 8.1 (Berkeley) 6/5/93 2# $FreeBSD$ 3 4.include <src.opts.mk> 5 6PACKAGE=runtime 7PROG= ping 8SRCS= main.c ping.c utils.c 9MAN= ping.8 10BINOWN= root 11BINMODE=4555 12LIBADD= m 13 14.if ${MK_INET6_SUPPORT} != "no" 15CFLAGS+= -DINET6 -DKAME_SCOPEID 16SRCS+= ping6.c 17LIBADD+= md 18LINKS= ${BINDIR}/ping ${BINDIR}/ping6 19.endif 20 21.if ${MK_DYNAMICROOT} == "no" 22.warning ${PROG} built without libcasper support 23.elif ${MK_CASPER} != "no" && !defined(RESCUE) 24LIBADD+= casper 25LIBADD+= cap_dns 26CFLAGS+=-DWITH_CASPER 27.endif 28 29CFLAGS+=-DIPSEC 30LIBADD+= ipsec 31 32HAS_TESTS= 33SUBDIR.${MK_TESTS}+= tests 34 35.include <bsd.prog.mk> 36