Line 1... |
Line 1... |
1 |
# $Id: Koakumafile 236 2024-10-03 04:50:01Z nishi $
|
1 |
# $Id: Koakumafile 237 2024-10-03 04:55:42Z nishi $
|
2 |
# vim: syntax=tcl
|
2 |
# vim: syntax=tcl
|
3 |
|
3 |
|
4 |
proc run {project_name} {
|
4 |
proc run {project_name} {
|
5 |
exec 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 |
set ::env(DISPLAY) ":0"
|
6 |
set ::env(DISPLAY) ":0"
|
- |
|
7 |
set ::env(PATH) "$::env$(PATH)"
|
7 |
RunCommand "make clean"
|
8 |
RunCommand "make clean"
|
8 |
set dirname ""
|
9 |
set dirname ""
|
9 |
if { "$project_name" == "Tewi-BCC" } {
|
10 |
if { "$project_name" == "Tewi-BCC" } {
|
10 |
set ::env(LANG) "ja_JP.UTF-8"
|
11 |
set ::env(LANG) "ja_JP.UTF-8"
|
11 |
set ::env(BORLAND) "C:/borland/bcc55"
|
12 |
set ::env(BORLAND) "C:/borland/bcc55"
|
Line 19... |
Line 20... |
19 |
set ::env(WATCOM) "/usr/watcom"
|
20 |
set ::env(WATCOM) "/usr/watcom"
|
20 |
set ::env(INCLUDE) "/usr/watcom/h"
|
21 |
set ::env(INCLUDE) "/usr/watcom/h"
|
21 |
set ::env(PATH) "$::env(PATH):/usr/watcom/binl64"
|
22 |
set ::env(PATH) "$::env(PATH):/usr/watcom/binl64"
|
22 |
RunCommand "make PLATFORM=watcom"
|
23 |
RunCommand "make PLATFORM=watcom"
|
23 |
set dirname "watcom"
|
24 |
set dirname "watcom"
|
- |
|
25 |
} elseif { "$project_name" == "Tewi-PSP" } {
|
- |
|
26 |
RunCommand "./psp.sh"
|
- |
|
27 |
RunCommand "doas mkdir -p /raid/f/g/tewi/psp"
|
- |
|
28 |
RunCommand "doas mkdir -p /raid/ftp/pub/tewi/psp"
|
- |
|
29 |
RunCommand "doas cp tewidist.zip /raid/f/g/tewi/psp/tewidistpsp-[exec make get-version]-nossl.zip"
|
- |
|
30 |
RunCommand "doas cp tewidist.zip /raid/ftp/pub/tewi/psp/tewidistpsp-[exec make get-version]-nossl.zip"
|
24 |
} elseif { "$project_name" == "Tewi-MinGW-32" || "$project_name" == "Tewi-MinGW-64" } {
|
31 |
} elseif { "$project_name" == "Tewi-MinGW-32" || "$project_name" == "Tewi-MinGW-64" } {
|
- |
|
32 |
RunCommand "rm -rf openssl"
|
25 |
RunCommand "git clone https://github.com/clamwin/openssl"
|
33 |
RunCommand "git clone https://github.com/clamwin/openssl"
|
26 |
set bits 32
|
34 |
set bits 32
|
27 |
if { "$project_name" == "Tewi-MinGW-32" } {
|
35 |
if { "$project_name" == "Tewi-MinGW-32" } {
|
28 |
foreach filen [glob openssl/lib/mingw/x86/*] {
|
36 |
foreach filen [glob openssl/lib/mingw/x86/*] {
|
29 |
RunCommand "cp $filen openssl/lib/"
|
37 |
RunCommand "cp $filen openssl/lib/"
|