This commit is contained in:
Jay D Dee
2019-12-05 19:09:23 -05:00
parent 40039386a0
commit 73430b13b1
52 changed files with 4515 additions and 874 deletions

77
junk/Android.mk Normal file
View File

@@ -0,0 +1,77 @@
################################################################
# Sample Android repo Makefile, used to test arm on the Tegra K1
################################################################
cpuminer-src := $(call my-dir)
LOCAL_PATH := $(cpuminer-src)
include $(CLEAR_VARS)
LOCAL_MODULE=cpuminer-jansson
LOCAL_MODULE_TAGS=optional
define all-c-files-under
$(patsubst ./%,%, \
$(shell cd $(LOCAL_PATH) ; \
find -L $(1) -name "*.c" -and -not -name ".*") \
)
endef
LOCAL_SRC_FILES := $(call all-c-files-under,compat/jansson)
LOCAL_C_INCLUDES := $(cpuminer-src)/compat/jansson
include $(BUILD_STATIC_LIBRARY)
################################################################
LOCAL_PATH := $(cpuminer-src)
include $(CLEAR_VARS)
LOCAL_MODULE=cpuminer
LOCAL_MODULE_TAGS=optional
LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES
LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities
LOCAL_MODULE_STEM := $(LOCAL_MODULE)
LOCAL_C_INCLUDES := $(cpuminer-src)/compat/bionic \
$(cpuminer-src)/compat/jansson \
$(TARGET_OUT_INTERMEDIATES)/include/libcurl \
external/openssl/include \
LOCAL_CFLAGS := -std=c99 -Wno-pointer-sign -Wno-missing-field-initializers \
-Wno-unused-parameter #-DNOASM
LOCAL_CFLAGS += -DVERSION=\"1.2\"
sph_files:=$(call all-c-files-under,sha3)
LOCAL_SRC_FILES=\
cpu-miner.c util.c \
api.c sysinfos.c \
$(call all-c-files-under,algo) \
$(filter-out sha3/md_helper.c,$(sph_files)) \
$(call all-c-files-under,crypto) \
$(call all-c-files-under,lyra2) \
asm/sha2-$(TARGET_ARCH).S \
asm/scrypt-$(TARGET_ARCH).S \
asm/neoscrypt_asm.S
LOCAL_STATIC_LIBRARIES := libm cpuminer-jansson
LOCAL_STATIC_LIBRARIES += libz libcrypto_static
LOCAL_STATIC_LIBRARIES += libssl_static
# Require curl config changes and an addional
# module definition in external/curl(_static?)
#LOCAL_FORCE_STATIC_EXECUTABLE := true
ifeq ($(LOCAL_FORCE_STATIC_EXECUTABLE),true)
LOCAL_CFLAGS += -DCURL_STATICLIB # -DHTTP_ONLY
LOCAL_STATIC_LIBRARIES += libcurl_static libc
else
LOCAL_SHARED_LIBRARIES := libssl libcrypto
LOCAL_SHARED_LIBRARIES += libcurl
#LOCAL_STATIC_LIBRARIES += libcurl_static
endif
include $(BUILD_EXECUTABLE)

396
junk/cpuminer.vcxproj Normal file
View File

@@ -0,0 +1,396 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{36DC07F9-A4A6-4877-A146-1B960083CF6F}</ProjectGuid>
<RootNamespace>cpuminer</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v120</PlatformToolset>
<CLRSupport>false</CLRSupport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v120</PlatformToolset>
<CLRSupport>false</CLRSupport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v120</PlatformToolset>
<CLRSupport>false</CLRSupport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v120</PlatformToolset>
<CLRSupport>false</CLRSupport>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;CURL_STATICLIB;USE_AVX;USE_AVX2;USE_XOP;SCRYPT_KECCAK512;SCRYPT_CHACHA;SCRYPT_CHOOSE_COMPILETIME;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.;compat;compat\curl-for-windows\curl\include;compat\jansson;compat\getopt;compat\pthreads;compat\curl-for-windows\openssl\openssl\include;compat\curl-for-windows\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;pthreadVC2.lib;libcurl.x86.lib;openssl.x86.lib;zlib.x86.lib;ws2_32.lib;Wldap32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>compat\pthreads\x86;compat\curl-for-windows\out\x86\Release\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>/NODEFAULTLIB:LIBCMT %(AdditionalOptions)</AdditionalOptions>
<LinkStatus>true</LinkStatus>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<EnableEnhancedInstructionSet>AdvancedVectorExtensions</EnableEnhancedInstructionSet>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;CURL_STATICLIB;USE_AVX;USE_AVX2;USE_XOP;SCRYPT_KECCAK512;SCRYPT_CHACHA;SCRYPT_CHOOSE_COMPILETIME;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.;compat;compat\curl-for-windows\curl\include;compat\jansson;compat\getopt;compat\pthreads;compat\curl-for-windows\openssl\openssl\include;compat\curl-for-windows\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;pthreadVC2.lib;libcurl.x64.lib;openssl.x64.lib;zlib.x64.lib;ws2_32.lib;Wldap32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>compat\pthreads\x64;compat\curl-for-windows\out\x64\Release\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>/NODEFAULTLIB:LIBCMT %(AdditionalOptions)</AdditionalOptions>
<LinkStatus>true</LinkStatus>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<CompileAsManaged>false</CompileAsManaged>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;CURL_STATICLIB;USE_AVX;USE_AVX2;USE_XOP;SCRYPT_KECCAK512;SCRYPT_CHACHA;SCRYPT_CHOOSE_COMPILETIME;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.;compat;compat\curl-for-windows\curl\include;compat\jansson;compat\getopt;compat\pthreads;compat\curl-for-windows\openssl\openssl\include;compat\curl-for-windows\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<ExceptionHandling>SyncCThrow</ExceptionHandling>
</ClCompile>
<Link>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<SubSystem>Console</SubSystem>
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;pthreadVC2.lib;libcurl.x86.lib;openssl.x86.lib;zlib.x86.lib;ws2_32.lib;Wldap32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>compat\pthreads\x86;compat\curl-for-windows\out\x86\Release\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>/NODEFAULTLIB:LIBCMT %(AdditionalOptions)</AdditionalOptions>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
<LinkStatus>false</LinkStatus>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<CompileAsManaged>false</CompileAsManaged>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;CURL_STATICLIB;SCRYPT_KECCAK512;SCRYPT_CHACHA;SCRYPT_CHOOSE_COMPILETIME;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.;compat;compat\curl-for-windows\curl\include;compat\jansson;compat\getopt;compat\pthreads;compat\curl-for-windows\openssl\openssl\include;compat\curl-for-windows\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<SubSystem>Console</SubSystem>
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;pthreadVC2.lib;libcurl.x64.lib;openssl.x64.lib;zlib.x64.lib;ws2_32.lib;Wldap32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>compat\pthreads\x64;compat\curl-for-windows\out\x64\Release\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>/NODEFAULTLIB:LIBCMT %(AdditionalOptions)</AdditionalOptions>
<LinkStatus>false</LinkStatus>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="compat\getopt\getopt_long.c" />
<ClCompile Include="compat\gettimeofday.c" />
<ClCompile Include="compat\jansson\dump.c" />
<ClCompile Include="compat\jansson\error.c" />
<ClCompile Include="compat\jansson\hashtable.c" />
<ClCompile Include="compat\jansson\load.c" />
<ClCompile Include="compat\jansson\memory.c" />
<ClCompile Include="compat\jansson\pack_unpack.c" />
<ClCompile Include="compat\jansson\strbuffer.c" />
<ClCompile Include="compat\jansson\strconv.c" />
<ClCompile Include="compat\jansson\utf.c" />
<ClCompile Include="compat\jansson\value.c" />
<ClCompile Include="compat\winansi.c" />
<ClCompile Include="cpu-miner.c">
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<Optimization Condition="'$(Configuration)'=='Release'">Full</Optimization>
</ClCompile>
<ClCompile Include="api.c" />
<ClCompile Include="sysinfos.c" />
<ClCompile Include="crypto\aesb.c" />
<ClCompile Include="crypto\c_blake256.c" />
<ClCompile Include="crypto\c_groestl.c" />
<ClCompile Include="crypto\c_jh.c" />
<ClCompile Include="crypto\c_keccak.c" />
<ClCompile Include="crypto\c_skein.c" />
<ClCompile Include="crypto\hash.c" />
<ClCompile Include="crypto\oaes_lib.c" />
<ClCompile Include="algo\lyra2\Lyra2.c" />
<ClCompile Include="algo\lyra2\Sponge.c" />
<ClCompile Include="crypto\blake2s.c" />
<ClCompile Include="algo\sha3\sph_hefty1.c" />
<ClCompile Include="uint256.cpp" />
<ClCompile Include="util.c">
<Optimization Condition="'$(Configuration)'=='Release'">Full</Optimization>
</ClCompile>
<ClCompile Include="algo\axiom.c" />
<ClCompile Include="algo\blake.c" />
<ClCompile Include="algo\blakecoin.c" />
<ClCompile Include="algo\blake2.c" />
<ClCompile Include="algo\bmw256.c" />
<ClCompile Include="algo\c11.c" />
<ClCompile Include="algo\cryptolight.c" />
<ClCompile Include="algo\cryptonight.c" />
<ClCompile Include="algo\drop.c" />
<ClCompile Include="algo\fresh.c" />
<ClCompile Include="algo\groestl.c" />
<ClCompile Include="algo\heavy.c" />
<ClCompile Include="algo\keccak.c" />
<ClCompile Include="algo\ink.c" />
<ClCompile Include="algo\luffa.c" />
<ClCompile Include="algo\lyra2\lyra2re.c" />
<ClCompile Include="algo\lyra2\lyra2rev2.c" />
<ClCompile Include="algo\myr-groestl.c" />
<ClCompile Include="algo\neoscrypt.c" />
<ClCompile Include="algo\nist5.c" />
<ClCompile Include="algo\pentablake.c" />
<ClCompile Include="algo\pluck.c" />
<ClCompile Include="algo\quark.c" />
<ClCompile Include="algo\quark_aes.c" />
<ClCompile Include="algo\quark_sse2.c" />
<ClCompile Include="algo\qubit.c" />
<ClCompile Include="algo\qubit_aes.c" />
<ClCompile Include="algo\qubit_sse2.c" />
<ClCompile Include="algo\s3.c" />
<ClCompile Include="algo\sha2.c" />
<ClCompile Include="algo\scrypt.c">
<Optimization Condition="'$(Configuration)'=='Release'">Full</Optimization>
</ClCompile>
<ClCompile Include="algo\sibcoin.c" />
<ClCompile Include="algo\skein.c" />
<ClCompile Include="algo\skein2.c" />
<ClCompile Include="algo\x11.c" />
<ClCompile Include="algo\x11_aes.c" />
<ClCompile Include="algo\x11_sse2.c" />
<ClCompile Include="algo\x13.c" />
<ClCompile Include="algo\x13_aes.c" />
<ClCompile Include="algo\x13_sse2.c" />
<ClCompile Include="algo\x14.c" />
<ClCompile Include="algo\x14_aes.c" />
<ClCompile Include="algo\x14_sse2.c" />
<ClCompile Include="algo\x15.c" />
<ClCompile Include="algo\x15_aes.c" />
<ClCompile Include="algo\x15_sse2.c" />
<ClCompile Include="algo\zr5.c" />
<ClCompile Include="algo\sha3\aes_helper.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="algo\sha3\sph_blake.c" />
<ClCompile Include="algo\sha3\mod_blakecoin.c" />
<ClCompile Include="algo\sha3\sph_bmw.c" />
<ClCompile Include="algo\sse2\bmw.c" />
<ClCompile Include="algo\sha3\sph_cubehash.c" />
<ClCompile Include="algo\sse2\cubehash_sse2.c" />
<ClCompile Include="algo\sha3\sph_echo.c" />
<ClCompile Include="algo\sse2\echo.c" />
<ClCompile Include="algo\aes_ni\echo512\hash.c" />
<ClCompile Include="algo\sha3\sph_fugue.c" />
<ClCompile Include="algo\sha3\sph_groestl.c" />
<ClCompile Include="algo\aes_ni\groestl\hash-groestl.c" />
<ClCompile Include="algo\sha3\sph_jh.c" />
<ClCompile Include="algo\sha3\sph_keccak.c" />
<ClCompile Include="algo\sse2\keccak.c" />
<ClCompile Include="algo\sha3\sph_luffa.c" />
<ClCompile Include="algo\sse2\luffa_for_sse2.c" />
<ClCompile Include="algo\sha3\sph_sha2.c" />
<ClCompile Include="algo\sha3\sph_sha2big.c" />
<ClCompile Include="algo\sha3\sph_shabal.c" />
<ClCompile Include="algo\sha3\sph_shavite.c" />
<ClCompile Include="algo\sha3\sph_simd.c" />
<ClCompile Include="algo\sse2\vect128\nist.c" />
<ClCompile Include="algo\sse2\vect128\vector.c " />
<ClCompile Include="algo\sha3\sph_skein.c" />
<ClCompile Include="algo\sse2\skein.c" />
<ClCompile Include="algo\sha3\sph_hamsi.c" />
<ClCompile Include="algo\sha3\sph_hamsi_helper.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="algo\sha3\sph_whirlpool.c" />
<ClCompile Include="algo\sha3\sph_gost.c" />
<ClCompile Include="algo\sha3\md_helper.c">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="compat\jansson\config.h" />
<ClInclude Include="compat\jansson\jansson.h" />
<ClInclude Include="compat.h" />
<ClInclude Include="compat\getopt\getopt.h" />
<ClInclude Include="compat\inttypes.h" />
<ClInclude Include="compat\stdbool.h" />
<ClInclude Include="compat\sys\time.h" />
<ClInclude Include="compat\unistd.h" />
<ClInclude Include="compat\winansi.h" />
<ClInclude Include="compat\cpuminer-config.h" />
<ClInclude Include="crypto\blake2s.h" />
<ClInclude Include="crypto\c_blake256.h" />
<ClInclude Include="crypto\c_groestl.h" />
<ClInclude Include="crypto\c_jh.h" />
<ClInclude Include="crypto\c_keccak.h" />
<ClInclude Include="crypto\c_skein.h" />
<ClInclude Include="crypto\hash-ops.h" />
<ClInclude Include="crypto\int-util.h" />
<ClInclude Include="crypto\oaes_lib.h" />
<ClInclude Include="elist.h" />
<ClInclude Include="algo\lyra2\lyra2\Lyra2.h" />
<ClInclude Include="algo\lyra2\lyra2\Sponge.h" />
<ClInclude Include="miner.h" />
<ClInclude Include="uint256.h" />
<ClInclude Include="res\resource.h" />
<ClInclude Include="scryptjane\scrypt-jane-chacha.h" />
<ClInclude Include="scryptjane\scrypt-jane-hash.h" />
<ClInclude Include="scryptjane\scrypt-jane-hash_keccak.h" />
<ClInclude Include="scryptjane\scrypt-jane-hash_sha256.h" />
<ClInclude Include="scryptjane\scrypt-jane-mix_chacha-avx.h" />
<ClInclude Include="scryptjane\scrypt-jane-mix_chacha-sse2.h" />
<ClInclude Include="scryptjane\scrypt-jane-mix_chacha-ssse3.h" />
<ClInclude Include="scryptjane\scrypt-jane-mix_chacha.h" />
<ClInclude Include="scryptjane\scrypt-jane-mix_salsa-avx.h" />
<ClInclude Include="scryptjane\scrypt-jane-mix_salsa-sse2.h" />
<ClInclude Include="scryptjane\scrypt-jane-mix_salsa.h" />
<ClInclude Include="scryptjane\scrypt-jane-pbkdf2.h" />
<ClInclude Include="scryptjane\scrypt-jane-portable-x86.h" />
<ClInclude Include="scryptjane\scrypt-jane-portable.h" />
<ClInclude Include="scryptjane\scrypt-jane-romix-basic.h" />
<ClInclude Include="scryptjane\scrypt-jane-romix-template.h" />
<ClInclude Include="scryptjane\scrypt-jane-romix.h" />
<ClInclude Include="scryptjane\scrypt-jane-salsa.h" />
<ClInclude Include="scryptjane\scrypt-jane-test-vectors.h" />
<ClInclude Include="algo\sha3\sph_blake.h" />
<ClInclude Include="algo\sha3\sph_bmw.h" />
<ClInclude Include="algo\sha3\sph_cubehash.h" />
<ClInclude Include="algo\sha3\sph_echo.h" />
<ClInclude Include="algo\sha3\sph_fugue.h" />
<ClInclude Include="algo\sha3\sph_gost.h" />
<ClInclude Include="algo\sha3\sph_groestl.h" />
<ClInclude Include="algo\sha3\sph_haval.h" />
<ClInclude Include="algo\sha3\sph_hefty1.h" />
<ClInclude Include="algo\sha3\sph_jh.h" />
<ClInclude Include="algo\sha3\sph_keccak.h" />
<ClInclude Include="algo\sha3\sph_luffa.h" />
<ClInclude Include="algo\sha3\sph_sha2.h" />
<ClInclude Include="algo\sha3\sph_shabal.h" />
<ClInclude Include="algo\sha3\sph_shavite.h" />
<ClInclude Include="algo\sha3\sph_simd.h" />
<ClInclude Include="algo\sha3\sph_skein.h" />
<ClInclude Include="algo\sha3\sph_hamsi.h" />
<ClInclude Include="algo\sha3\sph_types.h" />
<ClInclude Include="algo\sha3\sph_whirlpool.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="asm\neoscrypt_asm.S">
</ClCompile>
<ClCompile Include="asm\aesb-x86.SS">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="asm\scrypt-x86.S">
<ExcludedFromBuild Condition="'$(Platform)'=='x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="asm\sha2-x86.S">
<ExcludedFromBuild Condition="'$(Platform)'=='x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="asm\aesb-x64.S">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="asm\scrypt-x64.S">
<ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="asm\sha2-x64.S">
<ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>
</ClCompile>
<None Include="asm\scrypt-arm.S" />
<None Include="asm\sha2-arm.S" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="res\cpuminer.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="res\cpuminer.ico" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<!-- Copy the required dlls -->
<Target Name="AfterBuild">
<Copy SourceFiles="@(FilesToCopy)" DestinationFolder="$(OutDir)" SkipUnchangedFiles="true" />
</Target>
<Target Name="AfterClean">
<Delete Files="@(FilesToCopy->'$(OutDir)%(Filename)%(Extension)')" TreatErrorsAsWarnings="true" />
</Target>
</Project>

View File

@@ -0,0 +1,527 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="cpu-miner.c" />
<ClCompile Include="util.c" />
<ClCompile Include="uint256.cpp" />
<ClCompile Include="sha3\sph_blake.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\mod_blakecoin.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_bmw.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_cubehash.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_echo.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_fugue.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_groestl.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_hamsi.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_hamsi_helper.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_jh.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_keccak.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_luffa.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_sha2.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_sha2big.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_shabal.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_shavite.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_simd.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_skein.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_whirlpool.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\md_helper.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\aes_helper.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_gost.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="compat\winansi.c">
<Filter>compat</Filter>
</ClCompile>
<ClCompile Include="compat\jansson\load.c">
<Filter>jansson</Filter>
</ClCompile>
<ClCompile Include="compat\jansson\utf.c">
<Filter>jansson</Filter>
</ClCompile>
<ClCompile Include="compat\jansson\dump.c">
<Filter>jansson</Filter>
</ClCompile>
<ClCompile Include="compat\jansson\hashtable.c">
<Filter>jansson</Filter>
</ClCompile>
<ClCompile Include="compat\jansson\strbuffer.c">
<Filter>jansson</Filter>
</ClCompile>
<ClCompile Include="compat\gettimeofday.c">
<Filter>compat</Filter>
</ClCompile>
<ClCompile Include="compat\getopt\getopt_long.c">
<Filter>compat</Filter>
</ClCompile>
<ClCompile Include="compat\jansson\value.c">
<Filter>jansson</Filter>
</ClCompile>
<ClCompile Include="crypto\blake2s.c">
<Filter>crypto</Filter>
</ClCompile>
<ClCompile Include="crypto\c_skein.c">
<Filter>crypto</Filter>
</ClCompile>
<ClCompile Include="crypto\c_jh.c">
<Filter>crypto</Filter>
</ClCompile>
<ClCompile Include="crypto\c_groestl.c">
<Filter>crypto</Filter>
</ClCompile>
<ClCompile Include="crypto\c_blake256.c">
<Filter>crypto</Filter>
</ClCompile>
<ClCompile Include="crypto\aesb.c">
<Filter>crypto</Filter>
</ClCompile>
<ClCompile Include="crypto\oaes_lib.c">
<Filter>crypto</Filter>
</ClCompile>
<ClCompile Include="crypto\hash.c">
<Filter>crypto</Filter>
</ClCompile>
<ClCompile Include="crypto\c_keccak.c">
<Filter>crypto</Filter>
</ClCompile>
<ClCompile Include="sha3\sph_hefty1.c">
<Filter>sph</Filter>
</ClCompile>
<ClCompile Include="lyra2\Lyra2.c">
<Filter>crypto</Filter>
</ClCompile>
<ClCompile Include="lyra2\Sponge.c">
<Filter>crypto</Filter>
</ClCompile>
<ClCompile Include="asm\scrypt-x86.S">
<Filter>arch\x86</Filter>
</ClCompile>
<ClCompile Include="asm\scrypt-x64.S">
<Filter>arch\x64</Filter>
</ClCompile>
<ClCompile Include="asm\sha2-x86.S">
<Filter>arch\x86</Filter>
</ClCompile>
<ClCompile Include="asm\sha2-x64.S">
<Filter>arch\x64</Filter>
</ClCompile>
<ClCompile Include="asm\aesb-x64.S">
<Filter>arch\x64</Filter>
</ClCompile>
<ClCompile Include="asm\aesb-x86.SS">
<Filter>arch\x86</Filter>
</ClCompile>
<ClCompile Include="api.c" />
<ClCompile Include="sysinfos.c" />
<ClCompile Include="compat\jansson\error.c">
<Filter>jansson</Filter>
</ClCompile>
<ClCompile Include="compat\jansson\memory.c">
<Filter>jansson</Filter>
</ClCompile>
<ClCompile Include="compat\jansson\pack_unpack.c">
<Filter>jansson</Filter>
</ClCompile>
<ClCompile Include="compat\jansson\strconv.c">
<Filter>jansson</Filter>
</ClCompile>
<ClCompile Include="algo\blake.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\blakecoin.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\c11.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\cryptolight.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\cryptonight.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\fresh.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\groestl.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\heavy.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\ink.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\keccak.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\luffa.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\lyra2re.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\lyra2rev2.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\myr-groestl.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\neoscrypt.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="asm\neoscrypt_asm.S">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\nist5.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\pentablake.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\quark.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\qubit.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\s3.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\scrypt.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\sha2.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\skein.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\x11.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\x13.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\x14.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\x15.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\pluck.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\zr5.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\skein2.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\blake2.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\drop.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\bmw256.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\axiom.c">
<Filter>algo</Filter>
</ClCompile>
<ClCompile Include="algo\sibcoin.c">
<Filter>algo</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="sha3\sph_blake.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_bmw.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_cubehash.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_echo.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_fugue.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_groestl.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_hamsi.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_haval.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_jh.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_keccak.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_luffa.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_sha2.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_shabal.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_shavite.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_simd.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_skein.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_types.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_whirlpool.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_gost.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="compat.h">
<Filter>compat</Filter>
</ClInclude>
<ClInclude Include="elist.h">
<Filter>compat</Filter>
</ClInclude>
<ClInclude Include="compat\getopt\getopt.h">
<Filter>compat</Filter>
</ClInclude>
<ClInclude Include="compat\inttypes.h">
<Filter>compat</Filter>
</ClInclude>
<ClInclude Include="compat\stdbool.h">
<Filter>compat</Filter>
</ClInclude>
<ClInclude Include="compat\sys\time.h">
<Filter>compat</Filter>
</ClInclude>
<ClInclude Include="compat\unistd.h">
<Filter>compat</Filter>
</ClInclude>
<ClInclude Include="compat\winansi.h">
<Filter>compat</Filter>
</ClInclude>
<ClInclude Include="miner.h">
<Filter>headers</Filter>
</ClInclude>
<ClInclude Include="compat\cpuminer-config.h">
<Filter>headers</Filter>
</ClInclude>
<ClInclude Include="uint256.h">
<Filter>headers</Filter>
</ClInclude>
<ClInclude Include="compat\jansson\jansson.h">
<Filter>jansson</Filter>
</ClInclude>
<ClInclude Include="compat\jansson\config.h">
<Filter>jansson</Filter>
</ClInclude>
<ClInclude Include="crypto\blake2s.h">
<Filter>crypto</Filter>
</ClInclude>
<ClInclude Include="crypto\c_skein.h">
<Filter>crypto</Filter>
</ClInclude>
<ClInclude Include="crypto\c_jh.h">
<Filter>crypto</Filter>
</ClInclude>
<ClInclude Include="crypto\c_groestl.h">
<Filter>crypto</Filter>
</ClInclude>
<ClInclude Include="crypto\c_blake256.h">
<Filter>crypto</Filter>
</ClInclude>
<ClInclude Include="crypto\c_keccak.h">
<Filter>crypto</Filter>
</ClInclude>
<ClInclude Include="sha3\sph_hefty1.h">
<Filter>sph</Filter>
</ClInclude>
<ClInclude Include="crypto\oaes_lib.h">
<Filter>crypto</Filter>
</ClInclude>
<ClInclude Include="crypto\hash-ops.h">
<Filter>crypto</Filter>
</ClInclude>
<ClInclude Include="lyra2\Lyra2.h">
<Filter>crypto</Filter>
</ClInclude>
<ClInclude Include="lyra2\Sponge.h">
<Filter>crypto</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-mix_salsa.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-mix_salsa-avx.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-mix_salsa-sse2.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-pbkdf2.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-portable.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-portable-x86.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-romix.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-romix-basic.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-romix-template.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-salsa.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-test-vectors.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-chacha.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-hash.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-hash_keccak.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-hash_sha256.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-mix_chacha.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-mix_chacha-avx.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-mix_chacha-sse2.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="scryptjane\scrypt-jane-mix_chacha-ssse3.h">
<Filter>scrypt-jane</Filter>
</ClInclude>
<ClInclude Include="crypto\int-util.h">
<Filter>crypto</Filter>
</ClInclude>
<ClInclude Include="res\resource.h">
<Filter>res</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="sph">
<UniqueIdentifier>{822b216c-102a-48ca-b62b-7689df410249}</UniqueIdentifier>
</Filter>
<Filter Include="compat">
<UniqueIdentifier>{f5e8fc70-27e7-41ab-a14d-2b0462350980}</UniqueIdentifier>
</Filter>
<Filter Include="headers">
<UniqueIdentifier>{343fa430-44d1-4ff7-b15d-8915052fe036}</UniqueIdentifier>
</Filter>
<Filter Include="jansson">
<UniqueIdentifier>{88b3057f-0bb6-49d4-98a4-551c8bd8ce0d}</UniqueIdentifier>
</Filter>
<Filter Include="crypto">
<UniqueIdentifier>{d17f8918-3371-4acb-ba63-06be828562a1}</UniqueIdentifier>
</Filter>
<Filter Include="arch">
<UniqueIdentifier>{04c96afe-01af-4f5c-9ee7-219481033018}</UniqueIdentifier>
</Filter>
<Filter Include="arch\x86">
<UniqueIdentifier>{774a7c76-80c0-4a15-983a-022d17e08420}</UniqueIdentifier>
</Filter>
<Filter Include="arch\x64">
<UniqueIdentifier>{e2f9ccb4-db0b-4e4f-9cfd-935e8e0ebb78}</UniqueIdentifier>
</Filter>
<Filter Include="arch\arm">
<UniqueIdentifier>{5a05483f-0f3f-43fe-bfd1-a14519e30e4d}</UniqueIdentifier>
</Filter>
<Filter Include="scrypt-jane">
<UniqueIdentifier>{5ed226e8-1512-481d-a88d-18644da87dcd}</UniqueIdentifier>
</Filter>
<Filter Include="algo">
<UniqueIdentifier>{34f266e4-b48f-4721-ac34-474b65726498}</UniqueIdentifier>
</Filter>
<Filter Include="res">
<UniqueIdentifier>{5969f6d8-98c0-49c9-8e4c-51c54b5f0e16}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<None Include="asm\scrypt-arm.S">
<Filter>algo</Filter>
</None>
<None Include="asm\sha2-arm.S">
<Filter>algo</Filter>
</None>
</ItemGroup>
<ItemGroup>
<Image Include="res\cpuminer.ico">
<Filter>res</Filter>
</Image>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="res\cpuminer.rc">
<Filter>res</Filter>
</ResourceCompile>
</ItemGroup>
</Project>

29
junk/mingw64.sh Normal file
View File

@@ -0,0 +1,29 @@
./autogen.sh
CURL_PREFIX=/usr/local
SSL_PREFIX=/usr/local/ssl
# gcc 4.4
extracflags="-O3 -Wall -D_REENTRANT -fmerge-all-constants" # -funroll-loops -fvariable-expansion-in-unroller -fbranch-target-load-optimize2 -fsched2-use-superblocks -falign-loops=16 -falign-functions=16 -falign-jumps=16 -falign-labels=16"
# gcc 4.8+
# extracflags="$extracflags -Ofast -fuse-linker-plugin -ftree-loop-if-convert-stores" # -flto "
# extracflags="-pg -static -fno-inline-small-functions"
CFLAGS="-DCURL_STATICLIB -DOPENSSL_NO_ASM -DUSE_ASM $extracflags"
# CPPFLAGS=""
# icon
windres res/icon.rc icon.o
./configure --build=x86_64-w64-mingw32 --with-crypto=$SSL_PREFIX --with-curl=$CURL_PREFIX \
CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="icon.o"
make
strip -p --strip-debug --strip-unneeded cpuminer.exe
if [ -e sign.sh ] ; then
. sign.sh
fi