From: Nishi Date: Wed, 16 Oct 2024 08:40:59 +0000 (+0000) Subject: add Tewi-OS2 X-Git-Url: https://git.chaotic.ninja/gitweb/nishi/?a=commitdiff_plain;h=6fab2f0e21d123bbb5c76f260e48ccbf62308974;p=tewi.git add Tewi-OS2 git-svn-id: file:///raid/svn-personal/tewi/trunk@353 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/Koakumafile b/Koakumafile index 9c849f3..cf15a8e 100644 --- a/Koakumafile +++ b/Koakumafile @@ -30,6 +30,27 @@ proc run {project_name} { set ::env(PATH) "$::env(PATH):/usr/watcom/binl64" RunCommand "make PLATFORM=watcom" set dirname "watcom" + } elseif { "$project_name" == "Tewi-Watcom" } { + set ::env(WATCOM) "/usr/watcom" + set ::env(INCLUDE) "/usr/watcom/h" + set ::env(PATH) "$::env(PATH):/usr/watcom/binl64" + RunCommand "make PLATFORM=watcom" + set dirname "watcom" + } elseif { "$project_name" == "Tewi-Watcom" } { + set ::env(WATCOM) "/usr/watcom" + set ::env(INCLUDE) "/usr/watcom/h" + set ::env(PATH) "$::env(PATH):/usr/watcom/binl64" + RunCommand "rm -rf os2" + RunCommand "make PLATFORM=os2" + RunCommand "make PLATFORM=os2 install DESTDIR=os2/" + cd os2/C: + RunCommand "zip -rv ../../tewidist.zip Tewi" + cd ../.. + RunCommand "doas mkdir -p /raid/f/g/tewi/os2" + RunCommand "doas mkdir -p /raid/ftp/pub/tewi/os2" + RunCommand "doas cp tewidist.zip /raid/f/g/tewi/os2/tewidistos2-[exec make get-version]-nossl.zip" + RunCommand "doas cp tewidist.zip /raid/ftp/pub/tewi/os2/tewidistos2-[exec make get-version]-nossl.zip" + return } elseif { "$project_name" == "Tewi-PSP" } { RunCommand "./psp.sh" RunCommand "doas mkdir -p /raid/f/g/tewi/psp"