build.info 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {- our @apps_openssl_src =
  2. qw(openssl.c
  3. asn1pars.c ca.c ciphers.c cms.c crl.c crl2p7.c dgst.c dhparam.c
  4. dsa.c dsaparam.c ec.c ecparam.c enc.c engine.c errstr.c gendsa.c
  5. genpkey.c genrsa.c nseq.c ocsp.c passwd.c pkcs12.c pkcs7.c pkcs8.c
  6. pkey.c pkeyparam.c pkeyutl.c prime.c rand.c req.c rsa.c rsautl.c
  7. s_client.c s_server.c s_time.c sess_id.c smime.c speed.c spkac.c
  8. srp.c ts.c 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[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}]
  24. GENERATE[openssl.rc]=../util/mkrc.pl openssl
  25. SOURCE[openssl]=openssl.rc
  26. ENDIF
  27. {- join("\n ", map { (my $x = $_) =~ s|\.c$|.o|; "DEPEND[$x]=progs.h" }
  28. @apps_openssl_src) -}
  29. GENERATE[progs.h]=progs.pl $(APPS_OPENSSL)
  30. DEPEND[progs.h]=../configdata.pm
  31. SCRIPTS=CA.pl tsget.pl
  32. SOURCE[CA.pl]=CA.pl.in
  33. SOURCE[tsget.pl]=tsget.in
  34. ENDIF