If make clean fails it is not a fatal error.
[openssl.git] / ms / do_fips.bat
index aac21ad327323678315da4b47875e6295c16125d..73b0a3e8e47e6eb96a5757103a0958f5126aa997 100644 (file)
@@ -1,6 +1,7 @@
 @echo off
 
 SET ASM=%1
 @echo off
 
 SET ASM=%1
+SET EXARG=
 
 if NOT X%PROCESSOR_ARCHITECTURE% == X goto defined 
 
 
 if NOT X%PROCESSOR_ARCHITECTURE% == X goto defined 
 
@@ -43,7 +44,8 @@ SET ASM=nasm
 
 :compile
 
 
 :compile
 
-perl Configure %TARGET% fipscanisteronly
+if x%ASM% == xno-asm SET EXARG=no-asm
+perl Configure %TARGET% %EXARG% fipscheck
 pause
 
 echo on
 pause
 
 echo on
@@ -55,6 +57,7 @@ perl util\mk1mf.pl dll %ASM% %TARGET% >ms\ntdll.mak
 
 nmake -f ms\ntdll.mak clean
 nmake -f ms\ntdll.mak
 
 nmake -f ms\ntdll.mak clean
 nmake -f ms\ntdll.mak
+@if ERRORLEVEL 1 goto error
 nmake -f ms\ntdll.mak install
 @if ERRORLEVEL 1 goto error
 
 nmake -f ms\ntdll.mak install
 @if ERRORLEVEL 1 goto error