build.info 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {- our @apps_openssl_src =
  2. qw(openssl.c
  3. asn1pars.c ca.c ciphers.c cms.c crl.c crl2p7.c dgst.c
  4. enc.c errstr.c
  5. genpkey.c nseq.c passwd.c pkcs7.c pkcs8.c
  6. pkey.c pkeyparam.c pkeyutl.c prime.c rand.c req.c
  7. s_client.c s_server.c s_time.c sess_id.c smime.c speed.c spkac.c
  8. verify.c version.c x509.c rehash.c storeutl.c);
  9. our @apps_lib_src =
  10. ( qw(apps.c opt.c s_cb.c s_socket.c app_rand.c bf_prefix.c),
  11. split(/\s+/, $target{apps_aux_src}) );
  12. our @apps_init_src = split(/\s+/, $target{apps_init_src});
  13. "" -}
  14. IF[{- !$disabled{apps} -}]
  15. LIBS_NO_INST=libapps.a
  16. SOURCE[libapps.a]={- join(" ", @apps_lib_src) -}
  17. INCLUDE[libapps.a]=.. ../include
  18. PROGRAMS=openssl
  19. SOURCE[openssl]={- join(" ", @apps_init_src) -}
  20. SOURCE[openssl]={- join(" ", @apps_openssl_src) -}
  21. INCLUDE[openssl]=.. ../include
  22. DEPEND[openssl]=libapps.a ../libssl
  23. IF[{- !$disabled{'des'} -}]
  24. SOURCE[openssl]=pkcs12.c
  25. DEPEND[pkcs12.o]=progs.h
  26. ENDIF
  27. IF[{- !$disabled{'ec'} -}]
  28. SOURCE[openssl]=ec.c ecparam.c
  29. DEPEND[ec.o]=progs.h
  30. DEPEND[ecparam.o]=progs.h
  31. ENDIF
  32. IF[{- !$disabled{'ocsp'} -}]
  33. SOURCE[openssl]=ocsp.c
  34. DEPEND[ocsp.o]=progs.h
  35. ENDIF
  36. IF[{- !$disabled{'srp'} -}]
  37. SOURCE[openssl]=srp.c
  38. DEPEND[srp.o]=progs.h
  39. ENDIF
  40. IF[{- !$disabled{'ts'} -}]
  41. SOURCE[openssl]=ts.c
  42. DEPEND[ts.o]=progs.h
  43. ENDIF
  44. IF[{- !$disabled{'dh'} -}]
  45. SOURCE[openssl]=dhparam.c
  46. DEPEND[dhparam.o]=progs.h
  47. ENDIF
  48. IF[{- !$disabled{'dsa'} -}]
  49. SOURCE[openssl]=dsa.c dsaparam.c gendsa.c
  50. DEPEND[dsa.o]=progs.h
  51. DEPEND[dsaparam.o]=progs.h
  52. DEPEND[gendsa.o]=progs.h
  53. ENDIF
  54. IF[{- !$disabled{'engine'} -}]
  55. SOURCE[openssl]=engine.c
  56. DEPEND[engine.o]=progs.h
  57. ENDIF
  58. IF[{- !$disabled{'rsa'} -}]
  59. SOURCE[openssl]=rsa.c rsautl.c genrsa.c
  60. DEPEND[rsa.o]=progs.h
  61. DEPEND[rsautl.o]=progs.h
  62. DEPEND[genrsa.o]=progs.h
  63. ENDIF
  64. IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}]
  65. GENERATE[openssl.rc]=../util/mkrc.pl openssl
  66. SOURCE[openssl]=openssl.rc
  67. ENDIF
  68. {- join("\n ", map { (my $x = $_) =~ s|\.c$|.o|; "DEPEND[$x]=progs.h" }
  69. @apps_openssl_src) -}
  70. GENERATE[progs.h]=progs.pl $(APPS_OPENSSL)
  71. DEPEND[progs.h]=../configdata.pm
  72. SCRIPTS=CA.pl tsget.pl
  73. SOURCE[CA.pl]=CA.pl.in
  74. SOURCE[tsget.pl]=tsget.in
  75. ENDIF