build.info 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. LIBS=../../libcrypto
  2. $WPASM=wp_block.c
  3. IF[{- !$disabled{asm} -}]
  4. IF[{- $config{processor} ne "386" -}]
  5. $WPASM_x86=wp_block.c wp-mmx.s
  6. $WPDEF_x86=WHIRLPOOL_ASM
  7. ENDIF
  8. $WPASM_x86_64=wp-x86_64.s
  9. $WPDEF_x86_64=WHIRLPOOL_ASM
  10. # Now that we have defined all the arch specific variables, use the
  11. # appropriate one, and define the appropriate macros
  12. IF[$WPASM_{- $target{asm_arch} -}]
  13. $WPASM=$WPASM_{- $target{asm_arch} -}
  14. $WPDEF=$WPDEF_{- $target{asm_arch} -}
  15. ENDIF
  16. ENDIF
  17. # Implementations are now spread across several libraries, so the defines
  18. # need to be applied to all affected libraries and modules.
  19. DEFINE[../../providers/libimplementations.a]=$WPDEF
  20. SOURCE[../../libcrypto]=wp_dgst.c $WPASM
  21. DEFINE[../../libcrypto]=$WPDEF
  22. # When all deprecated symbols are removed, libcrypto doesn't export the
  23. # WHIRLPOOL functions, so we must include them directly in liblegacy.a
  24. IF[{- $disabled{'deprecated-3.0'} -}]
  25. SOURCE[../../providers/liblegacy.a]=wp_dgst.c $WPASM
  26. DEFINE[../../providers/liblegacy.a]=$WPDEF
  27. ENDIF
  28. GENERATE[wp-mmx.s]=asm/wp-mmx.pl
  29. DEPEND[wp-mmx.s]=../perlasm/x86asm.pl
  30. GENERATE[wp-x86_64.s]=asm/wp-x86_64.pl