2 use File::Spec::Functions;
5 my ($base, $files) = @_;
6 return join(" ", map { "$base/$_" } split(/\s+/, $files));
10 IF[{- !$disabled{tests} -}]
11 LIBS_NO_INST=libtestutil.a
12 SOURCE[libtestutil.a]=testutil/basic_output.c testutil/output_helpers.c \
13 testutil/driver.c testutil/tests.c testutil/cb.c testutil/stanza.c \
14 testutil/format_output.c testutil/tap_bio.c \
15 testutil/test_cleanup.c testutil/main.c testutil/init.c
16 INCLUDE[libtestutil.a]=../include
17 DEPEND[libtestutil.a]=../libcrypto
19 # Special hack for descrip.mms to include the MAIN object module
20 # explicitly. This will only be done if there isn't a MAIN in the
21 # program's object modules already.
23 INCLUDE_MAIN___test_libtestutil_OLB = /INCLUDE=MAIN
29 sanitytest exdatatest bntest \
30 ectest ecstresstest ecdsatest gmdifftest pbelutest ideatest \
31 sm2sigtest sm2crypttest \
34 rc2test rc4test rc5test \
36 dhtest enginetest casttest \
37 bftest ssltest_old dsatest exptest rsa_test \
38 evp_test evp_extra_test igetest v3nametest v3ext \
39 crltest danetest bad_dtls_test lhash_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 \
46 bioprinttest sslapitest dtlstest sslcorrupttest bio_enc_test \
47 pkey_meth_test pkey_meth_kdf_test uitest cipherbytes_test \
48 asn1_encode_test asn1_string_table_test \
49 x509_time_test x509_dup_cert_test x509_check_cert_pkey_test \
50 recordlentest drbgtest sslbuffertest \
51 recordlentest drbgtest drbg_cavs_test sslbuffertest \
52 time_offset_test pemtest ssl_cert_table_internal_test ciphername_test \
53 servername_test ocspapitest rsa_mp_test fatalerrtest tls13ccstest \
56 SOURCE[versions]=versions.c
57 INCLUDE[versions]=../include
58 DEPEND[versions]=../libcrypto
60 SOURCE[aborttest]=aborttest.c
61 INCLUDE[aborttest]=../include
62 DEPEND[aborttest]=../libcrypto
64 SOURCE[sanitytest]=sanitytest.c
65 INCLUDE[sanitytest]=../include
66 DEPEND[sanitytest]=../libcrypto libtestutil.a
68 SOURCE[test_test]=test_test.c
69 INCLUDE[test_test]=../include
70 DEPEND[test_test]=../libcrypto libtestutil.a
72 SOURCE[exdatatest]=exdatatest.c
73 INCLUDE[exdatatest]=../include
74 DEPEND[exdatatest]=../libcrypto libtestutil.a
76 SOURCE[bntest]=bntest.c
77 INCLUDE[bntest]=../include
78 DEPEND[bntest]=../libcrypto libtestutil.a
80 SOURCE[ectest]=ectest.c
81 INCLUDE[ectest]=../include
82 DEPEND[ectest]=../libcrypto libtestutil.a
84 SOURCE[ecstresstest]=ecstresstest.c
85 INCLUDE[ecstresstest]=../include
86 DEPEND[ecstresstest]=../libcrypto libtestutil.a
88 SOURCE[ecdsatest]=ecdsatest.c
89 INCLUDE[ecdsatest]=../include
90 DEPEND[ecdsatest]=../libcrypto libtestutil.a
92 SOURCE[sm2sigtest]=sm2sigtest.c
93 INCLUDE[sm2sigtest]=../include
94 DEPEND[sm2sigtest]=../libcrypto libtestutil.a
96 SOURCE[sm2crypttest]=sm2crypttest.c
97 INCLUDE[sm2crypttest]=../include
98 DEPEND[sm2crypttest]=../libcrypto libtestutil.a
100 SOURCE[gmdifftest]=gmdifftest.c
101 INCLUDE[gmdifftest]=../include
102 DEPEND[gmdifftest]=../libcrypto libtestutil.a
104 SOURCE[pbelutest]=pbelutest.c
105 INCLUDE[pbelutest]=../include
106 DEPEND[pbelutest]=../libcrypto libtestutil.a
108 SOURCE[ideatest]=ideatest.c
109 INCLUDE[ideatest]=../include
110 DEPEND[ideatest]=../libcrypto libtestutil.a
112 SOURCE[md2test]=md2test.c
113 INCLUDE[md2test]=../include
114 DEPEND[md2test]=../libcrypto libtestutil.a
116 SOURCE[hmactest]=hmactest.c
117 INCLUDE[hmactest]=../include
118 DEPEND[hmactest]=../libcrypto libtestutil.a
120 SOURCE[rc2test]=rc2test.c
121 INCLUDE[rc2test]=../include
122 DEPEND[rc2test]=../libcrypto libtestutil.a
124 SOURCE[rc4test]=rc4test.c
125 INCLUDE[rc4test]=../include
126 DEPEND[rc4test]=../libcrypto libtestutil.a
128 SOURCE[rc5test]=rc5test.c
129 INCLUDE[rc5test]=../include
130 DEPEND[rc5test]=../libcrypto libtestutil.a
132 SOURCE[destest]=destest.c
133 INCLUDE[destest]=../include
134 DEPEND[destest]=../libcrypto libtestutil.a
136 SOURCE[mdc2test]=mdc2test.c
137 INCLUDE[mdc2test]=../include
138 DEPEND[mdc2test]=../libcrypto libtestutil.a
140 SOURCE[dhtest]=dhtest.c
141 INCLUDE[dhtest]=../include
142 DEPEND[dhtest]=../libcrypto libtestutil.a
144 SOURCE[enginetest]=enginetest.c
145 INCLUDE[enginetest]=../include
146 DEPEND[enginetest]=../libcrypto libtestutil.a
148 SOURCE[casttest]=casttest.c
149 INCLUDE[casttest]=../include
150 DEPEND[casttest]=../libcrypto libtestutil.a
152 SOURCE[bftest]=bftest.c
153 INCLUDE[bftest]=../include
154 DEPEND[bftest]=../libcrypto libtestutil.a
156 SOURCE[ssltest_old]=ssltest_old.c
157 INCLUDE[ssltest_old]=.. ../include
158 DEPEND[ssltest_old]=../libcrypto ../libssl
160 SOURCE[dsatest]=dsatest.c
161 INCLUDE[dsatest]=../include
162 DEPEND[dsatest]=../libcrypto libtestutil.a
164 SOURCE[exptest]=exptest.c
165 INCLUDE[exptest]=../include
166 DEPEND[exptest]=../libcrypto libtestutil.a
168 SOURCE[rsa_test]=rsa_test.c
169 INCLUDE[rsa_test]=../include
170 DEPEND[rsa_test]=../libcrypto libtestutil.a
172 SOURCE[rsa_mp_test]=rsa_mp_test.c
173 INCLUDE[rsa_mp_test]=../include
174 DEPEND[rsa_mp_test]=../libcrypto libtestutil.a
176 SOURCE[fatalerrtest]=fatalerrtest.c ssltestlib.c
177 INCLUDE[fatalerrtest]=../include
178 DEPEND[fatalerrtest]=../libcrypto ../libssl libtestutil.a
180 SOURCE[tls13ccstest]=tls13ccstest.c ssltestlib.c
181 INCLUDE[tls13ccstest]=../include
182 DEPEND[tls13ccstest]=../libcrypto ../libssl libtestutil.a
184 SOURCE[evp_test]=evp_test.c
185 INCLUDE[evp_test]=../include
186 DEPEND[evp_test]=../libcrypto libtestutil.a
188 SOURCE[evp_extra_test]=evp_extra_test.c
189 INCLUDE[evp_extra_test]=../include ../crypto/include
190 DEPEND[evp_extra_test]=../libcrypto libtestutil.a
192 SOURCE[igetest]=igetest.c
193 INCLUDE[igetest]=../include
194 DEPEND[igetest]=../libcrypto libtestutil.a
196 SOURCE[v3nametest]=v3nametest.c
197 INCLUDE[v3nametest]=../include
198 DEPEND[v3nametest]=../libcrypto libtestutil.a
200 SOURCE[crltest]=crltest.c
201 INCLUDE[crltest]=../include
202 DEPEND[crltest]=../libcrypto libtestutil.a
204 SOURCE[v3ext]=v3ext.c
205 INCLUDE[v3ext]=../include
206 DEPEND[v3ext]=../libcrypto libtestutil.a
208 SOURCE[danetest]=danetest.c
209 INCLUDE[danetest]=../include
210 DEPEND[danetest]=../libcrypto ../libssl libtestutil.a
212 SOURCE[constant_time_test]=constant_time_test.c
213 INCLUDE[constant_time_test]=../include
214 DEPEND[constant_time_test]=../libcrypto libtestutil.a
216 SOURCE[verify_extra_test]=verify_extra_test.c
217 INCLUDE[verify_extra_test]=../include
218 DEPEND[verify_extra_test]=../libcrypto libtestutil.a
220 SOURCE[clienthellotest]=clienthellotest.c
221 INCLUDE[clienthellotest]=../include
222 DEPEND[clienthellotest]=../libcrypto ../libssl libtestutil.a
224 SOURCE[bad_dtls_test]=bad_dtls_test.c
225 INCLUDE[bad_dtls_test]=../include
226 DEPEND[bad_dtls_test]=../libcrypto ../libssl libtestutil.a
228 SOURCE[packettest]=packettest.c
229 INCLUDE[packettest]=../include
230 DEPEND[packettest]=../libcrypto libtestutil.a
232 SOURCE[asynctest]=asynctest.c
233 INCLUDE[asynctest]=../include
234 DEPEND[asynctest]=../libcrypto
236 SOURCE[secmemtest]=secmemtest.c
237 INCLUDE[secmemtest]=../include
238 DEPEND[secmemtest]=../libcrypto libtestutil.a
240 SOURCE[srptest]=srptest.c
241 INCLUDE[srptest]=../include
242 DEPEND[srptest]=../libcrypto libtestutil.a
244 SOURCE[memleaktest]=memleaktest.c
245 INCLUDE[memleaktest]=../include
246 DEPEND[memleaktest]=../libcrypto libtestutil.a
248 SOURCE[stack_test]=stack_test.c
249 INCLUDE[stack_test]=../include
250 DEPEND[stack_test]=../libcrypto libtestutil.a
252 SOURCE[lhash_test]=lhash_test.c
253 INCLUDE[lhash_test]=../include
254 DEPEND[lhash_test]=../libcrypto libtestutil.a
256 SOURCE[dtlsv1listentest]=dtlsv1listentest.c
257 INCLUDE[dtlsv1listentest]=../include
258 DEPEND[dtlsv1listentest]=../libssl libtestutil.a
260 SOURCE[ct_test]=ct_test.c
261 INCLUDE[ct_test]=../include
262 DEPEND[ct_test]=../libcrypto libtestutil.a
264 SOURCE[threadstest]=threadstest.c
265 INCLUDE[threadstest]=../include
266 DEPEND[threadstest]=../libcrypto libtestutil.a
268 SOURCE[afalgtest]=afalgtest.c
269 INCLUDE[afalgtest]=../include
270 DEPEND[afalgtest]=../libcrypto libtestutil.a
272 SOURCE[d2i_test]=d2i_test.c
273 INCLUDE[d2i_test]=../include
274 DEPEND[d2i_test]=../libcrypto libtestutil.a
276 SOURCE[ssl_test_ctx_test]=ssl_test_ctx_test.c ssl_test_ctx.c
277 INCLUDE[ssl_test_ctx_test]=../include
278 DEPEND[ssl_test_ctx_test]=../libcrypto ../libssl libtestutil.a
280 SOURCE[ssl_test]=ssl_test.c ssl_test_ctx.c handshake_helper.c
281 INCLUDE[ssl_test]=../include
282 DEPEND[ssl_test]=../libcrypto ../libssl libtestutil.a
284 SOURCE[cipherlist_test]=cipherlist_test.c
285 INCLUDE[cipherlist_test]=../include
286 DEPEND[cipherlist_test]=../libcrypto ../libssl libtestutil.a
288 INCLUDE[ssl_test_ctx.o]=../include
289 INCLUDE[handshake_helper.o]=.. ../include
290 INCLUDE[ssltestlib.o]=.. ../include
292 SOURCE[x509aux]=x509aux.c
293 INCLUDE[x509aux]=../include
294 DEPEND[x509aux]=../libcrypto libtestutil.a
296 SOURCE[asynciotest]=asynciotest.c ssltestlib.c
297 INCLUDE[asynciotest]=../include
298 DEPEND[asynciotest]=../libcrypto ../libssl libtestutil.a
300 SOURCE[bio_callback_test]=bio_callback_test.c
301 INCLUDE[bio_callback_test]=../include
302 DEPEND[bio_callback_test]=../libcrypto libtestutil.a
304 SOURCE[bioprinttest]=bioprinttest.c
305 INCLUDE[bioprinttest]=../include
306 DEPEND[bioprinttest]=../libcrypto libtestutil.a
308 SOURCE[sslapitest]=sslapitest.c ssltestlib.c
309 INCLUDE[sslapitest]=../include ..
310 DEPEND[sslapitest]=../libcrypto ../libssl libtestutil.a
312 SOURCE[ocspapitest]=ocspapitest.c
313 INCLUDE[ocspapitest]=../include
314 DEPEND[ocspapitest]=../libcrypto libtestutil.a
316 SOURCE[dtlstest]=dtlstest.c ssltestlib.c
317 INCLUDE[dtlstest]=../include
318 DEPEND[dtlstest]=../libcrypto ../libssl libtestutil.a
320 SOURCE[sslcorrupttest]=sslcorrupttest.c ssltestlib.c
321 INCLUDE[sslcorrupttest]=../include
322 DEPEND[sslcorrupttest]=../libcrypto ../libssl libtestutil.a
324 SOURCE[bio_enc_test]=bio_enc_test.c
325 INCLUDE[bio_enc_test]=../include
326 DEPEND[bio_enc_test]=../libcrypto libtestutil.a
328 SOURCE[pkey_meth_test]=pkey_meth_test.c
329 INCLUDE[pkey_meth_test]=../include
330 DEPEND[pkey_meth_test]=../libcrypto libtestutil.a
332 SOURCE[pkey_meth_kdf_test]=pkey_meth_kdf_test.c
333 INCLUDE[pkey_meth_kdf_test]=../include
334 DEPEND[pkey_meth_kdf_test]=../libcrypto libtestutil.a
336 SOURCE[x509_time_test]=x509_time_test.c
337 INCLUDE[x509_time_test]=../include
338 DEPEND[x509_time_test]=../libcrypto libtestutil.a
340 SOURCE[recordlentest]=recordlentest.c ssltestlib.c
341 INCLUDE[recordlentest]=../include
342 DEPEND[recordlentest]=../libcrypto ../libssl libtestutil.a
344 SOURCE[drbgtest]=drbgtest.c
345 INCLUDE[drbgtest]=../include
346 DEPEND[drbgtest]=../libcrypto libtestutil.a
348 SOURCE[drbg_cavs_test]=drbg_cavs_test.c drbg_cavs_data.c
349 INCLUDE[drbg_cavs_test]=../include . ..
350 DEPEND[drbg_cavs_test]=../libcrypto libtestutil.a
352 SOURCE[x509_dup_cert_test]=x509_dup_cert_test.c
353 INCLUDE[x509_dup_cert_test]=../include
354 DEPEND[x509_dup_cert_test]=../libcrypto libtestutil.a
356 SOURCE[x509_check_cert_pkey_test]=x509_check_cert_pkey_test.c
357 INCLUDE[x509_check_cert_pkey_test]=../include
358 DEPEND[x509_check_cert_pkey_test]=../libcrypto libtestutil.a
360 SOURCE[pemtest]=pemtest.c
361 INCLUDE[pemtest]=../include
362 DEPEND[pemtest]=../libcrypto libtestutil.a
364 SOURCE[ssl_cert_table_internal_test]=ssl_cert_table_internal_test.c
365 INCLUDE[ssl_cert_table_internal_test]=.. ../include
366 DEPEND[ssl_cert_table_internal_test]=../libcrypto libtestutil.a
368 SOURCE[ciphername_test]=ciphername_test.c
369 INCLUDE[ciphername_test]=../include
370 DEPEND[ciphername_test]=../libcrypto ../libssl libtestutil.a
372 SOURCE[servername_test]=servername_test.c
373 INCLUDE[servername_test]=../include
374 DEPEND[servername_test]=../libcrypto ../libssl libtestutil.a
376 IF[{- !$disabled{psk} -}]
377 PROGRAMS_NO_INST=dtls_mtu_test
378 SOURCE[dtls_mtu_test]=dtls_mtu_test.c ssltestlib.c
379 INCLUDE[dtls_mtu_test]=.. ../include
380 DEPEND[dtls_mtu_test]=../libcrypto ../libssl libtestutil.a
383 IF[{- !$disabled{shared} -}]
384 PROGRAMS_NO_INST=shlibloadtest
385 SOURCE[shlibloadtest]=shlibloadtest.c
386 INCLUDE[shlibloadtest]=../include ../crypto/include
387 DEPEND[shlibloadtest]=libtestutil.a
390 IF[{- $disabled{shared} -}]
391 PROGRAMS_NO_INST=cipher_overhead_test
392 SOURCE[cipher_overhead_test]=cipher_overhead_test.c
393 INCLUDE[cipher_overhead_test]=.. ../include
394 DEPEND[cipher_overhead_test]=../libcrypto ../libssl libtestutil.a
397 SOURCE[uitest]=uitest.c \
398 {- rebase_files("../apps",
399 split(/\s+/, $target{apps_init_src})) -}
400 INCLUDE[uitest]=.. ../include ../apps
401 DEPEND[uitest]=../apps/libapps.a ../libcrypto ../libssl libtestutil.a
403 SOURCE[cipherbytes_test]=cipherbytes_test.c
404 INCLUDE[cipherbytes_test]=../include
405 DEPEND[cipherbytes_test]=../libcrypto ../libssl libtestutil.a
407 SOURCE[asn1_encode_test]=asn1_encode_test.c
408 INCLUDE[asn1_encode_test]=../include
409 DEPEND[asn1_encode_test]=../libcrypto libtestutil.a
411 SOURCE[asn1_string_table_test]=asn1_string_table_test.c
412 INCLUDE[asn1_string_table_test]=../include
413 DEPEND[asn1_string_table_test]=../libcrypto libtestutil.a
415 SOURCE[time_offset_test]=time_offset_test.c
416 INCLUDE[time_offset_test]=../include
417 DEPEND[time_offset_test]=../libcrypto libtestutil.a
419 SOURCE[conf_include_test]=conf_include_test.c
420 INCLUDE[conf_include_test]=../include
421 DEPEND[conf_include_test]=../libcrypto libtestutil.a
423 # Internal test programs. These are essentially a collection of internal
424 # test routines. Some of them need to reach internal symbols that aren't
425 # available through the shared library (at least on Linux, Solaris, Windows
426 # and VMS, where the exported symbols are those listed in util/*.num), these
427 # programs are forcibly linked with the static libraries, where all symbols
428 # are always available. This excludes linking these programs natively on
429 # Windows when building shared libraries, since the static libraries share
430 # names with the DLL import libraries.
431 IF[{- $disabled{shared} || $target{build_scheme}->[1] ne 'windows' -}]
432 PROGRAMS_NO_INST=asn1_internal_test modes_internal_test x509_internal_test \
433 tls13encryptiontest wpackettest ctype_internal_test \
435 IF[{- !$disabled{poly1305} -}]
436 PROGRAMS_NO_INST=poly1305_internal_test
438 IF[{- !$disabled{chacha} -}]
439 PROGRAMS_NO_INST=chacha_internal_test
441 IF[{- !$disabled{siphash} -}]
442 PROGRAMS_NO_INST=siphash_internal_test
444 IF[{- !$disabled{sm4} -}]
445 PROGRAMS_NO_INST=sm4_internal_test
447 IF[{- !$disabled{ec} -}]
448 PROGRAMS_NO_INST=curve448_internal_test
451 SOURCE[poly1305_internal_test]=poly1305_internal_test.c
452 INCLUDE[poly1305_internal_test]=.. ../include ../crypto/include
453 DEPEND[poly1305_internal_test]=../libcrypto.a libtestutil.a
455 SOURCE[chacha_internal_test]=chacha_internal_test.c
456 INCLUDE[chacha_internal_test]=.. ../include ../crypto/include
457 DEPEND[chacha_internal_test]=../libcrypto.a libtestutil.a
459 SOURCE[asn1_internal_test]=asn1_internal_test.c
460 INCLUDE[asn1_internal_test]=.. ../include ../crypto/include
461 DEPEND[asn1_internal_test]=../libcrypto.a libtestutil.a
463 SOURCE[modes_internal_test]=modes_internal_test.c
464 INCLUDE[modes_internal_test]=.. ../include
465 DEPEND[modes_internal_test]=../libcrypto.a libtestutil.a
467 SOURCE[x509_internal_test]=x509_internal_test.c
468 INCLUDE[x509_internal_test]=.. ../include
469 DEPEND[x509_internal_test]=../libcrypto.a libtestutil.a
471 SOURCE[tls13encryptiontest]=tls13encryptiontest.c
472 INCLUDE[tls13encryptiontest]=.. ../include
473 DEPEND[tls13encryptiontest]=../libcrypto ../libssl.a libtestutil.a
475 SOURCE[wpackettest]=wpackettest.c
476 INCLUDE[wpackettest]=../include
477 DEPEND[wpackettest]=../libcrypto ../libssl.a libtestutil.a
479 SOURCE[ctype_internal_test]=ctype_internal_test.c
480 INCLUDE[ctype_internal_test]=.. ../crypto/include ../include
481 DEPEND[ctype_internal_test]=../libcrypto.a libtestutil.a
483 SOURCE[siphash_internal_test]=siphash_internal_test.c
484 INCLUDE[siphash_internal_test]=.. ../include ../crypto/include
485 DEPEND[siphash_internal_test]=../libcrypto.a libtestutil.a
487 SOURCE[sm4_internal_test]=sm4_internal_test.c
488 INCLUDE[sm4_internal_test]=.. ../include ../crypto/include
489 DEPEND[sm4_internal_test]=../libcrypto.a libtestutil.a
491 SOURCE[curve448_internal_test]=curve448_internal_test.c
492 INCLUDE[curve448_internal_test]=.. ../include ../crypto/ec/curve448
493 DEPEND[curve448_internal_test]=../libcrypto.a libtestutil.a
495 SOURCE[rdrand_sanitytest]=rdrand_sanitytest.c
496 INCLUDE[rdrand_sanitytest]=../include
497 DEPEND[rdrand_sanitytest]=../libcrypto.a libtestutil.a
500 IF[{- !$disabled{mdc2} -}]
501 PROGRAMS_NO_INST=mdc2_internal_test
504 SOURCE[mdc2_internal_test]=mdc2_internal_test.c
505 INCLUDE[mdc2_internal_test]=.. ../include
506 DEPEND[mdc2_internal_test]=../libcrypto libtestutil.a
508 PROGRAMS_NO_INST=asn1_time_test
509 SOURCE[asn1_time_test]=asn1_time_test.c
510 INCLUDE[asn1_time_test]=../include
511 DEPEND[asn1_time_test]=../libcrypto libtestutil.a
513 # We disable this test completely in a shared build because it deliberately
514 # redefines some internal libssl symbols. This doesn't work in a non-shared
516 IF[{- !$disabled{shared} -}]
517 PROGRAMS_NO_INST=tls13secretstest
518 SOURCE[tls13secretstest]=tls13secretstest.c
519 SOURCE[tls13secretstest]= ../ssl/tls13_enc.c ../ssl/packet.c
520 INCLUDE[tls13secretstest]=.. ../include
521 DEPEND[tls13secretstest]=../libcrypto ../libssl libtestutil.a
524 SOURCE[sslbuffertest]=sslbuffertest.c ssltestlib.c
525 INCLUDE[sslbuffertest]=../include
526 DEPEND[sslbuffertest]=../libcrypto ../libssl libtestutil.a
528 SOURCE[sysdefaulttest]=sysdefaulttest.c
529 INCLUDE[sysdefaulttest]=../include
530 DEPEND[sysdefaulttest]=../libcrypto ../libssl libtestutil.a
534 use File::Spec::Functions;
538 my @nogo_headers = ( "asn1_mac.h",
539 "__decc_include_prologue.h",
540 "__decc_include_epilogue.h" );
541 my @nogo_headers_re = ( qr/.*err\.h/ );
542 my @headerfiles = glob catfile($sourcedir,
543 updir(), "include", "openssl", "*.h");
545 foreach my $headerfile (@headerfiles) {
546 my $name = basename($headerfile, ".h");
547 next if $disabled{$name};
548 next if grep { $_ eq lc("$name.h") } @nogo_headers;
549 next if grep { lc("$name.h") =~ m/$_/i } @nogo_headers_re;
552 PROGRAMS_NO_INST=buildtest_$name
553 GENERATE[buildtest_$name.c]=generate_buildtest.pl $name
554 SOURCE[buildtest_$name]=buildtest_$name.c
555 INCLUDE[buildtest_$name]=../include
556 DEPEND[buildtest_$name]=../libssl ../libcrypto