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