Subversion Repositories Tewi

Rev

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

Rev 224 Rev 225
Line 1... Line 1...
1
# $Id: Koakumafile 224 2024-10-03 03:22:55Z nishi $
1
# $Id: Koakumafile 225 2024-10-03 03:23:53Z nishi $
2
# vim: syntax=tcl
2
# vim: syntax=tcl
3
 
3
 
4
proc run {project_name} {
4
proc run {project_name} {
5
	RunCommand "sed \"s/undef NO_SSL/define NO_SSL/g\" config.h.tmpl > config.h"
5
	exec sed "s/undef NO_SSL/define NO_SSL/g" config.h.tmpl > config.h
6
	RunCommand "make clean"
6
	RunCommand "make clean"
7
	if { "$project_name" == "Tewi-BCC" } {
7
	if { "$project_name" == "Tewi-BCC" } {
8
		set ::env(BORLAND) "C:/borland/bcc55"
8
		set ::env(BORLAND) "C:/borland/bcc55"
9
		RunCommand "make PLATFORM=bcc"
9
		RunCommand "make PLATFORM=bcc"
10
	} elseif { "$project_name" == "Tewi-VC6" } {
10
	} elseif { "$project_name" == "Tewi-VC6" } {
11
		RunCommand "make PLATFORM=vc6"
11
		RunCommand "make PLATFORM=vc6"
12
	} elseif { "$project_name" == "Tewi-Watcom" } {
12
	} elseif { "$project_name" == "Tewi-Watcom" } {
13
		set ::env(WATCOM) "/usr/watcom"
13
		set ::env(WATCOM) "/usr/watcom"
14
		set ::env(INCLUDE) "/usr/watcom/h"
14
		set ::env(INCLUDE) "/usr/watcom/h"
-
 
15
		set ::env(PATH) "$::env(PATH):/usr/watcom/binl64"
15
		RunCommand "make PLATFORM=watcom"
16
		RunCommand "make PLATFORM=watcom"
16
	} else {
17
	} else {
17
		RunCommand "make"
18
		RunCommand "make"
18
	}
19
	}
19
}
20
}