2
0

build.info 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. {- use File::Spec::Functions;
  2. our $ex_inc = $withargs{fuzzer_include} &&
  3. (file_name_is_absolute($withargs{fuzzer_include}) ?
  4. $withargs{fuzzer_include} : catdir(updir(), $withargs{fuzzer_include}));
  5. our $ex_lib = $withargs{fuzzer_lib} &&
  6. (file_name_is_absolute($withargs{fuzzer_lib}) ?
  7. $withargs{fuzzer_lib} : catfile(updir(), $withargs{fuzzer_lib}));
  8. ""
  9. -}
  10. IF[{- !$disabled{"fuzz-afl"} || !$disabled{"fuzz-libfuzzer"} -}]
  11. PROGRAMS_NO_INST=asn1 asn1parse bignum bndiv client conf crl server x509
  12. IF[{- !$disabled{"cms"} -}]
  13. PROGRAMS_NO_INST=cms
  14. ENDIF
  15. IF[{- !$disabled{"ct"} -}]
  16. PROGRAMS_NO_INST=ct
  17. ENDIF
  18. SOURCE[asn1]=asn1.c driver.c
  19. INCLUDE[asn1]=../include {- $ex_inc -}
  20. DEPEND[asn1]=../libcrypto ../libssl {- $ex_lib -}
  21. SOURCE[asn1parse]=asn1parse.c driver.c
  22. INCLUDE[asn1parse]=../include {- $ex_inc -}
  23. DEPEND[asn1parse]=../libcrypto {- $ex_lib -}
  24. SOURCE[bignum]=bignum.c driver.c
  25. INCLUDE[bignum]=../include {- $ex_inc -}
  26. DEPEND[bignum]=../libcrypto {- $ex_lib -}
  27. SOURCE[bndiv]=bndiv.c driver.c
  28. INCLUDE[bndiv]=../include {- $ex_inc -}
  29. DEPEND[bndiv]=../libcrypto {- $ex_lib -}
  30. SOURCE[client]=client.c driver.c
  31. INCLUDE[client]=../include {- $ex_inc -}
  32. DEPEND[client]=../libcrypto ../libssl {- $ex_lib -}
  33. SOURCE[cms]=cms.c driver.c
  34. INCLUDE[cms]=../include {- $ex_inc -}
  35. DEPEND[cms]=../libcrypto {- $ex_lib -}
  36. SOURCE[conf]=conf.c driver.c
  37. INCLUDE[conf]=../include {- $ex_inc -}
  38. DEPEND[conf]=../libcrypto {- $ex_lib -}
  39. SOURCE[crl]=crl.c driver.c
  40. INCLUDE[crl]=../include {- $ex_inc -}
  41. DEPEND[crl]=../libcrypto {- $ex_lib -}
  42. SOURCE[ct]=ct.c driver.c
  43. INCLUDE[ct]=../include {- $ex_inc -}
  44. DEPEND[ct]=../libcrypto {- $ex_lib -}
  45. SOURCE[server]=server.c driver.c
  46. INCLUDE[server]=../include {- $ex_inc -}
  47. DEPEND[server]=../libcrypto ../libssl {- $ex_lib -}
  48. SOURCE[x509]=x509.c driver.c
  49. INCLUDE[x509]=../include {- $ex_inc -}
  50. DEPEND[x509]=../libcrypto {- $ex_lib -}
  51. ENDIF
  52. IF[{- !$disabled{tests} -}]
  53. PROGRAMS_NO_INST=asn1-test asn1parse-test bignum-test bndiv-test client-test conf-test crl-test server-test x509-test
  54. IF[{- !$disabled{"cms"} -}]
  55. PROGRAMS_NO_INST=cms-test
  56. ENDIF
  57. IF[{- !$disabled{"ct"} -}]
  58. PROGRAMS_NO_INST=ct-test
  59. ENDIF
  60. SOURCE[asn1-test]=asn1.c test-corpus.c
  61. INCLUDE[asn1-test]=../include
  62. DEPEND[asn1-test]=../libcrypto ../libssl
  63. SOURCE[asn1parse-test]=asn1parse.c test-corpus.c
  64. INCLUDE[asn1parse-test]=../include
  65. DEPEND[asn1parse-test]=../libcrypto
  66. SOURCE[bignum-test]=bignum.c test-corpus.c
  67. INCLUDE[bignum-test]=../include
  68. DEPEND[bignum-test]=../libcrypto
  69. SOURCE[bndiv-test]=bndiv.c test-corpus.c
  70. INCLUDE[bndiv-test]=../include
  71. DEPEND[bndiv-test]=../libcrypto
  72. SOURCE[client-test]=client.c test-corpus.c
  73. INCLUDE[client-test]=../include
  74. DEPEND[client-test]=../libcrypto ../libssl
  75. SOURCE[cms-test]=cms.c test-corpus.c
  76. INCLUDE[cms-test]=../include
  77. DEPEND[cms-test]=../libcrypto
  78. SOURCE[conf-test]=conf.c test-corpus.c
  79. INCLUDE[conf-test]=../include
  80. DEPEND[conf-test]=../libcrypto
  81. SOURCE[crl-test]=crl.c test-corpus.c
  82. INCLUDE[crl-test]=../include
  83. DEPEND[crl-test]=../libcrypto
  84. SOURCE[ct-test]=ct.c test-corpus.c
  85. INCLUDE[ct-test]=../include
  86. DEPEND[ct-test]=../libcrypto
  87. SOURCE[server-test]=server.c test-corpus.c
  88. INCLUDE[server-test]=../include
  89. DEPEND[server-test]=../libcrypto ../libssl
  90. SOURCE[x509-test]=x509.c test-corpus.c
  91. INCLUDE[x509-test]=../include
  92. DEPEND[x509-test]=../libcrypto
  93. ENDIF