Start to reduce some of the header bloat.
[openssl.git] / shlib / win32.bat
1 rem win32 dll build
2
3 set OPTIONS1=-DDES_ASM -DBN_ASM -DBF_ASM -DFLAT_INC -Iout -Itmp -DL_ENDIAN
4 set OPTIONS2=/W3 /WX /Ox /Gs0 /GF /Gy /nologo
5
6 set OPTIONS=%OPTIONS1% %OPTIONS2%
7
8 rem ml /coff /c crypto\bf\asm\b-win32.asm
9 rem ml /coff /c crypto\des\asm\c-win32.asm
10 rem ml /coff /c crypto\des\asm\d-win32.asm
11 rem ml /coff /c crypto\bn\asm\x86nt32.asm
12
13 cl /Focrypto.obj -DWIN32 %OPTIONS% -c crypto\crypto.c
14 cl /Fossl.obj -DWIN32 %OPTIONS% -c ssl\ssl.c
15 cl /Foeay.obj -DWIN32 %OPTIONS% -c apps\eay.c
16
17 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 wsock32.lib
18