build.info 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. SUBDIRS=lib
  2. # Program init source, that don't have direct linkage with the rest of the
  3. # source, and can therefore not be part of a library.
  4. IF[{- !$disabled{uplink} -}]
  5. $INITSRC=../ms/applink.c
  6. ENDIF
  7. IF[{- $config{target} =~ /^vms-/ -}]
  8. $INITSRC=vms_decc_init.c
  9. ENDIF
  10. # Source for the 'openssl' program
  11. $OPENSSLSRC=\
  12. openssl.c progs.c \
  13. asn1pars.c ca.c ciphers.c cms.c crl.c crl2p7.c dgst.c \
  14. enc.c errstr.c \
  15. genpkey.c kdf.c mac.c nseq.c passwd.c pkcs7.c \
  16. pkcs8.c pkey.c pkeyparam.c pkeyutl.c prime.c rand.c req.c \
  17. s_client.c s_server.c s_time.c sess_id.c smime.c speed.c \
  18. spkac.c verify.c version.c x509.c rehash.c storeutl.c \
  19. list.c info.c fipsinstall.c
  20. IF[{- !$disabled{'des'} -}]
  21. $OPENSSLSRC=$OPENSSLSRC pkcs12.c
  22. ENDIF
  23. IF[{- !$disabled{'ec'} -}]
  24. $OPENSSLSRC=$OPENSSLSRC ec.c ecparam.c
  25. ENDIF
  26. IF[{- !$disabled{'ocsp'} -}]
  27. $OPENSSLSRC=$OPENSSLSRC ocsp.c
  28. ENDIF
  29. IF[{- !$disabled{'srp'} -}]
  30. $OPENSSLSRC=$OPENSSLSRC srp.c
  31. ENDIF
  32. IF[{- !$disabled{'ts'} -}]
  33. $OPENSSLSRC=$OPENSSLSRC ts.c
  34. ENDIF
  35. IF[{- !$disabled{'dh'} -}]
  36. $OPENSSLSRC=$OPENSSLSRC dhparam.c
  37. ENDIF
  38. IF[{- !$disabled{'dsa'} -}]
  39. $OPENSSLSRC=$OPENSSLSRC dsa.c dsaparam.c gendsa.c
  40. ENDIF
  41. IF[{- !$disabled{'engine'} -}]
  42. $OPENSSLSRC=$OPENSSLSRC engine.c
  43. ENDIF
  44. IF[{- !$disabled{'rsa'} -}]
  45. $OPENSSLSRC=$OPENSSLSRC rsa.c genrsa.c
  46. ENDIF
  47. IF[{- !$disabled{'deprecated-3.0'} -}]
  48. IF[{- !$disabled{'rsa'} -}]
  49. $OPENSSLSRC=$OPENSSLSRC rsautl.c
  50. ENDIF
  51. ENDIF
  52. IF[{- !$disabled{'cmp'} -}]
  53. $OPENSSLSRC=$OPENSSLSRC cmp.c cmp_mock_srv.c
  54. ENDIF
  55. IF[{- !$disabled{apps} -}]
  56. PROGRAMS=openssl
  57. SOURCE[openssl]=$INITSRC $OPENSSLSRC
  58. INCLUDE[openssl]=.. ../include include
  59. DEPEND[openssl]=libapps.a ../libssl
  60. DEPEND[${OPENSSLSRC/.c/.o}]=progs.h
  61. GENERATE[progs.c]=progs.pl -C $(APPS_OPENSSL)
  62. GENERATE[progs.h]=progs.pl -H $(APPS_OPENSSL)
  63. # progs.pl tries to read all 'openssl' sources, including progs.c, so we make
  64. # sure things are generated in the correct order.
  65. DEPEND[progs.h]=progs.c
  66. # Because the files to look through may change (depends on $OPENSSLSRC),
  67. # always depend on a changed configuration.
  68. DEPEND[progs.c]=../configdata.pm
  69. IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}]
  70. GENERATE[openssl.rc]=../util/mkrc.pl openssl
  71. SOURCE[openssl]=openssl.rc
  72. ENDIF
  73. SCRIPTS{misc}=CA.pl
  74. SOURCE[CA.pl]=CA.pl.in
  75. # linkname tells build files that a symbolic link or copy of this script
  76. # without extension must be installed as well. Unix or Unix lookalike only.
  77. SCRIPTS{misc,linkname=tsget}=tsget.pl
  78. SOURCE[tsget.pl]=tsget.in
  79. ENDIF