build.info 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  1. IF[{- !$disabled{tests} -}]
  2. PROGRAMS_NO_INST=\
  3. versions \
  4. aborttest \
  5. sanitytest rsa_complex exdatatest bntest \
  6. ectest ecdsatest gmdifftest pbelutest ideatest \
  7. md2test md4test md5test \
  8. hmactest wp_test \
  9. rc2test rc4test rc5test \
  10. destest sha1test sha256t sha512t \
  11. mdc2test rmdtest \
  12. randtest dhtest enginetest casttest \
  13. bftest ssltest_old dsatest exptest rsa_test \
  14. evp_test evp_extra_test igetest v3nametest v3ext \
  15. crltest danetest heartbeat_test p5_crpt2_test bad_dtls_test \
  16. constant_time_test verify_extra_test clienthellotest \
  17. packettest asynctest secmemtest srptest memleaktest \
  18. dtlsv1listentest ct_test threadstest afalgtest d2i_test \
  19. ssl_test_ctx_test ssl_test x509aux cipherlist_test asynciotest \
  20. bioprinttest sslapitest dtlstest sslcorrupttest bio_enc_test \
  21. ocspapitest fatalerrtest x509_time_test x509_dup_cert_test errtest
  22. SOURCE[versions]=versions.c
  23. INCLUDE[versions]=../include
  24. DEPEND[versions]=../libcrypto
  25. SOURCE[aborttest]=aborttest.c
  26. INCLUDE[aborttest]=../include
  27. DEPEND[aborttest]=../libcrypto
  28. SOURCE[sanitytest]=sanitytest.c
  29. INCLUDE[sanitytest]=../include
  30. DEPEND[sanitytest]=../libcrypto
  31. SOURCE[rsa_complex]=rsa_complex.c
  32. INCLUDE[rsa_complex]=../include
  33. SOURCE[exdatatest]=exdatatest.c
  34. INCLUDE[exdatatest]=../include
  35. DEPEND[exdatatest]=../libcrypto
  36. SOURCE[bntest]=bntest.c
  37. INCLUDE[bntest]=.. ../crypto/include ../include
  38. DEPEND[bntest]=../libcrypto
  39. SOURCE[ectest]=ectest.c
  40. INCLUDE[ectest]=../include
  41. DEPEND[ectest]=../libcrypto
  42. SOURCE[ecdsatest]=ecdsatest.c
  43. INCLUDE[ecdsatest]=../include
  44. DEPEND[ecdsatest]=../libcrypto
  45. SOURCE[gmdifftest]=gmdifftest.c
  46. INCLUDE[gmdifftest]=../include
  47. DEPEND[gmdifftest]=../libcrypto
  48. SOURCE[pbelutest]=pbelutest.c
  49. INCLUDE[pbelutest]=../include
  50. DEPEND[pbelutest]=../libcrypto
  51. SOURCE[ideatest]=ideatest.c
  52. INCLUDE[ideatest]=../include
  53. DEPEND[ideatest]=../libcrypto
  54. SOURCE[md2test]=md2test.c
  55. INCLUDE[md2test]=../include
  56. DEPEND[md2test]=../libcrypto
  57. SOURCE[md4test]=md4test.c
  58. INCLUDE[md4test]=../include
  59. DEPEND[md4test]=../libcrypto
  60. SOURCE[md5test]=md5test.c
  61. INCLUDE[md5test]=../include
  62. DEPEND[md5test]=../libcrypto
  63. SOURCE[hmactest]=hmactest.c
  64. INCLUDE[hmactest]=../include
  65. DEPEND[hmactest]=../libcrypto
  66. SOURCE[wp_test]=wp_test.c
  67. INCLUDE[wp_test]=../include
  68. DEPEND[wp_test]=../libcrypto
  69. SOURCE[rc2test]=rc2test.c
  70. INCLUDE[rc2test]=../include
  71. DEPEND[rc2test]=../libcrypto
  72. SOURCE[rc4test]=rc4test.c
  73. INCLUDE[rc4test]=../include
  74. DEPEND[rc4test]=../libcrypto
  75. SOURCE[rc5test]=rc5test.c
  76. INCLUDE[rc5test]=../include
  77. DEPEND[rc5test]=../libcrypto
  78. SOURCE[destest]=destest.c
  79. INCLUDE[destest]=../include
  80. DEPEND[destest]=../libcrypto
  81. SOURCE[sha1test]=sha1test.c
  82. INCLUDE[sha1test]=../include
  83. DEPEND[sha1test]=../libcrypto
  84. SOURCE[sha256t]=sha256t.c
  85. INCLUDE[sha256t]=../include
  86. DEPEND[sha256t]=../libcrypto
  87. SOURCE[sha512t]=sha512t.c
  88. INCLUDE[sha512t]=../include
  89. DEPEND[sha512t]=../libcrypto
  90. SOURCE[mdc2test]=mdc2test.c
  91. INCLUDE[mdc2test]=../include
  92. DEPEND[mdc2test]=../libcrypto
  93. SOURCE[rmdtest]=rmdtest.c
  94. INCLUDE[rmdtest]=../include
  95. DEPEND[rmdtest]=../libcrypto
  96. SOURCE[randtest]=randtest.c
  97. INCLUDE[randtest]=../include
  98. DEPEND[randtest]=../libcrypto
  99. SOURCE[dhtest]=dhtest.c
  100. INCLUDE[dhtest]=../include
  101. DEPEND[dhtest]=../libcrypto
  102. SOURCE[enginetest]=enginetest.c
  103. INCLUDE[enginetest]=../include
  104. DEPEND[enginetest]=../libcrypto
  105. SOURCE[casttest]=casttest.c
  106. INCLUDE[casttest]=../include
  107. DEPEND[casttest]=../libcrypto
  108. SOURCE[bftest]=bftest.c
  109. INCLUDE[bftest]=../include
  110. DEPEND[bftest]=../libcrypto
  111. SOURCE[ssltest_old]=ssltest_old.c
  112. INCLUDE[ssltest_old]=.. ../include
  113. DEPEND[ssltest_old]=../libcrypto ../libssl
  114. SOURCE[dsatest]=dsatest.c
  115. INCLUDE[dsatest]=../include
  116. DEPEND[dsatest]=../libcrypto
  117. SOURCE[exptest]=exptest.c
  118. INCLUDE[exptest]=../include
  119. DEPEND[exptest]=../libcrypto
  120. SOURCE[rsa_test]=rsa_test.c
  121. INCLUDE[rsa_test]=.. ../include
  122. DEPEND[rsa_test]=../libcrypto
  123. SOURCE[fatalerrtest]=fatalerrtest.c ssltestlib.c testutil.c
  124. INCLUDE[fatalerrtest]=../include ..
  125. DEPEND[fatalerrtest]=../libcrypto ../libssl
  126. SOURCE[evp_test]=evp_test.c
  127. INCLUDE[evp_test]=../include
  128. DEPEND[evp_test]=../libcrypto
  129. SOURCE[evp_extra_test]=evp_extra_test.c
  130. INCLUDE[evp_extra_test]=../include
  131. DEPEND[evp_extra_test]=../libcrypto
  132. SOURCE[igetest]=igetest.c
  133. INCLUDE[igetest]=.. ../include
  134. DEPEND[igetest]=../libcrypto
  135. SOURCE[v3nametest]=v3nametest.c
  136. INCLUDE[v3nametest]=../include
  137. DEPEND[v3nametest]=../libcrypto
  138. SOURCE[crltest]=crltest.c testutil.c
  139. INCLUDE[crltest]=../include
  140. DEPEND[crltest]=../libcrypto
  141. SOURCE[v3ext]=v3ext.c
  142. INCLUDE[v3ext]=../include
  143. DEPEND[v3ext]=../libcrypto
  144. SOURCE[danetest]=danetest.c
  145. INCLUDE[danetest]=../include
  146. DEPEND[danetest]=../libcrypto ../libssl
  147. SOURCE[heartbeat_test]=heartbeat_test.c testutil.c
  148. INCLUDE[heartbeat_test]=.. ../include
  149. DEPEND[heartbeat_test]=../libcrypto ../libssl
  150. SOURCE[p5_crpt2_test]=p5_crpt2_test.c
  151. INCLUDE[p5_crpt2_test]=../include
  152. DEPEND[p5_crpt2_test]=../libcrypto
  153. SOURCE[constant_time_test]=constant_time_test.c
  154. INCLUDE[constant_time_test]=.. ../include
  155. DEPEND[constant_time_test]=../libcrypto
  156. SOURCE[verify_extra_test]=verify_extra_test.c
  157. INCLUDE[verify_extra_test]=../include
  158. DEPEND[verify_extra_test]=../libcrypto
  159. SOURCE[clienthellotest]=clienthellotest.c
  160. INCLUDE[clienthellotest]=../include
  161. DEPEND[clienthellotest]=../libcrypto ../libssl
  162. SOURCE[bad_dtls_test]=bad_dtls_test.c
  163. INCLUDE[bad_dtls_test]=../include
  164. DEPEND[bad_dtls_test]=../libcrypto ../libssl
  165. SOURCE[packettest]=packettest.c
  166. INCLUDE[packettest]=../include
  167. DEPEND[packettest]=../libcrypto
  168. SOURCE[asynctest]=asynctest.c
  169. INCLUDE[asynctest]=.. ../include
  170. DEPEND[asynctest]=../libcrypto
  171. SOURCE[secmemtest]=secmemtest.c
  172. INCLUDE[secmemtest]=../include
  173. DEPEND[secmemtest]=../libcrypto
  174. SOURCE[srptest]=srptest.c
  175. INCLUDE[srptest]=../include
  176. DEPEND[srptest]=../libcrypto
  177. SOURCE[memleaktest]=memleaktest.c
  178. INCLUDE[memleaktest]=../include
  179. DEPEND[memleaktest]=../libcrypto
  180. SOURCE[dtlsv1listentest]=dtlsv1listentest.c
  181. INCLUDE[dtlsv1listentest]=.. ../include
  182. DEPEND[dtlsv1listentest]=../libssl
  183. SOURCE[ct_test]=ct_test.c testutil.c
  184. INCLUDE[ct_test]=../crypto/include ../include
  185. DEPEND[ct_test]=../libcrypto
  186. SOURCE[threadstest]=threadstest.c
  187. INCLUDE[threadstest]=.. ../include
  188. DEPEND[threadstest]=../libcrypto
  189. SOURCE[afalgtest]=afalgtest.c
  190. INCLUDE[afalgtest]=.. ../include
  191. DEPEND[afalgtest]=../libcrypto
  192. SOURCE[d2i_test]=d2i_test.c testutil.c
  193. INCLUDE[d2i_test]=.. ../include
  194. DEPEND[d2i_test]=../libcrypto
  195. SOURCE[ssl_test_ctx_test]=ssl_test_ctx_test.c ssl_test_ctx.c testutil.c
  196. INCLUDE[ssl_test_ctx_test]=.. ../include
  197. DEPEND[ssl_test_ctx_test]=../libcrypto
  198. SOURCE[ssl_test]=ssl_test.c ssl_test_ctx.c testutil.c handshake_helper.c
  199. INCLUDE[ssl_test]=.. ../include
  200. DEPEND[ssl_test]=../libcrypto ../libssl
  201. SOURCE[cipherlist_test]=cipherlist_test.c testutil.c
  202. INCLUDE[cipherlist_test]=.. ../include
  203. DEPEND[cipherlist_test]=../libcrypto ../libssl
  204. INCLUDE[testutil.o]=..
  205. INCLUDE[ssl_test_ctx.o]=../include
  206. INCLUDE[handshake_helper.o]=../include
  207. INCLUDE[ssltestlib.o]=.. ../include
  208. SOURCE[x509aux]=x509aux.c
  209. INCLUDE[x509aux]=../include
  210. DEPEND[x509aux]=../libcrypto
  211. SOURCE[asynciotest]=asynciotest.c ssltestlib.c
  212. INCLUDE[asynciotest]=../include
  213. DEPEND[asynciotest]=../libcrypto ../libssl
  214. SOURCE[bioprinttest]=bioprinttest.c
  215. INCLUDE[bioprinttest]=../include
  216. DEPEND[bioprinttest]=../libcrypto
  217. SOURCE[sslapitest]=sslapitest.c ssltestlib.c testutil.c
  218. INCLUDE[sslapitest]=../include ..
  219. DEPEND[sslapitest]=../libcrypto ../libssl
  220. SOURCE[ocspapitest]=ocspapitest.c testutil.c
  221. INCLUDE[ocspapitest]=../include ..
  222. DEPEND[ocspapitest]=../libcrypto
  223. SOURCE[dtlstest]=dtlstest.c ssltestlib.c testutil.c
  224. INCLUDE[dtlstest]=../include .
  225. DEPEND[dtlstest]=../libcrypto ../libssl
  226. SOURCE[sslcorrupttest]=sslcorrupttest.c ssltestlib.c testutil.c
  227. INCLUDE[sslcorrupttest]=../include .
  228. DEPEND[sslcorrupttest]=../libcrypto ../libssl
  229. SOURCE[bio_enc_test]=bio_enc_test.c
  230. INCLUDE[bio_enc_test]=../include
  231. DEPEND[bio_enc_test]=../libcrypto
  232. SOURCE[x509_time_test]=x509_time_test.c testutil.c
  233. INCLUDE[x509_time_test]=.. ../include
  234. DEPEND[x509_time_test]=../libcrypto
  235. SOURCE[x509_dup_cert_test]=x509_dup_cert_test.c
  236. INCLUDE[x509_dup_cert_test]=../include
  237. DEPEND[x509_dup_cert_test]=../libcrypto
  238. IF[{- !$disabled{shared} -}]
  239. PROGRAMS_NO_INST=shlibloadtest
  240. SOURCE[shlibloadtest]=shlibloadtest.c
  241. INCLUDE[shlibloadtest]=../include
  242. ENDIF
  243. IF[{- !$disabled{ec} -}]
  244. PROGRAMS_NO_INST=ec_internal_test
  245. SOURCE[ec_internal_test]=ec_internal_test.c testutil.c
  246. INCLUDE[ec_internal_test]=.. ../include ../crypto/ec ../crypto/include
  247. DEPEND[ec_internal_test]=../libcrypto
  248. ENDIF
  249. SOURCE[errtest]=errtest.c testutil.c
  250. INCLUDE[errtest]=../include
  251. DEPEND[errtest]=../libcrypto
  252. ENDIF
  253. {-
  254. use File::Spec::Functions;
  255. use File::Basename;
  256. use OpenSSL::Glob;
  257. my @nogo_headers = ( "asn1_mac.h",
  258. "__decc_include_prologue.h",
  259. "__decc_include_epilogue.h" );
  260. my @headerfiles = glob catfile($sourcedir,
  261. updir(), "include", "openssl", "*.h");
  262. foreach my $headerfile (@headerfiles) {
  263. my $name = basename($headerfile, ".h");
  264. next if $disabled{$name};
  265. next if grep { $_ eq lc("$name.h") } @nogo_headers;
  266. $OUT .= <<"_____";
  267. PROGRAMS_NO_INST=buildtest_$name
  268. GENERATE[buildtest_$name.c]=generate_buildtest.pl $name
  269. SOURCE[buildtest_$name]=buildtest_$name.c
  270. INCLUDE[buildtest_$name]=../include
  271. DEPEND[buildtest_$name]=../libssl ../libcrypto
  272. _____
  273. }
  274. -}