Browse Subversion Repository
Contents of /trunk/libs/buildopenssl3.bat
Parent Directory
| Revision Log
| 1 |
rem OpenSSLのビルド |
| 2 |
|
| 3 |
cd openssl |
| 4 |
|
| 5 |
|
| 6 |
rem nmmake clean すると ossl_static.pdb は *.pdb なので削除されてしまう。 |
| 7 |
rem ossl_static.pdb は *.pdb なので nmake clean すると削除されてしまう。 |
| 8 |
rem debug のときのほうが必要だと思われるので、 |
| 9 |
rem release を先にビルドして debug の ossl_static.pdb が残るようにする。 |
| 10 |
|
| 11 |
if exist "out32\libcrypto.lib" goto build_end |
| 12 |
perl Configure no-asm no-async no-shared no-capieng no-dso no-engine VC-WIN32 |
| 13 |
perl -e "open(IN,'makefile');while(<IN>){s| /MD| /MT|;print $_;}close(IN);" > makefile.tmp |
| 14 |
move /y makefile.tmp makefile |
| 15 |
nmake -f makefile clean |
| 16 |
nmake -f makefile build_libs |
| 17 |
mkdir out32 |
| 18 |
move /y libcrypto.lib out32\ |
| 19 |
move /y ossl_static.pdb out32\ |
| 20 |
:build_end |
| 21 |
|
| 22 |
if exist "out32.dbg\libcrypto.lib" goto build_dbg_end |
| 23 |
perl Configure no-asm no-async no-shared no-capieng no-dso no-engine VC-WIN32 --debug |
| 24 |
perl -e "open(IN,'makefile');while(<IN>){s| /MDd| /MTd|;print $_;}close(IN);" > makefile.tmp |
| 25 |
move /y makefile.tmp makefile.dbg |
| 26 |
nmake -f makefile.dbg clean |
| 27 |
nmake -f makefile.dbg build_libs |
| 28 |
mkdir out32.dbg |
| 29 |
move /y libcrypto.lib out32.dbg\ |
| 30 |
move /y ossl_static.pdb out32.dbg\ |
| 31 |
:build_dbg_end |
| 32 |
|
| 33 |
|
| 34 |
cd .. |
| 35 |
exit /b 0 |
|