build.info 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897
  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. $LIBAPPSSRC=../apps/lib/opt.c $AUXLIBAPPSSRC
  16. IF[{- !$disabled{tests} -}]
  17. LIBS{noinst,has_main}=libtestutil.a
  18. SOURCE[libtestutil.a]=testutil/basic_output.c testutil/output.c \
  19. testutil/driver.c testutil/tests.c testutil/cb.c testutil/stanza.c \
  20. testutil/format_output.c testutil/load.c testutil/fake_random.c \
  21. testutil/test_cleanup.c testutil/main.c testutil/testutil_init.c \
  22. testutil/options.c testutil/test_options.c testutil/provider.c \
  23. testutil/apps_mem.c testutil/random.c $LIBAPPSSRC
  24. INCLUDE[libtestutil.a]=../include ../apps/include ..
  25. DEPEND[libtestutil.a]=../libcrypto
  26. PROGRAMS{noinst}= \
  27. confdump \
  28. versions \
  29. aborttest test_test pkcs12_format_test \
  30. sanitytest rsa_complex exdatatest bntest \
  31. ecstresstest gmdifftest pbelutest \
  32. destest mdc2test \
  33. exptest pbetest \
  34. evp_pkey_provided_test evp_test evp_extra_test evp_extra_test2 \
  35. evp_fetch_prov_test evp_libctx_test ossl_store_test \
  36. v3nametest v3ext \
  37. evp_pkey_provided_test evp_test evp_extra_test evp_extra_test2 \
  38. evp_fetch_prov_test v3nametest v3ext \
  39. crltest danetest bad_dtls_test lhash_test sparse_array_test \
  40. conf_include_test params_api_test params_conversion_test \
  41. constant_time_test verify_extra_test clienthellotest \
  42. packettest asynctest secmemtest srptest memleaktest stack_test \
  43. dtlsv1listentest ct_test threadstest afalgtest d2i_test \
  44. ssl_test_ctx_test ssl_test x509aux cipherlist_test asynciotest \
  45. bio_callback_test bio_memleak_test bio_core_test param_build_test \
  46. bioprinttest sslapitest dtlstest sslcorrupttest \
  47. bio_enc_test pkey_meth_test pkey_meth_kdf_test evp_kdf_test uitest \
  48. cipherbytes_test threadstest_fips \
  49. asn1_encode_test asn1_decode_test asn1_string_table_test \
  50. x509_time_test x509_dup_cert_test x509_check_cert_pkey_test \
  51. recordlentest drbgtest rand_status_test sslbuffertest \
  52. time_offset_test pemtest ssl_cert_table_internal_test ciphername_test \
  53. http_test servername_test ocspapitest fatalerrtest tls13ccstest \
  54. sysdefaulttest errtest ssl_ctx_test gosttest \
  55. context_internal_test aesgcmtest params_test evp_pkey_dparams_test \
  56. keymgmt_internal_test hexstr_test provider_status_test defltfips_test \
  57. bio_readbuffer_test user_property_test pkcs7_test
  58. IF[{- !$disabled{'deprecated-3.0'} -}]
  59. PROGRAMS{noinst}=enginetest
  60. ENDIF
  61. SOURCE[confdump]=confdump.c
  62. INCLUDE[confdump]=../include ../apps/include
  63. DEPEND[confdump]=../libcrypto
  64. SOURCE[versions]=versions.c
  65. INCLUDE[versions]=../include ../apps/include
  66. DEPEND[versions]=../libcrypto
  67. SOURCE[aborttest]=aborttest.c
  68. INCLUDE[aborttest]=../include ../apps/include
  69. DEPEND[aborttest]=../libcrypto
  70. SOURCE[sanitytest]=sanitytest.c
  71. INCLUDE[sanitytest]=../include ../apps/include
  72. DEPEND[sanitytest]=../libcrypto libtestutil.a
  73. SOURCE[rsa_complex]=rsa_complex.c
  74. INCLUDE[rsa_complex]=../include ../apps/include
  75. SOURCE[test_test]=test_test.c
  76. INCLUDE[test_test]=../include ../apps/include
  77. DEPEND[test_test]=../libcrypto libtestutil.a
  78. SOURCE[exdatatest]=exdatatest.c
  79. INCLUDE[exdatatest]=../include ../apps/include
  80. DEPEND[exdatatest]=../libcrypto libtestutil.a
  81. SOURCE[bntest]=bntest.c
  82. INCLUDE[bntest]=../include ../apps/include
  83. DEPEND[bntest]=../libcrypto libtestutil.a
  84. SOURCE[ectest]=ectest.c
  85. INCLUDE[ectest]=../include ../apps/include
  86. DEPEND[ectest]=../libcrypto.a libtestutil.a
  87. SOURCE[ecstresstest]=ecstresstest.c
  88. INCLUDE[ecstresstest]=../include ../apps/include
  89. DEPEND[ecstresstest]=../libcrypto libtestutil.a
  90. SOURCE[gmdifftest]=gmdifftest.c
  91. INCLUDE[gmdifftest]=../include ../apps/include
  92. DEPEND[gmdifftest]=../libcrypto libtestutil.a
  93. SOURCE[pbelutest]=pbelutest.c
  94. INCLUDE[pbelutest]=../include ../apps/include
  95. DEPEND[pbelutest]=../libcrypto libtestutil.a
  96. SOURCE[mdc2test]=mdc2test.c
  97. INCLUDE[mdc2test]=../include ../apps/include
  98. DEPEND[mdc2test]=../libcrypto libtestutil.a
  99. SOURCE[enginetest]=enginetest.c
  100. INCLUDE[enginetest]=../include ../apps/include
  101. DEPEND[enginetest]=../libcrypto libtestutil.a
  102. SOURCE[exptest]=exptest.c
  103. INCLUDE[exptest]=../include ../apps/include
  104. DEPEND[exptest]=../libcrypto libtestutil.a
  105. SOURCE[pbetest]=pbetest.c
  106. INCLUDE[pbetest]=../include ../apps/include
  107. DEPEND[pbetest]=../libcrypto libtestutil.a
  108. SOURCE[fatalerrtest]=fatalerrtest.c helpers/ssltestlib.c
  109. INCLUDE[fatalerrtest]=../include ../apps/include
  110. DEPEND[fatalerrtest]=../libcrypto ../libssl libtestutil.a
  111. SOURCE[tls13ccstest]=tls13ccstest.c helpers/ssltestlib.c
  112. INCLUDE[tls13ccstest]=../include ../apps/include
  113. DEPEND[tls13ccstest]=../libcrypto ../libssl libtestutil.a
  114. SOURCE[user_property_test]=user_property_test.c
  115. INCLUDE[user_property_test]=../include ../apps/include
  116. DEPEND[user_property_test]=../libcrypto libtestutil.a
  117. SOURCE[evp_test]=evp_test.c
  118. INCLUDE[evp_test]=../include ../apps/include
  119. DEPEND[evp_test]=../libcrypto libtestutil.a
  120. IF[{- $disabled{legacy} || !$target{dso_scheme} -}]
  121. DEFINE[evp_test]=NO_LEGACY_MODULE
  122. ENDIF
  123. SOURCE[evp_extra_test]=evp_extra_test.c
  124. INCLUDE[evp_extra_test]=../include ../apps/include
  125. DEPEND[evp_extra_test]=../libcrypto.a libtestutil.a
  126. SOURCE[evp_extra_test2]=evp_extra_test2.c
  127. INCLUDE[evp_extra_test2]=../include ../apps/include
  128. DEPEND[evp_extra_test2]=../libcrypto libtestutil.a
  129. SOURCE[evp_libctx_test]=evp_libctx_test.c
  130. INCLUDE[evp_libctx_test]=../include ../apps/include
  131. DEPEND[evp_libctx_test]=../libcrypto.a libtestutil.a
  132. SOURCE[evp_fetch_prov_test]=evp_fetch_prov_test.c
  133. INCLUDE[evp_fetch_prov_test]=../include ../apps/include
  134. DEPEND[evp_fetch_prov_test]=../libcrypto libtestutil.a
  135. IF[{- $disabled{fips} || !$target{dso_scheme} -}]
  136. DEFINE[evp_extra_test]=NO_FIPS_MODULE
  137. ENDIF
  138. SOURCE[evp_pkey_provided_test]=evp_pkey_provided_test.c
  139. INCLUDE[evp_pkey_provided_test]=../include ../apps/include
  140. DEPEND[evp_pkey_provided_test]=../libcrypto.a libtestutil.a
  141. IF[{- !$disabled{'acvp-tests'} -}]
  142. PROGRAMS{noinst}=acvp_test
  143. SOURCE[acvp_test]=acvp_test.c
  144. INCLUDE[acvp_test]=../include ../apps/include
  145. DEPEND[acvp_test]=../libcrypto.a libtestutil.a
  146. ENDIF
  147. SOURCE[ossl_store_test]=ossl_store_test.c
  148. INCLUDE[ossl_store_test]=../include ../apps/include
  149. DEPEND[ossl_store_test]=../libcrypto.a libtestutil.a
  150. SOURCE[provider_status_test]=provider_status_test.c
  151. INCLUDE[provider_status_test]=../include ../apps/include
  152. DEPEND[provider_status_test]=../libcrypto.a libtestutil.a
  153. IF[{- !$disabled{'deprecated-3.0'} -}]
  154. PROGRAMS{noinst}=igetest bftest casttest
  155. SOURCE[igetest]=igetest.c
  156. INCLUDE[igetest]=../include ../apps/include
  157. DEPEND[igetest]=../libcrypto libtestutil.a
  158. SOURCE[bftest]=bftest.c
  159. INCLUDE[bftest]=../include ../apps/include
  160. DEPEND[bftest]=../libcrypto libtestutil.a
  161. SOURCE[casttest]=casttest.c
  162. INCLUDE[casttest]=../include ../apps/include
  163. DEPEND[casttest]=../libcrypto libtestutil.a
  164. ENDIF
  165. SOURCE[v3nametest]=v3nametest.c
  166. INCLUDE[v3nametest]=../include ../apps/include
  167. DEPEND[v3nametest]=../libcrypto libtestutil.a
  168. SOURCE[crltest]=crltest.c
  169. INCLUDE[crltest]=../include ../apps/include
  170. DEPEND[crltest]=../libcrypto libtestutil.a
  171. SOURCE[v3ext]=v3ext.c
  172. INCLUDE[v3ext]=../include ../apps/include
  173. DEPEND[v3ext]=../libcrypto libtestutil.a
  174. SOURCE[danetest]=danetest.c
  175. INCLUDE[danetest]=../include ../apps/include
  176. DEPEND[danetest]=../libcrypto ../libssl libtestutil.a
  177. SOURCE[constant_time_test]=constant_time_test.c
  178. INCLUDE[constant_time_test]=../include ../apps/include
  179. DEPEND[constant_time_test]=../libcrypto libtestutil.a
  180. SOURCE[verify_extra_test]=verify_extra_test.c
  181. INCLUDE[verify_extra_test]=../include ../apps/include
  182. DEPEND[verify_extra_test]=../libcrypto libtestutil.a
  183. SOURCE[clienthellotest]=clienthellotest.c
  184. INCLUDE[clienthellotest]=../include ../apps/include
  185. DEPEND[clienthellotest]=../libcrypto ../libssl libtestutil.a
  186. SOURCE[bad_dtls_test]=bad_dtls_test.c
  187. INCLUDE[bad_dtls_test]=../include ../apps/include
  188. DEPEND[bad_dtls_test]=../libcrypto ../libssl libtestutil.a
  189. SOURCE[packettest]=packettest.c
  190. INCLUDE[packettest]=../include ../apps/include
  191. DEPEND[packettest]=../libcrypto libtestutil.a
  192. SOURCE[asynctest]=asynctest.c
  193. INCLUDE[asynctest]=../include ../apps/include
  194. DEPEND[asynctest]=../libcrypto
  195. SOURCE[secmemtest]=secmemtest.c
  196. INCLUDE[secmemtest]=../include ../apps/include
  197. DEPEND[secmemtest]=../libcrypto libtestutil.a
  198. SOURCE[srptest]=srptest.c
  199. INCLUDE[srptest]=../include ../apps/include
  200. DEPEND[srptest]=../libcrypto libtestutil.a
  201. SOURCE[memleaktest]=memleaktest.c
  202. INCLUDE[memleaktest]=../include ../apps/include
  203. DEPEND[memleaktest]=../libcrypto libtestutil.a
  204. SOURCE[pkcs12_format_test]=pkcs12_format_test.c helpers/pkcs12.c
  205. INCLUDE[pkcs12_format_test]=../include ../apps/include
  206. DEPEND[pkcs12_format_test]=../libcrypto libtestutil.a
  207. SOURCE[pkcs7_test]=pkcs7_test.c
  208. INCLUDE[pkcs7_test]=../include ../apps/include
  209. DEPEND[pkcs7_test]=../libcrypto libtestutil.a
  210. SOURCE[stack_test]=stack_test.c
  211. INCLUDE[stack_test]=../include ../apps/include
  212. DEPEND[stack_test]=../libcrypto libtestutil.a
  213. SOURCE[lhash_test]=lhash_test.c
  214. INCLUDE[lhash_test]=../include ../apps/include
  215. DEPEND[lhash_test]=../libcrypto libtestutil.a
  216. SOURCE[dtlsv1listentest]=dtlsv1listentest.c
  217. INCLUDE[dtlsv1listentest]=../include ../apps/include
  218. DEPEND[dtlsv1listentest]=../libssl libtestutil.a
  219. SOURCE[ct_test]=ct_test.c
  220. INCLUDE[ct_test]=../include ../apps/include
  221. DEPEND[ct_test]=../libcrypto libtestutil.a
  222. SOURCE[threadstest]=threadstest.c
  223. INCLUDE[threadstest]=../include ../apps/include
  224. DEPEND[threadstest]=../libcrypto libtestutil.a
  225. SOURCE[threadstest_fips]=threadstest_fips.c
  226. INCLUDE[threadstest_fips]=../include ../apps/include
  227. DEPEND[threadstest_fips]=../libcrypto libtestutil.a
  228. SOURCE[afalgtest]=afalgtest.c
  229. INCLUDE[afalgtest]=../include ../apps/include
  230. DEPEND[afalgtest]=../libcrypto libtestutil.a
  231. SOURCE[d2i_test]=d2i_test.c
  232. INCLUDE[d2i_test]=../include ../apps/include
  233. DEPEND[d2i_test]=../libcrypto libtestutil.a
  234. SOURCE[ssl_test_ctx_test]=ssl_test_ctx_test.c helpers/ssl_test_ctx.c
  235. INCLUDE[ssl_test_ctx_test]=../include ../apps/include
  236. DEPEND[ssl_test_ctx_test]=../libcrypto ../libssl libtestutil.a
  237. SOURCE[ssl_test]=ssl_test.c helpers/ssl_test_ctx.c helpers/handshake.c
  238. IF[{- !$disabled{'srp'} -}]
  239. SOURCE[ssl_test]=helpers/handshake_srp.c
  240. ENDIF
  241. INCLUDE[ssl_test]=../include ../apps/include
  242. DEPEND[ssl_test]=../libcrypto ../libssl libtestutil.a
  243. SOURCE[cipherlist_test]=cipherlist_test.c
  244. INCLUDE[cipherlist_test]=../include ../apps/include
  245. DEPEND[cipherlist_test]=../libcrypto ../libssl libtestutil.a
  246. INCLUDE[helpers/ssl_test_ctx.o]=../include
  247. INCLUDE[helpers/handshake.o]=.. ../include
  248. INCLUDE[helpers/pkcs12.o]=.. ../include
  249. INCLUDE[helpers/ssltestlib.o]=.. ../include
  250. INCLUDE[helpers/cmp_testlib.o]=.. ../include ../apps/include
  251. SOURCE[x509aux]=x509aux.c
  252. INCLUDE[x509aux]=../include ../apps/include
  253. DEPEND[x509aux]=../libcrypto libtestutil.a
  254. SOURCE[asynciotest]=asynciotest.c helpers/ssltestlib.c
  255. INCLUDE[asynciotest]=../include ../apps/include
  256. DEPEND[asynciotest]=../libcrypto ../libssl libtestutil.a
  257. SOURCE[bio_callback_test]=bio_callback_test.c
  258. INCLUDE[bio_callback_test]=../include ../apps/include
  259. DEPEND[bio_callback_test]=../libcrypto libtestutil.a
  260. SOURCE[bio_readbuffer_test]=bio_readbuffer_test.c
  261. INCLUDE[bio_readbuffer_test]=../include ../apps/include
  262. DEPEND[bio_readbuffer_test]=../libcrypto libtestutil.a
  263. SOURCE[bio_memleak_test]=bio_memleak_test.c
  264. INCLUDE[bio_memleak_test]=../include ../apps/include
  265. DEPEND[bio_memleak_test]=../libcrypto libtestutil.a
  266. SOURCE[bioprinttest]=bioprinttest.c
  267. INCLUDE[bioprinttest]=../include ../apps/include
  268. DEPEND[bioprinttest]=../libcrypto libtestutil.a
  269. SOURCE[bio_core_test]=bio_core_test.c
  270. INCLUDE[bio_core_test]=../include ../apps/include
  271. DEPEND[bio_core_test]=../libcrypto libtestutil.a
  272. SOURCE[params_api_test]=params_api_test.c
  273. INCLUDE[params_api_test]=../include ../apps/include
  274. DEPEND[params_api_test]=../libcrypto libtestutil.a
  275. SOURCE[params_conversion_test]=params_conversion_test.c
  276. INCLUDE[params_conversion_test]=../include ../apps/include
  277. DEPEND[params_conversion_test]=../libcrypto libtestutil.a
  278. SOURCE[param_build_test]=param_build_test.c
  279. INCLUDE[param_build_test]=../include ../apps/include
  280. DEPEND[param_build_test]=../libcrypto.a libtestutil.a
  281. SOURCE[sslapitest]=sslapitest.c helpers/ssltestlib.c filterprov.c tls-provider.c
  282. INCLUDE[sslapitest]=../include ../apps/include ..
  283. DEPEND[sslapitest]=../libcrypto ../libssl libtestutil.a
  284. SOURCE[defltfips_test]=defltfips_test.c
  285. INCLUDE[defltfips_test]=../include ../apps/include
  286. DEPEND[defltfips_test]=../libcrypto libtestutil.a
  287. SOURCE[ocspapitest]=ocspapitest.c
  288. INCLUDE[ocspapitest]=../include ../apps/include
  289. DEPEND[ocspapitest]=../libcrypto libtestutil.a
  290. IF[{- !$disabled{sock} -}]
  291. PROGRAMS{noinst}=http_test
  292. ENDIF
  293. SOURCE[http_test]=http_test.c
  294. INCLUDE[http_test]=../include ../apps/include
  295. DEPEND[http_test]=../libcrypto libtestutil.a
  296. SOURCE[dtlstest]=dtlstest.c helpers/ssltestlib.c
  297. INCLUDE[dtlstest]=../include ../apps/include
  298. DEPEND[dtlstest]=../libcrypto ../libssl libtestutil.a
  299. SOURCE[sslcorrupttest]=sslcorrupttest.c helpers/ssltestlib.c
  300. INCLUDE[sslcorrupttest]=../include ../apps/include
  301. DEPEND[sslcorrupttest]=../libcrypto ../libssl libtestutil.a
  302. SOURCE[bio_enc_test]=bio_enc_test.c
  303. INCLUDE[bio_enc_test]=../include ../apps/include
  304. DEPEND[bio_enc_test]=../libcrypto libtestutil.a
  305. SOURCE[pkey_meth_test]=pkey_meth_test.c
  306. INCLUDE[pkey_meth_test]=../include ../apps/include
  307. DEPEND[pkey_meth_test]=../libcrypto libtestutil.a
  308. SOURCE[pkey_meth_kdf_test]=pkey_meth_kdf_test.c
  309. INCLUDE[pkey_meth_kdf_test]=../include ../apps/include
  310. DEPEND[pkey_meth_kdf_test]=../libcrypto libtestutil.a
  311. SOURCE[evp_kdf_test]=evp_kdf_test.c
  312. INCLUDE[evp_kdf_test]=../include ../apps/include
  313. DEPEND[evp_kdf_test]=../libcrypto libtestutil.a
  314. SOURCE[evp_pkey_dparams_test]=evp_pkey_dparams_test.c
  315. INCLUDE[evp_pkey_dparams_test]=../include ../apps/include
  316. DEPEND[evp_pkey_dparams_test]=../libcrypto libtestutil.a
  317. SOURCE[x509_time_test]=x509_time_test.c
  318. INCLUDE[x509_time_test]=../include ../apps/include
  319. DEPEND[x509_time_test]=../libcrypto libtestutil.a
  320. SOURCE[recordlentest]=recordlentest.c helpers/ssltestlib.c
  321. INCLUDE[recordlentest]=../include ../apps/include
  322. DEPEND[recordlentest]=../libcrypto ../libssl libtestutil.a
  323. SOURCE[drbgtest]=drbgtest.c
  324. INCLUDE[drbgtest]=../include ../apps/include ../providers/common/include
  325. DEPEND[drbgtest]=../libcrypto.a libtestutil.a
  326. SOURCE[rand_status_test]=rand_status_test.c
  327. INCLUDE[rand_status_test]=../include ../apps/include
  328. DEPEND[rand_status_test]=../libcrypto libtestutil.a
  329. SOURCE[x509_dup_cert_test]=x509_dup_cert_test.c
  330. INCLUDE[x509_dup_cert_test]=../include ../apps/include
  331. DEPEND[x509_dup_cert_test]=../libcrypto libtestutil.a
  332. SOURCE[x509_check_cert_pkey_test]=x509_check_cert_pkey_test.c
  333. INCLUDE[x509_check_cert_pkey_test]=../include ../apps/include
  334. DEPEND[x509_check_cert_pkey_test]=../libcrypto libtestutil.a
  335. SOURCE[pemtest]=pemtest.c
  336. INCLUDE[pemtest]=../include ../apps/include
  337. DEPEND[pemtest]=../libcrypto libtestutil.a
  338. SOURCE[ssl_cert_table_internal_test]=ssl_cert_table_internal_test.c
  339. INCLUDE[ssl_cert_table_internal_test]=.. ../include ../apps/include
  340. DEPEND[ssl_cert_table_internal_test]=../libcrypto libtestutil.a
  341. SOURCE[ciphername_test]=ciphername_test.c
  342. INCLUDE[ciphername_test]=../include ../apps/include
  343. DEPEND[ciphername_test]=../libcrypto ../libssl libtestutil.a
  344. SOURCE[http_test]=http_test.c
  345. INCLUDE[http_test]=../include ../apps/include
  346. DEPEND[http_test]=../libcrypto libtestutil.a
  347. SOURCE[servername_test]=servername_test.c helpers/ssltestlib.c
  348. INCLUDE[servername_test]=../include ../apps/include
  349. DEPEND[servername_test]=../libcrypto ../libssl libtestutil.a
  350. IF[{- !$disabled{cms} -}]
  351. PROGRAMS{noinst}=cmsapitest
  352. SOURCE[cmsapitest]=cmsapitest.c
  353. INCLUDE[cmsapitest]=../include ../apps/include
  354. DEPEND[cmsapitest]=../libcrypto libtestutil.a
  355. ENDIF
  356. IF[{- !$disabled{psk} -}]
  357. PROGRAMS{noinst}=dtls_mtu_test
  358. SOURCE[dtls_mtu_test]=dtls_mtu_test.c helpers/ssltestlib.c
  359. INCLUDE[dtls_mtu_test]=.. ../include ../apps/include
  360. DEPEND[dtls_mtu_test]=../libcrypto ../libssl libtestutil.a
  361. ENDIF
  362. IF[{- !$disabled{shared} -}]
  363. PROGRAMS{noinst}=shlibloadtest
  364. SOURCE[shlibloadtest]=shlibloadtest.c simpledynamic.c
  365. INCLUDE[shlibloadtest]=../include ../apps/include
  366. PROGRAMS{noinst}=moduleloadtest
  367. SOURCE[moduleloadtest]=moduleloadtest.c simpledynamic.c
  368. INCLUDE[moduleloadtest]=../include ../apps/include
  369. ENDIF
  370. # cipher_overhead_test uses internal symbols, so it must be linked with
  371. # the static libraries
  372. PROGRAMS{noinst}=cipher_overhead_test
  373. SOURCE[cipher_overhead_test]=cipher_overhead_test.c
  374. INCLUDE[cipher_overhead_test]=.. ../include ../apps/include
  375. DEPEND[cipher_overhead_test]=../libcrypto.a ../libssl.a libtestutil.a
  376. SOURCE[uitest]=uitest.c ../apps/lib/apps_ui.c
  377. INCLUDE[uitest]=.. ../include ../apps/include
  378. DEPEND[uitest]=../libcrypto ../libssl libtestutil.a
  379. SOURCE[cipherbytes_test]=cipherbytes_test.c
  380. INCLUDE[cipherbytes_test]=../include ../apps/include
  381. DEPEND[cipherbytes_test]=../libcrypto ../libssl libtestutil.a
  382. SOURCE[asn1_encode_test]=asn1_encode_test.c
  383. INCLUDE[asn1_encode_test]=../include ../apps/include
  384. DEPEND[asn1_encode_test]=../libcrypto libtestutil.a
  385. SOURCE[asn1_decode_test]=asn1_decode_test.c
  386. INCLUDE[asn1_decode_test]=../include ../apps/include
  387. DEPEND[asn1_decode_test]=../libcrypto libtestutil.a
  388. SOURCE[asn1_string_table_test]=asn1_string_table_test.c
  389. INCLUDE[asn1_string_table_test]=../include ../apps/include
  390. DEPEND[asn1_string_table_test]=../libcrypto libtestutil.a
  391. SOURCE[time_offset_test]=time_offset_test.c
  392. INCLUDE[time_offset_test]=../include ../apps/include
  393. DEPEND[time_offset_test]=../libcrypto libtestutil.a
  394. SOURCE[conf_include_test]=conf_include_test.c
  395. INCLUDE[conf_include_test]=../include ../apps/include
  396. DEPEND[conf_include_test]=../libcrypto libtestutil.a
  397. IF[{- !$disabled{cmp} -}]
  398. PROGRAMS{noinst}=cmp_asn_test cmp_ctx_test cmp_status_test cmp_hdr_test \
  399. cmp_protect_test cmp_msg_test cmp_vfy_test \
  400. cmp_server_test cmp_client_test
  401. ENDIF
  402. SOURCE[cmp_asn_test]=cmp_asn_test.c helpers/cmp_testlib.c
  403. INCLUDE[cmp_asn_test]=.. ../include ../apps/include
  404. DEPEND[cmp_asn_test]=../libcrypto.a libtestutil.a
  405. SOURCE[cmp_ctx_test]=cmp_ctx_test.c helpers/cmp_testlib.c
  406. INCLUDE[cmp_ctx_test]=.. ../include ../apps/include
  407. DEPEND[cmp_ctx_test]=../libcrypto.a libtestutil.a
  408. SOURCE[cmp_hdr_test]=cmp_hdr_test.c helpers/cmp_testlib.c
  409. INCLUDE[cmp_hdr_test]=.. ../include ../apps/include
  410. DEPEND[cmp_hdr_test]=../libcrypto.a libtestutil.a
  411. SOURCE[cmp_status_test]=cmp_status_test.c helpers/cmp_testlib.c
  412. INCLUDE[cmp_status_test]=.. ../include ../apps/include
  413. DEPEND[cmp_status_test]=../libcrypto.a libtestutil.a
  414. SOURCE[cmp_protect_test]=cmp_protect_test.c helpers/cmp_testlib.c
  415. INCLUDE[cmp_protect_test]=.. ../include ../apps/include
  416. DEPEND[cmp_protect_test]=../libcrypto.a libtestutil.a
  417. SOURCE[cmp_msg_test]=cmp_msg_test.c helpers/cmp_testlib.c
  418. INCLUDE[cmp_msg_test]=.. ../include ../apps/include
  419. DEPEND[cmp_msg_test]=../libcrypto.a libtestutil.a
  420. SOURCE[cmp_vfy_test]=cmp_vfy_test.c helpers/cmp_testlib.c
  421. INCLUDE[cmp_vfy_test]=.. ../include ../apps/include
  422. DEPEND[cmp_vfy_test]=../libcrypto.a libtestutil.a
  423. SOURCE[cmp_server_test]=cmp_server_test.c helpers/cmp_testlib.c
  424. INCLUDE[cmp_server_test]=.. ../include ../apps/include
  425. DEPEND[cmp_server_test]=../libcrypto.a libtestutil.a
  426. SOURCE[cmp_client_test]=cmp_client_test.c helpers/cmp_testlib.c ../apps/lib/cmp_mock_srv.c
  427. INCLUDE[cmp_client_test]=.. ../include ../apps/include
  428. DEPEND[cmp_client_test]=../libcrypto.a libtestutil.a
  429. # Internal test programs. These are essentially a collection of internal
  430. # test routines. Some of them need to reach internal symbols that aren't
  431. # available through the shared library (at least on Linux, Solaris, Windows
  432. # and VMS, where the exported symbols are those listed in util/*.num), these
  433. # programs are forcibly linked with the static libraries, where all symbols
  434. # are always available.
  435. IF[1]
  436. PROGRAMS{noinst}=asn1_internal_test modes_internal_test x509_internal_test \
  437. tls13encryptiontest wpackettest ctype_internal_test \
  438. rdrand_sanitytest property_test ideatest rsa_mp_test \
  439. rsa_sp800_56b_test bn_internal_test ecdsatest rsa_test \
  440. rc2test rc4test rc5test hmactest ffc_internal_test \
  441. asn1_dsa_internal_test dsatest dsa_no_digest_size_test \
  442. dhtest ssl_old_test
  443. IF[{- !$disabled{poly1305} -}]
  444. PROGRAMS{noinst}=poly1305_internal_test
  445. ENDIF
  446. IF[{- !$disabled{chacha} -}]
  447. PROGRAMS{noinst}=chacha_internal_test
  448. ENDIF
  449. IF[{- !$disabled{siphash} -}]
  450. PROGRAMS{noinst}=siphash_internal_test
  451. ENDIF
  452. IF[{- !$disabled{sm2} -}]
  453. PROGRAMS{noinst}=sm2_internal_test
  454. ENDIF
  455. IF[{- !$disabled{sm4} -}]
  456. PROGRAMS{noinst}=sm4_internal_test
  457. ENDIF
  458. IF[{- !$disabled{ec} -}]
  459. PROGRAMS{noinst}=ectest ec_internal_test curve448_internal_test
  460. ENDIF
  461. IF[{- !$disabled{cmac} -}]
  462. PROGRAMS{noinst}=cmactest
  463. ENDIF
  464. SOURCE[poly1305_internal_test]=poly1305_internal_test.c
  465. INCLUDE[poly1305_internal_test]=.. ../include ../apps/include
  466. DEPEND[poly1305_internal_test]=../libcrypto.a libtestutil.a
  467. SOURCE[chacha_internal_test]=chacha_internal_test.c
  468. INCLUDE[chacha_internal_test]=.. ../include ../apps/include
  469. DEPEND[chacha_internal_test]=../libcrypto.a libtestutil.a
  470. SOURCE[asn1_internal_test]=asn1_internal_test.c
  471. INCLUDE[asn1_internal_test]=.. ../include ../apps/include
  472. DEPEND[asn1_internal_test]=../libcrypto.a libtestutil.a
  473. SOURCE[modes_internal_test]=modes_internal_test.c
  474. INCLUDE[modes_internal_test]=.. ../include ../apps/include
  475. DEPEND[modes_internal_test]=../libcrypto.a libtestutil.a
  476. SOURCE[x509_internal_test]=x509_internal_test.c
  477. INCLUDE[x509_internal_test]=.. ../include ../apps/include
  478. DEPEND[x509_internal_test]=../libcrypto.a libtestutil.a
  479. SOURCE[rsa_test]=rsa_test.c
  480. INCLUDE[rsa_test]=../include ../apps/include
  481. DEPEND[rsa_test]=../libcrypto.a libtestutil.a
  482. SOURCE[rsa_mp_test]=rsa_mp_test.c
  483. INCLUDE[rsa_mp_test]=../include ../apps/include
  484. DEPEND[rsa_mp_test]=../libcrypto.a libtestutil.a
  485. SOURCE[ecdsatest]=ecdsatest.c
  486. INCLUDE[ecdsatest]=../include ../apps/include
  487. DEPEND[ecdsatest]=../libcrypto.a libtestutil.a
  488. SOURCE[dsatest]=dsatest.c
  489. INCLUDE[dsatest]=../include ../apps/include
  490. DEPEND[dsatest]=../libcrypto.a libtestutil.a
  491. SOURCE[dsa_no_digest_size_test]=dsa_no_digest_size_test.c
  492. INCLUDE[dsa_no_digest_size_test]=../include ../apps/include
  493. DEPEND[dsa_no_digest_size_test]=../libcrypto.a libtestutil.a
  494. SOURCE[tls13encryptiontest]=tls13encryptiontest.c
  495. INCLUDE[tls13encryptiontest]=.. ../include ../apps/include
  496. DEPEND[tls13encryptiontest]=../libcrypto ../libssl.a libtestutil.a
  497. SOURCE[ideatest]=ideatest.c
  498. INCLUDE[ideatest]=../include ../apps/include
  499. DEPEND[ideatest]=../libcrypto.a libtestutil.a
  500. SOURCE[wpackettest]=wpackettest.c
  501. INCLUDE[wpackettest]=../include ../apps/include
  502. DEPEND[wpackettest]=../libcrypto ../libssl.a libtestutil.a
  503. SOURCE[property_test]=property_test.c
  504. INCLUDE[property_test]=.. ../include ../apps/include
  505. DEPEND[property_test]=../libcrypto.a libtestutil.a
  506. SOURCE[ctype_internal_test]=ctype_internal_test.c
  507. INCLUDE[ctype_internal_test]=.. ../include ../apps/include
  508. DEPEND[ctype_internal_test]=../libcrypto.a libtestutil.a
  509. SOURCE[sparse_array_test]=sparse_array_test.c
  510. INCLUDE[sparse_array_test]=../include ../apps/include
  511. DEPEND[sparse_array_test]=../libcrypto.a libtestutil.a
  512. SOURCE[dhtest]=dhtest.c
  513. INCLUDE[dhtest]=../include ../apps/include
  514. DEPEND[dhtest]=../libcrypto.a libtestutil.a
  515. SOURCE[hmactest]=hmactest.c
  516. INCLUDE[hmactest]=../include ../apps/include
  517. DEPEND[hmactest]=../libcrypto.a libtestutil.a
  518. IF[{- !$disabled{cmac} -}]
  519. SOURCE[cmactest]=cmactest.c
  520. INCLUDE[cmactest]=../include ../apps/include
  521. DEPEND[cmactest]=../libcrypto.a libtestutil.a
  522. ENDIF
  523. SOURCE[siphash_internal_test]=siphash_internal_test.c
  524. INCLUDE[siphash_internal_test]=.. ../include ../apps/include
  525. DEPEND[siphash_internal_test]=../libcrypto.a libtestutil.a
  526. SOURCE[sm2_internal_test]=sm2_internal_test.c
  527. INCLUDE[sm2_internal_test]=../include ../apps/include
  528. DEPEND[sm2_internal_test]=../libcrypto.a libtestutil.a
  529. SOURCE[sm4_internal_test]=sm4_internal_test.c
  530. INCLUDE[sm4_internal_test]=.. ../include ../apps/include
  531. DEPEND[sm4_internal_test]=../libcrypto.a libtestutil.a
  532. SOURCE[destest]=destest.c
  533. INCLUDE[destest]=../include ../apps/include
  534. DEPEND[destest]=../libcrypto.a libtestutil.a
  535. SOURCE[rc2test]=rc2test.c
  536. INCLUDE[rc2test]=../include ../apps/include
  537. DEPEND[rc2test]=../libcrypto.a libtestutil.a
  538. SOURCE[rc4test]=rc4test.c
  539. INCLUDE[rc4test]=../include ../apps/include
  540. DEPEND[rc4test]=../libcrypto.a libtestutil.a
  541. SOURCE[rc5test]=rc5test.c
  542. INCLUDE[rc5test]=../include ../apps/include
  543. DEPEND[rc5test]=../libcrypto.a libtestutil.a
  544. SOURCE[ec_internal_test]=ec_internal_test.c
  545. INCLUDE[ec_internal_test]=../include ../crypto/ec ../apps/include
  546. DEPEND[ec_internal_test]=../libcrypto.a libtestutil.a
  547. SOURCE[curve448_internal_test]=curve448_internal_test.c
  548. INCLUDE[curve448_internal_test]=.. ../include ../apps/include ../crypto/ec/curve448
  549. DEPEND[curve448_internal_test]=../libcrypto.a libtestutil.a
  550. SOURCE[rc4test]=rc4test.c
  551. INCLUDE[rc4test]=../include ../apps/include
  552. DEPEND[rc4test]=../libcrypto.a libtestutil.a
  553. SOURCE[rdrand_sanitytest]=rdrand_sanitytest.c
  554. INCLUDE[rdrand_sanitytest]=../include ../apps/include
  555. DEPEND[rdrand_sanitytest]=../libcrypto.a libtestutil.a
  556. SOURCE[rsa_sp800_56b_test]=rsa_sp800_56b_test.c
  557. INCLUDE[rsa_sp800_56b_test]=.. ../include ../crypto/rsa ../apps/include
  558. DEPEND[rsa_sp800_56b_test]=../libcrypto.a libtestutil.a
  559. SOURCE[bn_internal_test]=bn_internal_test.c
  560. INCLUDE[bn_internal_test]=.. ../include ../crypto/bn ../apps/include
  561. DEPEND[bn_internal_test]=../libcrypto.a libtestutil.a
  562. SOURCE[asn1_dsa_internal_test]=asn1_dsa_internal_test.c
  563. INCLUDE[asn1_dsa_internal_test]=.. ../include ../apps/include
  564. DEPEND[asn1_dsa_internal_test]=../libcrypto.a libtestutil.a
  565. SOURCE[keymgmt_internal_test]=keymgmt_internal_test.c
  566. INCLUDE[keymgmt_internal_test]=.. ../include ../apps/include
  567. DEPEND[keymgmt_internal_test]=../libcrypto.a libtestutil.a
  568. SOURCE[ffc_internal_test]=ffc_internal_test.c
  569. INCLUDE[ffc_internal_test]=.. ../include ../apps/include
  570. DEPEND[ffc_internal_test]=../libcrypto.a libtestutil.a
  571. IF[{- !$disabled{mdc2} -}]
  572. PROGRAMS{noinst}=mdc2_internal_test
  573. ENDIF
  574. SOURCE[mdc2_internal_test]=mdc2_internal_test.c
  575. INCLUDE[mdc2_internal_test]=.. ../include ../apps/include
  576. DEPEND[mdc2_internal_test]=../libcrypto.a libtestutil.a
  577. SOURCE[ssl_old_test]=ssl_old_test.c helpers/predefined_dhparams.c
  578. INCLUDE[ssl_old_test]=.. ../include ../apps/include
  579. DEPEND[ssl_old_test]=../libcrypto.a ../libssl.a libtestutil.a
  580. PROGRAMS{noinst}=algorithmid_test
  581. SOURCE[algorithmid_test]=algorithmid_test.c
  582. INCLUDE[algorithmid_test]=../include ../apps/include
  583. DEPEND[algorithmid_test]=../libcrypto.a libtestutil.a
  584. ENDIF
  585. PROGRAMS{noinst}=asn1_time_test
  586. SOURCE[asn1_time_test]=asn1_time_test.c
  587. INCLUDE[asn1_time_test]=../include ../apps/include
  588. DEPEND[asn1_time_test]=../libcrypto libtestutil.a
  589. # We disable this test completely in a shared build because it deliberately
  590. # redefines some internal libssl symbols. This doesn't work in a non-shared
  591. # build
  592. IF[{- !$disabled{shared} -}]
  593. PROGRAMS{noinst}=tls13secretstest
  594. SOURCE[tls13secretstest]=tls13secretstest.c
  595. DEFINE[tls13secretstest]=OPENSSL_NO_KTLS
  596. SOURCE[tls13secretstest]= ../ssl/tls13_enc.c ../crypto/packet.c
  597. INCLUDE[tls13secretstest]=.. ../include ../apps/include
  598. DEPEND[tls13secretstest]=../libcrypto ../libssl libtestutil.a
  599. ENDIF
  600. SOURCE[sslbuffertest]=sslbuffertest.c helpers/ssltestlib.c
  601. INCLUDE[sslbuffertest]=../include ../apps/include
  602. DEPEND[sslbuffertest]=../libcrypto ../libssl libtestutil.a
  603. SOURCE[sysdefaulttest]=sysdefaulttest.c
  604. INCLUDE[sysdefaulttest]=../include ../apps/include
  605. DEPEND[sysdefaulttest]=../libcrypto ../libssl libtestutil.a
  606. SOURCE[errtest]=errtest.c
  607. INCLUDE[errtest]=../include ../apps/include
  608. DEPEND[errtest]=../libcrypto libtestutil.a
  609. SOURCE[gosttest]=gosttest.c helpers/ssltestlib.c
  610. INCLUDE[gosttest]=../include ../apps/include ..
  611. DEPEND[gosttest]=../libcrypto ../libssl libtestutil.a
  612. SOURCE[aesgcmtest]=aesgcmtest.c
  613. INCLUDE[aesgcmtest]=../include ../apps/include ..
  614. DEPEND[aesgcmtest]=../libcrypto libtestutil.a
  615. PROGRAMS{noinst}=context_internal_test
  616. SOURCE[context_internal_test]=context_internal_test.c
  617. INCLUDE[context_internal_test]=.. ../include ../apps/include
  618. DEPEND[context_internal_test]=../libcrypto.a libtestutil.a
  619. PROGRAMS{noinst}=provider_internal_test
  620. DEFINE[provider_internal_test]=PROVIDER_INIT_FUNCTION_NAME=p_test_init
  621. SOURCE[provider_internal_test]=provider_internal_test.c p_test.c
  622. INCLUDE[provider_internal_test]=../include ../apps/include ..
  623. DEPEND[provider_internal_test]=../libcrypto.a libtestutil.a
  624. PROGRAMS{noinst}=provider_test
  625. DEFINE[provider_test]=PROVIDER_INIT_FUNCTION_NAME=p_test_init
  626. SOURCE[provider_test]=provider_test.c p_test.c
  627. INCLUDE[provider_test]=../include ../apps/include ..
  628. DEPEND[provider_test]=../libcrypto.a libtestutil.a
  629. IF[{- !$disabled{module} -}]
  630. MODULES{noinst}=p_test
  631. SOURCE[p_test]=p_test.c
  632. INCLUDE[p_test]=../include ..
  633. IF[{- defined $target{shared_defflag} -}]
  634. SOURCE[p_test]=p_test.ld
  635. GENERATE[p_test.ld]=../util/providers.num
  636. ENDIF
  637. ENDIF
  638. IF[{- $disabled{module} || !$target{dso_scheme} -}]
  639. DEFINE[provider_test]=NO_PROVIDER_MODULE
  640. DEFINE[provider_internal_test]=NO_PROVIDER_MODULE
  641. ENDIF
  642. DEPEND[]=provider_internal_test.cnf
  643. GENERATE[provider_internal_test.cnf]=provider_internal_test.cnf.in
  644. PROGRAMS{noinst}=provider_fallback_test
  645. SOURCE[provider_fallback_test]=provider_fallback_test.c
  646. INCLUDE[provider_fallback_test]=../include ../apps/include
  647. DEPEND[provider_fallback_test]=../libcrypto libtestutil.a
  648. PROGRAMS{noinst}=params_test
  649. SOURCE[params_test]=params_test.c
  650. INCLUDE[params_test]=.. ../include ../apps/include
  651. DEPEND[params_test]=../libcrypto.a libtestutil.a
  652. PROGRAMS{noinst}=hexstr_test
  653. SOURCE[hexstr_test]=hexstr_test.c
  654. INCLUDE[hexstr_test]=.. ../include ../apps/include
  655. DEPEND[hexstr_test]=../libcrypto.a libtestutil.a
  656. PROGRAMS{noinst}=endecode_test
  657. SOURCE[endecode_test]=endecode_test.c helpers/predefined_dhparams.c
  658. INCLUDE[endecode_test]=.. ../include ../apps/include
  659. DEPEND[endecode_test]=../libcrypto.a libtestutil.a
  660. IF[{- !$disabled{'deprecated-3.0'} -}]
  661. PROGRAMS{noinst}=endecoder_legacy_test
  662. SOURCE[endecoder_legacy_test]=endecoder_legacy_test.c
  663. INCLUDE[endecoder_legacy_test]=.. ../include ../apps/include
  664. DEPEND[endecoder_legacy_test]=../libcrypto.a libtestutil.a
  665. ENDIF
  666. PROGRAMS{noinst}=namemap_internal_test
  667. SOURCE[namemap_internal_test]=namemap_internal_test.c
  668. INCLUDE[namemap_internal_test]=.. ../include ../apps/include
  669. DEPEND[namemap_internal_test]=../libcrypto.a libtestutil.a
  670. PROGRAMS{noinst}=bio_prefix_text
  671. SOURCE[bio_prefix_text]=bio_prefix_text.c $LIBAPPSSRC
  672. INCLUDE[bio_prefix_text]=.. ../include ../apps/include
  673. DEPEND[bio_prefix_text]=../libcrypto
  674. IF[{- !$disabled{'deprecated-3.0'} -}]
  675. PROGRAMS{noinst}=pem_read_depr_test
  676. SOURCE[pem_read_depr_test]=pem_read_depr_test.c
  677. INCLUDE[pem_read_depr_test]=../include ../apps/include
  678. DEPEND[pem_read_depr_test]=../libcrypto libtestutil.a
  679. ENDIF
  680. ENDIF
  681. SOURCE[ssl_ctx_test]=ssl_ctx_test.c
  682. INCLUDE[ssl_ctx_test]=../include ../apps/include
  683. DEPEND[ssl_ctx_test]=../libcrypto ../libssl libtestutil.a
  684. {-
  685. use File::Spec::Functions;
  686. use File::Basename;
  687. use OpenSSL::Glob;
  688. my @nogo_headers = ( "asn1_mac.h",
  689. "opensslconf.h",
  690. "__decc_include_prologue.h",
  691. "__decc_include_epilogue.h" );
  692. my @nogo_headers_re = ( qr/.*err\.h/ );
  693. my @headerfiles = glob catfile($sourcedir,
  694. updir(), "include", "openssl", "*.h");
  695. foreach my $headerfile (@headerfiles) {
  696. my $name = basename($headerfile, ".h");
  697. next if $disabled{$name};
  698. next if grep { $_ eq lc("$name.h") } @nogo_headers;
  699. next if grep { lc("$name.h") =~ m/$_/i } @nogo_headers_re;
  700. $OUT .= <<"_____";
  701. PROGRAMS{noinst}=buildtest_c_$name
  702. SOURCE[buildtest_c_$name]=buildtest_$name.c
  703. GENERATE[buildtest_$name.c]=generate_buildtest.pl $name
  704. INCLUDE[buildtest_c_$name]=../include
  705. DEPEND[buildtest_c_$name]=../libssl ../libcrypto
  706. _____
  707. $OUT .= <<"_____" if $config{CXX} && !$disabled{"buildtest-c++"};
  708. PROGRAMS{noinst}=buildtest_cc_$name
  709. SOURCE[buildtest_cc_$name]=buildtest_$name.cc
  710. GENERATE[buildtest_$name.cc]=generate_buildtest.pl $name
  711. INCLUDE[buildtest_cc_$name]=../include
  712. DEPEND[buildtest_cc_$name]=../libssl ../libcrypto
  713. _____
  714. }
  715. -}