blob: 679aabb9eda7940b13de23591575dd03d4f6a278 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# $OpenBSD: Makefile,v 1.21 2015/09/14 16:16:38 jsing 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
MLINKS+=tls_init.3 tls_error.3
MLINKS+=tls_init.3 tls_config_new.3
MLINKS+=tls_init.3 tls_config_free.3
MLINKS+=tls_init.3 tls_config_parse_protocols.3
MLINKS+=tls_init.3 tls_config_set_ca_file.3
MLINKS+=tls_init.3 tls_config_set_ca_path.3
MLINKS+=tls_init.3 tls_config_set_ca_mem.3
MLINKS+=tls_init.3 tls_config_set_cert_file.3
MLINKS+=tls_init.3 tls_config_set_cert_mem.3
MLINKS+=tls_init.3 tls_config_set_ciphers.3
MLINKS+=tls_init.3 tls_config_set_dheparams.3
MLINKS+=tls_init.3 tls_config_set_ecdhecurve.3
MLINKS+=tls_init.3 tls_config_set_key_file.3
MLINKS+=tls_init.3 tls_config_set_key_mem.3
MLINKS+=tls_init.3 tls_config_set_protocols.3
MLINKS+=tls_init.3 tls_config_set_verify_depth.3
MLINKS+=tls_init.3 tls_config_prefer_ciphers_client.3
MLINKS+=tls_init.3 tls_config_prefer_ciphers_server.3
MLINKS+=tls_init.3 tls_config_clear_keys.3
MLINKS+=tls_init.3 tls_config_insecure_noverifycert.3
MLINKS+=tls_init.3 tls_config_insecure_noverifyname.3
MLINKS+=tls_init.3 tls_config_insecure_noverifytime.3
MLINKS+=tls_init.3 tls_config_verify.3
MLINKS+=tls_init.3 tls_config_verify_client.3
MLINKS+=tls_init.3 tls_config_verify_client_optional.3
MLINKS+=tls_init.3 tls_peer_cert_provided.3
MLINKS+=tls_init.3 tls_peer_cert_contains_name.3
MLINKS+=tls_init.3 tls_peer_cert_issuer.3
MLINKS+=tls_init.3 tls_peer_cert_subject.3
MLINKS+=tls_init.3 tls_peer_cert_hash.3
MLINKS+=tls_init.3 tls_conn_version.3
MLINKS+=tls_init.3 tls_conn_cipher.3
MLINKS+=tls_init.3 tls_load_file.3
MLINKS+=tls_init.3 tls_client.3
MLINKS+=tls_init.3 tls_server.3
MLINKS+=tls_init.3 tls_configure.3
MLINKS+=tls_init.3 tls_reset.3
MLINKS+=tls_init.3 tls_free.3
MLINKS+=tls_init.3 tls_connect.3
MLINKS+=tls_init.3 tls_connect_fds.3
MLINKS+=tls_init.3 tls_connect_servername.3
MLINKS+=tls_init.3 tls_connect_socket.3
MLINKS+=tls_init.3 tls_accept_fds.3
MLINKS+=tls_init.3 tls_accept_socket.3
MLINKS+=tls_init.3 tls_handshake.3
MLINKS+=tls_init.3 tls_read.3
MLINKS+=tls_init.3 tls_write.3
MLINKS+=tls_init.3 tls_close.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>
|