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