From 13e9dc425345a3fefbbe2f3ec0cef351d454a86f Mon Sep 17 00:00:00 2001 From: Nishi Date: Thu, 3 Oct 2024 04:50:01 +0000 Subject: [PATCH] update koakumafile git-svn-id: file:///raid/svn-personal/tewi/trunk@236 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Koakumafile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Koakumafile b/Koakumafile index cabb97b..95aa2ca 100644 --- a/Koakumafile +++ b/Koakumafile @@ -21,6 +21,28 @@ proc run {project_name} { set ::env(PATH) "$::env(PATH):/usr/watcom/binl64" RunCommand "make PLATFORM=watcom" set dirname "watcom" + } elseif { "$project_name" == "Tewi-MinGW-32" || "$project_name" == "Tewi-MinGW-64" } { + RunCommand "git clone https://github.com/clamwin/openssl" + set bits 32 + if { "$project_name" == "Tewi-MinGW-32" } { + foreach filen [glob openssl/lib/mingw/x86/*] { + RunCommand "cp $filen openssl/lib/" + } + } else { + set bits 64 + foreach filen [glob openssl/lib/mingw/x64/*] { + RunCommand "cp $filen openssl/lib/" + } + } + set win "win$bits" + RunCommand "./installer.sh $win" + RunCommand "doas mkdir -p /raid/f/g/tewi/$win" + RunCommand "doas mkdir -p /raid/ftp/pub/tewi/$win" + RunCommand "doas cp install-ssl.exe /raid/f/g/tewi/$win/tewiinst$bits-[exec make get-version]-ssl.exe" + RunCommand "doas cp install-nossl.exe /raid/f/g/tewi/$win/tewiinst$bits-[exec make get-version]-nossl.exe" + RunCommand "doas cp install-ssl.exe /raid/ftp/pub/tewi/$win/tewiinst$bits-[exec make get-version]-ssl.exe" + RunCommand "doas cp install-nossl.exe /raid/ftp/pub/tewi/$win/tewiinst$bits-[exec make get-version]-nossl.exe" + return } else { RunCommand "make" } -- 2.45.2