2005-02-06 14:44:27 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2019-12-14 10:53:52 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2017-03-12 18:58:44 +00:00
|
|
|
.PATH: ${SRCTOP}/contrib/netcat
|
2005-02-06 14:44:27 +00:00
|
|
|
|
|
|
|
PROG= nc
|
|
|
|
SRCS= netcat.c atomicio.c socks.c
|
|
|
|
|
|
|
|
CFLAGS+=-DIPSEC
|
2014-11-25 14:29:10 +00:00
|
|
|
LIBADD= ipsec
|
2005-02-06 14:44:27 +00:00
|
|
|
|
2019-12-14 10:53:52 +00:00
|
|
|
.if ${MK_STATS} != "no" && !defined(RESCUE)
|
|
|
|
LIBADD+= sbuf stats
|
|
|
|
CFLAGS+= -DWITH_STATS
|
|
|
|
.endif
|
|
|
|
|
2010-10-19 00:01:53 +00:00
|
|
|
WARNS?= 2
|
2010-01-02 10:27:05 +00:00
|
|
|
|
2005-02-06 14:44:27 +00:00
|
|
|
.include <bsd.prog.mk>
|