diff options
Diffstat (limited to 'ms/do_fips.bat')
-rw-r--r-- | ms/do_fips.bat | 29 |
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. |