2
0

build.info 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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{noinst}=asn1 asn1parse bignum bndiv client conf crl server x509
  12. IF[{- !$disabled{"cmp"} -}]
  13. PROGRAMS{noinst}=cmp
  14. ENDIF
  15. IF[{- !$disabled{"cms"} -}]
  16. PROGRAMS{noinst}=cms
  17. ENDIF
  18. IF[{- !$disabled{"ct"} -}]
  19. PROGRAMS{noinst}=ct
  20. ENDIF
  21. SOURCE[asn1]=asn1.c driver.c
  22. INCLUDE[asn1]=../include {- $ex_inc -}
  23. DEPEND[asn1]=../libcrypto ../libssl {- $ex_lib -}
  24. SOURCE[asn1parse]=asn1parse.c driver.c
  25. INCLUDE[asn1parse]=../include {- $ex_inc -}
  26. DEPEND[asn1parse]=../libcrypto {- $ex_lib -}
  27. SOURCE[bignum]=bignum.c driver.c
  28. INCLUDE[bignum]=../include {- $ex_inc -}
  29. DEPEND[bignum]=../libcrypto {- $ex_lib -}
  30. SOURCE[bndiv]=bndiv.c driver.c
  31. INCLUDE[bndiv]=../include {- $ex_inc -}
  32. DEPEND[bndiv]=../libcrypto {- $ex_lib -}
  33. SOURCE[client]=client.c driver.c
  34. INCLUDE[client]=../include {- $ex_inc -}
  35. DEPEND[client]=../libcrypto ../libssl {- $ex_lib -}
  36. SOURCE[cmp]=cmp.c driver.c
  37. INCLUDE[cmp]=../include {- $ex_inc -}
  38. DEPEND[cmp]=../libcrypto {- $ex_lib -}
  39. SOURCE[cms]=cms.c driver.c
  40. INCLUDE[cms]=../include {- $ex_inc -}
  41. DEPEND[cms]=../libcrypto {- $ex_lib -}
  42. SOURCE[conf]=conf.c driver.c
  43. INCLUDE[conf]=../include {- $ex_inc -}
  44. DEPEND[conf]=../libcrypto {- $ex_lib -}
  45. SOURCE[crl]=crl.c driver.c
  46. INCLUDE[crl]=../include {- $ex_inc -}
  47. DEPEND[crl]=../libcrypto {- $ex_lib -}
  48. SOURCE[ct]=ct.c driver.c
  49. INCLUDE[ct]=../include {- $ex_inc -}
  50. DEPEND[ct]=../libcrypto {- $ex_lib -}
  51. SOURCE[server]=server.c driver.c
  52. INCLUDE[server]=../include {- $ex_inc -}
  53. DEPEND[server]=../libcrypto ../libssl {- $ex_lib -}
  54. SOURCE[x509]=x509.c driver.c
  55. INCLUDE[x509]=../include {- $ex_inc -}
  56. DEPEND[x509]=../libcrypto {- $ex_lib -}
  57. ENDIF
  58. IF[{- !$disabled{tests} -}]
  59. PROGRAMS{noinst}=asn1-test asn1parse-test bignum-test bndiv-test client-test conf-test crl-test server-test x509-test
  60. IF[{- !$disabled{"cmp"} -}]
  61. PROGRAMS{noinst}=cmp-test
  62. ENDIF
  63. IF[{- !$disabled{"cms"} -}]
  64. PROGRAMS{noinst}=cms-test
  65. ENDIF
  66. IF[{- !$disabled{"ct"} -}]
  67. PROGRAMS{noinst}=ct-test
  68. ENDIF
  69. SOURCE[asn1-test]=asn1.c test-corpus.c
  70. INCLUDE[asn1-test]=../include
  71. DEPEND[asn1-test]=../libcrypto ../libssl
  72. SOURCE[asn1parse-test]=asn1parse.c test-corpus.c
  73. INCLUDE[asn1parse-test]=../include
  74. DEPEND[asn1parse-test]=../libcrypto
  75. SOURCE[bignum-test]=bignum.c test-corpus.c
  76. INCLUDE[bignum-test]=../include
  77. DEPEND[bignum-test]=../libcrypto
  78. SOURCE[bndiv-test]=bndiv.c test-corpus.c
  79. INCLUDE[bndiv-test]=../include
  80. DEPEND[bndiv-test]=../libcrypto
  81. SOURCE[client-test]=client.c test-corpus.c
  82. INCLUDE[client-test]=../include
  83. DEPEND[client-test]=../libcrypto ../libssl
  84. SOURCE[cmp-test]=cmp.c test-corpus.c
  85. INCLUDE[cmp-test]=../include
  86. DEPEND[cmp-test]=../libcrypto.a
  87. # referring to static lib allows using non-exported functions
  88. SOURCE[cms-test]=cms.c test-corpus.c
  89. INCLUDE[cms-test]=../include
  90. DEPEND[cms-test]=../libcrypto
  91. SOURCE[conf-test]=conf.c test-corpus.c
  92. INCLUDE[conf-test]=../include
  93. DEPEND[conf-test]=../libcrypto
  94. SOURCE[crl-test]=crl.c test-corpus.c
  95. INCLUDE[crl-test]=../include
  96. DEPEND[crl-test]=../libcrypto
  97. SOURCE[ct-test]=ct.c test-corpus.c
  98. INCLUDE[ct-test]=../include
  99. DEPEND[ct-test]=../libcrypto
  100. SOURCE[server-test]=server.c test-corpus.c
  101. INCLUDE[server-test]=../include
  102. DEPEND[server-test]=../libcrypto ../libssl
  103. SOURCE[x509-test]=x509.c test-corpus.c
  104. INCLUDE[x509-test]=../include
  105. DEPEND[x509-test]=../libcrypto
  106. ENDIF