summaryrefslogtreecommitdiffstats
path: root/ms
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-10-04 14:27:39 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-10-04 14:27:39 +0000
commitea11fc17cf6842eb0b2a95f3ea4839201e133f03 (patch)
tree7e072978d02ad741de1c4b10f7915e2d31a7bf76 /ms
parent05b751c96b266a0e05aa1b3764e38f44cb0a4f53 (diff)
Add support for Windows CE and C64+ to FIPS module. (from fips2-stable)
Diffstat (limited to 'ms')
-rw-r--r--ms/do_fips.bat29
1 files changed, 16 insertions, 13 deletions
diff --git a/ms/do_fips.bat b/ms/do_fips.bat
index 18a3578a26..357f8fc76e 100644
--- a/ms/do_fips.bat
+++ b/ms/do_fips.bat
@@ -1,15 +1,10 @@
-@echo off
+rem @echo off
-if X%CROSS_TARGET% == X goto detect
-
-echo Cross compiling for %CROSS_TARGET%
-SET TARGET=%CROSS_TARGET%
-SET ASM=%CROSS_ASM%
-goto compile
-
-:detect
SET ASM=%1
SET EXARG=
+SET MFILE=ntdll.mak
+
+if NOT X%OSVERSION% == X goto wince
if NOT X%PROCESSOR_ARCHITECTURE% == X goto defined
@@ -50,6 +45,14 @@ SET TARGET=VC-WIN64A
if x%ASM% == xno-asm goto compile
SET ASM=nasm
+goto compile
+
+:wince
+
+echo Auto Configuring for WinCE
+SET TARGET=VC-CE
+SET MFILE=cedll.mak
+
:compile
if x%ASM% == xno-asm SET EXARG=no-asm
@@ -60,13 +63,13 @@ echo on
perl util\mkfiles.pl >MINFO
@if ERRORLEVEL 1 goto error
-perl util\mk1mf.pl dll %ASM% %TARGET% >ms\ntdll.mak
+perl util\mk1mf.pl dll %ASM% %TARGET% >ms\%MFILE%
@if ERRORLEVEL 1 goto error
-nmake -f ms\ntdll.mak clean
-nmake -f ms\ntdll.mak
+nmake -f ms\%MFILE% clean
+nmake -f ms\%MFILE%
@if ERRORLEVEL 1 goto error
-nmake -f ms\ntdll.mak install
+nmake -f ms\%MFILE% install
@if ERRORLEVEL 1 goto error
@echo.