2
0

do_masm.bat 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. @echo off
  2. SET ASMOPTS=-DOPENSSL_IA32_SSE2
  3. echo Generating x86 for MASM assember
  4. echo Bignum
  5. cd crypto\bn\asm
  6. perl bn-586.pl win32 %ASMOPTS% > bn_win32.asm
  7. perl co-586.pl win32 %ASMOPTS% > co_win32.asm
  8. cd ..\..\..
  9. echo AES
  10. cd crypto\aes\asm
  11. perl aes-586.pl win32 %ASMOPTS% > a_win32.asm
  12. cd ..\..\..
  13. echo DES
  14. cd crypto\des\asm
  15. perl des-586.pl win32 %ASMOPTS% > d_win32.asm
  16. cd ..\..\..
  17. echo "crypt(3)"
  18. cd crypto\des\asm
  19. perl crypt586.pl win32 %ASMOPTS% > y_win32.asm
  20. cd ..\..\..
  21. echo Blowfish
  22. cd crypto\bf\asm
  23. perl bf-586.pl win32 %ASMOPTS% > b_win32.asm
  24. cd ..\..\..
  25. echo CAST5
  26. cd crypto\cast\asm
  27. perl cast-586.pl win32 %ASMOPTS% > c_win32.asm
  28. cd ..\..\..
  29. echo RC4
  30. cd crypto\rc4\asm
  31. perl rc4-586.pl win32 %ASMOPTS% > r4_win32.asm
  32. cd ..\..\..
  33. echo MD5
  34. cd crypto\md5\asm
  35. perl md5-586.pl win32 %ASMOPTS% > m5_win32.asm
  36. cd ..\..\..
  37. echo SHA1
  38. cd crypto\sha\asm
  39. perl sha1-586.pl win32 %ASMOPTS% > s1_win32.asm
  40. perl sha512-sse2.pl win32 %ASMOPTS% > sha512-sse2.asm
  41. cd ..\..\..
  42. echo RIPEMD160
  43. cd crypto\ripemd\asm
  44. perl rmd-586.pl win32 %ASMOPTS% > rm_win32.asm
  45. cd ..\..\..
  46. echo RC5\32
  47. cd crypto\rc5\asm
  48. perl rc5-586.pl win32 %ASMOPTS% > r5_win32.asm
  49. cd ..\..\..
  50. echo CPU-ID
  51. cd crypto
  52. perl x86cpuid.pl win32 %ASMOPTS% > cpu_win32.asm
  53. cd ..
  54. echo on
  55. perl util\mkfiles.pl >MINFO
  56. perl util\mk1mf.pl VC-WIN32 >ms\nt.mak
  57. perl util\mk1mf.pl dll VC-WIN32 >ms\ntdll.mak
  58. perl util\mkdef.pl 32 libeay > ms\libeay32.def
  59. perl util\mkdef.pl 32 ssleay > ms\ssleay32.def