build.info 1.6 KB

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