build.info 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188
  1. # TODO: use ../apps/libapps.a instead of direct ../apps/lib source.
  2. # This can't currently be done, because some of its units drag in too many
  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.
  6. #
  7. # Auxiliary program source (copied from ../apps/build.info)
  8. IF[{- $config{target} =~ /^(?:VC-|mingw|BC-)/ -}]
  9. # It's called 'init', but doesn't have much 'init' in it...
  10. $AUXLIBAPPSSRC=../apps/lib/win32_init.c
  11. ENDIF
  12. IF[{- $config{target} =~ /^vms-/ -}]
  13. $AUXLIBAPPSSRC=../apps/lib/vms_term_sock.c ../apps/lib/vms_decc_argv.c
  14. ENDIF
  15. # Program init source, that don't have direct linkage with the rest of the
  16. # source, and can therefore not be part of a library.
  17. IF[{- !$disabled{uplink} -}]
  18. $INITSRC=../ms/applink.c
  19. ENDIF
  20. $LIBAPPSSRC=../apps/lib/opt.c $AUXLIBAPPSSRC
  21. IF[{- !$disabled{tests} -}]
  22. LIBS{noinst,has_main}=libtestutil.a
  23. SOURCE[libtestutil.a]=testutil/basic_output.c testutil/output.c \
  24. testutil/driver.c testutil/tests.c testutil/cb.c testutil/stanza.c \
  25. testutil/format_output.c testutil/load.c testutil/fake_random.c \
  26. testutil/test_cleanup.c testutil/main.c testutil/testutil_init.c \
  27. testutil/options.c testutil/test_options.c testutil/provider.c \
  28. testutil/apps_shims.c testutil/random.c $LIBAPPSSRC
  29. INCLUDE[libtestutil.a]=../include ../apps/include ..
  30. DEPEND[libtestutil.a]=../libcrypto
  31. PROGRAMS{noinst}= \
  32. confdump \
  33. versions \
  34. aborttest test_test pkcs12_format_test pkcs12_api_test \
  35. sanitytest time_test rsa_complex exdatatest bntest \
  36. ecstresstest gmdifftest pbelutest \
  37. destest mdc2test sha_test \
  38. exptest pbetest localetest evp_pkey_ctx_new_from_name \
  39. evp_pkey_provided_test evp_test evp_extra_test evp_extra_test2 \
  40. evp_fetch_prov_test evp_libctx_test ossl_store_test \
  41. v3nametest v3ext punycode_test \
  42. crltest danetest bad_dtls_test lhash_test sparse_array_test \
  43. conf_include_test params_api_test params_conversion_test \
  44. constant_time_test safe_math_test verify_extra_test clienthellotest \
  45. packettest asynctest secmemtest srptest memleaktest stack_test \
  46. dtlsv1listentest ct_test threadstest afalgtest d2i_test \
  47. ssl_test_ctx_test ssl_test x509aux cipherlist_test asynciotest \
  48. bio_callback_test bio_memleak_test bio_core_test bio_dgram_test param_build_test \
  49. bioprinttest sslapitest ssl_handshake_rtt_test dtlstest sslcorrupttest \
  50. bio_enc_test pkey_meth_test pkey_meth_kdf_test evp_kdf_test uitest \
  51. cipherbytes_test threadstest_fips threadpool_test \
  52. asn1_encode_test asn1_decode_test asn1_string_table_test \
  53. x509_time_test x509_dup_cert_test x509_check_cert_pkey_test \
  54. recordlentest drbgtest rand_status_test sslbuffertest \
  55. time_offset_test pemtest ssl_cert_table_internal_test ciphername_test \
  56. servername_test ocspapitest fatalerrtest tls13ccstest \
  57. sysdefaulttest errtest ssl_ctx_test build_wincrypt_test \
  58. context_internal_test aesgcmtest params_test evp_pkey_dparams_test \
  59. keymgmt_internal_test hexstr_test provider_status_test defltfips_test \
  60. bio_readbuffer_test user_property_test pkcs7_test upcallstest \
  61. provfetchtest prov_config_test rand_test ca_internals_test \
  62. bio_tfo_test membio_test bio_dgram_test list_test fips_version_test \
  63. x509_test hpke_test pairwise_fail_test nodefltctxtest \
  64. evp_xof_test
  65. IF[{- !$disabled{'rpk'} -}]
  66. PROGRAMS{noinst}=rpktest
  67. ENDIF
  68. IF[{- !$disabled{'deprecated-3.0'} -}]
  69. PROGRAMS{noinst}=enginetest
  70. ENDIF
  71. IF[{- !$disabled{quic} -}]
  72. PROGRAMS{noinst}=priority_queue_test event_queue_test quicfaultstest quicapitest \
  73. quic_newcid_test
  74. ENDIF
  75. IF[{- !$disabled{comp} && (!$disabled{brotli} || !$disabled{zstd} || !$disabled{zlib}) -}]
  76. PROGRAMS{noinst}=cert_comp_test
  77. ENDIF
  78. SOURCE[confdump]=confdump.c
  79. INCLUDE[confdump]=../include ../apps/include
  80. DEPEND[confdump]=../libcrypto
  81. SOURCE[versions]=versions.c
  82. INCLUDE[versions]=../include ../apps/include
  83. DEPEND[versions]=../libcrypto
  84. SOURCE[aborttest]=aborttest.c
  85. INCLUDE[aborttest]=../include ../apps/include
  86. DEPEND[aborttest]=../libcrypto
  87. SOURCE[sanitytest]=sanitytest.c
  88. INCLUDE[sanitytest]=../include ../apps/include
  89. DEPEND[sanitytest]=../libcrypto.a libtestutil.a
  90. SOURCE[time_test]=time_test.c
  91. INCLUDE[time_test]=../include ../apps/include
  92. DEPEND[time_test]=../libcrypto.a libtestutil.a
  93. SOURCE[rand_test]=rand_test.c
  94. INCLUDE[rand_test]=../include ../apps/include
  95. DEPEND[rand_test]=../libcrypto.a libtestutil.a
  96. SOURCE[rsa_complex]=rsa_complex.c
  97. INCLUDE[rsa_complex]=../include ../apps/include
  98. SOURCE[test_test]=test_test.c
  99. INCLUDE[test_test]=../include ../apps/include
  100. DEPEND[test_test]=../libcrypto libtestutil.a
  101. SOURCE[exdatatest]=exdatatest.c
  102. INCLUDE[exdatatest]=../include ../apps/include
  103. DEPEND[exdatatest]=../libcrypto libtestutil.a
  104. SOURCE[bntest]=bntest.c
  105. INCLUDE[bntest]=../include ../apps/include
  106. DEPEND[bntest]=../libcrypto libtestutil.a
  107. SOURCE[ectest]=ectest.c
  108. INCLUDE[ectest]=../include ../apps/include
  109. DEPEND[ectest]=../libcrypto.a libtestutil.a
  110. SOURCE[ecstresstest]=ecstresstest.c
  111. INCLUDE[ecstresstest]=../include ../apps/include
  112. DEPEND[ecstresstest]=../libcrypto libtestutil.a
  113. SOURCE[gmdifftest]=gmdifftest.c
  114. INCLUDE[gmdifftest]=../include ../apps/include
  115. DEPEND[gmdifftest]=../libcrypto libtestutil.a
  116. SOURCE[pbelutest]=pbelutest.c
  117. INCLUDE[pbelutest]=../include ../apps/include
  118. DEPEND[pbelutest]=../libcrypto libtestutil.a
  119. SOURCE[mdc2test]=mdc2test.c
  120. INCLUDE[mdc2test]=../include ../apps/include
  121. DEPEND[mdc2test]=../libcrypto libtestutil.a
  122. SOURCE[sha_test]=sha_test.c
  123. INCLUDE[sha_test]=../include ../apps/include
  124. DEPEND[sha_test]=../libcrypto libtestutil.a
  125. SOURCE[enginetest]=enginetest.c
  126. INCLUDE[enginetest]=../include ../apps/include
  127. DEPEND[enginetest]=../libcrypto libtestutil.a
  128. SOURCE[exptest]=exptest.c
  129. INCLUDE[exptest]=../include ../apps/include
  130. DEPEND[exptest]=../libcrypto libtestutil.a
  131. SOURCE[localetest]=localetest.c
  132. INCLUDE[localetest]=../include ../apps/include
  133. DEPEND[localetest]=../libcrypto libtestutil.a
  134. SOURCE[evp_pkey_ctx_new_from_name]=evp_pkey_ctx_new_from_name.c
  135. INCLUDE[evp_pkey_ctx_new_from_name]=../include ../apps/include
  136. DEPEND[evp_pkey_ctx_new_from_name]=../libcrypto
  137. SOURCE[pbetest]=pbetest.c
  138. INCLUDE[pbetest]=../include ../apps/include
  139. DEPEND[pbetest]=../libcrypto libtestutil.a
  140. SOURCE[fatalerrtest]=fatalerrtest.c helpers/ssltestlib.c
  141. INCLUDE[fatalerrtest]=../include ../apps/include
  142. DEPEND[fatalerrtest]=../libcrypto ../libssl libtestutil.a
  143. SOURCE[tls13ccstest]=tls13ccstest.c helpers/ssltestlib.c
  144. INCLUDE[tls13ccstest]=../include ../apps/include
  145. DEPEND[tls13ccstest]=../libcrypto ../libssl libtestutil.a
  146. SOURCE[upcallstest]=upcallstest.c
  147. INCLUDE[upcallstest]=../include ../apps/include
  148. DEPEND[upcallstest]=../libcrypto libtestutil.a
  149. SOURCE[user_property_test]=user_property_test.c
  150. INCLUDE[user_property_test]=../include ../apps/include
  151. DEPEND[user_property_test]=../libcrypto libtestutil.a
  152. SOURCE[evp_test]=evp_test.c
  153. INCLUDE[evp_test]=../include ../apps/include
  154. DEPEND[evp_test]=../libcrypto libtestutil.a
  155. IF[{- $disabled{legacy} || !$target{dso_scheme} -}]
  156. DEFINE[evp_test]=NO_LEGACY_MODULE
  157. ENDIF
  158. SOURCE[evp_extra_test]=evp_extra_test.c fake_rsaprov.c
  159. INCLUDE[evp_extra_test]=../include ../apps/include
  160. DEPEND[evp_extra_test]=../libcrypto.a libtestutil.a
  161. SOURCE[hpke_test]=hpke_test.c
  162. INCLUDE[hpke_test]=../include ../apps/include
  163. DEPEND[hpke_test]=../libcrypto.a libtestutil.a
  164. SOURCE[evp_extra_test2]=evp_extra_test2.c $INITSRC
  165. INCLUDE[evp_extra_test2]=../include ../apps/include
  166. DEPEND[evp_extra_test2]=../libcrypto libtestutil.a
  167. SOURCE[evp_libctx_test]=evp_libctx_test.c
  168. INCLUDE[evp_libctx_test]=../include ../apps/include
  169. DEPEND[evp_libctx_test]=../libcrypto.a libtestutil.a
  170. SOURCE[evp_fetch_prov_test]=evp_fetch_prov_test.c
  171. INCLUDE[evp_fetch_prov_test]=../include ../apps/include
  172. DEPEND[evp_fetch_prov_test]=../libcrypto libtestutil.a
  173. SOURCE[provfetchtest]=provfetchtest.c
  174. INCLUDE[provfetchtest]=../include ../apps/include
  175. DEPEND[provfetchtest]=../libcrypto.a libtestutil.a
  176. SOURCE[prov_config_test]=prov_config_test.c
  177. INCLUDE[prov_config_test]=../include ../apps/include
  178. DEPEND[prov_config_test]=../libcrypto.a libtestutil.a
  179. SOURCE[evp_pkey_provided_test]=evp_pkey_provided_test.c
  180. INCLUDE[evp_pkey_provided_test]=../include ../apps/include
  181. DEPEND[evp_pkey_provided_test]=../libcrypto.a libtestutil.a
  182. IF[{- !$disabled{'acvp-tests'} -}]
  183. PROGRAMS{noinst}=acvp_test
  184. SOURCE[acvp_test]=acvp_test.c
  185. INCLUDE[acvp_test]=../include ../apps/include
  186. DEPEND[acvp_test]=../libcrypto.a libtestutil.a
  187. ENDIF
  188. SOURCE[ossl_store_test]=ossl_store_test.c
  189. INCLUDE[ossl_store_test]=../include ../apps/include
  190. DEPEND[ossl_store_test]=../libcrypto.a libtestutil.a
  191. SOURCE[provider_status_test]=provider_status_test.c
  192. INCLUDE[provider_status_test]=../include ../apps/include
  193. DEPEND[provider_status_test]=../libcrypto.a libtestutil.a
  194. SOURCE[pairwise_fail_test]=pairwise_fail_test.c
  195. INCLUDE[pairwise_fail_test]=../include ../apps/include
  196. DEPEND[pairwise_fail_test]=../libcrypto.a libtestutil.a
  197. SOURCE[nodefltctxtest]=nodefltctxtest.c
  198. INCLUDE[nodefltctxtest]=../include ../apps/include
  199. DEPEND[nodefltctxtest]=../libcrypto.a libtestutil.a
  200. SOURCE[evp_pkey_dhkem_test]=evp_pkey_dhkem_test.c
  201. INCLUDE[evp_pkey_dhkem_test]=../include ../apps/include
  202. DEPEND[evp_pkey_dhkem_test]=../libcrypto.a libtestutil.a
  203. IF[{- !$disabled{'deprecated-3.0'} -}]
  204. PROGRAMS{noinst}=igetest bftest casttest
  205. SOURCE[igetest]=igetest.c
  206. INCLUDE[igetest]=../include ../apps/include
  207. DEPEND[igetest]=../libcrypto libtestutil.a
  208. SOURCE[bftest]=bftest.c
  209. INCLUDE[bftest]=../include ../apps/include
  210. DEPEND[bftest]=../libcrypto libtestutil.a
  211. SOURCE[casttest]=casttest.c
  212. INCLUDE[casttest]=../include ../apps/include
  213. DEPEND[casttest]=../libcrypto libtestutil.a
  214. ENDIF
  215. SOURCE[v3nametest]=v3nametest.c
  216. INCLUDE[v3nametest]=../include ../apps/include
  217. DEPEND[v3nametest]=../libcrypto libtestutil.a
  218. SOURCE[crltest]=crltest.c
  219. INCLUDE[crltest]=../include ../apps/include
  220. DEPEND[crltest]=../libcrypto libtestutil.a
  221. SOURCE[v3ext]=v3ext.c
  222. INCLUDE[v3ext]=../include ../apps/include
  223. DEPEND[v3ext]=../libcrypto libtestutil.a
  224. SOURCE[danetest]=danetest.c
  225. INCLUDE[danetest]=../include ../apps/include
  226. DEPEND[danetest]=../libcrypto ../libssl libtestutil.a
  227. SOURCE[constant_time_test]=constant_time_test.c
  228. INCLUDE[constant_time_test]=../include ../apps/include
  229. DEPEND[constant_time_test]=../libcrypto libtestutil.a
  230. SOURCE[safe_math_test]=safe_math_test.c
  231. INCLUDE[safe_math_test]=../include ../apps/include
  232. DEPEND[safe_math_test]=../libcrypto libtestutil.a
  233. SOURCE[verify_extra_test]=verify_extra_test.c
  234. INCLUDE[verify_extra_test]=../include ../apps/include
  235. DEPEND[verify_extra_test]=../libcrypto libtestutil.a
  236. SOURCE[clienthellotest]=clienthellotest.c
  237. INCLUDE[clienthellotest]=../include ../apps/include
  238. DEPEND[clienthellotest]=../libcrypto ../libssl libtestutil.a
  239. SOURCE[bad_dtls_test]=bad_dtls_test.c
  240. INCLUDE[bad_dtls_test]=../include ../apps/include
  241. DEPEND[bad_dtls_test]=../libcrypto ../libssl libtestutil.a
  242. SOURCE[packettest]=packettest.c ../crypto/quic_vlint.c
  243. INCLUDE[packettest]=../include ../apps/include
  244. DEPEND[packettest]=../libcrypto libtestutil.a
  245. SOURCE[quic_wire_test]=quic_wire_test.c
  246. INCLUDE[quic_wire_test]=../include ../apps/include
  247. DEPEND[quic_wire_test]=../libcrypto.a ../libssl.a libtestutil.a
  248. SOURCE[quic_record_test]=quic_record_test.c
  249. INCLUDE[quic_record_test]=../include ../apps/include
  250. DEPEND[quic_record_test]=../libcrypto.a ../libssl.a libtestutil.a
  251. SOURCE[quic_fc_test]=quic_fc_test.c
  252. INCLUDE[quic_fc_test]=../include ../apps/include
  253. DEPEND[quic_fc_test]=../libcrypto.a ../libssl.a libtestutil.a
  254. SOURCE[quic_stream_test]=quic_stream_test.c
  255. INCLUDE[quic_stream_test]=../include ../apps/include
  256. DEPEND[quic_stream_test]=../libcrypto.a ../libssl.a libtestutil.a
  257. SOURCE[quic_cfq_test]=quic_cfq_test.c
  258. INCLUDE[quic_cfq_test]=../include ../apps/include
  259. DEPEND[quic_cfq_test]=../libcrypto.a ../libssl.a libtestutil.a
  260. SOURCE[quic_txpim_test]=quic_txpim_test.c
  261. INCLUDE[quic_txpim_test]=../include ../apps/include
  262. DEPEND[quic_txpim_test]=../libcrypto.a ../libssl.a libtestutil.a
  263. SOURCE[quic_srtm_test]=quic_srtm_test.c
  264. INCLUDE[quic_srtm_test]=../include ../apps/include
  265. DEPEND[quic_srtm_test]=../libcrypto.a ../libssl.a libtestutil.a
  266. SOURCE[quic_fifd_test]=quic_fifd_test.c cc_dummy.c
  267. INCLUDE[quic_fifd_test]=../include ../apps/include
  268. DEPEND[quic_fifd_test]=../libcrypto.a ../libssl.a libtestutil.a
  269. SOURCE[quic_txp_test]=quic_txp_test.c cc_dummy.c
  270. INCLUDE[quic_txp_test]=../include ../apps/include
  271. DEPEND[quic_txp_test]=../libcrypto.a ../libssl.a libtestutil.a
  272. SOURCE[quic_tserver_test]=quic_tserver_test.c
  273. INCLUDE[quic_tserver_test]=../include ../apps/include
  274. DEPEND[quic_tserver_test]=../libcrypto.a ../libssl.a libtestutil.a
  275. SOURCE[quic_client_test]=quic_client_test.c
  276. INCLUDE[quic_client_test]=../include ../apps/include
  277. DEPEND[quic_client_test]=../libcrypto.a ../libssl.a libtestutil.a
  278. $QUICTESTHELPERS=helpers/quictestlib.c helpers/noisydgrambio.c helpers/pktsplitbio.c
  279. SOURCE[quic_multistream_test]=quic_multistream_test.c helpers/ssltestlib.c $QUICTESTHELPERS
  280. INCLUDE[quic_multistream_test]=../include ../apps/include
  281. DEPEND[quic_multistream_test]=../libcrypto.a ../libssl.a libtestutil.a
  282. SOURCE[asynctest]=asynctest.c
  283. INCLUDE[asynctest]=../include ../apps/include
  284. DEPEND[asynctest]=../libcrypto
  285. SOURCE[secmemtest]=secmemtest.c
  286. INCLUDE[secmemtest]=../include ../apps/include
  287. DEPEND[secmemtest]=../libcrypto libtestutil.a
  288. SOURCE[srptest]=srptest.c
  289. INCLUDE[srptest]=../include ../apps/include
  290. DEPEND[srptest]=../libcrypto libtestutil.a
  291. SOURCE[memleaktest]=memleaktest.c
  292. INCLUDE[memleaktest]=../include ../apps/include
  293. DEPEND[memleaktest]=../libcrypto libtestutil.a
  294. SOURCE[pkcs12_format_test]=pkcs12_format_test.c helpers/pkcs12.c
  295. INCLUDE[pkcs12_format_test]=../include ../apps/include
  296. DEPEND[pkcs12_format_test]=../libcrypto libtestutil.a
  297. SOURCE[pkcs12_api_test]=pkcs12_api_test.c helpers/pkcs12.c
  298. INCLUDE[pkcs12_api_test]=../include ../apps/include
  299. DEPEND[pkcs12_api_test]=../libcrypto libtestutil.a
  300. SOURCE[pkcs7_test]=pkcs7_test.c
  301. INCLUDE[pkcs7_test]=../include ../apps/include
  302. DEPEND[pkcs7_test]=../libcrypto libtestutil.a
  303. SOURCE[punycode_test]=punycode_test.c
  304. INCLUDE[punycode_test]=../include ../apps/include
  305. DEPEND[punycode_test]=../libcrypto.a libtestutil.a
  306. SOURCE[stack_test]=stack_test.c
  307. INCLUDE[stack_test]=../include ../apps/include
  308. DEPEND[stack_test]=../libcrypto libtestutil.a
  309. SOURCE[lhash_test]=lhash_test.c
  310. INCLUDE[lhash_test]=../include ../apps/include
  311. DEPEND[lhash_test]=../libcrypto libtestutil.a
  312. SOURCE[dtlsv1listentest]=dtlsv1listentest.c
  313. INCLUDE[dtlsv1listentest]=../include ../apps/include
  314. DEPEND[dtlsv1listentest]=../libssl libtestutil.a
  315. SOURCE[ct_test]=ct_test.c
  316. INCLUDE[ct_test]=../include ../apps/include
  317. DEPEND[ct_test]=../libcrypto libtestutil.a
  318. SOURCE[threadpool_test]=threadpool_test.c
  319. INCLUDE[threadpool_test]=.. ../include ../apps/include
  320. DEPEND[threadpool_test]=../libcrypto.a libtestutil.a
  321. SOURCE[threadstest]=threadstest.c
  322. INCLUDE[threadstest]=.. ../include ../apps/include
  323. DEPEND[threadstest]=../libcrypto.a libtestutil.a
  324. SOURCE[threadstest_fips]=threadstest_fips.c
  325. INCLUDE[threadstest_fips]=../include ../apps/include
  326. DEPEND[threadstest_fips]=../libcrypto libtestutil.a
  327. SOURCE[afalgtest]=afalgtest.c
  328. INCLUDE[afalgtest]=../include ../apps/include
  329. DEPEND[afalgtest]=../libcrypto libtestutil.a
  330. SOURCE[d2i_test]=d2i_test.c
  331. INCLUDE[d2i_test]=../include ../apps/include
  332. DEPEND[d2i_test]=../libcrypto libtestutil.a
  333. SOURCE[ssl_test_ctx_test]=ssl_test_ctx_test.c helpers/ssl_test_ctx.c
  334. INCLUDE[ssl_test_ctx_test]=../include ../apps/include
  335. DEPEND[ssl_test_ctx_test]=../libcrypto ../libssl libtestutil.a
  336. SOURCE[ssl_test]=ssl_test.c helpers/ssl_test_ctx.c helpers/handshake.c
  337. IF[{- !$disabled{'srp'} -}]
  338. SOURCE[ssl_test]=helpers/handshake_srp.c
  339. ENDIF
  340. INCLUDE[ssl_test]=../include ../apps/include
  341. DEPEND[ssl_test]=../libcrypto ../libssl libtestutil.a
  342. SOURCE[cipherlist_test]=cipherlist_test.c
  343. INCLUDE[cipherlist_test]=../include ../apps/include
  344. DEPEND[cipherlist_test]=../libcrypto ../libssl libtestutil.a
  345. INCLUDE[helpers/ssl_test_ctx.o]=../include
  346. INCLUDE[helpers/handshake.o]=.. ../include
  347. INCLUDE[helpers/pkcs12.o]=.. ../include
  348. INCLUDE[helpers/ssltestlib.o]=.. ../include
  349. INCLUDE[helpers/cmp_testlib.o]=.. ../include ../apps/include
  350. SOURCE[x509aux]=x509aux.c
  351. INCLUDE[x509aux]=../include ../apps/include
  352. DEPEND[x509aux]=../libcrypto libtestutil.a
  353. SOURCE[asynciotest]=asynciotest.c helpers/ssltestlib.c
  354. INCLUDE[asynciotest]=../include ../apps/include
  355. DEPEND[asynciotest]=../libcrypto ../libssl libtestutil.a
  356. SOURCE[bio_callback_test]=bio_callback_test.c
  357. INCLUDE[bio_callback_test]=../include ../apps/include
  358. DEPEND[bio_callback_test]=../libcrypto libtestutil.a
  359. SOURCE[bio_readbuffer_test]=bio_readbuffer_test.c
  360. INCLUDE[bio_readbuffer_test]=../include ../apps/include
  361. DEPEND[bio_readbuffer_test]=../libcrypto libtestutil.a
  362. SOURCE[bio_memleak_test]=bio_memleak_test.c
  363. INCLUDE[bio_memleak_test]=../include ../apps/include
  364. DEPEND[bio_memleak_test]=../libcrypto libtestutil.a
  365. SOURCE[bioprinttest]=bioprinttest.c
  366. INCLUDE[bioprinttest]=../include ../apps/include
  367. DEPEND[bioprinttest]=../libcrypto libtestutil.a
  368. SOURCE[bio_core_test]=bio_core_test.c
  369. INCLUDE[bio_core_test]=../include ../apps/include
  370. DEPEND[bio_core_test]=../libcrypto libtestutil.a
  371. SOURCE[bio_dgram_test]=bio_dgram_test.c
  372. INCLUDE[bio_dgram_test]=../include ../apps/include
  373. DEPEND[bio_dgram_test]=../libcrypto libtestutil.a
  374. SOURCE[bio_tfo_test]=bio_tfo_test.c
  375. INCLUDE[bio_tfo_test]=../include ../apps/include ..
  376. DEPEND[bio_tfo_test]=../libcrypto libtestutil.a
  377. SOURCE[membio_test]=membio_test.c
  378. INCLUDE[membio_test]=../include ../apps/include ..
  379. DEPEND[membio_test]=../libcrypto libtestutil.a
  380. SOURCE[bio_dgram_test]=bio_dgram_test.c
  381. INCLUDE[bio_dgram_test]=../include ../apps/include ..
  382. DEPEND[bio_dgram_test]=../libcrypto libtestutil.a
  383. SOURCE[params_api_test]=params_api_test.c
  384. INCLUDE[params_api_test]=../include ../apps/include
  385. DEPEND[params_api_test]=../libcrypto libtestutil.a
  386. SOURCE[params_conversion_test]=params_conversion_test.c
  387. INCLUDE[params_conversion_test]=../include ../apps/include
  388. DEPEND[params_conversion_test]=../libcrypto libtestutil.a
  389. SOURCE[param_build_test]=param_build_test.c
  390. INCLUDE[param_build_test]=../include ../apps/include
  391. DEPEND[param_build_test]=../libcrypto.a libtestutil.a
  392. SOURCE[sslapitest]=sslapitest.c helpers/ssltestlib.c filterprov.c tls-provider.c
  393. INCLUDE[sslapitest]=../include ../apps/include ..
  394. DEPEND[sslapitest]=../libcrypto ../libssl libtestutil.a
  395. SOURCE[ssl_handshake_rtt_test]=ssl_handshake_rtt_test.c helpers/ssltestlib.c
  396. INCLUDE[ssl_handshake_rtt_test]=../include ../apps/include ..
  397. DEPEND[ssl_handshake_rtt_test]=../libcrypto.a ../libssl.a libtestutil.a
  398. SOURCE[rpktest]=rpktest.c helpers/ssltestlib.c
  399. INCLUDE[rpktest]=../include ../apps/include ..
  400. DEPEND[rpktest]=../libcrypto ../libssl libtestutil.a
  401. SOURCE[defltfips_test]=defltfips_test.c
  402. INCLUDE[defltfips_test]=../include ../apps/include
  403. DEPEND[defltfips_test]=../libcrypto libtestutil.a
  404. SOURCE[fips_version_test]=fips_version_test.c
  405. INCLUDE[fips_version_test]=../include ../apps/include
  406. DEPEND[fips_version_test]=../libcrypto libtestutil.a
  407. SOURCE[ocspapitest]=ocspapitest.c
  408. INCLUDE[ocspapitest]=../include ../apps/include
  409. DEPEND[ocspapitest]=../libcrypto libtestutil.a
  410. IF[{- !$disabled{sock} -}]
  411. IF[{- !$disabled{http} -}]
  412. PROGRAMS{noinst}=http_test
  413. SOURCE[http_test]=http_test.c
  414. INCLUDE[http_test]=../include ../apps/include
  415. DEPEND[http_test]=../libcrypto libtestutil.a
  416. ENDIF
  417. PROGRAMS{noinst}=bio_addr_test
  418. SOURCE[bio_addr_test]=bio_addr_test.c
  419. INCLUDE[bio_addr_test]=../include ../apps/include
  420. DEPEND[bio_addr_test]=../libcrypto libtestutil.a
  421. ENDIF
  422. SOURCE[dtlstest]=dtlstest.c helpers/ssltestlib.c
  423. INCLUDE[dtlstest]=../include ../apps/include
  424. DEPEND[dtlstest]=../libcrypto ../libssl libtestutil.a
  425. SOURCE[sslcorrupttest]=sslcorrupttest.c helpers/ssltestlib.c
  426. INCLUDE[sslcorrupttest]=../include ../apps/include
  427. DEPEND[sslcorrupttest]=../libcrypto ../libssl libtestutil.a
  428. SOURCE[bio_enc_test]=bio_enc_test.c
  429. INCLUDE[bio_enc_test]=../include ../apps/include
  430. DEPEND[bio_enc_test]=../libcrypto libtestutil.a
  431. SOURCE[pkey_meth_test]=pkey_meth_test.c
  432. INCLUDE[pkey_meth_test]=../include ../apps/include
  433. DEPEND[pkey_meth_test]=../libcrypto libtestutil.a
  434. SOURCE[pkey_meth_kdf_test]=pkey_meth_kdf_test.c
  435. INCLUDE[pkey_meth_kdf_test]=../include ../apps/include
  436. DEPEND[pkey_meth_kdf_test]=../libcrypto libtestutil.a
  437. SOURCE[evp_kdf_test]=evp_kdf_test.c
  438. INCLUDE[evp_kdf_test]=../include ../apps/include
  439. DEPEND[evp_kdf_test]=../libcrypto libtestutil.a
  440. SOURCE[evp_xof_test]=evp_xof_test.c
  441. INCLUDE[evp_xof_test]=../include ../apps/include
  442. DEPEND[evp_xof_test]=../libcrypto libtestutil.a
  443. SOURCE[evp_pkey_dparams_test]=evp_pkey_dparams_test.c
  444. INCLUDE[evp_pkey_dparams_test]=../include ../apps/include
  445. DEPEND[evp_pkey_dparams_test]=../libcrypto libtestutil.a
  446. SOURCE[x509_time_test]=x509_time_test.c
  447. INCLUDE[x509_time_test]=../include ../apps/include
  448. DEPEND[x509_time_test]=../libcrypto libtestutil.a
  449. SOURCE[x509_test]=x509_test.c
  450. INCLUDE[x509_test]=../include ../apps/include
  451. DEPEND[x509_test]=../libcrypto libtestutil.a
  452. SOURCE[recordlentest]=recordlentest.c helpers/ssltestlib.c
  453. INCLUDE[recordlentest]=../include ../apps/include
  454. DEPEND[recordlentest]=../libcrypto ../libssl libtestutil.a
  455. SOURCE[drbgtest]=drbgtest.c
  456. INCLUDE[drbgtest]=../include ../apps/include ../providers/common/include
  457. DEPEND[drbgtest]=../libcrypto.a libtestutil.a
  458. SOURCE[rand_status_test]=rand_status_test.c
  459. INCLUDE[rand_status_test]=../include ../apps/include
  460. DEPEND[rand_status_test]=../libcrypto libtestutil.a
  461. SOURCE[x509_dup_cert_test]=x509_dup_cert_test.c
  462. INCLUDE[x509_dup_cert_test]=../include ../apps/include
  463. DEPEND[x509_dup_cert_test]=../libcrypto libtestutil.a
  464. SOURCE[x509_check_cert_pkey_test]=x509_check_cert_pkey_test.c
  465. INCLUDE[x509_check_cert_pkey_test]=../include ../apps/include
  466. DEPEND[x509_check_cert_pkey_test]=../libcrypto libtestutil.a
  467. SOURCE[pemtest]=pemtest.c
  468. INCLUDE[pemtest]=../include ../apps/include
  469. DEPEND[pemtest]=../libcrypto libtestutil.a
  470. SOURCE[ssl_cert_table_internal_test]=ssl_cert_table_internal_test.c
  471. INCLUDE[ssl_cert_table_internal_test]=.. ../include ../apps/include
  472. DEPEND[ssl_cert_table_internal_test]=../libcrypto libtestutil.a
  473. SOURCE[ciphername_test]=ciphername_test.c
  474. INCLUDE[ciphername_test]=../include ../apps/include
  475. DEPEND[ciphername_test]=../libcrypto ../libssl libtestutil.a
  476. SOURCE[servername_test]=servername_test.c helpers/ssltestlib.c
  477. INCLUDE[servername_test]=../include ../apps/include
  478. DEPEND[servername_test]=../libcrypto ../libssl libtestutil.a
  479. IF[{- !$disabled{cms} -}]
  480. PROGRAMS{noinst}=cmsapitest
  481. SOURCE[cmsapitest]=cmsapitest.c
  482. INCLUDE[cmsapitest]=../include ../apps/include
  483. DEPEND[cmsapitest]=../libcrypto libtestutil.a
  484. ENDIF
  485. IF[{- !$disabled{psk} -}]
  486. PROGRAMS{noinst}=dtls_mtu_test
  487. SOURCE[dtls_mtu_test]=dtls_mtu_test.c helpers/ssltestlib.c
  488. INCLUDE[dtls_mtu_test]=.. ../include ../apps/include
  489. DEPEND[dtls_mtu_test]=../libcrypto ../libssl libtestutil.a
  490. ENDIF
  491. IF[{- !$disabled{shared} -}]
  492. PROGRAMS{noinst}=shlibloadtest
  493. SOURCE[shlibloadtest]=shlibloadtest.c simpledynamic.c
  494. INCLUDE[shlibloadtest]=../include ../apps/include
  495. PROGRAMS{noinst}=moduleloadtest
  496. SOURCE[moduleloadtest]=moduleloadtest.c simpledynamic.c
  497. INCLUDE[moduleloadtest]=../include ../apps/include
  498. ENDIF
  499. # cipher_overhead_test uses internal symbols, so it must be linked with
  500. # the static libraries
  501. PROGRAMS{noinst}=cipher_overhead_test
  502. SOURCE[cipher_overhead_test]=cipher_overhead_test.c
  503. INCLUDE[cipher_overhead_test]=.. ../include ../apps/include
  504. DEPEND[cipher_overhead_test]=../libcrypto.a ../libssl.a libtestutil.a
  505. SOURCE[uitest]=uitest.c ../apps/lib/apps_ui.c
  506. INCLUDE[uitest]=.. ../include ../apps/include
  507. DEPEND[uitest]=../libcrypto ../libssl libtestutil.a
  508. SOURCE[cipherbytes_test]=cipherbytes_test.c
  509. INCLUDE[cipherbytes_test]=../include ../apps/include
  510. DEPEND[cipherbytes_test]=../libcrypto ../libssl libtestutil.a
  511. SOURCE[asn1_encode_test]=asn1_encode_test.c
  512. INCLUDE[asn1_encode_test]=../include ../apps/include
  513. DEPEND[asn1_encode_test]=../libcrypto libtestutil.a
  514. SOURCE[asn1_decode_test]=asn1_decode_test.c
  515. INCLUDE[asn1_decode_test]=../include ../apps/include
  516. DEPEND[asn1_decode_test]=../libcrypto libtestutil.a
  517. SOURCE[asn1_string_table_test]=asn1_string_table_test.c
  518. INCLUDE[asn1_string_table_test]=../include ../apps/include
  519. DEPEND[asn1_string_table_test]=../libcrypto libtestutil.a
  520. SOURCE[time_offset_test]=time_offset_test.c
  521. INCLUDE[time_offset_test]=../include ../apps/include
  522. DEPEND[time_offset_test]=../libcrypto libtestutil.a
  523. SOURCE[conf_include_test]=conf_include_test.c
  524. INCLUDE[conf_include_test]=../include ../apps/include
  525. DEPEND[conf_include_test]=../libcrypto libtestutil.a
  526. IF[{- !$disabled{cmp} -}]
  527. PROGRAMS{noinst}=cmp_asn_test cmp_ctx_test cmp_status_test cmp_hdr_test \
  528. cmp_protect_test cmp_msg_test cmp_vfy_test \
  529. cmp_server_test cmp_client_test
  530. ENDIF
  531. SOURCE[cmp_asn_test]=cmp_asn_test.c helpers/cmp_testlib.c
  532. INCLUDE[cmp_asn_test]=.. ../include ../apps/include
  533. DEPEND[cmp_asn_test]=../libcrypto.a libtestutil.a
  534. SOURCE[cmp_ctx_test]=cmp_ctx_test.c helpers/cmp_testlib.c
  535. INCLUDE[cmp_ctx_test]=.. ../include ../apps/include
  536. DEPEND[cmp_ctx_test]=../libcrypto.a libtestutil.a
  537. SOURCE[cmp_hdr_test]=cmp_hdr_test.c helpers/cmp_testlib.c
  538. INCLUDE[cmp_hdr_test]=.. ../include ../apps/include
  539. DEPEND[cmp_hdr_test]=../libcrypto.a libtestutil.a
  540. SOURCE[cmp_status_test]=cmp_status_test.c helpers/cmp_testlib.c
  541. INCLUDE[cmp_status_test]=.. ../include ../apps/include
  542. DEPEND[cmp_status_test]=../libcrypto.a libtestutil.a
  543. SOURCE[cmp_protect_test]=cmp_protect_test.c helpers/cmp_testlib.c
  544. INCLUDE[cmp_protect_test]=.. ../include ../apps/include
  545. DEPEND[cmp_protect_test]=../libcrypto.a libtestutil.a
  546. SOURCE[cmp_msg_test]=cmp_msg_test.c helpers/cmp_testlib.c
  547. INCLUDE[cmp_msg_test]=.. ../include ../apps/include
  548. DEPEND[cmp_msg_test]=../libcrypto.a libtestutil.a
  549. SOURCE[cmp_vfy_test]=cmp_vfy_test.c helpers/cmp_testlib.c
  550. INCLUDE[cmp_vfy_test]=.. ../include ../apps/include
  551. DEPEND[cmp_vfy_test]=../libcrypto.a libtestutil.a
  552. SOURCE[cmp_server_test]=cmp_server_test.c helpers/cmp_testlib.c
  553. INCLUDE[cmp_server_test]=.. ../include ../apps/include
  554. DEPEND[cmp_server_test]=../libcrypto.a libtestutil.a
  555. SOURCE[cmp_client_test]=cmp_client_test.c helpers/cmp_testlib.c ../apps/lib/cmp_mock_srv.c
  556. INCLUDE[cmp_client_test]=.. ../include ../apps/include
  557. DEPEND[cmp_client_test]=../libcrypto.a libtestutil.a
  558. SOURCE[ca_internals_test]=ca_internals_test.c ../apps/ca.c ../apps/lib/apps.c \
  559. ../apps/lib/app_rand.c ../apps/lib/engine.c ../apps/lib/app_provider.c \
  560. ../apps/lib/app_libctx.c ../apps/lib/fmt.c ../apps/lib/apps_ui.c \
  561. ../apps/lib/app_x509.c ../crypto/asn1/a_time.c ../crypto/ctype.c
  562. INCLUDE[ca_internals_test]=.. ../include ../apps/include
  563. DEPEND[ca_internals_test]=libtestutil.a ../libssl
  564. # Internal test programs. These are essentially a collection of internal
  565. # test routines. Some of them need to reach internal symbols that aren't
  566. # available through the shared library (at least on Linux, Solaris, Windows
  567. # and VMS, where the exported symbols are those listed in util/*.num), these
  568. # programs are forcibly linked with the static libraries, where all symbols
  569. # are always available.
  570. IF[1]
  571. PROGRAMS{noinst}=asn1_internal_test modes_internal_test x509_internal_test \
  572. tls13encryptiontest wpackettest ctype_internal_test \
  573. rdcpu_sanitytest property_test ideatest rsa_mp_test \
  574. rsa_sp800_56b_test bn_internal_test ecdsatest rsa_test \
  575. rc2test rc4test rc5test hmactest ffc_internal_test \
  576. asn1_dsa_internal_test dsatest dsa_no_digest_size_test \
  577. dhtest ssl_old_test
  578. IF[{- !$disabled{poly1305} -}]
  579. PROGRAMS{noinst}=poly1305_internal_test
  580. ENDIF
  581. IF[{- !$disabled{chacha} -}]
  582. PROGRAMS{noinst}=chacha_internal_test
  583. ENDIF
  584. IF[{- !$disabled{siphash} -}]
  585. PROGRAMS{noinst}=siphash_internal_test
  586. ENDIF
  587. IF[{- !$disabled{sm2} -}]
  588. PROGRAMS{noinst}=sm2_internal_test
  589. ENDIF
  590. IF[{- !$disabled{sm3} -}]
  591. PROGRAMS{noinst}=sm3_internal_test
  592. ENDIF
  593. IF[{- !$disabled{sm4} -}]
  594. PROGRAMS{noinst}=sm4_internal_test
  595. ENDIF
  596. IF[{- !$disabled{ec} -}]
  597. PROGRAMS{noinst}=ectest ec_internal_test evp_pkey_dhkem_test
  598. ENDIF
  599. IF[{- !$disabled{ecx} -}]
  600. PROGRAMS{noinst}=curve448_internal_test
  601. ENDIF
  602. IF[{- !$disabled{cmac} -}]
  603. PROGRAMS{noinst}=cmactest
  604. ENDIF
  605. SOURCE[poly1305_internal_test]=poly1305_internal_test.c
  606. INCLUDE[poly1305_internal_test]=.. ../include ../apps/include
  607. DEPEND[poly1305_internal_test]=../libcrypto.a libtestutil.a
  608. SOURCE[chacha_internal_test]=chacha_internal_test.c
  609. INCLUDE[chacha_internal_test]=.. ../include ../apps/include
  610. DEPEND[chacha_internal_test]=../libcrypto.a libtestutil.a
  611. SOURCE[asn1_internal_test]=asn1_internal_test.c
  612. INCLUDE[asn1_internal_test]=.. ../include ../apps/include
  613. DEPEND[asn1_internal_test]=../libcrypto.a libtestutil.a
  614. SOURCE[modes_internal_test]=modes_internal_test.c
  615. INCLUDE[modes_internal_test]=.. ../include ../apps/include
  616. DEPEND[modes_internal_test]=../libcrypto.a libtestutil.a
  617. SOURCE[x509_internal_test]=x509_internal_test.c
  618. INCLUDE[x509_internal_test]=.. ../include ../apps/include
  619. DEPEND[x509_internal_test]=../libcrypto.a libtestutil.a
  620. SOURCE[rsa_test]=rsa_test.c
  621. INCLUDE[rsa_test]=../include ../apps/include
  622. DEPEND[rsa_test]=../libcrypto.a libtestutil.a
  623. SOURCE[rsa_mp_test]=rsa_mp_test.c
  624. INCLUDE[rsa_mp_test]=../include ../apps/include
  625. DEPEND[rsa_mp_test]=../libcrypto.a libtestutil.a
  626. SOURCE[ecdsatest]=ecdsatest.c
  627. INCLUDE[ecdsatest]=../include ../apps/include
  628. DEPEND[ecdsatest]=../libcrypto.a libtestutil.a
  629. SOURCE[dsatest]=dsatest.c
  630. INCLUDE[dsatest]=../include ../apps/include
  631. DEPEND[dsatest]=../libcrypto.a libtestutil.a
  632. SOURCE[dsa_no_digest_size_test]=dsa_no_digest_size_test.c
  633. INCLUDE[dsa_no_digest_size_test]=../include ../apps/include
  634. DEPEND[dsa_no_digest_size_test]=../libcrypto.a libtestutil.a
  635. SOURCE[tls13encryptiontest]=tls13encryptiontest.c
  636. INCLUDE[tls13encryptiontest]=.. ../include ../apps/include
  637. DEPEND[tls13encryptiontest]=../libcrypto.a ../libssl.a libtestutil.a
  638. SOURCE[ideatest]=ideatest.c
  639. INCLUDE[ideatest]=../include ../apps/include
  640. DEPEND[ideatest]=../libcrypto.a libtestutil.a
  641. SOURCE[wpackettest]=wpackettest.c
  642. INCLUDE[wpackettest]=../include ../apps/include
  643. DEPEND[wpackettest]=../libcrypto.a ../libssl.a libtestutil.a
  644. SOURCE[property_test]=property_test.c
  645. INCLUDE[property_test]=.. ../include ../apps/include
  646. DEPEND[property_test]=../libcrypto.a libtestutil.a
  647. SOURCE[ctype_internal_test]=ctype_internal_test.c
  648. INCLUDE[ctype_internal_test]=.. ../include ../apps/include
  649. DEPEND[ctype_internal_test]=../libcrypto.a libtestutil.a
  650. SOURCE[sparse_array_test]=sparse_array_test.c
  651. INCLUDE[sparse_array_test]=../include ../apps/include
  652. DEPEND[sparse_array_test]=../libcrypto.a libtestutil.a
  653. IF[{- !$disabled{quic} -}]
  654. SOURCE[priority_queue_test]=priority_queue_test.c
  655. INCLUDE[priority_queue_test]=../include ../apps/include
  656. DEPEND[priority_queue_test]=../libcrypto ../libssl.a libtestutil.a
  657. SOURCE[event_queue_test]=event_queue_test.c
  658. INCLUDE[event_queue_test]=../include ../apps/include
  659. DEPEND[event_queue_test]=../libcrypto ../libssl.a libtestutil.a
  660. SOURCE[quicfaultstest]=quicfaultstest.c helpers/ssltestlib.c $QUICTESTHELPERS
  661. INCLUDE[quicfaultstest]=../include ../apps/include ..
  662. DEPEND[quicfaultstest]=../libcrypto.a ../libssl.a libtestutil.a
  663. SOURCE[quicapitest]=quicapitest.c helpers/ssltestlib.c $QUICTESTHELPERS
  664. INCLUDE[quicapitest]=../include ../apps/include
  665. DEPEND[quicapitest]=../libcrypto.a ../libssl.a libtestutil.a
  666. SOURCE[quic_newcid_test]=quic_newcid_test.c helpers/ssltestlib.c $QUICTESTHELPERS
  667. INCLUDE[quic_newcid_test]=../include ../apps/include ..
  668. DEPEND[quic_newcid_test]=../libcrypto.a ../libssl.a libtestutil.a
  669. ENDIF
  670. SOURCE[dhtest]=dhtest.c
  671. INCLUDE[dhtest]=../include ../apps/include
  672. DEPEND[dhtest]=../libcrypto.a libtestutil.a
  673. SOURCE[list_test]=list_test.c
  674. INCLUDE[list_test]=../include ../apps/include
  675. DEPEND[list_test]=libtestutil.a
  676. SOURCE[hmactest]=hmactest.c
  677. INCLUDE[hmactest]=../include ../apps/include
  678. DEPEND[hmactest]=../libcrypto.a libtestutil.a
  679. IF[{- !$disabled{cmac} -}]
  680. SOURCE[cmactest]=cmactest.c
  681. INCLUDE[cmactest]=../include ../apps/include
  682. DEPEND[cmactest]=../libcrypto.a libtestutil.a
  683. ENDIF
  684. SOURCE[siphash_internal_test]=siphash_internal_test.c
  685. INCLUDE[siphash_internal_test]=.. ../include ../apps/include
  686. DEPEND[siphash_internal_test]=../libcrypto.a libtestutil.a
  687. SOURCE[sm2_internal_test]=sm2_internal_test.c
  688. INCLUDE[sm2_internal_test]=../include ../apps/include
  689. DEPEND[sm2_internal_test]=../libcrypto.a libtestutil.a
  690. SOURCE[sm3_internal_test]=sm3_internal_test.c
  691. INCLUDE[sm3_internal_test]=../include ../apps/include
  692. DEPEND[sm3_internal_test]=../libcrypto.a libtestutil.a
  693. SOURCE[sm4_internal_test]=sm4_internal_test.c
  694. INCLUDE[sm4_internal_test]=.. ../include ../apps/include
  695. DEPEND[sm4_internal_test]=../libcrypto.a libtestutil.a
  696. SOURCE[destest]=destest.c
  697. INCLUDE[destest]=../include ../apps/include
  698. DEPEND[destest]=../libcrypto.a libtestutil.a
  699. SOURCE[rc2test]=rc2test.c
  700. INCLUDE[rc2test]=../include ../apps/include
  701. DEPEND[rc2test]=../libcrypto.a libtestutil.a
  702. SOURCE[rc4test]=rc4test.c
  703. INCLUDE[rc4test]=../include ../apps/include
  704. DEPEND[rc4test]=../libcrypto.a libtestutil.a
  705. SOURCE[rc5test]=rc5test.c
  706. INCLUDE[rc5test]=../include ../apps/include
  707. DEPEND[rc5test]=../libcrypto.a libtestutil.a
  708. SOURCE[ec_internal_test]=ec_internal_test.c $INITSRC
  709. INCLUDE[ec_internal_test]=../include ../crypto/ec ../apps/include
  710. DEPEND[ec_internal_test]=../libcrypto.a libtestutil.a
  711. IF[{- !$disabled{ecx} -}]
  712. SOURCE[curve448_internal_test]=curve448_internal_test.c
  713. INCLUDE[curve448_internal_test]=.. ../include ../apps/include ../crypto/ec/curve448
  714. DEPEND[curve448_internal_test]=../libcrypto.a libtestutil.a
  715. ENDIF
  716. SOURCE[rc4test]=rc4test.c
  717. INCLUDE[rc4test]=../include ../apps/include
  718. DEPEND[rc4test]=../libcrypto.a libtestutil.a
  719. SOURCE[rdcpu_sanitytest]=rdcpu_sanitytest.c
  720. INCLUDE[rdcpu_sanitytest]=../include ../apps/include ../crypto
  721. DEPEND[rdcpu_sanitytest]=../libcrypto.a libtestutil.a
  722. SOURCE[rsa_sp800_56b_test]=rsa_sp800_56b_test.c
  723. INCLUDE[rsa_sp800_56b_test]=.. ../include ../crypto/rsa ../apps/include
  724. DEPEND[rsa_sp800_56b_test]=../libcrypto.a libtestutil.a
  725. IF[{- !$disabled{'deprecated-3.0'} -}]
  726. PROGRAMS{noinst}=rsa_x931_test
  727. SOURCE[rsa_x931_test]=rsa_x931_test.c
  728. INCLUDE[rsa_x931_test]=.. ../include ../apps/include
  729. DEPEND[rsa_x931_test]=../libcrypto.a libtestutil.a
  730. ENDIF
  731. SOURCE[bn_internal_test]=bn_internal_test.c
  732. INCLUDE[bn_internal_test]=.. ../include ../crypto/bn ../apps/include
  733. DEPEND[bn_internal_test]=../libcrypto.a libtestutil.a
  734. SOURCE[asn1_dsa_internal_test]=asn1_dsa_internal_test.c
  735. INCLUDE[asn1_dsa_internal_test]=.. ../include ../apps/include
  736. DEPEND[asn1_dsa_internal_test]=../libcrypto.a libtestutil.a
  737. SOURCE[keymgmt_internal_test]=keymgmt_internal_test.c
  738. INCLUDE[keymgmt_internal_test]=.. ../include ../apps/include
  739. DEPEND[keymgmt_internal_test]=../libcrypto.a libtestutil.a
  740. SOURCE[ffc_internal_test]=ffc_internal_test.c
  741. INCLUDE[ffc_internal_test]=.. ../include ../apps/include
  742. DEPEND[ffc_internal_test]=../libcrypto.a libtestutil.a
  743. IF[{- !$disabled{mdc2} -}]
  744. PROGRAMS{noinst}=mdc2_internal_test
  745. ENDIF
  746. SOURCE[mdc2_internal_test]=mdc2_internal_test.c
  747. INCLUDE[mdc2_internal_test]=.. ../include ../apps/include
  748. DEPEND[mdc2_internal_test]=../libcrypto.a libtestutil.a
  749. SOURCE[ssl_old_test]=ssl_old_test.c helpers/predefined_dhparams.c
  750. INCLUDE[ssl_old_test]=.. ../include ../apps/include
  751. DEPEND[ssl_old_test]=../libcrypto.a ../libssl.a libtestutil.a
  752. PROGRAMS{noinst}=ext_internal_test
  753. SOURCE[ext_internal_test]=ext_internal_test.c
  754. INCLUDE[ext_internal_test]=.. ../include ../apps/include
  755. DEPEND[ext_internal_test]=../libcrypto.a ../libssl.a libtestutil.a
  756. PROGRAMS{noinst}=algorithmid_test
  757. SOURCE[algorithmid_test]=algorithmid_test.c
  758. INCLUDE[algorithmid_test]=../include ../apps/include
  759. DEPEND[algorithmid_test]=../libcrypto.a libtestutil.a
  760. ENDIF
  761. PROGRAMS{noinst}=asn1_time_test
  762. SOURCE[asn1_time_test]=asn1_time_test.c ../crypto/ctype.c \
  763. ../crypto/asn1/a_time.c
  764. INCLUDE[asn1_time_test]=../include ../apps/include
  765. DEPEND[asn1_time_test]=../libcrypto libtestutil.a
  766. # We disable this test completely in a shared build because it deliberately
  767. # redefines some internal libssl symbols. This doesn't work in a non-shared
  768. # build
  769. IF[{- !$disabled{shared} -}]
  770. PROGRAMS{noinst}=tls13secretstest
  771. SOURCE[tls13secretstest]=tls13secretstest.c
  772. DEFINE[tls13secretstest]=OPENSSL_NO_KTLS
  773. SOURCE[tls13secretstest]= ../ssl/tls13_enc.c ../crypto/packet.c ../crypto/quic_vlint.c
  774. INCLUDE[tls13secretstest]=.. ../include ../apps/include
  775. DEPEND[tls13secretstest]=../libcrypto ../libssl libtestutil.a
  776. ENDIF
  777. SOURCE[sslbuffertest]=sslbuffertest.c helpers/ssltestlib.c
  778. INCLUDE[sslbuffertest]=../include ../apps/include
  779. DEPEND[sslbuffertest]=../libcrypto ../libssl libtestutil.a
  780. SOURCE[sysdefaulttest]=sysdefaulttest.c
  781. INCLUDE[sysdefaulttest]=../include ../apps/include
  782. DEPEND[sysdefaulttest]=../libcrypto ../libssl libtestutil.a
  783. SOURCE[errtest]=errtest.c
  784. INCLUDE[errtest]=../include ../apps/include
  785. DEPEND[errtest]=../libcrypto libtestutil.a
  786. SOURCE[aesgcmtest]=aesgcmtest.c
  787. INCLUDE[aesgcmtest]=../include ../apps/include ..
  788. DEPEND[aesgcmtest]=../libcrypto libtestutil.a
  789. PROGRAMS{noinst}=context_internal_test
  790. SOURCE[context_internal_test]=context_internal_test.c
  791. INCLUDE[context_internal_test]=.. ../include ../apps/include
  792. DEPEND[context_internal_test]=../libcrypto.a libtestutil.a
  793. IF[{- !$disabled{zlib} || !$disabled{brotli} || !$disabled{zstd} -}]
  794. PROGRAMS{noinst}=bio_comp_test
  795. SOURCE[bio_comp_test]=bio_comp_test.c
  796. INCLUDE[bio_comp_test]=../include ../apps/include
  797. DEPEND[bio_comp_test]=../libcrypto.a libtestutil.a
  798. ENDIF
  799. PROGRAMS{noinst}=provider_internal_test
  800. DEFINE[provider_internal_test]=PROVIDER_INIT_FUNCTION_NAME=p_test_init
  801. SOURCE[provider_internal_test]=provider_internal_test.c p_test.c
  802. INCLUDE[provider_internal_test]=../include ../apps/include ..
  803. DEPEND[provider_internal_test]=../libcrypto.a libtestutil.a
  804. PROGRAMS{noinst}=provider_test
  805. DEFINE[provider_test]=PROVIDER_INIT_FUNCTION_NAME=p_test_init
  806. SOURCE[provider_test]=provider_test.c p_test.c
  807. INCLUDE[provider_test]=../include ../apps/include ..
  808. DEPEND[provider_test]=../libcrypto.a libtestutil.a
  809. IF[{- !$disabled{module} -}]
  810. MODULES{noinst}=p_test
  811. SOURCE[p_test]=p_test.c
  812. INCLUDE[p_test]=../include ..
  813. IF[{- defined $target{shared_defflag} -}]
  814. SOURCE[p_test]=p_test.ld
  815. GENERATE[p_test.ld]=../util/providers.num
  816. ENDIF
  817. ENDIF
  818. IF[{- $disabled{module} || !$target{dso_scheme} -}]
  819. DEFINE[provider_test]=NO_PROVIDER_MODULE
  820. DEFINE[provider_internal_test]=NO_PROVIDER_MODULE
  821. ENDIF
  822. DEPEND[]=provider_internal_test.cnf
  823. GENERATE[provider_internal_test.cnf]=provider_internal_test.cnf.in
  824. PROGRAMS{noinst}=provider_fallback_test
  825. SOURCE[provider_fallback_test]=provider_fallback_test.c
  826. INCLUDE[provider_fallback_test]=../include ../apps/include
  827. DEPEND[provider_fallback_test]=../libcrypto libtestutil.a
  828. PROGRAMS{noinst}=provider_pkey_test
  829. SOURCE[provider_pkey_test]=provider_pkey_test.c fake_rsaprov.c
  830. INCLUDE[provider_pkey_test]=../include ../apps/include
  831. DEPEND[provider_pkey_test]=../libcrypto libtestutil.a
  832. PROGRAMS{noinst}=provider_default_search_path_test
  833. SOURCE[provider_default_search_path_test]=provider_default_search_path_test.c
  834. INCLUDE[provider_default_search_path_test]=../include ../apps/include
  835. DEPEND[provider_default_search_path_test]=../libcrypto libtestutil.a
  836. PROGRAMS{noinst}=params_test
  837. SOURCE[params_test]=params_test.c
  838. INCLUDE[params_test]=.. ../include ../apps/include
  839. DEPEND[params_test]=../libcrypto.a libtestutil.a
  840. PROGRAMS{noinst}=hexstr_test
  841. SOURCE[hexstr_test]=hexstr_test.c
  842. INCLUDE[hexstr_test]=.. ../include ../apps/include
  843. DEPEND[hexstr_test]=../libcrypto.a libtestutil.a
  844. PROGRAMS{noinst}=trace_api_test
  845. SOURCE[trace_api_test]=trace_api_test.c
  846. INCLUDE[trace_api_test]=.. ../include ../apps/include
  847. DEPEND[trace_api_test]=../libcrypto.a libtestutil.a
  848. PROGRAMS{noinst}=endecode_test
  849. SOURCE[endecode_test]=endecode_test.c helpers/predefined_dhparams.c
  850. INCLUDE[endecode_test]=.. ../include ../apps/include
  851. DEPEND[endecode_test]=../libcrypto.a libtestutil.a
  852. IF[{- !$disabled{module} && !$disabled{legacy} -}]
  853. DEFINE[endecode_test]=STATIC_LEGACY
  854. SOURCE[endecode_test]=../providers/legacyprov.c
  855. INCLUDE[endecode_test]=../providers/common/include \
  856. ../providers/implementations/include
  857. DEPEND[endecode_test]=../providers/liblegacy.a \
  858. ../providers/libcommon.a
  859. ENDIF
  860. IF[{- !$disabled{'deprecated-3.0'} -}]
  861. PROGRAMS{noinst}=endecoder_legacy_test
  862. SOURCE[endecoder_legacy_test]=endecoder_legacy_test.c
  863. INCLUDE[endecoder_legacy_test]=.. ../include ../apps/include
  864. DEPEND[endecoder_legacy_test]=../libcrypto.a libtestutil.a
  865. ENDIF
  866. PROGRAMS{noinst}=decoder_propq_test
  867. SOURCE[decoder_propq_test]=decoder_propq_test.c
  868. INCLUDE[decoder_propq_test]=.. ../include ../apps/include
  869. DEPEND[decoder_propq_test]=../libcrypto.a libtestutil.a
  870. PROGRAMS{noinst}=namemap_internal_test
  871. SOURCE[namemap_internal_test]=namemap_internal_test.c
  872. INCLUDE[namemap_internal_test]=.. ../include ../apps/include
  873. DEPEND[namemap_internal_test]=../libcrypto.a libtestutil.a
  874. PROGRAMS{noinst}=bio_prefix_text
  875. SOURCE[bio_prefix_text]=bio_prefix_text.c
  876. INCLUDE[bio_prefix_text]=.. ../include ../apps/include
  877. DEPEND[bio_prefix_text]=../libcrypto libtestutil.a
  878. IF[{- !$disabled{'deprecated-3.0'} -}]
  879. PROGRAMS{noinst}=pem_read_depr_test
  880. SOURCE[pem_read_depr_test]=pem_read_depr_test.c
  881. INCLUDE[pem_read_depr_test]=../include ../apps/include
  882. DEPEND[pem_read_depr_test]=../libcrypto libtestutil.a
  883. ENDIF
  884. ENDIF
  885. SOURCE[ssl_ctx_test]=ssl_ctx_test.c
  886. INCLUDE[ssl_ctx_test]=../include ../apps/include
  887. DEPEND[ssl_ctx_test]=../libcrypto ../libssl libtestutil.a
  888. SOURCE[build_wincrypt_test]=build_wincrypt_test.c
  889. INCLUDE[build_wincrypt_test]=../include
  890. DEPEND[build_wincrypt_test]=../libssl ../libcrypto
  891. IF[{- !$disabled{shared} -}]
  892. PROGRAMS{noinst}=timing_load_creds
  893. SOURCE[timing_load_creds]=timing_load_creds.c
  894. INCLUDE[timing_load_creds]=../include
  895. DEPEND[timing_load_creds]=../libcrypto.a
  896. ENDIF
  897. IF[{- !$disabled{'quic'} -}]
  898. PROGRAMS{noinst}=quic_wire_test quic_ackm_test quic_record_test
  899. PROGRAMS{noinst}=quic_fc_test quic_stream_test quic_cfq_test quic_txpim_test
  900. PROGRAMS{noinst}=quic_srtm_test
  901. PROGRAMS{noinst}=quic_fifd_test quic_txp_test quic_tserver_test
  902. PROGRAMS{noinst}=quic_client_test quic_cc_test quic_multistream_test
  903. ENDIF
  904. SOURCE[quic_ackm_test]=quic_ackm_test.c cc_dummy.c
  905. INCLUDE[quic_ackm_test]=../include ../apps/include
  906. DEPEND[quic_ackm_test]=../libcrypto.a ../libssl.a libtestutil.a
  907. SOURCE[quic_cc_test]=quic_cc_test.c
  908. INCLUDE[quic_cc_test]=../include ../apps/include
  909. DEPEND[quic_cc_test]=../libcrypto.a ../libssl.a libtestutil.a
  910. SOURCE[cert_comp_test]=cert_comp_test.c helpers/ssltestlib.c
  911. INCLUDE[cert_comp_test]=../include ../apps/include ..
  912. DEPEND[cert_comp_test]=../libcrypto ../libssl libtestutil.a
  913. {-
  914. use File::Spec::Functions;
  915. use File::Basename;
  916. use OpenSSL::Glob;
  917. my @nogo_headers = ( "asn1_mac.h",
  918. "opensslconf.h",
  919. "__decc_include_prologue.h",
  920. "__decc_include_epilogue.h" );
  921. my @nogo_headers_re = ( qr/.*err\.h/ );
  922. my @headerfiles = glob catfile($sourcedir,
  923. updir(), "include", "openssl", "*.h");
  924. foreach my $headerfile (@headerfiles) {
  925. my $name = basename($headerfile, ".h");
  926. next if $disabled{$name};
  927. next if grep { $_ eq lc("$name.h") } @nogo_headers;
  928. next if grep { lc("$name.h") =~ m/$_/i } @nogo_headers_re;
  929. $OUT .= <<"_____";
  930. PROGRAMS{noinst}=buildtest_c_$name
  931. SOURCE[buildtest_c_$name]=buildtest_$name.c
  932. GENERATE[buildtest_$name.c]=generate_buildtest.pl $name
  933. INCLUDE[buildtest_c_$name]=../include
  934. DEPEND[buildtest_c_$name]=../libssl ../libcrypto
  935. _____
  936. $OUT .= <<"_____" if $config{CXX} && !$disabled{"buildtest-c++"};
  937. PROGRAMS{noinst}=buildtest_cc_$name
  938. SOURCE[buildtest_cc_$name]=buildtest_$name.cc
  939. GENERATE[buildtest_$name.cc]=generate_buildtest.pl $name
  940. INCLUDE[buildtest_cc_$name]=../include
  941. DEPEND[buildtest_cc_$name]=../libssl ../libcrypto
  942. _____
  943. }
  944. -}