blob: e086f0ed3d65b16ad99d79dad73cf5297cd89814 (
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
IF[{- $config{target} =~ /^(?:linux|BSD)/ -}]
PROGRAMS{noinst}=crypto/bio/test_bio_addr
SOURCE[crypto/bio/test_bio_addr]=crypto/bio/test_bio_addr.c
INCLUDE[crypto/bio/test_bio_addr]=../../include ../../crypto/bio
DEPEND[crypto/bio/test_bio_addr]=../../libcrypto.a
WRAP[crypto/bio/test_bio_addr]=BIO_sock_init getnameinfo freeaddrinfo
PROGRAMS{noinst}=crypto/bio/test_bf_buff
SOURCE[crypto/bio/test_bf_buff]=crypto/bio/test_bf_buff.c
INCLUDE[crypto/bio/test_bf_buff]=../../include ../../crypto/bio
DEPEND[crypto/bio/test_bf_buff]=../../libcrypto.a
WRAP[crypto/bio/test_bf_buff]=BIO_ADDR_new BIO_ADDR_copy
PROGRAMS{noinst}=crypto/bio/test_bio_sock
SOURCE[crypto/bio/test_bio_sock]=crypto/bio/test_bio_sock.c
INCLUDE[crypto/bio/test_bio_sock]=../../include ../../crypto/bio
DEPEND[crypto/bio/test_bio_sock]=../../libcrypto.a
WRAP[crypto/bio/test_bio_sock]=getsockopt setsockopt getsockname ioctl poll \
gethostbyname BIO_lookup BIO_socket BIO_listen BIO_closesocket \
BIO_ADDRINFO_free BIO_accept_ex BIO_sock_should_retry \
BIO_ADDR_hostname_string BIO_ADDR_service_string
PROGRAMS{noinst}=crypto/bio/test_bio_sock2
SOURCE[crypto/bio/test_bio_sock2]=crypto/bio/test_bio_sock2.c
INCLUDE[crypto/bio/test_bio_sock2]=../../include ../../crypto/bio
DEPEND[crypto/bio/test_bio_sock2]=../../libcrypto.a
WRAP[crypto/bio/test_bio_sock2]=socket connect bind listen accept close \
getsockopt setsockopt BIO_socket_nbio BIO_sock_should_retry
PROGRAMS{noinst}=crypto/bio/test_bss_acpt
SOURCE[crypto/bio/test_bss_acpt]=crypto/bio/test_bss_acpt.c
WRAP[crypto/bio/test_bss_acpt]=BIO_lookup BIO_socket BIO_listen \
BIO_accept_ex BIO_sock_info BIO_sock_should_retry BIO_closesocket \
BIO_ADDR_hostname_string BIO_ADDR_service_string
INCLUDE[crypto/bio/test_bss_acpt]=../../include ../../crypto/bio
DEPEND[crypto/bio/test_bss_acpt]=../../libcrypto.a
PROGRAMS{noinst}=crypto/bio/test_bss_conn
SOURCE[crypto/bio/test_bss_conn]=crypto/bio/test_bss_conn.c
WRAP[crypto/bio/test_bss_conn]=BIO_lookup BIO_socket BIO_connect \
BIO_sock_should_retry BIO_closesocket BIO_socket_wait BIO_sock_error \
read write
INCLUDE[crypto/bio/test_bss_conn]=../../include ../../crypto/bio
DEPEND[crypto/bio/test_bss_conn]=../../libcrypto.a
PROGRAMS{noinst}=crypto/bio/test_bss_dgram
SOURCE[crypto/bio/test_bss_dgram]=crypto/bio/test_bss_dgram.c
WRAP[crypto/bio/test_bss_dgram]=recvfrom sendto write getsockname \
getpeername BIO_closesocket BIO_socket_nbio
INCLUDE[crypto/bio/test_bss_dgram]=../../include ../../crypto/bio
DEPEND[crypto/bio/test_bss_dgram]=../../libcrypto.a
PROGRAMS{noinst}=crypto/bio/test_bss_fd
SOURCE[crypto/bio/test_bss_fd]=crypto/bio/test_bss_fd.c
INCLUDE[crypto/bio/test_bss_fd]=../../include ../../crypto/bio
DEPEND[crypto/bio/test_bss_fd]=../../libcrypto.a
WRAP[crypto/bio/test_bss_fd]=read write lseek close
PROGRAMS{noinst}=crypto/bio/test_bss_file
SOURCE[crypto/bio/test_bss_file]=crypto/bio/test_bss_file.c
INCLUDE[crypto/bio/test_bss_file]=../../include ../../crypto/bio
DEPEND[crypto/bio/test_bss_file]=../../libcrypto.a
WRAP[crypto/bio/test_bss_file]=openssl_fopen fread fwrite fseek ftell feof \
ferror fclose fflush fgets
PROGRAMS{noinst}=crypto/bio/test_bss_sock
SOURCE[crypto/bio/test_bss_sock]=crypto/bio/test_bss_sock.c
WRAP[crypto/bio/test_bss_sock]=read write BIO_closesocket
INCLUDE[crypto/bio/test_bss_sock]=../../include ../../crypto/bio
DEPEND[crypto/bio/test_bss_sock]=../../libcrypto.a
PROGRAMS{noinst}=ssl/test_ssl_sess
SOURCE[ssl/test_ssl_sess]=ssl/test_ssl_sess.c
INCLUDE[ssl/test_ssl_sess]=../../include ../../ssl
DEPEND[ssl/test_ssl_sess]=../../libssl.a ../../libcrypto.a
WRAP[ssl/test_ssl_sess]=CRYPTO_THREAD_read_lock
ENDIF
IF[{- $config{target} =~ /^VC-/ -}]
PROGRAMS{noinst}=crypto/bio/test_bss_dgram_win
SOURCE[crypto/bio/test_bss_dgram_win]=crypto/bio/test_bss_dgram_win.c
UNIT_TEST[crypto/bio/test_bss_dgram_win]=cmocka detours
INCLUDE[crypto/bio/test_bss_dgram_win]=../../include ../../include/internal \
../../crypto/bio
DEPEND[crypto/bio/test_bss_dgram_win]=../../libcrypto
# On uplink builds the test must see the same BIO_FLAGS_UPLINK_INTERNAL
# value as libcrypto, and needs applink so UP_* calls dispatch into the
# test executable, where the detours intercept them.
IF[{- !$disabled{uplink} -}]
$INITSRC=../../ms/applink.c
$UPLINKDEF=OPENSSL_USE_APPLINK
ENDIF
PROGRAMS{noinst}=crypto/bio/test_bss_file_win
SOURCE[crypto/bio/test_bss_file_win]=crypto/bio/test_bss_file_win.c $INITSRC
DEFINE[crypto/bio/test_bss_file_win]=$UPLINKDEF
UNIT_TEST[crypto/bio/test_bss_file_win]=cmocka detours
INCLUDE[crypto/bio/test_bss_file_win]=../../include ../../include/internal \
../../crypto/bio ../..
DEPEND[crypto/bio/test_bss_file_win]=../../libcrypto
ENDIF
|