do_nasm.bat 1.5 KB

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