tcp: Fix comment, which I'm here.
[dragonfly.git] / usr.bin / nc / Makefile
blob804040c161faf2d6aec0205a0b40e90409560cac
1 .PATH: ${.CURDIR}/../../crypto/libressl/apps/nc
2 .PATH: ${.CURDIR}/../../crypto/libressl/tls
4 PROG= nc
5 SRCS= netcat.c atomicio.c socks.c
7 # TLS block (no separate libtls.a)
8 SRCS+= tls_client.c \
9 tls_config.c \
10 tls_conninfo.c \
11 tls_peer.c \
12 tls_server.c \
13 tls_util.c \
14 tls_verify.c \
15 tls.c
17 WARNS?= 2
19 CFLAGS+=-DHAVE_ARC4RANDOM_BUF -DHAVE_STRTONUM \
20 -I${.CURDIR}/../../crypto/libressl/include \
21 -I${.CURDIR}/../../crypto/libressl/include/compat
23 DPADD= ${LIBRECRYPTO} ${LIBRESSL}
24 LDADD= -lprivate_ssl -lprivate_crypto
25 LDFLAGS+= ${PRIVATELIB_LDFLAGS}
27 .include <bsd.prog.mk>