aboutsummaryrefslogtreecommitdiff
path: root/openssl/shlib/win32dll.bat
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/shlib/win32dll.bat')
-rw-r--r--openssl/shlib/win32dll.bat13
1 files changed, 13 insertions, 0 deletions
diff --git a/openssl/shlib/win32dll.bat b/openssl/shlib/win32dll.bat
new file mode 100644
index 000000000..294c94c81
--- /dev/null
+++ b/openssl/shlib/win32dll.bat
@@ -0,0 +1,13 @@
+rem win32 dll build
+
+set OPTIONS1=-DDES_ASM -DBN_ASM -DBF_ASM -DFLAT_INC -Iout -Itmp -DL_ENDIAN
+set OPTIONS2=/W3 /WX /Ox /Gf /nologo
+
+set OPTIONS=%OPTIONS1% %OPTIONS2%
+
+cl /Felibeay32.dll /GD /MD /LD -DWIN32 %OPTIONS% ms\libeay32.def crypto\crypto.c 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
+
+cl /Fessleay32.dll /GD /MD /LD -DWIN32 %OPTIONS% ms\ssleay32.def ssl\ssl.c libeay32.lib
+
+cl /Fessleay.exe /MD -DWIN32 %OPTIONS% apps\eay.c ssleay32.lib libeay32.lib user32.lib wsock32.lib
+