]>
Commit | Line | Data |
---|---|---|
2ad75c6c | 1 | # TODO: use ../apps/libapps.a instead of direct ../apps/lib source. |
989b2ad7 | 2 | # This can't currently be done, because some of its units drag in too many |
2ad75c6c RL |
3 | # unresolved references that don't apply here. |
4 | # Most of all, ../apps/lib/apps.c needs to be divided in smaller pieces to | |
5 | # be useful here. | |
989b2ad7 | 6 | # |
79c44b4e | 7 | # Auxiliary program source (copied from ../apps/build.info) |
96d4ec67 | 8 | IF[{- $config{target} =~ /^(?:VC-|mingw|BC-)/ -}] |
989b2ad7 | 9 | # It's called 'init', but doesn't have much 'init' in it... |
2ad75c6c | 10 | $AUXLIBAPPSSRC=../apps/lib/win32_init.c |
989b2ad7 RL |
11 | ENDIF |
12 | IF[{- $config{target} =~ /^vms-/ -}] | |
2ad75c6c | 13 | $AUXLIBAPPSSRC=../apps/lib/vms_term_sock.c ../apps/lib/vms_decc_argv.c |
989b2ad7 | 14 | ENDIF |
e79ae962 | 15 | $LIBAPPSSRC=../apps/lib/opt.c $AUXLIBAPPSSRC |
989b2ad7 | 16 | |
d90a6beb | 17 | IF[{- !$disabled{tests} -}] |
77550dbf | 18 | LIBS{noinst,has_main}=libtestutil.a |
20f8bc72 | 19 | SOURCE[libtestutil.a]=testutil/basic_output.c testutil/output.c \ |
ae269dd8 | 20 | testutil/driver.c testutil/tests.c testutil/cb.c testutil/stanza.c \ |
b3ab537b | 21 | testutil/format_output.c testutil/load.c testutil/fake_random.c \ |
e74b5dcf | 22 | testutil/test_cleanup.c testutil/main.c testutil/testutil_init.c \ |
1bb6f70d | 23 | testutil/options.c testutil/test_options.c testutil/provider.c \ |
e9a5932d | 24 | testutil/apps_mem.c testutil/random.c $LIBAPPSSRC |
5674466e | 25 | INCLUDE[libtestutil.a]=../include ../apps/include .. |
4db40c94 RL |
26 | DEPEND[libtestutil.a]=../libcrypto |
27 | ||
41bbba53 | 28 | PROGRAMS{noinst}= \ |
5aaba376 | 29 | confdump \ |
efe749c8 | 30 | versions \ |
c5ec6dcf | 31 | aborttest test_test pkcs12_format_test \ |
da5fac72 | 32 | sanitytest rsa_complex exdatatest bntest \ |
5b5eea4b | 33 | ecstresstest gmdifftest pbelutest \ |
a0a760cc | 34 | destest mdc2test \ |
09428755 | 35 | exptest pbetest \ |
9ee77767 | 36 | evp_pkey_provided_test evp_test evp_extra_test evp_extra_test2 \ |
38230e30 | 37 | evp_fetch_prov_test evp_libctx_test ossl_store_test \ |
c72fa255 | 38 | v3nametest v3ext \ |
9ee77767 MC |
39 | evp_pkey_provided_test evp_test evp_extra_test evp_extra_test2 \ |
40 | evp_fetch_prov_test v3nametest v3ext \ | |
a40f0f64 | 41 | crltest danetest bad_dtls_test lhash_test sparse_array_test \ |
9830e7ea | 42 | conf_include_test params_api_test params_conversion_test \ |
d90a6beb | 43 | constant_time_test verify_extra_test clienthellotest \ |
98374961 | 44 | packettest asynctest secmemtest srptest memleaktest stack_test \ |
d90a6beb | 45 | dtlsv1listentest ct_test threadstest afalgtest d2i_test \ |
f8f686ec | 46 | ssl_test_ctx_test ssl_test x509aux cipherlist_test asynciotest \ |
93954ab0 | 47 | bio_callback_test bio_memleak_test bio_core_test param_build_test \ |
88b15ed9 | 48 | bioprinttest sslapitest dtlstest sslcorrupttest \ |
9aa78c36 | 49 | bio_enc_test pkey_meth_test pkey_meth_kdf_test evp_kdf_test uitest \ |
235776b2 | 50 | cipherbytes_test threadstest_fips \ |
c2278c8b | 51 | asn1_encode_test asn1_decode_test asn1_string_table_test \ |
12fb8c3d | 52 | x509_time_test x509_dup_cert_test x509_check_cert_pkey_test \ |
4516bf74 | 53 | recordlentest drbgtest rand_status_test sslbuffertest \ |
190b9a03 | 54 | time_offset_test pemtest ssl_cert_table_internal_test ciphername_test \ |
4b1fe471 | 55 | http_test servername_test ocspapitest fatalerrtest tls13ccstest \ |
132b5fac | 56 | sysdefaulttest errtest ssl_ctx_test gosttest \ |
5a02d13d | 57 | context_internal_test aesgcmtest params_test evp_pkey_dparams_test \ |
251c4818 | 58 | keymgmt_internal_test hexstr_test provider_status_test defltfips_test \ |
5725ab80 | 59 | bio_readbuffer_test user_property_test |
d90a6beb | 60 | |
41bbba53 P |
61 | IF[{- !$disabled{'deprecated-3.0'} -}] |
62 | PROGRAMS{noinst}=enginetest | |
63 | ENDIF | |
64 | ||
5aaba376 RL |
65 | SOURCE[confdump]=confdump.c |
66 | INCLUDE[confdump]=../include ../apps/include | |
67 | DEPEND[confdump]=../libcrypto | |
68 | ||
efe749c8 | 69 | SOURCE[versions]=versions.c |
5674466e | 70 | INCLUDE[versions]=../include ../apps/include |
efe749c8 RL |
71 | DEPEND[versions]=../libcrypto |
72 | ||
d90a6beb | 73 | SOURCE[aborttest]=aborttest.c |
5674466e | 74 | INCLUDE[aborttest]=../include ../apps/include |
d90a6beb MC |
75 | DEPEND[aborttest]=../libcrypto |
76 | ||
a9c6d221 | 77 | SOURCE[sanitytest]=sanitytest.c |
5674466e | 78 | INCLUDE[sanitytest]=../include ../apps/include |
a9c6d221 | 79 | DEPEND[sanitytest]=../libcrypto libtestutil.a |
d90a6beb | 80 | |
da5fac72 | 81 | SOURCE[rsa_complex]=rsa_complex.c |
5674466e | 82 | INCLUDE[rsa_complex]=../include ../apps/include |
da5fac72 | 83 | |
a9c6d221 | 84 | SOURCE[test_test]=test_test.c |
5674466e | 85 | INCLUDE[test_test]=../include ../apps/include |
a9c6d221 | 86 | DEPEND[test_test]=../libcrypto libtestutil.a |
2fae041d | 87 | |
a9c6d221 | 88 | SOURCE[exdatatest]=exdatatest.c |
5674466e | 89 | INCLUDE[exdatatest]=../include ../apps/include |
a9c6d221 | 90 | DEPEND[exdatatest]=../libcrypto libtestutil.a |
629192c1 | 91 | |
a9c6d221 | 92 | SOURCE[bntest]=bntest.c |
5674466e | 93 | INCLUDE[bntest]=../include ../apps/include |
a9c6d221 | 94 | DEPEND[bntest]=../libcrypto libtestutil.a |
d90a6beb MC |
95 | |
96 | SOURCE[ectest]=ectest.c | |
5674466e | 97 | INCLUDE[ectest]=../include ../apps/include |
5b5eea4b | 98 | DEPEND[ectest]=../libcrypto.a libtestutil.a |
d90a6beb | 99 | |
2556aec5 | 100 | SOURCE[ecstresstest]=ecstresstest.c |
5674466e | 101 | INCLUDE[ecstresstest]=../include ../apps/include |
2556aec5 RS |
102 | DEPEND[ecstresstest]=../libcrypto libtestutil.a |
103 | ||
a9c6d221 | 104 | SOURCE[gmdifftest]=gmdifftest.c |
5674466e | 105 | INCLUDE[gmdifftest]=../include ../apps/include |
a9c6d221 | 106 | DEPEND[gmdifftest]=../libcrypto libtestutil.a |
d90a6beb | 107 | |
a9c6d221 | 108 | SOURCE[pbelutest]=pbelutest.c |
5674466e | 109 | INCLUDE[pbelutest]=../include ../apps/include |
a9c6d221 | 110 | DEPEND[pbelutest]=../libcrypto libtestutil.a |
d90a6beb | 111 | |
a9c6d221 | 112 | SOURCE[mdc2test]=mdc2test.c |
5674466e | 113 | INCLUDE[mdc2test]=../include ../apps/include |
a9c6d221 | 114 | DEPEND[mdc2test]=../libcrypto libtestutil.a |
d90a6beb | 115 | |
a9c6d221 | 116 | SOURCE[enginetest]=enginetest.c |
5674466e | 117 | INCLUDE[enginetest]=../include ../apps/include |
a9c6d221 | 118 | DEPEND[enginetest]=../libcrypto libtestutil.a |
777a2882 | 119 | |
d90a6beb | 120 | SOURCE[exptest]=exptest.c |
5674466e | 121 | INCLUDE[exptest]=../include ../apps/include |
58e754fc | 122 | DEPEND[exptest]=../libcrypto libtestutil.a |
777a2882 | 123 | |
09428755 JS |
124 | SOURCE[pbetest]=pbetest.c |
125 | INCLUDE[pbetest]=../include ../apps/include | |
126 | DEPEND[pbetest]=../libcrypto libtestutil.a | |
127 | ||
20f8bc72 | 128 | SOURCE[fatalerrtest]=fatalerrtest.c helpers/ssltestlib.c |
5674466e | 129 | INCLUDE[fatalerrtest]=../include ../apps/include |
97652f0b | 130 | DEPEND[fatalerrtest]=../libcrypto ../libssl libtestutil.a |
0ca3aea7 | 131 | |
20f8bc72 | 132 | SOURCE[tls13ccstest]=tls13ccstest.c helpers/ssltestlib.c |
5674466e | 133 | INCLUDE[tls13ccstest]=../include ../apps/include |
0ca3aea7 | 134 | DEPEND[tls13ccstest]=../libcrypto ../libssl libtestutil.a |
97652f0b | 135 | |
5725ab80 MC |
136 | SOURCE[user_property_test]=user_property_test.c |
137 | INCLUDE[user_property_test]=../include ../apps/include | |
138 | DEPEND[user_property_test]=../libcrypto libtestutil.a | |
139 | ||
d90a6beb | 140 | SOURCE[evp_test]=evp_test.c |
5674466e | 141 | INCLUDE[evp_test]=../include ../apps/include |
6c5943c9 | 142 | DEPEND[evp_test]=../libcrypto libtestutil.a |
d5e5e2ff SL |
143 | IF[{- $disabled{legacy} || !$target{dso_scheme} -}] |
144 | DEFINE[evp_test]=NO_LEGACY_MODULE | |
145 | ENDIF | |
777a2882 | 146 | |
a9c6d221 | 147 | SOURCE[evp_extra_test]=evp_extra_test.c |
afe554c2 | 148 | INCLUDE[evp_extra_test]=../include ../apps/include |
f0c62c53 | 149 | DEPEND[evp_extra_test]=../libcrypto.a libtestutil.a |
7bb82f92 | 150 | |
9ee77767 MC |
151 | SOURCE[evp_extra_test2]=evp_extra_test2.c |
152 | INCLUDE[evp_extra_test2]=../include ../apps/include | |
153 | DEPEND[evp_extra_test2]=../libcrypto libtestutil.a | |
154 | ||
63794b04 SL |
155 | SOURCE[evp_libctx_test]=evp_libctx_test.c |
156 | INCLUDE[evp_libctx_test]=../include ../apps/include | |
157 | DEPEND[evp_libctx_test]=../libcrypto.a libtestutil.a | |
158 | ||
7bb82f92 | 159 | SOURCE[evp_fetch_prov_test]=evp_fetch_prov_test.c |
afe554c2 | 160 | INCLUDE[evp_fetch_prov_test]=../include ../apps/include |
7bb82f92 | 161 | DEPEND[evp_fetch_prov_test]=../libcrypto libtestutil.a |
1576dfe0 MC |
162 | IF[{- $disabled{fips} || !$target{dso_scheme} -}] |
163 | DEFINE[evp_extra_test]=NO_FIPS_MODULE | |
164 | ENDIF | |
777a2882 | 165 | |
6ae5543c RL |
166 | SOURCE[evp_pkey_provided_test]=evp_pkey_provided_test.c |
167 | INCLUDE[evp_pkey_provided_test]=../include ../apps/include | |
f552d900 | 168 | DEPEND[evp_pkey_provided_test]=../libcrypto.a libtestutil.a |
ab14d2af | 169 | |
38230e30 P |
170 | IF[{- !$disabled{'acvp-tests'} -}] |
171 | PROGRAMS{noinst}=acvp_test | |
172 | ||
4f2271d5 SL |
173 | SOURCE[acvp_test]=acvp_test.c |
174 | INCLUDE[acvp_test]=../include ../apps/include | |
175 | DEPEND[acvp_test]=../libcrypto.a libtestutil.a | |
176 | ENDIF | |
177 | ||
34816949 SL |
178 | SOURCE[ossl_store_test]=ossl_store_test.c |
179 | INCLUDE[ossl_store_test]=../include ../apps/include | |
180 | DEPEND[ossl_store_test]=../libcrypto.a libtestutil.a | |
181 | ||
04cb5ec0 SL |
182 | SOURCE[provider_status_test]=provider_status_test.c |
183 | INCLUDE[provider_status_test]=../include ../apps/include | |
184 | DEPEND[provider_status_test]=../libcrypto.a libtestutil.a | |
185 | ||
0e43960e | 186 | IF[{- !$disabled{'deprecated-3.0'} -}] |
0ae5d4d6 MC |
187 | PROGRAMS{noinst}=igetest bftest casttest |
188 | ||
c72fa255 MC |
189 | SOURCE[igetest]=igetest.c |
190 | INCLUDE[igetest]=../include ../apps/include | |
191 | DEPEND[igetest]=../libcrypto libtestutil.a | |
03047e7b MC |
192 | |
193 | SOURCE[bftest]=bftest.c | |
194 | INCLUDE[bftest]=../include ../apps/include | |
195 | DEPEND[bftest]=../libcrypto libtestutil.a | |
0ae5d4d6 MC |
196 | |
197 | SOURCE[casttest]=casttest.c | |
198 | INCLUDE[casttest]=../include ../apps/include | |
199 | DEPEND[casttest]=../libcrypto libtestutil.a | |
c72fa255 | 200 | ENDIF |
777a2882 | 201 | |
a9c6d221 | 202 | SOURCE[v3nametest]=v3nametest.c |
5674466e | 203 | INCLUDE[v3nametest]=../include ../apps/include |
a9c6d221 | 204 | DEPEND[v3nametest]=../libcrypto libtestutil.a |
777a2882 | 205 | |
a9c6d221 | 206 | SOURCE[crltest]=crltest.c |
5674466e | 207 | INCLUDE[crltest]=../include ../apps/include |
a9c6d221 | 208 | DEPEND[crltest]=../libcrypto libtestutil.a |
2b406990 | 209 | |
a9c6d221 | 210 | SOURCE[v3ext]=v3ext.c |
5674466e | 211 | INCLUDE[v3ext]=../include ../apps/include |
a9c6d221 | 212 | DEPEND[v3ext]=../libcrypto libtestutil.a |
e417070c | 213 | |
d90a6beb | 214 | SOURCE[danetest]=danetest.c |
5674466e | 215 | INCLUDE[danetest]=../include ../apps/include |
1f9d203d | 216 | DEPEND[danetest]=../libcrypto ../libssl libtestutil.a |
777a2882 | 217 | |
a9c6d221 | 218 | SOURCE[constant_time_test]=constant_time_test.c |
5674466e | 219 | INCLUDE[constant_time_test]=../include ../apps/include |
a9c6d221 | 220 | DEPEND[constant_time_test]=../libcrypto libtestutil.a |
777a2882 | 221 | |
a9c6d221 | 222 | SOURCE[verify_extra_test]=verify_extra_test.c |
5674466e | 223 | INCLUDE[verify_extra_test]=../include ../apps/include |
a9c6d221 | 224 | DEPEND[verify_extra_test]=../libcrypto libtestutil.a |
777a2882 | 225 | |
a9c6d221 | 226 | SOURCE[clienthellotest]=clienthellotest.c |
5674466e | 227 | INCLUDE[clienthellotest]=../include ../apps/include |
a9c6d221 | 228 | DEPEND[clienthellotest]=../libcrypto ../libssl libtestutil.a |
777a2882 | 229 | |
a9c6d221 | 230 | SOURCE[bad_dtls_test]=bad_dtls_test.c |
5674466e | 231 | INCLUDE[bad_dtls_test]=../include ../apps/include |
a9c6d221 | 232 | DEPEND[bad_dtls_test]=../libcrypto ../libssl libtestutil.a |
16938284 | 233 | |
a9c6d221 | 234 | SOURCE[packettest]=packettest.c |
5674466e | 235 | INCLUDE[packettest]=../include ../apps/include |
a9c6d221 | 236 | DEPEND[packettest]=../libcrypto libtestutil.a |
777a2882 | 237 | |
d90a6beb | 238 | SOURCE[asynctest]=asynctest.c |
5674466e | 239 | INCLUDE[asynctest]=../include ../apps/include |
d90a6beb | 240 | DEPEND[asynctest]=../libcrypto |
777a2882 | 241 | |
a9c6d221 | 242 | SOURCE[secmemtest]=secmemtest.c |
5674466e | 243 | INCLUDE[secmemtest]=../include ../apps/include |
a9c6d221 | 244 | DEPEND[secmemtest]=../libcrypto libtestutil.a |
777a2882 | 245 | |
a9c6d221 | 246 | SOURCE[srptest]=srptest.c |
5674466e | 247 | INCLUDE[srptest]=../include ../apps/include |
a9c6d221 | 248 | DEPEND[srptest]=../libcrypto libtestutil.a |
777a2882 | 249 | |
a9c6d221 | 250 | SOURCE[memleaktest]=memleaktest.c |
5674466e | 251 | INCLUDE[memleaktest]=../include ../apps/include |
a9c6d221 | 252 | DEPEND[memleaktest]=../libcrypto libtestutil.a |
04949088 | 253 | |
20f8bc72 | 254 | SOURCE[pkcs12_format_test]=pkcs12_format_test.c helpers/pkcs12.c |
c5ec6dcf JS |
255 | INCLUDE[pkcs12_format_test]=../include ../apps/include |
256 | DEPEND[pkcs12_format_test]=../libcrypto libtestutil.a | |
257 | ||
a9c6d221 | 258 | SOURCE[stack_test]=stack_test.c |
5674466e | 259 | INCLUDE[stack_test]=../include ../apps/include |
a9c6d221 | 260 | DEPEND[stack_test]=../libcrypto libtestutil.a |
98374961 | 261 | |
a9c6d221 | 262 | SOURCE[lhash_test]=lhash_test.c |
5674466e | 263 | INCLUDE[lhash_test]=../include ../apps/include |
a9c6d221 | 264 | DEPEND[lhash_test]=../libcrypto libtestutil.a |
508ee8f5 | 265 | |
d90a6beb | 266 | SOURCE[dtlsv1listentest]=dtlsv1listentest.c |
5674466e | 267 | INCLUDE[dtlsv1listentest]=../include ../apps/include |
8ed9a266 | 268 | DEPEND[dtlsv1listentest]=../libssl libtestutil.a |
9666ffb3 | 269 | |
a9c6d221 | 270 | SOURCE[ct_test]=ct_test.c |
5674466e | 271 | INCLUDE[ct_test]=../include ../apps/include |
a9c6d221 | 272 | DEPEND[ct_test]=../libcrypto libtestutil.a |
71a04cfc | 273 | |
a9c6d221 | 274 | SOURCE[threadstest]=threadstest.c |
5674466e | 275 | INCLUDE[threadstest]=../include ../apps/include |
a9c6d221 | 276 | DEPEND[threadstest]=../libcrypto libtestutil.a |
b37d6abf | 277 | |
235776b2 P |
278 | SOURCE[threadstest_fips]=threadstest_fips.c |
279 | INCLUDE[threadstest_fips]=../include ../apps/include | |
280 | DEPEND[threadstest_fips]=../libcrypto libtestutil.a | |
281 | ||
a9c6d221 | 282 | SOURCE[afalgtest]=afalgtest.c |
5674466e | 283 | INCLUDE[afalgtest]=../include ../apps/include |
a9c6d221 | 284 | DEPEND[afalgtest]=../libcrypto libtestutil.a |
d2458440 | 285 | |
a9c6d221 | 286 | SOURCE[d2i_test]=d2i_test.c |
5674466e | 287 | INCLUDE[d2i_test]=../include ../apps/include |
a9c6d221 | 288 | DEPEND[d2i_test]=../libcrypto libtestutil.a |
1400f013 | 289 | |
20f8bc72 | 290 | SOURCE[ssl_test_ctx_test]=ssl_test_ctx_test.c helpers/ssl_test_ctx.c |
5674466e | 291 | INCLUDE[ssl_test_ctx_test]=../include ../apps/include |
a9c6d221 | 292 | DEPEND[ssl_test_ctx_test]=../libcrypto ../libssl libtestutil.a |
453dfd8d | 293 | |
20f8bc72 | 294 | SOURCE[ssl_test]=ssl_test.c helpers/ssl_test_ctx.c helpers/handshake.c |
76cb077f MC |
295 | IF[{- !$disabled{'srp'} -}] |
296 | SOURCE[ssl_test]=helpers/handshake_srp.c | |
297 | ENDIF | |
5674466e | 298 | INCLUDE[ssl_test]=../include ../apps/include |
a9c6d221 | 299 | DEPEND[ssl_test]=../libcrypto ../libssl libtestutil.a |
453dfd8d | 300 | |
a9c6d221 | 301 | SOURCE[cipherlist_test]=cipherlist_test.c |
5674466e | 302 | INCLUDE[cipherlist_test]=../include ../apps/include |
a9c6d221 | 303 | DEPEND[cipherlist_test]=../libcrypto ../libssl libtestutil.a |
5a22cf96 | 304 | |
20f8bc72 DDO |
305 | INCLUDE[helpers/ssl_test_ctx.o]=../include |
306 | INCLUDE[helpers/handshake.o]=.. ../include | |
307 | INCLUDE[helpers/pkcs12.o]=.. ../include | |
308 | INCLUDE[helpers/ssltestlib.o]=.. ../include | |
309 | INCLUDE[helpers/cmp_testlib.o]=.. ../include ../apps/include | |
fde2257f | 310 | |
a9c6d221 | 311 | SOURCE[x509aux]=x509aux.c |
5674466e | 312 | INCLUDE[x509aux]=../include ../apps/include |
a9c6d221 | 313 | DEPEND[x509aux]=../libcrypto libtestutil.a |
d7295cd6 | 314 | |
20f8bc72 | 315 | SOURCE[asynciotest]=asynciotest.c helpers/ssltestlib.c |
5674466e | 316 | INCLUDE[asynciotest]=../include ../apps/include |
a9c6d221 | 317 | DEPEND[asynciotest]=../libcrypto ../libssl libtestutil.a |
f8f686ec | 318 | |
c911e5da | 319 | SOURCE[bio_callback_test]=bio_callback_test.c |
5674466e | 320 | INCLUDE[bio_callback_test]=../include ../apps/include |
c911e5da BE |
321 | DEPEND[bio_callback_test]=../libcrypto libtestutil.a |
322 | ||
251c4818 SL |
323 | SOURCE[bio_readbuffer_test]=bio_readbuffer_test.c |
324 | INCLUDE[bio_readbuffer_test]=../include ../apps/include | |
325 | DEPEND[bio_readbuffer_test]=../libcrypto libtestutil.a | |
326 | ||
c6048af2 | 327 | SOURCE[bio_memleak_test]=bio_memleak_test.c |
5674466e | 328 | INCLUDE[bio_memleak_test]=../include ../apps/include |
c6048af2 CM |
329 | DEPEND[bio_memleak_test]=../libcrypto libtestutil.a |
330 | ||
a9c6d221 | 331 | SOURCE[bioprinttest]=bioprinttest.c |
5674466e | 332 | INCLUDE[bioprinttest]=../include ../apps/include |
a9c6d221 | 333 | DEPEND[bioprinttest]=../libcrypto libtestutil.a |
5cdad22f | 334 | |
93954ab0 MC |
335 | SOURCE[bio_core_test]=bio_core_test.c |
336 | INCLUDE[bio_core_test]=../include ../apps/include | |
337 | DEPEND[bio_core_test]=../libcrypto libtestutil.a | |
338 | ||
7ffbd7ca P |
339 | SOURCE[params_api_test]=params_api_test.c |
340 | INCLUDE[params_api_test]=../include ../apps/include | |
341 | DEPEND[params_api_test]=../libcrypto libtestutil.a | |
342 | ||
9830e7ea P |
343 | SOURCE[params_conversion_test]=params_conversion_test.c |
344 | INCLUDE[params_conversion_test]=../include ../apps/include | |
345 | DEPEND[params_conversion_test]=../libcrypto libtestutil.a | |
346 | ||
3c93fbac P |
347 | SOURCE[param_build_test]=param_build_test.c |
348 | INCLUDE[param_build_test]=../include ../apps/include | |
349 | DEPEND[param_build_test]=../libcrypto.a libtestutil.a | |
350 | ||
20f8bc72 | 351 | SOURCE[sslapitest]=sslapitest.c helpers/ssltestlib.c filterprov.c tls-provider.c |
5674466e | 352 | INCLUDE[sslapitest]=../include ../apps/include .. |
a9c6d221 | 353 | DEPEND[sslapitest]=../libcrypto ../libssl libtestutil.a |
27da1343 | 354 | |
bfa6aaab MC |
355 | SOURCE[defltfips_test]=defltfips_test.c |
356 | INCLUDE[defltfips_test]=../include ../apps/include | |
357 | DEPEND[defltfips_test]=../libcrypto libtestutil.a | |
358 | ||
27da1343 | 359 | SOURCE[ocspapitest]=ocspapitest.c |
5674466e | 360 | INCLUDE[ocspapitest]=../include ../apps/include |
27da1343 | 361 | DEPEND[ocspapitest]=../libcrypto libtestutil.a |
6fc1748e | 362 | |
29f178bd DDO |
363 | IF[{- !$disabled{sock} -}] |
364 | PROGRAMS{noinst}=http_test | |
365 | ENDIF | |
366 | ||
367 | SOURCE[http_test]=http_test.c | |
368 | INCLUDE[http_test]=../include ../apps/include | |
369 | DEPEND[http_test]=../libcrypto libtestutil.a | |
370 | ||
20f8bc72 | 371 | SOURCE[dtlstest]=dtlstest.c helpers/ssltestlib.c |
5674466e | 372 | INCLUDE[dtlstest]=../include ../apps/include |
a9c6d221 | 373 | DEPEND[dtlstest]=../libcrypto ../libssl libtestutil.a |
e6ed2b91 | 374 | |
20f8bc72 | 375 | SOURCE[sslcorrupttest]=sslcorrupttest.c helpers/ssltestlib.c |
5674466e | 376 | INCLUDE[sslcorrupttest]=../include ../apps/include |
a9c6d221 | 377 | DEPEND[sslcorrupttest]=../libcrypto ../libssl libtestutil.a |
c5a56992 | 378 | |
a9c6d221 | 379 | SOURCE[bio_enc_test]=bio_enc_test.c |
5674466e | 380 | INCLUDE[bio_enc_test]=../include ../apps/include |
a9c6d221 | 381 | DEPEND[bio_enc_test]=../libcrypto libtestutil.a |
d6c4cc29 | 382 | |
a9c6d221 | 383 | SOURCE[pkey_meth_test]=pkey_meth_test.c |
5674466e | 384 | INCLUDE[pkey_meth_test]=../include ../apps/include |
a9c6d221 | 385 | DEPEND[pkey_meth_test]=../libcrypto libtestutil.a |
52fe14e6 | 386 | |
6aa907a6 | 387 | SOURCE[pkey_meth_kdf_test]=pkey_meth_kdf_test.c |
5674466e | 388 | INCLUDE[pkey_meth_kdf_test]=../include ../apps/include |
6aa907a6 JB |
389 | DEPEND[pkey_meth_kdf_test]=../libcrypto libtestutil.a |
390 | ||
5a285add | 391 | SOURCE[evp_kdf_test]=evp_kdf_test.c |
953315ae | 392 | INCLUDE[evp_kdf_test]=../include ../apps/include |
5a285add DM |
393 | DEPEND[evp_kdf_test]=../libcrypto libtestutil.a |
394 | ||
6aa2e59e SL |
395 | SOURCE[evp_pkey_dparams_test]=evp_pkey_dparams_test.c |
396 | INCLUDE[evp_pkey_dparams_test]=../include ../apps/include | |
397 | DEPEND[evp_pkey_dparams_test]=../libcrypto libtestutil.a | |
398 | ||
a9c6d221 | 399 | SOURCE[x509_time_test]=x509_time_test.c |
5674466e | 400 | INCLUDE[x509_time_test]=../include ../apps/include |
a9c6d221 | 401 | DEPEND[x509_time_test]=../libcrypto libtestutil.a |
80770da3 | 402 | |
20f8bc72 | 403 | SOURCE[recordlentest]=recordlentest.c helpers/ssltestlib.c |
5674466e | 404 | INCLUDE[recordlentest]=../include ../apps/include |
a9c6d221 | 405 | DEPEND[recordlentest]=../libcrypto ../libssl libtestutil.a |
c1074ce0 | 406 | |
12fb8c3d | 407 | SOURCE[drbgtest]=drbgtest.c |
15f54941 | 408 | INCLUDE[drbgtest]=../include ../apps/include ../providers/common/include |
1c615e4c | 409 | DEPEND[drbgtest]=../libcrypto.a libtestutil.a |
12fb8c3d | 410 | |
4516bf74 P |
411 | SOURCE[rand_status_test]=rand_status_test.c |
412 | INCLUDE[rand_status_test]=../include ../apps/include | |
413 | DEPEND[rand_status_test]=../libcrypto libtestutil.a | |
414 | ||
a9c6d221 | 415 | SOURCE[x509_dup_cert_test]=x509_dup_cert_test.c |
5674466e | 416 | INCLUDE[x509_dup_cert_test]=../include ../apps/include |
a9c6d221 | 417 | DEPEND[x509_dup_cert_test]=../libcrypto libtestutil.a |
c0452248 | 418 | |
6d2523e0 | 419 | SOURCE[x509_check_cert_pkey_test]=x509_check_cert_pkey_test.c |
5674466e | 420 | INCLUDE[x509_check_cert_pkey_test]=../include ../apps/include |
6d2523e0 PY |
421 | DEPEND[x509_check_cert_pkey_test]=../libcrypto libtestutil.a |
422 | ||
fa3ed5b2 | 423 | SOURCE[pemtest]=pemtest.c |
5674466e | 424 | INCLUDE[pemtest]=../include ../apps/include |
fa3ed5b2 BK |
425 | DEPEND[pemtest]=../libcrypto libtestutil.a |
426 | ||
d72a0041 | 427 | SOURCE[ssl_cert_table_internal_test]=ssl_cert_table_internal_test.c |
5674466e | 428 | INCLUDE[ssl_cert_table_internal_test]=.. ../include ../apps/include |
d72a0041 DSH |
429 | DEPEND[ssl_cert_table_internal_test]=../libcrypto libtestutil.a |
430 | ||
bbb4ceb8 | 431 | SOURCE[ciphername_test]=ciphername_test.c |
5674466e | 432 | INCLUDE[ciphername_test]=../include ../apps/include |
bbb4ceb8 PY |
433 | DEPEND[ciphername_test]=../libcrypto ../libssl libtestutil.a |
434 | ||
4b1fe471 DDO |
435 | SOURCE[http_test]=http_test.c |
436 | INCLUDE[http_test]=../include ../apps/include | |
437 | DEPEND[http_test]=../libcrypto libtestutil.a | |
438 | ||
20f8bc72 | 439 | SOURCE[servername_test]=servername_test.c helpers/ssltestlib.c |
5674466e | 440 | INCLUDE[servername_test]=../include ../apps/include |
190b9a03 PY |
441 | DEPEND[servername_test]=../libcrypto ../libssl libtestutil.a |
442 | ||
a01b9cd5 | 443 | IF[{- !$disabled{cms} -}] |
ac6bba6f | 444 | PROGRAMS{noinst}=cmsapitest |
a01b9cd5 | 445 | SOURCE[cmsapitest]=cmsapitest.c |
5674466e | 446 | INCLUDE[cmsapitest]=../include ../apps/include |
a01b9cd5 MC |
447 | DEPEND[cmsapitest]=../libcrypto libtestutil.a |
448 | ENDIF | |
e15e92db | 449 | |
02e22dd4 | 450 | IF[{- !$disabled{psk} -}] |
ac6bba6f | 451 | PROGRAMS{noinst}=dtls_mtu_test |
20f8bc72 | 452 | SOURCE[dtls_mtu_test]=dtls_mtu_test.c helpers/ssltestlib.c |
5674466e | 453 | INCLUDE[dtls_mtu_test]=.. ../include ../apps/include |
8ed9a266 | 454 | DEPEND[dtls_mtu_test]=../libcrypto ../libssl libtestutil.a |
02e22dd4 DW |
455 | ENDIF |
456 | ||
9c89c846 | 457 | IF[{- !$disabled{shared} -}] |
ac6bba6f | 458 | PROGRAMS{noinst}=shlibloadtest |
9800b1a0 | 459 | SOURCE[shlibloadtest]=shlibloadtest.c simpledynamic.c |
afe554c2 | 460 | INCLUDE[shlibloadtest]=../include ../apps/include |
527eb8d2 RL |
461 | |
462 | PROGRAMS{noinst}=moduleloadtest | |
463 | SOURCE[moduleloadtest]=moduleloadtest.c simpledynamic.c | |
464 | INCLUDE[moduleloadtest]=../include ../apps/include | |
b987d748 MC |
465 | ENDIF |
466 | ||
b7f491cb RL |
467 | # cipher_overhead_test uses internal symbols, so it must be linked with |
468 | # the static libraries | |
469 | PROGRAMS{noinst}=cipher_overhead_test | |
470 | SOURCE[cipher_overhead_test]=cipher_overhead_test.c | |
471 | INCLUDE[cipher_overhead_test]=.. ../include ../apps/include | |
472 | DEPEND[cipher_overhead_test]=../libcrypto.a ../libssl.a libtestutil.a | |
aeac2183 | 473 | |
2ad75c6c | 474 | SOURCE[uitest]=uitest.c ../apps/lib/apps_ui.c |
5674466e | 475 | INCLUDE[uitest]=.. ../include ../apps/include |
a43ce58f | 476 | DEPEND[uitest]=../libcrypto ../libssl libtestutil.a |
66ed24b1 | 477 | |
a9c6d221 | 478 | SOURCE[cipherbytes_test]=cipherbytes_test.c |
5674466e | 479 | INCLUDE[cipherbytes_test]=../include ../apps/include |
a9c6d221 | 480 | DEPEND[cipherbytes_test]=../libcrypto ../libssl libtestutil.a |
6e3dac19 | 481 | |
a9c6d221 | 482 | SOURCE[asn1_encode_test]=asn1_encode_test.c |
5674466e | 483 | INCLUDE[asn1_encode_test]=../include ../apps/include |
a9c6d221 | 484 | DEPEND[asn1_encode_test]=../libcrypto libtestutil.a |
37332ecc | 485 | |
c2278c8b | 486 | SOURCE[asn1_decode_test]=asn1_decode_test.c |
5674466e | 487 | INCLUDE[asn1_decode_test]=../include ../apps/include |
c2278c8b RL |
488 | DEPEND[asn1_decode_test]=../libcrypto libtestutil.a |
489 | ||
7b608d08 | 490 | SOURCE[asn1_string_table_test]=asn1_string_table_test.c |
5674466e | 491 | INCLUDE[asn1_string_table_test]=../include ../apps/include |
7b608d08 PY |
492 | DEPEND[asn1_string_table_test]=../libcrypto libtestutil.a |
493 | ||
20ee2bf1 | 494 | SOURCE[time_offset_test]=time_offset_test.c |
5674466e | 495 | INCLUDE[time_offset_test]=../include ../apps/include |
20ee2bf1 TS |
496 | DEPEND[time_offset_test]=../libcrypto libtestutil.a |
497 | ||
b524b808 | 498 | SOURCE[conf_include_test]=conf_include_test.c |
5674466e | 499 | INCLUDE[conf_include_test]=../include ../apps/include |
b524b808 TM |
500 | DEPEND[conf_include_test]=../libcrypto libtestutil.a |
501 | ||
7960dbec | 502 | IF[{- !$disabled{cmp} -}] |
3dbc5156 | 503 | PROGRAMS{noinst}=cmp_asn_test cmp_ctx_test cmp_status_test cmp_hdr_test \ |
62dcd2aa | 504 | cmp_protect_test cmp_msg_test cmp_vfy_test \ |
7e765f46 | 505 | cmp_server_test cmp_client_test |
7960dbec DDO |
506 | ENDIF |
507 | ||
20f8bc72 | 508 | SOURCE[cmp_asn_test]=cmp_asn_test.c helpers/cmp_testlib.c |
7960dbec DDO |
509 | INCLUDE[cmp_asn_test]=.. ../include ../apps/include |
510 | DEPEND[cmp_asn_test]=../libcrypto.a libtestutil.a | |
511 | ||
20f8bc72 | 512 | SOURCE[cmp_ctx_test]=cmp_ctx_test.c helpers/cmp_testlib.c |
7960dbec DDO |
513 | INCLUDE[cmp_ctx_test]=.. ../include ../apps/include |
514 | DEPEND[cmp_ctx_test]=../libcrypto.a libtestutil.a | |
515 | ||
20f8bc72 | 516 | SOURCE[cmp_hdr_test]=cmp_hdr_test.c helpers/cmp_testlib.c |
4dde554c DDO |
517 | INCLUDE[cmp_hdr_test]=.. ../include ../apps/include |
518 | DEPEND[cmp_hdr_test]=../libcrypto.a libtestutil.a | |
519 | ||
20f8bc72 | 520 | SOURCE[cmp_status_test]=cmp_status_test.c helpers/cmp_testlib.c |
4dde554c DDO |
521 | INCLUDE[cmp_status_test]=.. ../include ../apps/include |
522 | DEPEND[cmp_status_test]=../libcrypto.a libtestutil.a | |
523 | ||
20f8bc72 | 524 | SOURCE[cmp_protect_test]=cmp_protect_test.c helpers/cmp_testlib.c |
3dbc5156 DDO |
525 | INCLUDE[cmp_protect_test]=.. ../include ../apps/include |
526 | DEPEND[cmp_protect_test]=../libcrypto.a libtestutil.a | |
527 | ||
20f8bc72 | 528 | SOURCE[cmp_msg_test]=cmp_msg_test.c helpers/cmp_testlib.c |
3dbc5156 DDO |
529 | INCLUDE[cmp_msg_test]=.. ../include ../apps/include |
530 | DEPEND[cmp_msg_test]=../libcrypto.a libtestutil.a | |
531 | ||
20f8bc72 | 532 | SOURCE[cmp_vfy_test]=cmp_vfy_test.c helpers/cmp_testlib.c |
31b28ad9 DDO |
533 | INCLUDE[cmp_vfy_test]=.. ../include ../apps/include |
534 | DEPEND[cmp_vfy_test]=../libcrypto.a libtestutil.a | |
535 | ||
20f8bc72 | 536 | SOURCE[cmp_server_test]=cmp_server_test.c helpers/cmp_testlib.c |
62dcd2aa DDO |
537 | INCLUDE[cmp_server_test]=.. ../include ../apps/include |
538 | DEPEND[cmp_server_test]=../libcrypto.a libtestutil.a | |
539 | ||
ee56cec7 | 540 | SOURCE[cmp_client_test]=cmp_client_test.c helpers/cmp_testlib.c ../apps/lib/cmp_mock_srv.c |
7e765f46 DDO |
541 | INCLUDE[cmp_client_test]=.. ../include ../apps/include |
542 | DEPEND[cmp_client_test]=../libcrypto.a libtestutil.a | |
543 | ||
b5b7c61f | 544 | # Internal test programs. These are essentially a collection of internal |
cf551a51 RL |
545 | # test routines. Some of them need to reach internal symbols that aren't |
546 | # available through the shared library (at least on Linux, Solaris, Windows | |
547 | # and VMS, where the exported symbols are those listed in util/*.num), these | |
69687aa8 | 548 | # programs are forcibly linked with the static libraries, where all symbols |
b3023ced RL |
549 | # are always available. |
550 | IF[1] | |
ac6bba6f | 551 | PROGRAMS{noinst}=asn1_internal_test modes_internal_test x509_internal_test \ |
082193ef | 552 | tls13encryptiontest wpackettest ctype_internal_test \ |
c5f87134 P |
553 | rdrand_sanitytest property_test ideatest rsa_mp_test \ |
554 | rsa_sp800_56b_test bn_internal_test ecdsatest rsa_test \ | |
8083fd3a | 555 | rc2test rc4test rc5test hmactest ffc_internal_test \ |
ada66e78 | 556 | asn1_dsa_internal_test dsatest dsa_no_digest_size_test \ |
20f8bc72 | 557 | dhtest ssl_old_test |
8240d5fa | 558 | |
cf551a51 | 559 | IF[{- !$disabled{poly1305} -}] |
ac6bba6f | 560 | PROGRAMS{noinst}=poly1305_internal_test |
cf551a51 | 561 | ENDIF |
ee6d9dfb | 562 | IF[{- !$disabled{chacha} -}] |
ac6bba6f | 563 | PROGRAMS{noinst}=chacha_internal_test |
ee6d9dfb | 564 | ENDIF |
3f5616d7 | 565 | IF[{- !$disabled{siphash} -}] |
ac6bba6f | 566 | PROGRAMS{noinst}=siphash_internal_test |
3f5616d7 | 567 | ENDIF |
e425f90f | 568 | IF[{- !$disabled{sm2} -}] |
ac6bba6f | 569 | PROGRAMS{noinst}=sm2_internal_test |
e425f90f | 570 | ENDIF |
f19a5ff9 | 571 | IF[{- !$disabled{sm4} -}] |
ac6bba6f | 572 | PROGRAMS{noinst}=sm4_internal_test |
f19a5ff9 | 573 | ENDIF |
c7a47adc | 574 | IF[{- !$disabled{ec} -}] |
5b5eea4b | 575 | PROGRAMS{noinst}=ectest ec_internal_test curve448_internal_test |
c7a47adc | 576 | ENDIF |
a370ff8d MC |
577 | IF[{- !$disabled{cmac} -}] |
578 | PROGRAMS{noinst}=cmactest | |
579 | ENDIF | |
cf551a51 | 580 | |
a9c6d221 | 581 | SOURCE[poly1305_internal_test]=poly1305_internal_test.c |
afe554c2 | 582 | INCLUDE[poly1305_internal_test]=.. ../include ../apps/include |
a9c6d221 | 583 | DEPEND[poly1305_internal_test]=../libcrypto.a libtestutil.a |
cf551a51 | 584 | |
a9c6d221 | 585 | SOURCE[chacha_internal_test]=chacha_internal_test.c |
afe554c2 | 586 | INCLUDE[chacha_internal_test]=.. ../include ../apps/include |
a9c6d221 | 587 | DEPEND[chacha_internal_test]=../libcrypto.a libtestutil.a |
ee6d9dfb | 588 | |
a9c6d221 | 589 | SOURCE[asn1_internal_test]=asn1_internal_test.c |
afe554c2 | 590 | INCLUDE[asn1_internal_test]=.. ../include ../apps/include |
a9c6d221 | 591 | DEPEND[asn1_internal_test]=../libcrypto.a libtestutil.a |
cf551a51 | 592 | |
a9c6d221 | 593 | SOURCE[modes_internal_test]=modes_internal_test.c |
afe554c2 | 594 | INCLUDE[modes_internal_test]=.. ../include ../apps/include |
a9c6d221 | 595 | DEPEND[modes_internal_test]=../libcrypto.a libtestutil.a |
cf551a51 | 596 | |
a9c6d221 | 597 | SOURCE[x509_internal_test]=x509_internal_test.c |
5674466e | 598 | INCLUDE[x509_internal_test]=.. ../include ../apps/include |
a9c6d221 | 599 | DEPEND[x509_internal_test]=../libcrypto.a libtestutil.a |
f01675c6 | 600 | |
c5f87134 P |
601 | SOURCE[rsa_test]=rsa_test.c |
602 | INCLUDE[rsa_test]=../include ../apps/include | |
603 | DEPEND[rsa_test]=../libcrypto.a libtestutil.a | |
604 | ||
605 | SOURCE[rsa_mp_test]=rsa_mp_test.c | |
606 | INCLUDE[rsa_mp_test]=../include ../apps/include | |
607 | DEPEND[rsa_mp_test]=../libcrypto.a libtestutil.a | |
f41ac0ee | 608 | |
579422c8 P |
609 | SOURCE[ecdsatest]=ecdsatest.c |
610 | INCLUDE[ecdsatest]=../include ../apps/include | |
611 | DEPEND[ecdsatest]=../libcrypto.a libtestutil.a | |
612 | ||
f41ac0ee P |
613 | SOURCE[dsatest]=dsatest.c |
614 | INCLUDE[dsatest]=../include ../apps/include | |
615 | DEPEND[dsatest]=../libcrypto.a libtestutil.a | |
616 | ||
617 | SOURCE[dsa_no_digest_size_test]=dsa_no_digest_size_test.c | |
618 | INCLUDE[dsa_no_digest_size_test]=../include ../apps/include | |
619 | DEPEND[dsa_no_digest_size_test]=../libcrypto.a libtestutil.a | |
620 | ||
a9c6d221 | 621 | SOURCE[tls13encryptiontest]=tls13encryptiontest.c |
5674466e | 622 | INCLUDE[tls13encryptiontest]=.. ../include ../apps/include |
a9c6d221 | 623 | DEPEND[tls13encryptiontest]=../libcrypto ../libssl.a libtestutil.a |
e463cb39 | 624 | |
da2d32f6 P |
625 | SOURCE[ideatest]=ideatest.c |
626 | INCLUDE[ideatest]=../include ../apps/include | |
627 | DEPEND[ideatest]=../libcrypto.a libtestutil.a | |
628 | ||
a9c6d221 | 629 | SOURCE[wpackettest]=wpackettest.c |
5674466e | 630 | INCLUDE[wpackettest]=../include ../apps/include |
a9c6d221 | 631 | DEPEND[wpackettest]=../libcrypto ../libssl.a libtestutil.a |
3f5616d7 | 632 | |
1bdbdaff | 633 | SOURCE[property_test]=property_test.c |
1aedc35f | 634 | INCLUDE[property_test]=.. ../include ../apps/include |
1bdbdaff P |
635 | DEPEND[property_test]=../libcrypto.a libtestutil.a |
636 | ||
a1df06b3 | 637 | SOURCE[ctype_internal_test]=ctype_internal_test.c |
25f2138b | 638 | INCLUDE[ctype_internal_test]=.. ../include ../apps/include |
a1df06b3 P |
639 | DEPEND[ctype_internal_test]=../libcrypto.a libtestutil.a |
640 | ||
a40f0f64 | 641 | SOURCE[sparse_array_test]=sparse_array_test.c |
afe554c2 | 642 | INCLUDE[sparse_array_test]=../include ../apps/include |
a40f0f64 P |
643 | DEPEND[sparse_array_test]=../libcrypto.a libtestutil.a |
644 | ||
ada66e78 P |
645 | SOURCE[dhtest]=dhtest.c |
646 | INCLUDE[dhtest]=../include ../apps/include | |
647 | DEPEND[dhtest]=../libcrypto.a libtestutil.a | |
648 | ||
dbde4726 P |
649 | SOURCE[hmactest]=hmactest.c |
650 | INCLUDE[hmactest]=../include ../apps/include | |
651 | DEPEND[hmactest]=../libcrypto.a libtestutil.a | |
652 | ||
a370ff8d MC |
653 | IF[{- !$disabled{cmac} -}] |
654 | SOURCE[cmactest]=cmactest.c | |
655 | INCLUDE[cmactest]=../include ../apps/include | |
656 | DEPEND[cmactest]=../libcrypto.a libtestutil.a | |
657 | ENDIF | |
658 | ||
a9c6d221 | 659 | SOURCE[siphash_internal_test]=siphash_internal_test.c |
afe554c2 | 660 | INCLUDE[siphash_internal_test]=.. ../include ../apps/include |
a9c6d221 | 661 | DEPEND[siphash_internal_test]=../libcrypto.a libtestutil.a |
f19a5ff9 | 662 | |
e14d6cf6 | 663 | SOURCE[sm2_internal_test]=sm2_internal_test.c |
afe554c2 | 664 | INCLUDE[sm2_internal_test]=../include ../apps/include |
e14d6cf6 | 665 | DEPEND[sm2_internal_test]=../libcrypto.a libtestutil.a |
e425f90f | 666 | |
f19a5ff9 | 667 | SOURCE[sm4_internal_test]=sm4_internal_test.c |
afe554c2 | 668 | INCLUDE[sm4_internal_test]=.. ../include ../apps/include |
f19a5ff9 | 669 | DEPEND[sm4_internal_test]=../libcrypto.a libtestutil.a |
8f58ede0 | 670 | |
c6fec81b P |
671 | SOURCE[destest]=destest.c |
672 | INCLUDE[destest]=../include ../apps/include | |
673 | DEPEND[destest]=../libcrypto.a libtestutil.a | |
674 | ||
ee2993ab P |
675 | SOURCE[rc2test]=rc2test.c |
676 | INCLUDE[rc2test]=../include ../apps/include | |
677 | DEPEND[rc2test]=../libcrypto.a libtestutil.a | |
678 | ||
a8fca728 P |
679 | SOURCE[rc4test]=rc4test.c |
680 | INCLUDE[rc4test]=../include ../apps/include | |
681 | DEPEND[rc4test]=../libcrypto.a libtestutil.a | |
682 | ||
62c3fed0 P |
683 | SOURCE[rc5test]=rc5test.c |
684 | INCLUDE[rc5test]=../include ../apps/include | |
685 | DEPEND[rc5test]=../libcrypto.a libtestutil.a | |
686 | ||
8f58ede0 | 687 | SOURCE[ec_internal_test]=ec_internal_test.c |
afe554c2 | 688 | INCLUDE[ec_internal_test]=../include ../crypto/ec ../apps/include |
8f58ede0 | 689 | DEPEND[ec_internal_test]=../libcrypto.a libtestutil.a |
2c9def25 MC |
690 | |
691 | SOURCE[curve448_internal_test]=curve448_internal_test.c | |
5674466e | 692 | INCLUDE[curve448_internal_test]=.. ../include ../apps/include ../crypto/ec/curve448 |
2c9def25 | 693 | DEPEND[curve448_internal_test]=../libcrypto.a libtestutil.a |
082193ef | 694 | |
85d843c8 P |
695 | SOURCE[rc4test]=rc4test.c |
696 | INCLUDE[rc4test]=../include ../apps/include | |
697 | DEPEND[rc4test]=../libcrypto.a libtestutil.a | |
698 | ||
082193ef | 699 | SOURCE[rdrand_sanitytest]=rdrand_sanitytest.c |
5674466e | 700 | INCLUDE[rdrand_sanitytest]=../include ../apps/include |
082193ef | 701 | DEPEND[rdrand_sanitytest]=../libcrypto.a libtestutil.a |
8240d5fa SL |
702 | |
703 | SOURCE[rsa_sp800_56b_test]=rsa_sp800_56b_test.c | |
25f2138b | 704 | INCLUDE[rsa_sp800_56b_test]=.. ../include ../crypto/rsa ../apps/include |
8240d5fa SL |
705 | DEPEND[rsa_sp800_56b_test]=../libcrypto.a libtestutil.a |
706 | ||
707 | SOURCE[bn_internal_test]=bn_internal_test.c | |
25f2138b | 708 | INCLUDE[bn_internal_test]=.. ../include ../crypto/bn ../apps/include |
8240d5fa | 709 | DEPEND[bn_internal_test]=../libcrypto.a libtestutil.a |
54846b7c DM |
710 | |
711 | SOURCE[asn1_dsa_internal_test]=asn1_dsa_internal_test.c | |
afe554c2 | 712 | INCLUDE[asn1_dsa_internal_test]=.. ../include ../apps/include |
54846b7c | 713 | DEPEND[asn1_dsa_internal_test]=../libcrypto.a libtestutil.a |
5a02d13d RL |
714 | |
715 | SOURCE[keymgmt_internal_test]=keymgmt_internal_test.c | |
716 | INCLUDE[keymgmt_internal_test]=.. ../include ../apps/include | |
717 | DEPEND[keymgmt_internal_test]=../libcrypto.a libtestutil.a | |
2c166171 | 718 | |
8083fd3a | 719 | SOURCE[ffc_internal_test]=ffc_internal_test.c |
b830e004 | 720 | INCLUDE[ffc_internal_test]=.. ../include ../apps/include |
8083fd3a SL |
721 | DEPEND[ffc_internal_test]=../libcrypto.a libtestutil.a |
722 | ||
33ee9ae0 P |
723 | IF[{- !$disabled{mdc2} -}] |
724 | PROGRAMS{noinst}=mdc2_internal_test | |
725 | ENDIF | |
97f1e971 | 726 | |
33ee9ae0 P |
727 | SOURCE[mdc2_internal_test]=mdc2_internal_test.c |
728 | INCLUDE[mdc2_internal_test]=.. ../include ../apps/include | |
729 | DEPEND[mdc2_internal_test]=../libcrypto.a libtestutil.a | |
ada66e78 | 730 | |
20f8bc72 DDO |
731 | SOURCE[ssl_old_test]=ssl_old_test.c helpers/predefined_dhparams.c |
732 | INCLUDE[ssl_old_test]=.. ../include ../apps/include | |
bca7ad6e | 733 | DEPEND[ssl_old_test]=../libcrypto.a ../libssl.a libtestutil.a |
388eb0d9 RL |
734 | |
735 | PROGRAMS{noinst}=algorithmid_test | |
736 | SOURCE[algorithmid_test]=algorithmid_test.c | |
737 | INCLUDE[algorithmid_test]=../include ../apps/include | |
738 | DEPEND[algorithmid_test]=../libcrypto.a libtestutil.a | |
33ee9ae0 | 739 | ENDIF |
134bfe56 | 740 | |
ac6bba6f | 741 | PROGRAMS{noinst}=asn1_time_test |
cf37aaa3 | 742 | SOURCE[asn1_time_test]=asn1_time_test.c |
5674466e | 743 | INCLUDE[asn1_time_test]=../include ../apps/include |
cf37aaa3 TS |
744 | DEPEND[asn1_time_test]=../libcrypto libtestutil.a |
745 | ||
134bfe56 MC |
746 | # We disable this test completely in a shared build because it deliberately |
747 | # redefines some internal libssl symbols. This doesn't work in a non-shared | |
748 | # build | |
749 | IF[{- !$disabled{shared} -}] | |
ac6bba6f | 750 | PROGRAMS{noinst}=tls13secretstest |
a9c6d221 | 751 | SOURCE[tls13secretstest]=tls13secretstest.c |
da4db160 | 752 | DEFINE[tls13secretstest]=OPENSSL_NO_KTLS |
0d345f0e | 753 | SOURCE[tls13secretstest]= ../ssl/tls13_enc.c ../crypto/packet.c |
5674466e | 754 | INCLUDE[tls13secretstest]=.. ../include ../apps/include |
a9c6d221 | 755 | DEPEND[tls13secretstest]=../libcrypto ../libssl libtestutil.a |
134bfe56 | 756 | ENDIF |
a58eb06d | 757 | |
20f8bc72 | 758 | SOURCE[sslbuffertest]=sslbuffertest.c helpers/ssltestlib.c |
5674466e | 759 | INCLUDE[sslbuffertest]=../include ../apps/include |
a58eb06d | 760 | DEPEND[sslbuffertest]=../libcrypto ../libssl libtestutil.a |
8a5ed9dc TM |
761 | |
762 | SOURCE[sysdefaulttest]=sysdefaulttest.c | |
5674466e | 763 | INCLUDE[sysdefaulttest]=../include ../apps/include |
8a5ed9dc | 764 | DEPEND[sysdefaulttest]=../libcrypto ../libssl libtestutil.a |
2de108df DB |
765 | |
766 | SOURCE[errtest]=errtest.c | |
5674466e | 767 | INCLUDE[errtest]=../include ../apps/include |
2de108df | 768 | DEPEND[errtest]=../libcrypto libtestutil.a |
1e839545 | 769 | |
20f8bc72 | 770 | SOURCE[gosttest]=gosttest.c helpers/ssltestlib.c |
5674466e | 771 | INCLUDE[gosttest]=../include ../apps/include .. |
1e839545 | 772 | DEPEND[gosttest]=../libcrypto ../libssl libtestutil.a |
d64b6299 | 773 | |
bcf082d1 SL |
774 | SOURCE[aesgcmtest]=aesgcmtest.c |
775 | INCLUDE[aesgcmtest]=../include ../apps/include .. | |
776 | DEPEND[aesgcmtest]=../libcrypto libtestutil.a | |
777 | ||
d64b6299 RL |
778 | PROGRAMS{noinst}=context_internal_test |
779 | SOURCE[context_internal_test]=context_internal_test.c | |
780 | INCLUDE[context_internal_test]=.. ../include ../apps/include | |
781 | DEPEND[context_internal_test]=../libcrypto.a libtestutil.a | |
021a6552 RL |
782 | |
783 | PROGRAMS{noinst}=provider_internal_test | |
784 | DEFINE[provider_internal_test]=PROVIDER_INIT_FUNCTION_NAME=p_test_init | |
785 | SOURCE[provider_internal_test]=provider_internal_test.c p_test.c | |
81c15ed0 | 786 | INCLUDE[provider_internal_test]=../include ../apps/include .. |
021a6552 RL |
787 | DEPEND[provider_internal_test]=../libcrypto.a libtestutil.a |
788 | PROGRAMS{noinst}=provider_test | |
789 | DEFINE[provider_test]=PROVIDER_INIT_FUNCTION_NAME=p_test_init | |
790 | SOURCE[provider_test]=provider_test.c p_test.c | |
81c15ed0 | 791 | INCLUDE[provider_test]=../include ../apps/include .. |
021a6552 | 792 | DEPEND[provider_test]=../libcrypto.a libtestutil.a |
34786bde | 793 | IF[{- !$disabled{module} -}] |
021a6552 RL |
794 | MODULES{noinst}=p_test |
795 | SOURCE[p_test]=p_test.c | |
81c15ed0 | 796 | INCLUDE[p_test]=../include .. |
021a6552 RL |
797 | IF[{- defined $target{shared_defflag} -}] |
798 | SOURCE[p_test]=p_test.ld | |
799 | GENERATE[p_test.ld]=../util/providers.num | |
800 | ENDIF | |
521b7cb3 RL |
801 | ENDIF |
802 | IF[{- $disabled{module} || !$target{dso_scheme} -}] | |
2a2bc6fc RL |
803 | DEFINE[provider_test]=NO_PROVIDER_MODULE |
804 | DEFINE[provider_internal_test]=NO_PROVIDER_MODULE | |
021a6552 | 805 | ENDIF |
433deaff RS |
806 | DEPEND[]=provider_internal_test.cnf |
807 | GENERATE[provider_internal_test.cnf]=provider_internal_test.cnf.in | |
9ad41d24 | 808 | |
f995e5bd RL |
809 | PROGRAMS{noinst}=provider_fallback_test |
810 | SOURCE[provider_fallback_test]=provider_fallback_test.c | |
811 | INCLUDE[provider_fallback_test]=../include ../apps/include | |
812 | DEPEND[provider_fallback_test]=../libcrypto libtestutil.a | |
813 | ||
9ad41d24 RL |
814 | PROGRAMS{noinst}=params_test |
815 | SOURCE[params_test]=params_test.c | |
816 | INCLUDE[params_test]=.. ../include ../apps/include | |
817 | DEPEND[params_test]=../libcrypto.a libtestutil.a | |
734a462e | 818 | |
f32af93c SL |
819 | PROGRAMS{noinst}=hexstr_test |
820 | SOURCE[hexstr_test]=hexstr_test.c | |
821 | INCLUDE[hexstr_test]=.. ../include ../apps/include | |
822 | DEPEND[hexstr_test]=../libcrypto.a libtestutil.a | |
823 | ||
ece9304c | 824 | PROGRAMS{noinst}=endecode_test |
20f8bc72 | 825 | SOURCE[endecode_test]=endecode_test.c helpers/predefined_dhparams.c |
ece9304c RL |
826 | INCLUDE[endecode_test]=.. ../include ../apps/include |
827 | DEPEND[endecode_test]=../libcrypto.a libtestutil.a | |
5a23d78c | 828 | |
4d8e8a2d MC |
829 | IF[{- !$disabled{'deprecated-3.0'} -}] |
830 | PROGRAMS{noinst}=endecoder_legacy_test | |
831 | SOURCE[endecoder_legacy_test]=endecoder_legacy_test.c | |
832 | INCLUDE[endecoder_legacy_test]=.. ../include ../apps/include | |
833 | DEPEND[endecoder_legacy_test]=../libcrypto.a libtestutil.a | |
834 | ENDIF | |
e76a6962 | 835 | |
734a462e RL |
836 | PROGRAMS{noinst}=namemap_internal_test |
837 | SOURCE[namemap_internal_test]=namemap_internal_test.c | |
838 | INCLUDE[namemap_internal_test]=.. ../include ../apps/include | |
839 | DEPEND[namemap_internal_test]=../libcrypto.a libtestutil.a | |
51a7c4b5 RL |
840 | |
841 | PROGRAMS{noinst}=bio_prefix_text | |
842 | SOURCE[bio_prefix_text]=bio_prefix_text.c $LIBAPPSSRC | |
843 | INCLUDE[bio_prefix_text]=.. ../include ../apps/include | |
844 | DEPEND[bio_prefix_text]=../libcrypto | |
cdbd27ba MC |
845 | |
846 | IF[{- !$disabled{'deprecated-3.0'} -}] | |
66923436 | 847 | PROGRAMS{noinst}=pem_read_depr_test |
cdbd27ba MC |
848 | SOURCE[pem_read_depr_test]=pem_read_depr_test.c |
849 | INCLUDE[pem_read_depr_test]=../include ../apps/include | |
850 | DEPEND[pem_read_depr_test]=../libcrypto libtestutil.a | |
851 | ENDIF | |
5cdad22f RL |
852 | ENDIF |
853 | ||
132b5fac | 854 | SOURCE[ssl_ctx_test]=ssl_ctx_test.c |
2321c25d | 855 | INCLUDE[ssl_ctx_test]=../include ../apps/include |
132b5fac CH |
856 | DEPEND[ssl_ctx_test]=../libcrypto ../libssl libtestutil.a |
857 | ||
5cdad22f | 858 | {- |
0483f586 | 859 | use File::Spec::Functions; |
bffb1490 | 860 | use File::Basename; |
8d2214c0 | 861 | use OpenSSL::Glob; |
bffb1490 | 862 | |
bffb1490 | 863 | my @nogo_headers = ( "asn1_mac.h", |
c7e10755 | 864 | "opensslconf.h", |
bffb1490 RL |
865 | "__decc_include_prologue.h", |
866 | "__decc_include_epilogue.h" ); | |
3830c194 | 867 | my @nogo_headers_re = ( qr/.*err\.h/ ); |
bffb1490 RL |
868 | my @headerfiles = glob catfile($sourcedir, |
869 | updir(), "include", "openssl", "*.h"); | |
870 | ||
871 | foreach my $headerfile (@headerfiles) { | |
872 | my $name = basename($headerfile, ".h"); | |
873 | next if $disabled{$name}; | |
874 | next if grep { $_ eq lc("$name.h") } @nogo_headers; | |
3830c194 | 875 | next if grep { lc("$name.h") =~ m/$_/i } @nogo_headers_re; |
bffb1490 RL |
876 | $OUT .= <<"_____"; |
877 | ||
9f27d4bf RL |
878 | PROGRAMS{noinst}=buildtest_c_$name |
879 | SOURCE[buildtest_c_$name]=buildtest_$name.c | |
bffb1490 | 880 | GENERATE[buildtest_$name.c]=generate_buildtest.pl $name |
9f27d4bf RL |
881 | INCLUDE[buildtest_c_$name]=../include |
882 | DEPEND[buildtest_c_$name]=../libssl ../libcrypto | |
883 | _____ | |
ac4033d6 | 884 | $OUT .= <<"_____" if $config{CXX} && !$disabled{"buildtest-c++"}; |
9f27d4bf RL |
885 | |
886 | PROGRAMS{noinst}=buildtest_cc_$name | |
887 | SOURCE[buildtest_cc_$name]=buildtest_$name.cc | |
888 | GENERATE[buildtest_$name.cc]=generate_buildtest.pl $name | |
889 | INCLUDE[buildtest_cc_$name]=../include | |
890 | DEPEND[buildtest_cc_$name]=../libssl ../libcrypto | |
bffb1490 RL |
891 | _____ |
892 | } | |
5cdad22f | 893 | -} |