build.info 735 B

123456789101112131415161718192021222324252627
  1. LIBS=../../libcrypto
  2. IF[{- !$disabled{sm3} -}]
  3. IF[{- !$disabled{asm} -}]
  4. $SM3ASM_aarch64=sm3-armv8.S
  5. $SM3DEF_aarch64=OPENSSL_SM3_ASM
  6. $SM3ASM_riscv64=sm3_riscv.c sm3-riscv64-zvksh.S
  7. $SM3DEF_riscv64=OPENSSL_SM3_ASM
  8. # Now that we have defined all the arch specific variables, use the
  9. # appropriate ones, and define the appropriate macros
  10. IF[$SM3ASM_{- $target{asm_arch} -}]
  11. $SM3ASM=$SM3ASM_{- $target{asm_arch} -}
  12. $SM3DEF=$SM3DEF_{- $target{asm_arch} -}
  13. ENDIF
  14. ENDIF
  15. SOURCE[../../libcrypto]=sm3.c legacy_sm3.c $SM3ASM
  16. DEFINE[../../libcrypto]=$SM3DEF
  17. GENERATE[sm3-armv8.S]=asm/sm3-armv8.pl
  18. INCLUDE[sm3-armv8.o]=..
  19. GENERATE[sm3-riscv64-zvksh.S]=asm/sm3-riscv64-zvksh.pl
  20. ENDIF