--- deliantra/Deliantra-Client/makebin.win32 2006/05/14 22:24:15 1.1 +++ deliantra/Deliantra-Client/makebin.win32 2008/05/21 23:35:54 1.16 @@ -1,19 +1,50 @@ #!/bin/bash [ -e Makefile ] && make clean -rsync -avessh --modify-window=1 . vm:/c/CFClient/. +if true; then + for mod in AnyEvent EV JSON-XS Deliantra BDB; do + ( + cd /root/src/"$mod" + make clean + rsync -avPessh --modify-window=1 /root/src/"$mod" vm:/c/. --del + ) & + done +fi + +wait + +( + cd ../Deliantra || exit 69 + [ -e Makefile ] && make clean + rsync -avessh --modify-window=1 . vm:/c/Crossfire/. +) && +rsync -avessh --modify-window=1 . vm:/c/CFClient/. --exclude audio --exclude "*.exe" && +#sshpass -p geheim123 ssh -o PreferredAuthentications=password vm ' ssh vm ' - export INCLUDE="c:\\vc\\include;c:\\sdk\\include" - export LIB="c:\\vc\lib;c:\\sdk\\lib" - PATH="/c/gtk/bin:/c/perl/bin:/c/vc/bin:$PATH" + export INCLUDE="c:\\vc98\\include;c:\\sdk\\include" + export LIB="c:\\vc98\\lib;c:\\sdk\\lib" + export ACTIVEPERL_CONFIG_DISABLE=1 + export VCINSTALLDIR=c:\\vc98 + export MSVCDir=c:\\vc98 + export MSDevDir=c:\\vs6\\common\\msdev98 + export PERL_MM_USE_DEFAULT=1 + PATH="/c/Perl/bin/:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/c/gtk2/bin:/c/bdb/bin:/c/sdk/Bin/:/c/sdk/Bin/WinNT/:/c/vc98/bin:/c/vc98/msdev98/bin:/gtk/bin:$PATH" + + cd /c/AnyEvent && /c/perl/bin/perl Makefile.PL && nmake install && + cd /c/EV && /c/perl/bin/perl Makefile.PL && nmake install && + cd /c/BDB && /c/perl/bin/perl Makefile.PL && nmake install && + cd /c/JSON-XS && /c/perl/bin/perl Makefile.PL && nmake install && + cd /c/Crossfire && /c/perl/bin/perl Makefile.PL && nmake install && cd /c/CFClient && - ACTIVEPERL_CONFIG_DISABLE=1 /c/perl/bin/perl Makefile.PL && + /c/perl/bin/perl Makefile.PL && nmake install && win32/ppwin && - cp pclient.exe /c/temp -' - -rsync -avessh vm:/c/CFClient/pclient.exe . + cp deliantra.exe /c/temp +' && +rsync -avessh vm:/c/CFClient/deliantra.exe . +cp deliantra.exe /fs/dosx/todo/. &/ +todata deliantra.exe +wait