build.info 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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 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 {- $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[cms]=cms.c driver.c
  31. INCLUDE[cms]=../include {- $ex_inc -}
  32. DEPEND[cms]=../libcrypto {- $ex_lib -}
  33. SOURCE[conf]=conf.c driver.c
  34. INCLUDE[conf]=../include {- $ex_inc -}
  35. DEPEND[conf]=../libcrypto {- $ex_lib -}
  36. SOURCE[crl]=crl.c driver.c
  37. INCLUDE[crl]=../include {- $ex_inc -}
  38. DEPEND[crl]=../libcrypto {- $ex_lib -}
  39. SOURCE[ct]=ct.c driver.c
  40. INCLUDE[ct]=../include {- $ex_inc -}
  41. DEPEND[ct]=../libcrypto {- $ex_lib -}
  42. SOURCE[server]=server.c driver.c
  43. INCLUDE[server]=../include {- $ex_inc -}
  44. DEPEND[server]=../libcrypto ../libssl {- $ex_lib -}
  45. SOURCE[x509]=x509.c driver.c
  46. INCLUDE[x509]=../include {- $ex_inc -}
  47. DEPEND[x509]=../libcrypto {- $ex_lib -}
  48. ENDIF
  49. IF[{- !$disabled{tests} -}]
  50. PROGRAMS_NO_INST=asn1-test asn1parse-test bignum-test bndiv-test conf-test crl-test server-test x509-test
  51. IF[{- !$disabled{"cms"} -}]
  52. PROGRAMS_NO_INST=cms-test
  53. ENDIF
  54. IF[{- !$disabled{"ct"} -}]
  55. PROGRAMS_NO_INST=ct-test
  56. ENDIF
  57. SOURCE[asn1-test]=asn1.c test-corpus.c
  58. INCLUDE[asn1-test]=../include
  59. DEPEND[asn1-test]=../libcrypto
  60. SOURCE[asn1parse-test]=asn1parse.c test-corpus.c
  61. INCLUDE[asn1parse-test]=../include
  62. DEPEND[asn1parse-test]=../libcrypto
  63. SOURCE[bignum-test]=bignum.c test-corpus.c
  64. INCLUDE[bignum-test]=../include
  65. DEPEND[bignum-test]=../libcrypto
  66. SOURCE[bndiv-test]=bndiv.c test-corpus.c
  67. INCLUDE[bndiv-test]=../include
  68. DEPEND[bndiv-test]=../libcrypto
  69. SOURCE[cms-test]=cms.c test-corpus.c
  70. INCLUDE[cms-test]=../include
  71. DEPEND[cms-test]=../libcrypto
  72. SOURCE[conf-test]=conf.c test-corpus.c
  73. INCLUDE[conf-test]=../include
  74. DEPEND[conf-test]=../libcrypto
  75. SOURCE[crl-test]=crl.c test-corpus.c
  76. INCLUDE[crl-test]=../include
  77. DEPEND[crl-test]=../libcrypto
  78. SOURCE[ct-test]=ct.c test-corpus.c
  79. INCLUDE[ct-test]=../include
  80. DEPEND[ct-test]=../libcrypto
  81. SOURCE[server-test]=server.c test-corpus.c
  82. INCLUDE[server-test]=../include
  83. DEPEND[server-test]=../libcrypto ../libssl
  84. SOURCE[x509-test]=x509.c test-corpus.c
  85. INCLUDE[x509-test]=../include
  86. DEPEND[x509-test]=../libcrypto
  87. ENDIF