forked from Mirrors/freeswitch
69 lines
5.0 KiB
XML
69 lines
5.0 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioProject
|
|
ProjectType="Visual C++"
|
|
Version="9.00"
|
|
Name="openssl"
|
|
ProjectGUID="{FE340F82-EBDF-4D85-A8B3-876E143D1639}"
|
|
RootNamespace="openssl"
|
|
TargetFrameworkVersion="196613"
|
|
>
|
|
<Platforms>
|
|
<Platform
|
|
Name="Win32"
|
|
/>
|
|
</Platforms>
|
|
<ToolFiles>
|
|
</ToolFiles>
|
|
<Configurations>
|
|
<Configuration
|
|
Name="Debug|Win32"
|
|
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
|
IntermediateDirectory="$(ConfigurationName)"
|
|
ConfigurationType="10"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
CommandLine="@setlocal
::preparing

cd /D $(ProjectDir)

@echo download openssl source
@SET OPENSSL_VERSION=openssl-1.0.0a

@if exist %OPENSSL_VERSION% rmdir /Q /S %OPENSSL_VERSION%
@if exist %OPENSSL_VERSION%.tar del /Q %OPENSSL_VERSION%.tar

@cscript ..\util.vbs GetUnzip http://www.openssl.org/source/%OPENSSL_VERSION%.tar.gz .

@if not exist %OPENSSL_VERSION%.tar.gz goto no_openssl_local
@del /Q %OPENSSL_VERSION%.tar

:: Check that we have perl
@perl -v < NUL >NUL
@if not errorlevel 9009 goto perl_ok
@echo *** install perl your PATH ***
@echo *** see http://www.activestate.com/activeperl ***
@goto end

:perl_ok
::build openssl
@echo *** perl OK ***

call $(VCInstallDir)vcvarsall.bat %PROCESSOR_ARCHITECTURE%

@SET INSTALL_DIR=../
@SET SSL_DIR=conf/ssl
@SET OPENSSL_SOURCE=%OPENSSL_VERSION%
@echo install directory: %INSTALL_DIR%

cd /D %OPENSSL_SOURCE%
echo %CD%

@echo Configuring...
perl Configure VC-WIN32 no-asm --prefix=%INSTALL_DIR% --openssldir=%SSL_DIR%
call ms\do_ms.bat

@echo Building...
nmake -f ms\ntdll.mak

@echo Testing...
nmake -f ms\ntdll.mak test

@echo Installing...
nmake -f ms\ntdll.mak install

@xcopy /Y /I /F ..\bin\*.dll ..\..\..\..\$(ConfigurationName)
@goto end

:no_openssl_local
@echo *** error downloading openssl ***
@goto end

:end
@endlocal
"
|
|
/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release|Win32"
|
|
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
|
IntermediateDirectory="$(ConfigurationName)"
|
|
ConfigurationType="10"
|
|
CharacterSet="2"
|
|
WholeProgramOptimization="1"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
CommandLine="@setlocal
::preparing

cd /D $(ProjectDir)

@echo download openssl source
@SET OPENSSL_VERSION=openssl-1.0.0a

@if exist %OPENSSL_VERSION% rmdir /Q /S %OPENSSL_VERSION%
@if exist %OPENSSL_VERSION%.tar del /Q %OPENSSL_VERSION%.tar

@cscript ..\util.vbs GetUnzip http://www.openssl.org/source/%OPENSSL_VERSION%.tar.gz .

@if not exist %OPENSSL_VERSION%.tar.gz goto no_openssl_local
@del /Q %OPENSSL_VERSION%.tar

:: Check that we have perl
@perl -v < NUL >NUL
@if not errorlevel 9009 goto perl_ok
@echo *** install perl your PATH ***
@echo *** see http://www.activestate.com/activeperl ***
@goto end

:perl_ok
::build openssl
@echo *** perl OK ***

call $(VCInstallDir)vcvarsall.bat %PROCESSOR_ARCHITECTURE%

@SET INSTALL_DIR=../
@SET SSL_DIR=conf/ssl
@SET OPENSSL_SOURCE=%OPENSSL_VERSION%
@echo install directory: %INSTALL_DIR%

cd /D %OPENSSL_SOURCE%
echo %CD%

@echo Configuring...
perl Configure VC-WIN32 no-asm --prefix=%INSTALL_DIR% --openssldir=%SSL_DIR%
call ms\do_ms.bat

@echo Building...
nmake -f ms\ntdll.mak

@echo Testing...
nmake -f ms\ntdll.mak test

@echo Installing...
nmake -f ms\ntdll.mak install

@xcopy /Y /I /F ..\bin\*.dll ..\..\..\..\$(ConfigurationName)
@goto end

:no_openssl_local
@echo *** error downloading openssl ***
@goto end

:end
@endlocal
"
|
|
/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
/>
|
|
</Configuration>
|
|
</Configurations>
|
|
<References>
|
|
</References>
|
|
<Files>
|
|
</Files>
|
|
<Globals>
|
|
</Globals>
|
|
</VisualStudioProject>
|