build.info 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. LIBS=../../libcrypto
  2. $MODESASM=
  3. IF[{- !$disabled{asm} -}]
  4. $MODESASM_x86=ghash-x86.s
  5. $MODESDEF_x86=GHASH_ASM
  6. $MODESASM_x86_64=ghash-x86_64.s aesni-gcm-x86_64.s
  7. $MODESDEF_x86_64=GHASH_ASM
  8. # ghash-ia64.s doesn't work on VMS
  9. IF[{- $config{target} !~ /^vms-/ -}]
  10. $MODESASM_ia64=ghash-ia64.s
  11. $MODESDEF_ia64=GHASH_ASM
  12. ENDIF
  13. $MODESASM_sparcv9=ghash-sparcv9.S
  14. $MODESDEF_sparcv9=GHASH_ASM
  15. $MODESASM_alpha=ghash-alpha.S
  16. $MODESDEF_alpha=GHASH_ASM
  17. $MODESASM_s390x=ghash-s390x.S
  18. $MODESDEF_s390x=GHASH_ASM
  19. $MODESASM_armv4=ghash-armv4.S ghashv8-armx.S
  20. $MODESDEF_armv4=GHASH_ASM
  21. $MODESASM_aarch64=ghashv8-armx.S
  22. $MODESDEF_aarch64=
  23. $MODESASM_parisc11=ghash-parisc.s
  24. $MODESDEF_parisc11=GHASH_ASM
  25. $MODESASM_parisc20_64=$MODESASM_parisc11
  26. $MODESDEF_parisc20_64=$MODESDEF_parisc11
  27. $MODESASM_ppc32=ghashp8-ppc.s
  28. $MODESDEF_ppc32=
  29. $MODESASM_ppc64=$MODESASM_ppc32
  30. $MODESDEF_ppc64=$MODESDEF_ppc32
  31. $MODESASM_c64xplus=ghash-c64xplus.s
  32. $MODESDEF_c64xplus=GHASH_ASM
  33. # Now that we have defined all the arch specific variables, use the
  34. # appropriate one, and define the appropriate macros
  35. IF[$MODESASM_{- $target{asm_arch} -}]
  36. $MODESASM=$MODESASM_{- $target{asm_arch} -}
  37. $MODESDEF=$MODESDEF_{- $target{asm_arch} -}
  38. ENDIF
  39. ENDIF
  40. $COMMON=cbc128.c ctr128.c cfb128.c ofb128.c gcm128.c ccm128.c xts128.c \
  41. wrap128.c $MODESASM
  42. SOURCE[../../libcrypto]=$COMMON \
  43. cts128.c ocb128.c siv128.c
  44. SOURCE[../../providers/libfips.a]=$COMMON
  45. # Implementations are now spread across several libraries, so the defines
  46. # need to be applied to all affected libraries and modules.
  47. DEFINE[../../libcrypto]=$MODESDEF
  48. DEFINE[../../providers/libfips.a]=$MODESDEF
  49. DEFINE[../../providers/libimplementations.a]=$MODESDEF
  50. INCLUDE[gcm128.o]=..
  51. GENERATE[ghash-ia64.s]=asm/ghash-ia64.pl
  52. GENERATE[ghash-x86.s]=asm/ghash-x86.pl
  53. GENERATE[ghash-x86_64.s]=asm/ghash-x86_64.pl
  54. GENERATE[aesni-gcm-x86_64.s]=asm/aesni-gcm-x86_64.pl
  55. GENERATE[ghash-sparcv9.S]=asm/ghash-sparcv9.pl
  56. INCLUDE[ghash-sparcv9.o]=..
  57. GENERATE[ghash-alpha.S]=asm/ghash-alpha.pl
  58. GENERATE[ghash-parisc.s]=asm/ghash-parisc.pl
  59. GENERATE[ghashp8-ppc.s]=asm/ghashp8-ppc.pl
  60. GENERATE[ghash-armv4.S]=asm/ghash-armv4.pl
  61. INCLUDE[ghash-armv4.o]=..
  62. GENERATE[ghashv8-armx.S]=asm/ghashv8-armx.pl
  63. INCLUDE[ghashv8-armx.o]=..
  64. GENERATE[ghash-s390x.S]=asm/ghash-s390x.pl
  65. INCLUDE[ghash-s390x.o]=..
  66. GENERATE[ghash-c64xplus.S]=asm/ghash-c64xplus.pl