Subversion Repositories Tewi

Rev

Rev 288 | Rev 354 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 288 Rev 353
Line 1... Line 1...
1
# $Id: Koakumafile 288 2024-10-09 03:06:28Z nishi $
1
# $Id: Koakumafile 353 2024-10-16 08:40:59Z nishi $
2
# vim: syntax=tcl
2
# vim: syntax=tcl
3
 
3
 
4
proc run {project_name} {
4
proc run {project_name} {
5
	set once 1
5
	set once 1
6
	while 1 {
6
	while 1 {
Line 28... Line 28...
28
			set ::env(WATCOM) "/usr/watcom"
28
			set ::env(WATCOM) "/usr/watcom"
29
			set ::env(INCLUDE) "/usr/watcom/h"
29
			set ::env(INCLUDE) "/usr/watcom/h"
30
			set ::env(PATH) "$::env(PATH):/usr/watcom/binl64"
30
			set ::env(PATH) "$::env(PATH):/usr/watcom/binl64"
31
			RunCommand "make PLATFORM=watcom"
31
			RunCommand "make PLATFORM=watcom"
32
			set dirname "watcom"
32
			set dirname "watcom"
-
 
33
		} elseif { "$project_name" == "Tewi-Watcom" } {
-
 
34
			set ::env(WATCOM) "/usr/watcom"
-
 
35
			set ::env(INCLUDE) "/usr/watcom/h"
-
 
36
			set ::env(PATH) "$::env(PATH):/usr/watcom/binl64"
-
 
37
			RunCommand "make PLATFORM=watcom"
-
 
38
			set dirname "watcom"
-
 
39
		} elseif { "$project_name" == "Tewi-Watcom" } {
-
 
40
			set ::env(WATCOM) "/usr/watcom"
-
 
41
			set ::env(INCLUDE) "/usr/watcom/h"
-
 
42
			set ::env(PATH) "$::env(PATH):/usr/watcom/binl64"
-
 
43
			RunCommand "rm -rf os2"
-
 
44
			RunCommand "make PLATFORM=os2"
-
 
45
			RunCommand "make PLATFORM=os2 install DESTDIR=os2/"
-
 
46
			cd os2/C:
-
 
47
			RunCommand "zip -rv ../../tewidist.zip Tewi"
-
 
48
			cd ../..
-
 
49
			RunCommand "doas mkdir -p /raid/f/g/tewi/os2"
-
 
50
			RunCommand "doas mkdir -p /raid/ftp/pub/tewi/os2"
-
 
51
			RunCommand "doas cp tewidist.zip /raid/f/g/tewi/os2/tewidistos2-[exec make get-version]-nossl.zip"
-
 
52
			RunCommand "doas cp tewidist.zip /raid/ftp/pub/tewi/os2/tewidistos2-[exec make get-version]-nossl.zip"
-
 
53
			return
33
		} elseif { "$project_name" == "Tewi-PSP" } {
54
		} elseif { "$project_name" == "Tewi-PSP" } {
34
			RunCommand "./psp.sh"
55
			RunCommand "./psp.sh"
35
			RunCommand "doas mkdir -p /raid/f/g/tewi/psp"
56
			RunCommand "doas mkdir -p /raid/f/g/tewi/psp"
36
			RunCommand "doas mkdir -p /raid/ftp/pub/tewi/psp"
57
			RunCommand "doas mkdir -p /raid/ftp/pub/tewi/psp"
37
			RunCommand "doas cp tewidist.zip /raid/f/g/tewi/psp/tewidistpsp-[exec make get-version]-nossl.zip"
58
			RunCommand "doas cp tewidist.zip /raid/f/g/tewi/psp/tewidistpsp-[exec make get-version]-nossl.zip"