build.info 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. LIBS=../../libcrypto
  2. $POLY1305ASM=
  3. IF[{- !$disabled{asm} -}]
  4. $POLY1305ASM_x86=poly1305-x86.s
  5. $POLY1305ASM_x86_64=poly1305-x86_64.s
  6. $POLY1305ASM_ia64=asm/poly1305-ia64.S
  7. $POLY1305ASM_sparcv9=poly1305-sparcv9.S
  8. $POLY1305ASM_mips64=poly1305-mips.S
  9. $POLY1305ASM_s390x=poly1305-s390x.S
  10. $POLY1305ASM_armv4=poly1305-armv4.S
  11. $POLY1305ASM_aarch64=poly1305-armv8.S
  12. $POLY1305ASM_ppc32=poly1305-ppc.s poly1305-ppcfp.s
  13. $POLY1305ASM_ppc64=$POLY1305ASM_ppc32
  14. $POLY1305ASM_c64xplus=poly1305-c64xplus.s
  15. # Now that we have defined all the arch specific variables, use the
  16. # appropriate one, and define the appropriate macros
  17. IF[$POLY1305ASM_{- $target{asm_arch} -}]
  18. $POLY1305ASM=$POLY1305ASM_{- $target{asm_arch} -}
  19. $POLY1305DEF=POLY1305_ASM
  20. ENDIF
  21. ENDIF
  22. SOURCE[../../libcrypto]=poly1305.c $POLY1305ASM
  23. # Implementations are now spread across several libraries, so the defines
  24. # need to be applied to all affected libraries and modules.
  25. DEFINE[../../libcrypto]=$POLY1305DEF
  26. DEFINE[../../providers/libimplementations.a]=$POLY1305DEF
  27. GENERATE[poly1305-sparcv9.S]=asm/poly1305-sparcv9.pl
  28. INCLUDE[poly1305-sparcv9.o]=..
  29. GENERATE[poly1305-x86.s]=asm/poly1305-x86.pl
  30. GENERATE[poly1305-x86_64.s]=asm/poly1305-x86_64.pl
  31. GENERATE[poly1305-ppc.s]=asm/poly1305-ppc.pl
  32. GENERATE[poly1305-ppcfp.s]=asm/poly1305-ppcfp.pl
  33. GENERATE[poly1305-armv4.S]=asm/poly1305-armv4.pl
  34. INCLUDE[poly1305-armv4.o]=..
  35. GENERATE[poly1305-armv8.S]=asm/poly1305-armv8.pl
  36. INCLUDE[poly1305-armv8.o]=..
  37. GENERATE[poly1305-mips.S]=asm/poly1305-mips.pl
  38. INCLUDE[poly1305-mips.o]=..
  39. GENERATE[poly1305-c64xplus.S]=asm/poly1305-c64xplus.pl
  40. INCLUDE[poly1305-s390x.o]=..
  41. GENERATE[poly1305-s390x.S]=asm/poly1305-s390x.pl