| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- @echo off
- set BUILDTOOLS_PATH=%1
- if not exist lib mkdir lib
- rem ==== OpenSSL ====
- if exist lib\libeay32.lib (
- echo OpenSSL already built
- goto SKIP_OPENSSL
- )
- echo Building OpenSSL ...
- cd openssl
- make
- cd ..
- if not exist lib\libeay32.lib (
- echo OpenSSL build failed
- exit
- )
- :SKIP_OPENSSL
- rem ==== Expat ====
- if exist lib\libexpats_mtd.lib (
- echo Expat already built
- goto SKIP_EXPAT
- )
- echo Building Expat ...
- cd expat\bcb5
- make -f makefile.mak
- cd ..\..
- if not exist expat\bcb5\release\libexpats_mtd.lib (
- echo Expat build failed
- exit
- )
- copy expat\bcb5\release\libexpats_mtd.lib lib
- :SKIP_EXPAT
- rem ==== neon ====
- if exist lib\neon.lib (
- echo neon already built
- goto SKIP_NEON
- )
- echo Building neon ...
- cd neon
- make -f Makefile.bcb all
- cd ..
- if not exist lib\neon.lib (
- echo neon build failed
- exit
- )
- :SKIP_NEON
- rem ==== PuTTY VS ====
- if exist lib\PuTTYVS.lib (
- echo PuTTYVS already built
- goto SKIP_PUTTYVS
- )
- echo Building PuTTYVS ...
- cd puttyvs
- call build.bat %BUILDTOOLS_PATH%
- cd ..
- if not exist lib\PuTTYVS.lib (
- echo PuTTYVS build failed
- exit
- )
- :SKIP_PUTTYVS
- echo All done
|