Rev | Line | |
---|
[210] | 1 | # $Id: Koakumafile 228 2024-10-03 03:36:04Z nishi $
|
---|
| 2 | # vim: syntax=tcl
|
---|
| 3 |
|
---|
| 4 | proc run {project_name} {
|
---|
[225] | 5 | exec sed "s/undef NO_SSL/define NO_SSL/g" config.h.tmpl > config.h
|
---|
[227] | 6 | set ::env(DISPLAY) ":0"
|
---|
[211] | 7 | RunCommand "make clean"
|
---|
[223] | 8 | if { "$project_name" == "Tewi-BCC" } {
|
---|
[228] | 9 | set ::env(LANG) "ja_JP.UTF-8"
|
---|
[223] | 10 | set ::env(BORLAND) "C:/borland/bcc55"
|
---|
| 11 | RunCommand "make PLATFORM=bcc"
|
---|
[228] | 12 | set ::env(LANG) "en_US.UTF-8"
|
---|
[223] | 13 | } elseif { "$project_name" == "Tewi-VC6" } {
|
---|
| 14 | RunCommand "make PLATFORM=vc6"
|
---|
| 15 | } elseif { "$project_name" == "Tewi-Watcom" } {
|
---|
| 16 | set ::env(WATCOM) "/usr/watcom"
|
---|
| 17 | set ::env(INCLUDE) "/usr/watcom/h"
|
---|
[225] | 18 | set ::env(PATH) "$::env(PATH):/usr/watcom/binl64"
|
---|
[223] | 19 | RunCommand "make PLATFORM=watcom"
|
---|
| 20 | } else {
|
---|
| 21 | RunCommand "make"
|
---|
| 22 | }
|
---|
[210] | 23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.