build.info 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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 \
  13. asn1parse.c ca.c ciphers.c crl.c crl2pkcs7.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 pkcs12.c
  20. IF[{- !$disabled{'ec'} -}]
  21. $OPENSSLSRC=$OPENSSLSRC ec.c ecparam.c
  22. ENDIF
  23. IF[{- !$disabled{'ocsp'} -}]
  24. $OPENSSLSRC=$OPENSSLSRC ocsp.c
  25. ENDIF
  26. IF[{- !$disabled{'srp'} -}]
  27. $OPENSSLSRC=$OPENSSLSRC srp.c
  28. ENDIF
  29. IF[{- !$disabled{'ts'} -}]
  30. $OPENSSLSRC=$OPENSSLSRC ts.c
  31. ENDIF
  32. IF[{- !$disabled{'dh'} -}]
  33. $OPENSSLSRC=$OPENSSLSRC dhparam.c
  34. ENDIF
  35. IF[{- !$disabled{'dsa'} -}]
  36. $OPENSSLSRC=$OPENSSLSRC dsa.c dsaparam.c gendsa.c
  37. ENDIF
  38. IF[{- !$disabled{'engine'} -}]
  39. $OPENSSLSRC=$OPENSSLSRC engine.c
  40. ENDIF
  41. IF[{- !$disabled{'rsa'} -}]
  42. $OPENSSLSRC=$OPENSSLSRC rsa.c genrsa.c
  43. ENDIF
  44. IF[{- !$disabled{'deprecated-3.0'} -}]
  45. IF[{- !$disabled{'rsa'} -}]
  46. $OPENSSLSRC=$OPENSSLSRC rsautl.c
  47. ENDIF
  48. ENDIF
  49. IF[{- !$disabled{'cms'} -}]
  50. $OPENSSLSRC=$OPENSSLSRC cms.c
  51. ENDIF
  52. IF[{- !$disabled{'cmp'} -}]
  53. $OPENSSLSRC=$OPENSSLSRC cmp.c lib/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. # The nocheck attribute is picked up by progs.pl as a signal not to look
  61. # at that file; some systems may have locked it as the output file, and
  62. # therefore don't allow it to be read at the same time, making progs.pl
  63. # fail.
  64. SOURCE[openssl]{nocheck}=progs.c
  65. DEPEND[${OPENSSLSRC/.c/.o} progs.o]=progs.h
  66. GENERATE[progs.c]=progs.pl "-C" $(APPS_OPENSSL)
  67. GENERATE[progs.h]=progs.pl "-H" $(APPS_OPENSSL)
  68. # progs.pl tries to read all 'openssl' sources, including progs.c, so we make
  69. # sure things are generated in the correct order.
  70. DEPEND[progs.h]=progs.c
  71. # Because the files to look through may change (depends on $OPENSSLSRC),
  72. # always depend on a changed configuration.
  73. DEPEND[progs.c]=../configdata.pm
  74. IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}]
  75. GENERATE[openssl.rc]=../util/mkrc.pl openssl
  76. SOURCE[openssl]=openssl.rc
  77. ENDIF
  78. SCRIPTS{misc}=CA.pl
  79. SOURCE[CA.pl]=CA.pl.in
  80. # linkname tells build files that a symbolic link or copy of this script
  81. # without extension must be installed as well. Unix or Unix lookalike only.
  82. SCRIPTS{misc,linkname=tsget}=tsget.pl
  83. SOURCE[tsget.pl]=tsget.in
  84. ENDIF