do-not-make-commits-after-24hrs-awake-20031203
authorJeffrey Altman <jaltman@grand.central.org>
Wed, 3 Dec 2003 15:58:55 +0000 (15:58 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 3 Dec 2003 15:58:55 +0000 (15:58 +0000)
.BAT files do not use the same syntax as makefiles.
don't make commits after being up more than 24 hours straight.

src/ntbuild.bat

index 6fd62ee..4da0886 100755 (executable)
@@ -98,19 +98,15 @@ REM Location of netmpr.h/netspi.h (from Windows 95/98 DDK - 8.3 short name)
 SET W9XDDKDIR=c:\progra~1\micros~6
 
 set AFSDEV_INCLUDE=%MSSDKDIR%\include;%MSVCDIR%\include
-!IF ("$(AFSVER_CL)">="1310")
-set AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%MSVCDIR%\atlmfc\include
-!ELSE
-set AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%MSVCDIR%\atl\include;%MSVCDIR%\mfc\include
-!ENDIF
+IF "%AFSVER_CL" GE "1310" set AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%MSVCDIR%\atlmfc\include
+IF "%AFSVER_CL" LT "1310" set AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%MSVCDIR%\atl\include;%MSVCDIR%\mfc\include
 set AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%NTDDKDIR%\include;%W9XDDKDIR%\include
 
 set AFSDEV_LIB=%MSSDKDIR%\lib;%MSVCDIR%\lib
-!IF ("$(AFSVER_CL)">="1310")
+IF "%AFSVER_CL" GE "1310"
 set AFSDEV_LIB=%AFSDEV_LIB%;%MSVCDIR%\atlmfc\lib
-!ELSE
+IF "%AFSVER_CL" LT "1310"
 set AFSDEV_LIB=%AFSDEV_LIB%;%MSVCDIR%\mfc\lib
-!ENDIF
 
 set AFSDEV_BIN=%MSSDKDIR%\bin;%MSVCDIR%\bin