build.info 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. LIBS=../../libcrypto
  2. SOURCE[../../libcrypto]=\
  3. sha1dgst.c sha1_one.c sha256.c sha512.c {- $target{sha1_asm_src} -} \
  4. {- $target{keccak1600_asm_src} -}
  5. GENERATE[sha1-586.s]=asm/sha1-586.pl \
  6. $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
  7. DEPEND[sha1-586.s]=../perlasm/x86asm.pl
  8. GENERATE[sha256-586.s]=asm/sha256-586.pl \
  9. $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
  10. DEPEND[sha256-586.s]=../perlasm/x86asm.pl
  11. GENERATE[sha512-586.s]=asm/sha512-586.pl \
  12. $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
  13. DEPEND[sha512-586.s]=../perlasm/x86asm.pl
  14. GENERATE[sha1-ia64.s]=asm/sha1-ia64.pl $(LIB_CFLAGS) $(LIB_CPPFLAGS)
  15. GENERATE[sha256-ia64.s]=asm/sha512-ia64.pl $(LIB_CFLAGS) $(LIB_CPPFLAGS)
  16. GENERATE[sha512-ia64.s]=asm/sha512-ia64.pl $(LIB_CFLAGS) $(LIB_CPPFLAGS)
  17. GENERATE[sha1-alpha.S]=asm/sha1-alpha.pl $(PERLASM_SCHEME)
  18. GENERATE[sha1-x86_64.s]=asm/sha1-x86_64.pl $(PERLASM_SCHEME)
  19. GENERATE[sha1-mb-x86_64.s]=asm/sha1-mb-x86_64.pl $(PERLASM_SCHEME)
  20. GENERATE[sha256-x86_64.s]=asm/sha512-x86_64.pl $(PERLASM_SCHEME)
  21. GENERATE[sha256-mb-x86_64.s]=asm/sha256-mb-x86_64.pl $(PERLASM_SCHEME)
  22. GENERATE[sha512-x86_64.s]=asm/sha512-x86_64.pl $(PERLASM_SCHEME)
  23. GENERATE[keccak1600-x86_64.s]=asm/keccak1600-x86_64.pl $(PERLASM_SCHEME)
  24. GENERATE[sha1-sparcv9.S]=asm/sha1-sparcv9.pl $(PERLASM_SCHEME)
  25. INCLUDE[sha1-sparcv9.o]=..
  26. GENERATE[sha256-sparcv9.S]=asm/sha512-sparcv9.pl $(PERLASM_SCHEME)
  27. INCLUDE[sha256-sparcv9.o]=..
  28. GENERATE[sha512-sparcv9.S]=asm/sha512-sparcv9.pl $(PERLASM_SCHEME)
  29. INCLUDE[sha512-sparcv9.o]=..
  30. GENERATE[sha1-ppc.s]=asm/sha1-ppc.pl $(PERLASM_SCHEME)
  31. GENERATE[sha256-ppc.s]=asm/sha512-ppc.pl $(PERLASM_SCHEME)
  32. GENERATE[sha512-ppc.s]=asm/sha512-ppc.pl $(PERLASM_SCHEME)
  33. GENERATE[sha256p8-ppc.s]=asm/sha512p8-ppc.pl $(PERLASM_SCHEME)
  34. GENERATE[sha512p8-ppc.s]=asm/sha512p8-ppc.pl $(PERLASM_SCHEME)
  35. GENERATE[keccak1600-ppc64.s]=asm/keccak1600-ppc64.pl $(PERLASM_SCHEME)
  36. GENERATE[sha1-parisc.s]=asm/sha1-parisc.pl $(PERLASM_SCHEME)
  37. GENERATE[sha256-parisc.s]=asm/sha512-parisc.pl $(PERLASM_SCHEME)
  38. GENERATE[sha512-parisc.s]=asm/sha512-parisc.pl $(PERLASM_SCHEME)
  39. GENERATE[sha1-mips.S]=asm/sha1-mips.pl $(PERLASM_SCHEME)
  40. INCLUDE[sha1-mips.o]=..
  41. GENERATE[sha256-mips.S]=asm/sha512-mips.pl $(PERLASM_SCHEME)
  42. INCLUDE[sha256-mips.o]=..
  43. GENERATE[sha512-mips.S]=asm/sha512-mips.pl $(PERLASM_SCHEME)
  44. INCLUDE[sha512-mips.o]=..
  45. GENERATE[sha1-armv4-large.S]=asm/sha1-armv4-large.pl $(PERLASM_SCHEME)
  46. INCLUDE[sha1-armv4-large.o]=..
  47. GENERATE[sha256-armv4.S]=asm/sha256-armv4.pl $(PERLASM_SCHEME)
  48. INCLUDE[sha256-armv4.o]=..
  49. GENERATE[sha512-armv4.S]=asm/sha512-armv4.pl $(PERLASM_SCHEME)
  50. INCLUDE[sha512-armv4.o]=..
  51. GENERATE[keccak1600-armv4.S]=asm/keccak1600-armv4.pl $(PERLASM_SCHEME)
  52. INCLUDE[keccak1600-armv4.o]=..
  53. GENERATE[sha1-armv8.S]=asm/sha1-armv8.pl $(PERLASM_SCHEME)
  54. INCLUDE[sha1-armv8.o]=..
  55. GENERATE[sha256-armv8.S]=asm/sha512-armv8.pl $(PERLASM_SCHEME)
  56. INCLUDE[sha256-armv8.o]=..
  57. GENERATE[sha512-armv8.S]=asm/sha512-armv8.pl $(PERLASM_SCHEME)
  58. INCLUDE[sha512-armv8.o]=..
  59. GENERATE[keccak1600-armv8.S]=asm/keccak1600-armv8.pl $(PERLASM_SCHEME)
  60. GENERATE[sha1-s390x.S]=asm/sha1-s390x.pl $(PERLASM_SCHEME)
  61. INCLUDE[sha1-s390x.o]=..
  62. GENERATE[sha256-s390x.S]=asm/sha512-s390x.pl $(PERLASM_SCHEME)
  63. INCLUDE[sha256-s390x.o]=..
  64. GENERATE[sha512-s390x.S]=asm/sha512-s390x.pl $(PERLASM_SCHEME)
  65. INCLUDE[sha512-s390x.o]=..
  66. GENERATE[keccak1600-s390x.S]=asm/keccak1600-s390x.pl $(PERLASM_SCHEME)
  67. BEGINRAW[Makefile(unix)]
  68. ##### SHA assembler implementations
  69. # GNU make "catch all"
  70. {- $builddir -}/sha1-%.S: {- $sourcedir -}/asm/sha1-%.pl
  71. CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
  72. {- $builddir -}/sha256-%.S: {- $sourcedir -}/asm/sha512-%.pl
  73. CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
  74. {- $builddir -}/sha512-%.S: {- $sourcedir -}/asm/sha512-%.pl
  75. CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
  76. ENDRAW[Makefile(unix)]