]> andersk Git - splint.git/blob - os2/makeos2.cmd
Fixed the OS/2 specific files for the latest release.
[splint.git] / os2 / makeos2.cmd
1 @echo off\r
2 setlocal\r
3 call setenv.cmd\r
4 if "%1"=="" goto compile\r
5 if "%1"=="-c" goto compile\r
6 if "%1"=="--compile" goto compile\r
7 if "%1"=="--test" goto test\r
8 if "%1"=="-t" goto test\r
9 if "%1"=="--package" goto package\r
10 if "%1"=="-p" goto package\r
11 "echo.exe" "usage: makeos2 [--compile|-c|--test|-t|--package|-p]"\r
12 goto end\r
13 \r
14 :compile\r
15 make -C ../src -e -f Makefile.os2 %2 %3 %4 %5 %6 %7 %8 %9\r
16 goto end\r
17 \r
18 :test\r
19 cd ..\test\r
20 echo it's %LARCH_PATH% and %LCLIMPORTDIR%\r
21 make SPLINT=%basedir%\bin\splint.exe %2 %3 %4 %4 %5 %6 %7 %8 %9 -e -f Makefile.os2\r
22 cd ..\os2\r
23 goto end\r
24 \r
25 :package\r
26 cd %basedir%\..\r
27 rm -f splint-%version%-os2-*.tar*\r
28 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
29 tar cvf splint-%version%-os2-all.tar splint-%version%\r
30 cd \export\splint\r
31 tar cvf %basedir%\..\splint-%version%-os2-add.tar splint-%version%\r
32 gzip %basedir%\..\splint-%version%-os2-*.tar\r
33 goto end\r
34 \r
35 :end\r
36 endlocal\r
This page took 0.753552 seconds and 5 git commands to generate.