Subversion Repositories Tewi

Rev

Rev 362 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 362 Rev 371
Line 1... Line 1...
1
# $Id: Koakumafile 362 2024-10-17 00:39:27Z nishi $
1
# $Id: Koakumafile 371 2024-10-17 04:36:30Z 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 38... Line 38...
38
			set dirname "watcom"
38
			set dirname "watcom"
39
		} elseif { "$project_name" == "Tewi-OS2" } {
39
		} elseif { "$project_name" == "Tewi-OS2" } {
40
			set ::env(WATCOM) "/usr/watcom"
40
			set ::env(WATCOM) "/usr/watcom"
41
			set ::env(INCLUDE) "/usr/watcom/h"
41
			set ::env(INCLUDE) "/usr/watcom/h"
42
			set ::env(PATH) "$::env(PATH):/usr/watcom/binl64"
42
			set ::env(PATH) "$::env(PATH):/usr/watcom/binl64"
43
			RunCommand "rm -rf os2"
43
			RunCommand "rm -rf os2 tewidist.zip"
44
			RunCommand "make PLATFORM=os2"
44
			RunCommand "make PLATFORM=os2"
45
			RunCommand "make PLATFORM=os2 install DESTDIR=os2/"
45
			RunCommand "make PLATFORM=os2 install DESTDIR=os2/"
46
			cd os2/C:
46
			cd os2/C:
47
			RunCommand "zip -rv ../../tewidist.zip Tewi"
47
			RunCommand "zip -rv ../../tewidist.zip Tewi"
48
			cd ../..
48
			cd ../..
Line 53... Line 53...
53
			return
53
			return
54
		} elseif { "$project_name" == "Tewi-NetWare" } {
54
		} elseif { "$project_name" == "Tewi-NetWare" } {
55
			set ::env(WATCOM) "/usr/watcom"
55
			set ::env(WATCOM) "/usr/watcom"
56
			set ::env(NOVELLNDK) "/usr/novell/clib"
56
			set ::env(NOVELLNDK) "/usr/novell/clib"
57
			set ::env(PATH) "$::env(PATH):/usr/watcom/binl64"
57
			set ::env(PATH) "$::env(PATH):/usr/watcom/binl64"
58
			RunCommand "rm -rf netware"
58
			RunCommand "rm -rf netware tewidist.zip"
59
			RunCommand "make PLATFORM=netware"
59
			RunCommand "make PLATFORM=netware"
60
			RunCommand "make PLATFORM=netware install DESTDIR=netware/"
60
			RunCommand "make PLATFORM=netware install DESTDIR=netware/"
61
			cd netware/SYS:
61
			cd netware/SYS:
62
			RunCommand "zip -rv ../../tewidist.zip Tewi"
62
			RunCommand "zip -rv ../../tewidist.zip Tewi"
63
			cd ../..
63
			cd ../..