95b523ea71
Submitted by: Ján Sučan <sucanjan@gmail.com> MFC after: 2 weeks Sponsored by: Google LLC (Google Summer of Code 2019) Differential Revision: https://reviews.freebsd.org/D21405
29 lines
454 B
Makefile
29 lines
454 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE=runtime
|
|
PROG= ping
|
|
SRCS= ping.c utils.c
|
|
MAN= ping.8
|
|
BINOWN= root
|
|
BINMODE=4555
|
|
LIBADD= m
|
|
|
|
.if ${MK_DYNAMICROOT} == "no"
|
|
.warning ${PROG} built without libcasper support
|
|
.elif ${MK_CASPER} != "no" && !defined(RESCUE)
|
|
LIBADD+= casper
|
|
LIBADD+= cap_dns
|
|
CFLAGS+=-DWITH_CASPER
|
|
.endif
|
|
|
|
CFLAGS+=-DIPSEC
|
|
LIBADD+= ipsec
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|