--- deliantra/Deliantra-Client/makebin.win32 2006/05/14 22:58:24 1.2 +++ deliantra/Deliantra-Client/makebin.win32 2008/09/09 10:27:26 1.20 @@ -1,17 +1,47 @@ #!/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 Compress-LZF; do + ( + cd /root/src/"$mod" + make clean + ssh vm mkdir -p /c/"$mod" + rsync -avPessh --modify-window=1 . vm:/c/"$mod"/. --del --exclude /pgrab + ) & + done +fi + +wait + +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/Deliantra && /c/perl/bin/perl Makefile.PL && nmake install && + cd /c/Compress-LZF && /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 + cp deliantra.exe /c/temp ' && -rsync -avessh vm:/c/CFClient/pclient.exe . +rsync -avessh vm:/c/CFClient/deliantra.exe . +cp deliantra.exe /fs/dosx/todo/. & +todata deliantra.exe +wait