blob: ca2f00bc8f4d27cf9d31b42a9d7a79d5f13b72e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $OpenBSD: Makefile,v 1.23 2016/03/30 06:38:43 jmc Exp $
CFLAGS+= -Wall -Werror -Wimplicit
CFLAGS+= -DLIBRESSL_INTERNAL
LIB= tls
DPADD= ${LIBCRYPTO} ${LIBSSL}
LDADD+= -L${BSDOBJDIR}/lib/libcrypto/crypto -lcrypto
LDADD+= -L${BSDOBJDIR}/lib/libssl/ssl -lssl
HDRS= tls.h
SRCS= tls.c \
tls_client.c \
tls_config.c \
tls_conninfo.c \
tls_peer.c \
tls_server.c \
tls_util.c \
tls_verify.c
MAN= tls_init.3
includes:
@cd ${.CURDIR}; for i in $(HDRS); do \
j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i\
${DESTDIR}/usr/include/"; \
echo $$j; \
eval "$$j"; \
done;
.include <bsd.lib.mk>
|