b2fad95038
statistics obtained with stats(3) in JSON format to standard error. Reviewed by: allanjude, thj, cem (earlier version) Tested by: thj MFC after: 2 weeks Relnotes: yes Sponsored by: Klara Inc. Differential Revision: https://reviews.freebsd.org/D21324
21 lines
273 B
Makefile
21 lines
273 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.PATH: ${SRCTOP}/contrib/netcat
|
|
|
|
PROG= nc
|
|
SRCS= netcat.c atomicio.c socks.c
|
|
|
|
CFLAGS+=-DIPSEC
|
|
LIBADD= ipsec
|
|
|
|
.if ${MK_STATS} != "no" && !defined(RESCUE)
|
|
LIBADD+= sbuf stats
|
|
CFLAGS+= -DWITH_STATS
|
|
.endif
|
|
|
|
WARNS?= 2
|
|
|
|
.include <bsd.prog.mk>
|