]> andersk Git - splint.git/blobdiff - os2/makeos2.cmd
Fixed -help <mode> bug.
[splint.git] / os2 / makeos2.cmd
index 29fde7c9e78b2842710099e2b221ec1c14baa828..b19264d6424d6dfcfd9a047b8c2be1f0a5bd0a2d 100755 (executable)
@@ -1,7 +1,6 @@
 @echo off\r
 setlocal\r
-set version=3.0.0.16\r
-set base=e:\usr\src\lclint-%version%\r
+call setenv.cmd\r
 if "%1"=="" goto icc\r
 if "%1"=="--icc" goto icc\r
 if "%1"=="-i" goto icc\r
@@ -31,31 +30,30 @@ set COMPILER=icc-os2
 goto initial\r
 \r
 :initial\r
-sh -c "export TODAY=`date.exe`; export LCL_DATE=`date.exe | cut -d ' ' -f 2,3,6`; make -e -f Makefile.os2 %2 %3 %4 %5 %6 %7 %8 %9"\r
+make -f Makefile.os2 confclean\r
+make -e -f Makefile.os2 %2 %3 %4 %5 %6 %7 %8 %9\r
 goto end\r
 \r
 :oldconf\r
 make -f Makefile.os2 --directory=../src --warn-undefined-variables %2 %3 %4 %5 %6 %7 %8 %9 \r
-if errorlevel 0 mv ..\src\lclint.exe ..\bin\r
+make -f Makefile.os2 --directory=../lib --warn-undefined-variables %2 %3 %4 %5 %6 %7 %8 %9 \r
 goto end\r
 \r
 :test\r
-set LARCH_PATH=%base%\lib\r
-set LCLIMPORTDIR=%base%\imports\r
 cd ..\test\r
 echo it's %LARCH_PATH% and %LCLIMPORTDIR%\r
-make LCLINT=%base%\bin\lclint %2 -e -f Makefile-test.os2\r
+make LCLINT=%basedir%\bin\splint %2 %3 %4 %4 %5 %6 %7 %8 %9 -e -f Makefile.os2\r
 cd ..\os2\r
 goto end\r
 \r
 :package\r
-cd %base%\..\r
-rm -f lclint-%version%-os2-*.tar*\r
-tar cvf lclint-%version%-os2-bin.tar lclint-%version%\bin lclint-%version%\imports lclint-%version%\lib lclint-%version%\os2 lclint-%version%\test lclint-%version%\BUFFERCHECKING lclint-%version%\LICENSE lclint-%version%\README\r
-tar cvf lclint-%version%-os2-all.tar lclint-%version%\r
-cd \export\lclint\r
-tar cvf %base%\..\lclint-%version%-os2-add.tar lclint-%version%\r
-gzip %base%\..\lclint-%version%-os2-*.tar\r
+cd %basedir%\..\r
+rm -f splint-%version%-os2-*.tar*\r
+tar cvf splint-%version%-os2-bin.tar splint-%version%\bin splint-%version%\imports splint-%version%\lib splint-%version%\os2 splint-%version%\test splint-%version%\LICENSE splint-%version%\README\r
+tar cvf splint-%version%-os2-all.tar splint-%version%\r
+cd \export\splint\r
+tar cvf %basedir%\..\splint-%version%-os2-add.tar splint-%version%\r
+gzip %basedir%\..\splint-%version%-os2-*.tar\r
 goto end\r
 \r
 :end\r
This page took 0.034653 seconds and 4 git commands to generate.