build.info 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. LIBS=../../libcrypto
  2. $MD5ASM=
  3. IF[{- !$disabled{asm} -}]
  4. $MD5ASM_x86=md5-586.s
  5. $MD5ASM_x86_64=md5-x86_64.s
  6. $MD5ASM_sparcv9=md5-sparcv9.S
  7. # Now that we have defined all the arch specific variables, use the
  8. # appropriate one, and define the appropriate macros
  9. IF[$MD5ASM_{- $target{asm_arch} -}]
  10. $MD5ASM=$MD5ASM_{- $target{asm_arch} -}
  11. $MD5DEF=MD5_ASM
  12. ENDIF
  13. ENDIF
  14. $COMMON=md5_dgst.c md5_one.c md5_sha1.c $MD5ASM
  15. SOURCE[../../libcrypto]=$COMMON
  16. # A no-deprecated no-shared build ends up with double function definitions
  17. # without conditioning this on dso. The issue is MD5 which is needed in the
  18. # legacy provider for one of the spliced algorithms, however it resides in the
  19. # default provider. A no-deprecated build removes the external definition from
  20. # libcrypto and this means that the code needs to be in liblegacy. However,
  21. # when building without 'dso', liblegacy is included in libcrypto.
  22. IF[{- !$disabled{dso} -}]
  23. SOURCE[../../providers/liblegacy.a]=$COMMON
  24. ENDIF
  25. # Implementations are now spread across several libraries, so the defines
  26. # need to be applied to all affected libraries and modules.
  27. DEFINE[../../libcrypto]=$MD5DEF
  28. DEFINE[../../providers/liblegacy.a]=$MD5DEF
  29. GENERATE[md5-586.s]=asm/md5-586.pl
  30. GENERATE[md5-x86_64.s]=asm/md5-x86_64.pl
  31. GENERATE[md5-sparcv9.S]=asm/md5-sparcv9.pl
  32. INCLUDE[md5-sparcv9.o]=..