File: win32.bat

package info (click to toggle)
edk2 0~20161202.7bbe0b3e-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 178,536 kB
  • sloc: ansic: 1,712,279; perl: 107,239; python: 93,573; asm: 75,607; cpp: 22,797; makefile: 15,605; sh: 5,170; pascal: 2,013; xml: 318; lisp: 58
file content (18 lines) | stat: -rwxr-xr-x 688 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
rem win32 dll build

set OPTIONS1=-DDES_ASM -DBN_ASM -DBF_ASM -DFLAT_INC -Iout -Itmp -DL_ENDIAN
set OPTIONS2=/W3 /WX /Ox /Gs0 /GF /Gy /nologo

set OPTIONS=%OPTIONS1% %OPTIONS2%

rem ml /coff /c crypto\bf\asm\b-win32.asm
rem ml /coff /c crypto\des\asm\c-win32.asm
rem ml /coff /c crypto\des\asm\d-win32.asm
rem ml /coff /c crypto\bn\asm\x86nt32.asm

cl /Focrypto.obj -DWIN32 %OPTIONS% -c crypto\crypto.c
cl /Fossl.obj -DWIN32 %OPTIONS% -c ssl\ssl.c
cl /Foeay.obj -DWIN32 %OPTIONS% -c apps\eay.c

cl /Fessleay.exe %OPTIONS% eay.obj ssl.obj crypto.obj crypto\bf\asm\b-win32.obj crypto\des\asm\c-win32.obj crypto\des\asm\d-win32.obj crypto\bn\asm\x86nt32.obj user32.lib gdi32.lib ws2_32.lib