1994-05-26 06:35:07 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1994-05-26 06:35:07 +00:00
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2014-02-04 21:43:53 +00:00
|
|
|
|
2016-02-09 20:19:31 +00:00
|
|
|
PACKAGE=runtime
|
1994-05-26 06:35:07 +00:00
|
|
|
PROG= ping
|
2019-08-17 15:25:01 +00:00
|
|
|
SRCS= ping.c utils.c
|
2001-03-26 14:33:27 +00:00
|
|
|
MAN= ping.8
|
2001-09-13 06:48:18 +00:00
|
|
|
BINOWN= root
|
1994-05-26 06:35:07 +00:00
|
|
|
BINMODE=4555
|
2014-11-25 11:23:12 +00:00
|
|
|
LIBADD= m
|
2000-01-07 19:06:54 +00:00
|
|
|
|
2018-09-09 17:26:44 +00:00
|
|
|
.if ${MK_DYNAMICROOT} == "no"
|
|
|
|
.warning ${PROG} built without libcasper support
|
|
|
|
.elif ${MK_CASPER} != "no" && !defined(RESCUE)
|
2016-02-25 18:23:40 +00:00
|
|
|
LIBADD+= casper
|
|
|
|
LIBADD+= cap_dns
|
2017-09-21 14:41:41 +00:00
|
|
|
CFLAGS+=-DWITH_CASPER
|
2014-02-04 21:43:53 +00:00
|
|
|
.endif
|
|
|
|
|
2000-01-06 12:40:54 +00:00
|
|
|
CFLAGS+=-DIPSEC
|
2014-11-25 11:23:12 +00:00
|
|
|
LIBADD+= ipsec
|
1994-05-26 06:35:07 +00:00
|
|
|
|
2019-08-20 21:59:48 +00:00
|
|
|
HAS_TESTS=
|
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
|
1994-05-26 06:35:07 +00:00
|
|
|
.include <bsd.prog.mk>
|