mirror of
https://github.com/berkeleydb/libdb.git
synced 2024-11-16 17:16:25 +00:00
57 lines
16 KiB
Text
57 lines
16 KiB
Text
<VisualStudioProject ProjectType="Visual C++" Version="8.00" Name="db_java" ProjectGUID="{0052E828-5F10-4973-8729-50B0C5598702}">
|
|
<Platforms>
|
|
<Platform Name="Win32"/>
|
|
<Platform Name="x64"/>
|
|
</Platforms>
|
|
<Configurations>
|
|
<Configuration Name="Debug|Win32" OutputDirectory="..\build_windows\$(PlatformName)\Debug" IntermediateDirectory="./$(OutDir)/db_java" ConfigurationType="2" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="2">
|
|
<Tool Name="VCPreLinkEventTool"/>
|
|
<Tool Name="VCResourceCompilerTool"/>
|
|
<Tool Name="VCXMLDataGeneratorTool"/>
|
|
<Tool Name="VCManagedWrapperGeneratorTool"/>
|
|
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
|
<Tool Name="VCCLCompilerTool" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_windows,../src,../src/dbinc,../include" PreprocessorDefinitions="WIN32;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_DEBUG;DIAGNOSTIC;DB_CREATE_DLL;_UNICODE;UNICODE;_USRDLL" StringPooling="TRUE" RuntimeLibrary="3" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_java.pch" AssemblerListingLocation="$(OutDir)/db_java/" ObjectFile="$(OutDir)/db_java/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
|
|
<Tool Name="VCLinkerTool" AdditionalOptions="/machine:x86" AdditionalDependencies="libdb52d.lib" AdditionalLibraryDirectories="$(OutDir);../lib" OutputFile="$(OutDir)/libdb_java52d.dll" ProgramDatabaseFile="$(OutDir)/libdb_java52d.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" ImportLibrary="$(OutDir)/libdb_java52d.lib" TargetMachine="0"/>
|
|
<Tool Name="VCPreBuildEventTool"/>
|
|
<Tool Name="VCPostBuildEventTool"/>
|
|
<Tool Name="VCCustomBuildTool" CommandLine="
echo compiling Berkeley DB Java classes 
mkdir "./$(OutDir)/classes/" 
javac -g -target 1.5 -d "$(OutDir)\classes" -classpath "$(OutDir)\classes" ..\lang\java\src\com\sleepycat\db\*.java ..\lang\java\src\com\sleepycat\db\internal\*.java ..\lang\java\src\com\sleepycat\asm\*.java ..\lang\java\src\com\sleepycat\bind\*.java ..\lang\java\src\com\sleepycat\bind\serial\*.java ..\lang\java\src\com\sleepycat\bind\tuple\*.java ..\lang\java\src\com\sleepycat\collections\*.java ..\lang\java\src\com\sleepycat\compat\*.java ..\lang\java\src\com\sleepycat\persist\*.java ..\lang\java\src\com\sleepycat\persist\evolve\*.java ..\lang\java\src\com\sleepycat\persist\impl\*.java ..\lang\java\src\com\sleepycat\persist\model\*.java ..\lang\java\src\com\sleepycat\persist\raw\*.java ..\lang\java\src\com\sleepycat\util\*.java ..\lang\java\src\com\sleepycat\util\keyrange\*.java
java -classpath $(OutDir)\classes com.sleepycat.persist.model.ClassEnhancer $(OutDir)\classes
echo compiling examples
mkdir "$(OutDir)\classes.ex"
javac -g -target 1.5 -d "$(OutDir)\classes.ex" -classpath "$(OutDir)\classes;$(OutDir)\classes.ex" ..\examples/java\src\db\*.java ..\examples/java\src\db\GettingStarted\*.java ..\examples/java\src\db\repquote\*.java ..\examples/java\src\db\repquote_gsg\*.java ..\examples/java\src\db\txn\*.java ..\examples/java\src\collections\access\*.java ..\examples/java\src\collections\hello\*.java ..\examples/java\src\collections\ship\basic\*.java ..\examples/java\src\collections\ship\entity\*.java ..\examples/java\src\collections\ship\factory\*.java ..\examples/java\src\collections\ship\index\*.java ..\examples/java\src\collections\ship\marshal\*.java ..\examples/java\src\collections\ship\sentity\*.java ..\examples/java\src\collections\ship\tuple\*.java ..\examples/java\src\persist\*.java ..\examples/java\src\persist\gettingStarted\*.java ..\examples/java\src\persist\txn\*.java
echo creating jar files
jar cfm "$(OutDir)/db.jar" ../lang/java/jarManifestEntries -C "$(OutDir)\classes" .
jar cf "$(OutDir)/dbexamples.jar" -C "$(OutDir)\classes.ex" .
echo Java build finished" Outputs="force_compilation.txt"/></Configuration>
|
|
<Configuration Name="Release|Win32" OutputDirectory="..\build_windows\$(PlatformName)\Release" IntermediateDirectory="./$(OutDir)/db_java" ConfigurationType="2" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="2">
|
|
<Tool Name="VCPreLinkEventTool"/>
|
|
<Tool Name="VCResourceCompilerTool"/>
|
|
<Tool Name="VCXMLDataGeneratorTool"/>
|
|
<Tool Name="VCManagedWrapperGeneratorTool"/>
|
|
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
|
<Tool Name="VCCLCompilerTool" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_windows,../src,../src/dbinc,../include" PreprocessorDefinitions="WIN32;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;NDEBUG;DB_CREATE_DLL;_UNICODE;UNICODE;_USRDLL" StringPooling="TRUE" RuntimeLibrary="2" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_java.pch" AssemblerListingLocation="$(OutDir)/db_java/" ObjectFile="$(OutDir)/db_java/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
|
|
<Tool Name="VCLinkerTool" AdditionalOptions="/machine:x86" AdditionalDependencies="libdb52.lib" AdditionalLibraryDirectories="$(OutDir);../lib" OutputFile="$(OutDir)/libdb_java52.dll" ProgramDatabaseFile="$(OutDir)/libdb_java52.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" ImportLibrary="$(OutDir)/libdb_java52.lib" TargetMachine="0"/>
|
|
<Tool Name="VCPreBuildEventTool"/>
|
|
<Tool Name="VCPostBuildEventTool"/>
|
|
<Tool Name="VCCustomBuildTool" CommandLine="
echo compiling Berkeley DB Java classes 
mkdir "./$(OutDir)/classes/" 
javac -g -target 1.5 -d "$(OutDir)\classes" -classpath "$(OutDir)\classes" ..\lang\java\src\com\sleepycat\db\*.java ..\lang\java\src\com\sleepycat\db\internal\*.java ..\lang\java\src\com\sleepycat\asm\*.java ..\lang\java\src\com\sleepycat\bind\*.java ..\lang\java\src\com\sleepycat\bind\serial\*.java ..\lang\java\src\com\sleepycat\bind\tuple\*.java ..\lang\java\src\com\sleepycat\collections\*.java ..\lang\java\src\com\sleepycat\compat\*.java ..\lang\java\src\com\sleepycat\persist\*.java ..\lang\java\src\com\sleepycat\persist\evolve\*.java ..\lang\java\src\com\sleepycat\persist\impl\*.java ..\lang\java\src\com\sleepycat\persist\model\*.java ..\lang\java\src\com\sleepycat\persist\raw\*.java ..\lang\java\src\com\sleepycat\util\*.java ..\lang\java\src\com\sleepycat\util\keyrange\*.java
java -classpath $(OutDir)\classes com.sleepycat.persist.model.ClassEnhancer $(OutDir)\classes
echo compiling examples
mkdir "$(OutDir)\classes.ex"
javac -g -target 1.5 -d "$(OutDir)\classes.ex" -classpath "$(OutDir)\classes;$(OutDir)\classes.ex" ..\examples/java\src\db\*.java ..\examples/java\src\db\GettingStarted\*.java ..\examples/java\src\db\repquote\*.java ..\examples/java\src\db\repquote_gsg\*.java ..\examples/java\src\db\txn\*.java ..\examples/java\src\collections\access\*.java ..\examples/java\src\collections\hello\*.java ..\examples/java\src\collections\ship\basic\*.java ..\examples/java\src\collections\ship\entity\*.java ..\examples/java\src\collections\ship\factory\*.java ..\examples/java\src\collections\ship\index\*.java ..\examples/java\src\collections\ship\marshal\*.java ..\examples/java\src\collections\ship\sentity\*.java ..\examples/java\src\collections\ship\tuple\*.java ..\examples/java\src\persist\*.java ..\examples/java\src\persist\gettingStarted\*.java ..\examples/java\src\persist\txn\*.java
echo creating jar files
jar cfm "$(OutDir)/db.jar" ../lang/java/jarManifestEntries -C "$(OutDir)\classes" .
jar cf "$(OutDir)/dbexamples.jar" -C "$(OutDir)\classes.ex" .
echo Java build finished" Outputs="force_compilation.txt"/></Configuration>
|
|
<Configuration Name="Debug|x64" OutputDirectory="..\build_windows\$(PlatformName)\Debug" IntermediateDirectory="./$(OutDir)/db_java" ConfigurationType="2" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="2">
|
|
<Tool Name="VCPreLinkEventTool"/>
|
|
<Tool Name="VCResourceCompilerTool"/>
|
|
<Tool Name="VCXMLDataGeneratorTool"/>
|
|
<Tool Name="VCManagedWrapperGeneratorTool"/>
|
|
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
|
<Tool Name="VCCLCompilerTool" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_windows,../src,../src/dbinc,../include" PreprocessorDefinitions="WIN32;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_DEBUG;DIAGNOSTIC;DB_CREATE_DLL;_UNICODE;UNICODE;_USRDLL" StringPooling="TRUE" RuntimeLibrary="3" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_java.pch" AssemblerListingLocation="$(OutDir)/db_java/" ObjectFile="$(OutDir)/db_java/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
|
|
<Tool Name="VCLinkerTool" AdditionalOptions="/machine:x64" AdditionalDependencies="libdb52d.lib" AdditionalLibraryDirectories="$(OutDir);../lib" OutputFile="$(OutDir)/libdb_java52d.dll" ProgramDatabaseFile="$(OutDir)/libdb_java52d.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" ImportLibrary="$(OutDir)/libdb_java52d.lib" TargetMachine="0"/>
|
|
<Tool Name="VCPreBuildEventTool"/>
|
|
<Tool Name="VCPostBuildEventTool"/>
|
|
<Tool Name="VCCustomBuildTool" CommandLine="
echo compiling Berkeley DB Java classes 
mkdir "./$(OutDir)/classes/" 
javac -g -target 1.5 -d "$(OutDir)\classes" -classpath "$(OutDir)\classes" ..\lang\java\src\com\sleepycat\db\*.java ..\lang\java\src\com\sleepycat\db\internal\*.java ..\lang\java\src\com\sleepycat\asm\*.java ..\lang\java\src\com\sleepycat\bind\*.java ..\lang\java\src\com\sleepycat\bind\serial\*.java ..\lang\java\src\com\sleepycat\bind\tuple\*.java ..\lang\java\src\com\sleepycat\collections\*.java ..\lang\java\src\com\sleepycat\compat\*.java ..\lang\java\src\com\sleepycat\persist\*.java ..\lang\java\src\com\sleepycat\persist\evolve\*.java ..\lang\java\src\com\sleepycat\persist\impl\*.java ..\lang\java\src\com\sleepycat\persist\model\*.java ..\lang\java\src\com\sleepycat\persist\raw\*.java ..\lang\java\src\com\sleepycat\util\*.java ..\lang\java\src\com\sleepycat\util\keyrange\*.java
java -classpath $(OutDir)\classes com.sleepycat.persist.model.ClassEnhancer $(OutDir)\classes
echo compiling examples
mkdir "$(OutDir)\classes.ex"
javac -g -target 1.5 -d "$(OutDir)\classes.ex" -classpath "$(OutDir)\classes;$(OutDir)\classes.ex" ..\examples/java\src\db\*.java ..\examples/java\src\db\GettingStarted\*.java ..\examples/java\src\db\repquote\*.java ..\examples/java\src\db\repquote_gsg\*.java ..\examples/java\src\db\txn\*.java ..\examples/java\src\collections\access\*.java ..\examples/java\src\collections\hello\*.java ..\examples/java\src\collections\ship\basic\*.java ..\examples/java\src\collections\ship\entity\*.java ..\examples/java\src\collections\ship\factory\*.java ..\examples/java\src\collections\ship\index\*.java ..\examples/java\src\collections\ship\marshal\*.java ..\examples/java\src\collections\ship\sentity\*.java ..\examples/java\src\collections\ship\tuple\*.java ..\examples/java\src\persist\*.java ..\examples/java\src\persist\gettingStarted\*.java ..\examples/java\src\persist\txn\*.java
echo creating jar files
jar cfm "$(OutDir)/db.jar" ../lang/java/jarManifestEntries -C "$(OutDir)\classes" .
jar cf "$(OutDir)/dbexamples.jar" -C "$(OutDir)\classes.ex" .
echo Java build finished" Outputs="force_compilation.txt"/></Configuration>
|
|
<Configuration Name="Release|x64" OutputDirectory="..\build_windows\$(PlatformName)\Release" IntermediateDirectory="./$(OutDir)/db_java" ConfigurationType="2" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="2">
|
|
<Tool Name="VCPreLinkEventTool"/>
|
|
<Tool Name="VCResourceCompilerTool"/>
|
|
<Tool Name="VCXMLDataGeneratorTool"/>
|
|
<Tool Name="VCManagedWrapperGeneratorTool"/>
|
|
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
|
<Tool Name="VCCLCompilerTool" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_windows,../src,../src/dbinc,../include" PreprocessorDefinitions="WIN32;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;NDEBUG;DB_CREATE_DLL;_UNICODE;UNICODE;_USRDLL" StringPooling="TRUE" RuntimeLibrary="2" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_java.pch" AssemblerListingLocation="$(OutDir)/db_java/" ObjectFile="$(OutDir)/db_java/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
|
|
<Tool Name="VCLinkerTool" AdditionalOptions="/machine:x64" AdditionalDependencies="libdb52.lib" AdditionalLibraryDirectories="$(OutDir);../lib" OutputFile="$(OutDir)/libdb_java52.dll" ProgramDatabaseFile="$(OutDir)/libdb_java52.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" ImportLibrary="$(OutDir)/libdb_java52.lib" TargetMachine="0"/>
|
|
<Tool Name="VCPreBuildEventTool"/>
|
|
<Tool Name="VCPostBuildEventTool"/>
|
|
<Tool Name="VCCustomBuildTool" CommandLine="
echo compiling Berkeley DB Java classes 
mkdir "./$(OutDir)/classes/" 
javac -g -target 1.5 -d "$(OutDir)\classes" -classpath "$(OutDir)\classes" ..\lang\java\src\com\sleepycat\db\*.java ..\lang\java\src\com\sleepycat\db\internal\*.java ..\lang\java\src\com\sleepycat\asm\*.java ..\lang\java\src\com\sleepycat\bind\*.java ..\lang\java\src\com\sleepycat\bind\serial\*.java ..\lang\java\src\com\sleepycat\bind\tuple\*.java ..\lang\java\src\com\sleepycat\collections\*.java ..\lang\java\src\com\sleepycat\compat\*.java ..\lang\java\src\com\sleepycat\persist\*.java ..\lang\java\src\com\sleepycat\persist\evolve\*.java ..\lang\java\src\com\sleepycat\persist\impl\*.java ..\lang\java\src\com\sleepycat\persist\model\*.java ..\lang\java\src\com\sleepycat\persist\raw\*.java ..\lang\java\src\com\sleepycat\util\*.java ..\lang\java\src\com\sleepycat\util\keyrange\*.java
java -classpath $(OutDir)\classes com.sleepycat.persist.model.ClassEnhancer $(OutDir)\classes
echo compiling examples
mkdir "$(OutDir)\classes.ex"
javac -g -target 1.5 -d "$(OutDir)\classes.ex" -classpath "$(OutDir)\classes;$(OutDir)\classes.ex" ..\examples/java\src\db\*.java ..\examples/java\src\db\GettingStarted\*.java ..\examples/java\src\db\repquote\*.java ..\examples/java\src\db\repquote_gsg\*.java ..\examples/java\src\db\txn\*.java ..\examples/java\src\collections\access\*.java ..\examples/java\src\collections\hello\*.java ..\examples/java\src\collections\ship\basic\*.java ..\examples/java\src\collections\ship\entity\*.java ..\examples/java\src\collections\ship\factory\*.java ..\examples/java\src\collections\ship\index\*.java ..\examples/java\src\collections\ship\marshal\*.java ..\examples/java\src\collections\ship\sentity\*.java ..\examples/java\src\collections\ship\tuple\*.java ..\examples/java\src\persist\*.java ..\examples/java\src\persist\gettingStarted\*.java ..\examples/java\src\persist\txn\*.java
echo creating jar files
jar cfm "$(OutDir)/db.jar" ../lang/java/jarManifestEntries -C "$(OutDir)\classes" .
jar cf "$(OutDir)/dbexamples.jar" -C "$(OutDir)\classes.ex" .
echo Java build finished" Outputs="force_compilation.txt"/></Configuration>
|
|
</Configurations>
|
|
<References/>
|
|
<Files>
|
|
<File RelativePath="..\lang\java\libdb_java\db_java_wrap.c"/>
|
|
</Files>
|
|
<Globals/>
|
|
</VisualStudioProject>
|