- From 54088dbd86951c73ad48f0346cbde22de1e7e4c8 Mon Sep 17 00:00:00 2001
- From: Roland Mainz <roland.mainz@nrubsig.org>
- Date: Sat, 7 Sep 2024 15:16:56 +0200
- Subject: [PATCH] build.vc19,cygwin,sys: Add ARM/ARM64 build support
- Add ARM/ARM64 build support.
- Still requires copysup.lib for ARM64.
- Reported-by: Mark Liam Brown <brownmarkliam@gmail.com>
- Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
- ---
- build.vc19/libtirpc/libtirpc.vcxproj | 80 ++++++++++++++++++++++
- build.vc19/nfs41-client.sln | 79 +++++++++++++--------
- build.vc19/nfs41_np/nfs41_np.vcxproj | 74 ++++++++++++++++++++
- build.vc19/nfs_install/nfs_install.vcxproj | 70 +++++++++++++++++++
- build.vc19/nfs_mount/nfs_mount.vcxproj | 71 +++++++++++++++++++
- build.vc19/nfsd/nfsd.vcxproj | 79 +++++++++++++++++++++
- cygwin/Makefile | 5 ++
- sys/nfs41_driver.c | 1 +
- 8 files changed, 431 insertions(+), 28 deletions(-)
- diff --git a/build.vc19/libtirpc/libtirpc.vcxproj b/build.vc19/libtirpc/libtirpc.vcxproj
- index b8629d5..6bdefb7 100644
- --- a/build.vc19/libtirpc/libtirpc.vcxproj
- +++ b/build.vc19/libtirpc/libtirpc.vcxproj
- @@ -17,6 +17,14 @@
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- + <ProjectConfiguration Include="Debug|ARM64">
- + <Configuration>Debug</Configuration>
- + <Platform>ARM64</Platform>
- + </ProjectConfiguration>
- + <ProjectConfiguration Include="Release|ARM64">
- + <Configuration>Release</Configuration>
- + <Platform>ARM64</Platform>
- + </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}</ProjectGuid>
- @@ -51,6 +59,19 @@
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
- + <ConfigurationType>DynamicLibrary</ConfigurationType>
- + <UseDebugLibraries>true</UseDebugLibraries>
- + <PlatformToolset>v142</PlatformToolset>
- + <CharacterSet>Unicode</CharacterSet>
- + </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
- + <ConfigurationType>DynamicLibrary</ConfigurationType>
- + <UseDebugLibraries>false</UseDebugLibraries>
- + <PlatformToolset>v142</PlatformToolset>
- + <WholeProgramOptimization>true</WholeProgramOptimization>
- + <CharacterSet>Unicode</CharacterSet>
- + </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- @@ -68,6 +89,12 @@
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <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|ARM64'">
- + <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)'=='Release|ARM64'">
- + <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|Win32'">
- <LinkIncremental>true</LinkIncremental>
- @@ -75,12 +102,18 @@
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
- + <LinkIncremental>true</LinkIncremental>
- + </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
- + <LinkIncremental>false</LinkIncremental>
- + </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- @@ -125,6 +158,28 @@
- <ModuleDefinitionFile>..\..\libtirpc\libtirpc\libtirpc.def</ModuleDefinitionFile>
- </Link>
- </ItemDefinitionGroup>
- + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
- + <ClCompile>
- + <PrecompiledHeader>
- + </PrecompiledHeader>
- + <WarningLevel>Level4</WarningLevel>
- + <Optimization>Disabled</Optimization>
- + <PreprocessorDefinitions>FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;PORTMAP;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;_DEBUG;_WINDOWS;_USRDLL;LIBTIRPC_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- + <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- + <LanguageStandard_C>stdc17</LanguageStandard_C>
- + <StringPooling>true</StringPooling>
- + <BasicRuntimeChecks>Default</BasicRuntimeChecks>
- + <BufferSecurityCheck>false</BufferSecurityCheck>
- + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- + <AdditionalOptions>/wd4100 /wd4131 /wd4389</AdditionalOptions>
- + </ClCompile>
- + <Link>
- + <SubSystem>Windows</SubSystem>
- + <GenerateDebugInformation>true</GenerateDebugInformation>
- + <AdditionalDependencies>ws2_32.lib;secur32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- + <ModuleDefinitionFile>..\..\libtirpc\libtirpc\libtirpc.def</ModuleDefinitionFile>
- + </Link>
- + </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level4</WarningLevel>
- @@ -175,6 +230,31 @@
- <ModuleDefinitionFile>..\..\libtirpc\libtirpc\libtirpc.def</ModuleDefinitionFile>
- </Link>
- </ItemDefinitionGroup>
- + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
- + <ClCompile>
- + <WarningLevel>Level4</WarningLevel>
- + <PrecompiledHeader>
- + </PrecompiledHeader>
- + <Optimization>MaxSpeed</Optimization>
- + <FunctionLevelLinking>true</FunctionLevelLinking>
- + <IntrinsicFunctions>true</IntrinsicFunctions>
- + <PreprocessorDefinitions>FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;PORTMAP;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;NDEBUG;_WINDOWS;_USRDLL;LIBTIRPC_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- + <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- + <LanguageStandard_C>stdc17</LanguageStandard_C>
- + <StringPooling>true</StringPooling>
- + <BufferSecurityCheck>false</BufferSecurityCheck>
- + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- + <AdditionalOptions>/wd4100 /wd4131 /wd4389</AdditionalOptions>
- + </ClCompile>
- + <Link>
- + <SubSystem>Windows</SubSystem>
- + <GenerateDebugInformation>true</GenerateDebugInformation>
- + <EnableCOMDATFolding>true</EnableCOMDATFolding>
- + <OptimizeReferences>true</OptimizeReferences>
- + <AdditionalDependencies>ws2_32.lib;secur32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- + <ModuleDefinitionFile>..\..\libtirpc\libtirpc\libtirpc.def</ModuleDefinitionFile>
- + </Link>
- + </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\libtirpc\src\asprintf.c" />
- <ClCompile Include="..\..\libtirpc\src\authsspi_prot.c" />
- diff --git a/build.vc19/nfs41-client.sln b/build.vc19/nfs41-client.sln
- index bef393f..38827b2 100644
- --- a/build.vc19/nfs41-client.sln
- +++ b/build.vc19/nfs41-client.sln
- @@ -30,84 +30,107 @@ Global
- Release|x86 = Release|x86
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- - {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|ARM.ActiveCfg = Debug|Win32
- - {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|ARM64.ActiveCfg = Debug|Win32
- {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|x64.ActiveCfg = Debug|x64
- {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|x64.Build.0 = Debug|x64
- {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|x86.ActiveCfg = Debug|Win32
- {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|x86.Build.0 = Debug|Win32
- - {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|ARM.ActiveCfg = Release|Win32
- - {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|ARM64.ActiveCfg = Release|Win32
- + {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|ARM64.ActiveCfg = Debug|ARM64
- + {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|ARM64.Build.0 = Debug|ARM64
- + {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|ARM.ActiveCfg = Debug|ARM
- + {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Debug|ARM.Build.0 = Debug|ARM
- {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|x64.ActiveCfg = Release|x64
- {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|x64.Build.0 = Release|x64
- {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|x86.ActiveCfg = Release|Win32
- {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|x86.Build.0 = Release|Win32
- - {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|ARM.ActiveCfg = Debug|Win32
- - {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|ARM64.ActiveCfg = Debug|Win32
- + {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|ARM64.ActiveCfg = Release|ARM64
- + {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|ARM64.Build.0 = Release|ARM64
- + {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|ARM.ActiveCfg = Release|ARM
- + {D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}.Release|ARM.Build.0 = Release|ARM
- {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|x64.ActiveCfg = Debug|x64
- {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|x64.Build.0 = Debug|x64
- {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|x86.ActiveCfg = Debug|Win32
- {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|x86.Build.0 = Debug|Win32
- - {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|ARM.ActiveCfg = Release|Win32
- - {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|ARM64.ActiveCfg = Release|Win32
- {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|x64.ActiveCfg = Release|x64
- {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|x64.Build.0 = Release|x64
- {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|x86.ActiveCfg = Release|Win32
- {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|x86.Build.0 = Release|Win32
- - {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|ARM.ActiveCfg = Debug|Win32
- - {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|ARM64.ActiveCfg = Debug|Win32
- + {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|ARM64.ActiveCfg = Debug|ARM64
- + {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|ARM64.Build.0 = Debug|ARM64
- + {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|ARM.ActiveCfg = Debug|ARM
- + {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Debug|ARM.Build.0 = Debug|ARM
- + {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|ARM64.ActiveCfg = Release|ARM64
- + {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|ARM64.Build.0 = Release|ARM64
- + {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|ARM.ActiveCfg = Release|ARM
- + {896D812D-B4AC-4661-A9ED-7DE94BB68365}.Release|ARM.Build.0 = Release|ARM
- {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|x64.ActiveCfg = Debug|x64
- {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|x64.Build.0 = Debug|x64
- {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|x86.ActiveCfg = Debug|Win32
- {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|x86.Build.0 = Debug|Win32
- - {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|ARM.ActiveCfg = Release|Win32
- - {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|ARM64.ActiveCfg = Release|Win32
- {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|x64.ActiveCfg = Release|x64
- {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|x64.Build.0 = Release|x64
- {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|x86.ActiveCfg = Release|Win32
- {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|x86.Build.0 = Release|Win32
- - {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM.ActiveCfg = Debug|ARM
- - {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM.Build.0 = Debug|ARM
- - {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM64.ActiveCfg = Debug|ARM64
- - {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM64.Build.0 = Debug|ARM64
- + {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|ARM64.ActiveCfg = Debug|ARM64
- + {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|ARM64.Build.0 = Debug|ARM64
- + {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|ARM.ActiveCfg = Debug|ARM
- + {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Debug|ARM.Build.0 = Debug|ARM
- + {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|ARM64.ActiveCfg = Release|ARM64
- + {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|ARM64.Build.0 = Release|ARM64
- + {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|ARM.ActiveCfg = Release|ARM
- + {833F4171-5B96-4BB0-8D9D-BB926ECA8976}.Release|ARM.Build.0 = Release|ARM
- {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|x64.ActiveCfg = Debug|x64
- {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|x64.Build.0 = Debug|x64
- {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|x86.ActiveCfg = Debug|Win32
- {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|x86.Build.0 = Debug|Win32
- {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|x86.Deploy.0 = Debug|Win32
- - {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM.ActiveCfg = Release|ARM
- - {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM.Build.0 = Release|ARM
- - {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM64.ActiveCfg = Release|ARM64
- - {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM64.Build.0 = Release|ARM64
- {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|x64.ActiveCfg = Release|x64
- {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|x64.Build.0 = Release|x64
- {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|x86.ActiveCfg = Release|Win32
- {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|x86.Build.0 = Release|Win32
- {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|x86.Deploy.0 = Release|Win32
- - {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|ARM.ActiveCfg = Debug|Win32
- - {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|ARM64.ActiveCfg = Debug|Win32
- + {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM64.ActiveCfg = Debug|ARM64
- + {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM64.Build.0 = Debug|ARM64
- + {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM.ActiveCfg = Debug|ARM
- + {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM.Build.0 = Debug|ARM
- + {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Debug|ARM.Deploy.0 = Debug|ARM
- + {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM64.ActiveCfg = Release|ARM64
- + {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM64.Build.0 = Release|ARM64
- + {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM.ActiveCfg = Release|ARM
- + {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM.Build.0 = Release|ARM
- + {78E2A6FE-05E7-40F8-AE1E-29BC3C307859}.Release|ARM.Deploy.0 = Release|ARM
- {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|x64.ActiveCfg = Debug|x64
- {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|x64.Build.0 = Debug|x64
- {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|x86.ActiveCfg = Debug|Win32
- {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|x86.Build.0 = Debug|Win32
- - {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|ARM.ActiveCfg = Release|Win32
- - {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|ARM64.ActiveCfg = Release|Win32
- {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|x64.ActiveCfg = Release|x64
- {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|x64.Build.0 = Release|x64
- {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|x86.ActiveCfg = Release|Win32
- {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|x86.Build.0 = Release|Win32
- - {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|ARM.ActiveCfg = Debug|Win32
- - {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|ARM64.ActiveCfg = Debug|Win32
- + {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|ARM64.ActiveCfg = Debug|ARM64
- + {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|ARM64.Build.0 = Debug|ARM64
- + {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|ARM.ActiveCfg = Debug|ARM
- + {FAE57101-F0EE-46CB-986D-E19A796693F7}.Debug|ARM.Build.0 = Debug|ARM
- + {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|ARM64.ActiveCfg = Release|ARM64
- + {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|ARM64.Build.0 = Release|ARM64
- + {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|ARM.ActiveCfg = Release|ARM
- + {FAE57101-F0EE-46CB-986D-E19A796693F7}.Release|ARM.Build.0 = Release|ARM
- {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|x64.ActiveCfg = Debug|x64
- {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|x64.Build.0 = Debug|x64
- {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|x86.ActiveCfg = Debug|Win32
- {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|x86.Build.0 = Debug|Win32
- - {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|ARM.ActiveCfg = Release|Win32
- - {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|ARM64.ActiveCfg = Release|Win32
- {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|x64.ActiveCfg = Release|x64
- {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|x64.Build.0 = Release|x64
- {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|x86.ActiveCfg = Release|Win32
- {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|x86.Build.0 = Release|Win32
- + {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|ARM64.ActiveCfg = Debug|ARM64
- + {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|ARM64.Build.0 = Debug|ARM64
- + {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|ARM.ActiveCfg = Debug|ARM
- + {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Debug|ARM.Build.0 = Debug|ARM
- + {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|ARM64.ActiveCfg = Release|ARM64
- + {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|ARM64.Build.0 = Release|ARM64
- + {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|ARM.ActiveCfg = Release|ARM
- + {3B0A10FB-7CF3-4A91-9767-3BA6FEDE7FFE}.Release|ARM.Build.0 = Release|ARM
- +
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- diff --git a/build.vc19/nfs41_np/nfs41_np.vcxproj b/build.vc19/nfs41_np/nfs41_np.vcxproj
- index abfc0c7..dd88142 100644
- --- a/build.vc19/nfs41_np/nfs41_np.vcxproj
- +++ b/build.vc19/nfs41_np/nfs41_np.vcxproj
- @@ -17,6 +17,14 @@
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- + <ProjectConfiguration Include="Debug|ARM64">
- + <Configuration>Debug</Configuration>
- + <Platform>ARM64</Platform>
- + </ProjectConfiguration>
- + <ProjectConfiguration Include="Release|ARM64">
- + <Configuration>Release</Configuration>
- + <Platform>ARM64</Platform>
- + </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{833F4171-5B96-4BB0-8D9D-BB926ECA8976}</ProjectGuid>
- @@ -51,6 +59,20 @@
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
- + <ConfigurationType>DynamicLibrary</ConfigurationType>
- + <UseDebugLibraries>true</UseDebugLibraries>
- + <PlatformToolset>v142</PlatformToolset>
- + <CharacterSet>Unicode</CharacterSet>
- + </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
- + <ConfigurationType>DynamicLibrary</ConfigurationType>
- + <UseDebugLibraries>false</UseDebugLibraries>
- + <PlatformToolset>v142</PlatformToolset>
- + <WholeProgramOptimization>true</WholeProgramOptimization>
- + <CharacterSet>Unicode</CharacterSet>
- + </PropertyGroup>
- +
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- @@ -68,6 +90,12 @@
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <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|ARM64'">
- + <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)'=='Release|ARM64'">
- + <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|Win32'">
- <LinkIncremental>true</LinkIncremental>
- @@ -75,12 +103,18 @@
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
- + <LinkIncremental>true</LinkIncremental>
- + </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
- + <LinkIncremental>false</LinkIncremental>
- + </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- @@ -117,6 +151,24 @@
- <ModuleDefinitionFile>..\..\dll\nfs41_np.def</ModuleDefinitionFile>
- </Link>
- </ItemDefinitionGroup>
- + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
- + <ClCompile>
- + <PrecompiledHeader>
- + </PrecompiledHeader>
- + <WarningLevel>Level4</WarningLevel>
- + <Optimization>Disabled</Optimization>
- + <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;_DEBUG;_WINDOWS;_USRDLL;NFS41_NP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- + <AdditionalIncludeDirectories>..\..\sys;..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- + <LanguageStandard_C>stdc17</LanguageStandard_C>
- + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- + <AdditionalOptions>/wd4100</AdditionalOptions>
- + </ClCompile>
- + <Link>
- + <SubSystem>Windows</SubSystem>
- + <GenerateDebugInformation>true</GenerateDebugInformation>
- + <ModuleDefinitionFile>..\..\dll\nfs41_np.def</ModuleDefinitionFile>
- + </Link>
- + </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level4</WarningLevel>
- @@ -161,6 +213,28 @@
- <ModuleDefinitionFile>..\..\dll\nfs41_np.def</ModuleDefinitionFile>
- </Link>
- </ItemDefinitionGroup>
- + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
- + <ClCompile>
- + <WarningLevel>Level4</WarningLevel>
- + <PrecompiledHeader>
- + </PrecompiledHeader>
- + <Optimization>MaxSpeed</Optimization>
- + <FunctionLevelLinking>true</FunctionLevelLinking>
- + <IntrinsicFunctions>true</IntrinsicFunctions>
- + <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;NDEBUG;_WINDOWS;_USRDLL;NFS41_NP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- + <AdditionalIncludeDirectories>..\..\sys;..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- + <LanguageStandard_C>stdc17</LanguageStandard_C>
- + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- + <AdditionalOptions>/wd4100</AdditionalOptions>
- + </ClCompile>
- + <Link>
- + <SubSystem>Windows</SubSystem>
- + <GenerateDebugInformation>true</GenerateDebugInformation>
- + <EnableCOMDATFolding>true</EnableCOMDATFolding>
- + <OptimizeReferences>true</OptimizeReferences>
- + <ModuleDefinitionFile>..\..\dll\nfs41_np.def</ModuleDefinitionFile>
- + </Link>
- + </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\dll\dllmain.c" />
- <ClCompile Include="..\..\dll\nfs41_np.c" />
- diff --git a/build.vc19/nfs_install/nfs_install.vcxproj b/build.vc19/nfs_install/nfs_install.vcxproj
- index 730333e..4886b11 100644
- --- a/build.vc19/nfs_install/nfs_install.vcxproj
- +++ b/build.vc19/nfs_install/nfs_install.vcxproj
- @@ -17,6 +17,14 @@
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- + <ProjectConfiguration Include="Debug|ARM64">
- + <Configuration>Debug</Configuration>
- + <Platform>ARM64</Platform>
- + </ProjectConfiguration>
- + <ProjectConfiguration Include="Release|ARM64">
- + <Configuration>Release</Configuration>
- + <Platform>ARM64</Platform>
- + </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{D99CCE56-FF7D-44D3-8E75-EB6D8F47CFA1}</ProjectGuid>
- @@ -51,6 +59,19 @@
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
- + <ConfigurationType>Application</ConfigurationType>
- + <UseDebugLibraries>true</UseDebugLibraries>
- + <PlatformToolset>v142</PlatformToolset>
- + <CharacterSet>Unicode</CharacterSet>
- + </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
- + <ConfigurationType>Application</ConfigurationType>
- + <UseDebugLibraries>false</UseDebugLibraries>
- + <PlatformToolset>v142</PlatformToolset>
- + <WholeProgramOptimization>true</WholeProgramOptimization>
- + <CharacterSet>Unicode</CharacterSet>
- + </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- @@ -68,6 +89,12 @@
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <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|ARM64'">
- + <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)'=='Release|ARM64'">
- + <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|Win32'">
- <LinkIncremental>true</LinkIncremental>
- @@ -75,12 +102,18 @@
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
- + <LinkIncremental>true</LinkIncremental>
- + </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
- + <LinkIncremental>false</LinkIncremental>
- + </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- @@ -113,6 +146,23 @@
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- </ItemDefinitionGroup>
- + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
- + <ClCompile>
- + <PrecompiledHeader>
- + </PrecompiledHeader>
- + <WarningLevel>Level4</WarningLevel>
- + <Optimization>Disabled</Optimization>
- + <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- + <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- + <LanguageStandard_C>stdc17</LanguageStandard_C>
- + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- + </ClCompile>
- + <Link>
- + <SubSystem>Console</SubSystem>
- + <GenerateDebugInformation>true</GenerateDebugInformation>
- + </Link>
- + </ItemDefinitionGroup>
- +
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level4</WarningLevel>
- @@ -153,6 +203,26 @@
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
- + <ClCompile>
- + <WarningLevel>Level4</WarningLevel>
- + <PrecompiledHeader>
- + </PrecompiledHeader>
- + <Optimization>MaxSpeed</Optimization>
- + <FunctionLevelLinking>true</FunctionLevelLinking>
- + <IntrinsicFunctions>true</IntrinsicFunctions>
- + <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- + <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- + <LanguageStandard_C>stdc17</LanguageStandard_C>
- + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- + </ClCompile>
- + <Link>
- + <SubSystem>Console</SubSystem>
- + <GenerateDebugInformation>true</GenerateDebugInformation>
- + <EnableCOMDATFolding>true</EnableCOMDATFolding>
- + <OptimizeReferences>true</OptimizeReferences>
- + </Link>
- + </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\install\nfs_install.c" />
- </ItemGroup>
- diff --git a/build.vc19/nfs_mount/nfs_mount.vcxproj b/build.vc19/nfs_mount/nfs_mount.vcxproj
- index a1a91bc..4da14c8 100644
- --- a/build.vc19/nfs_mount/nfs_mount.vcxproj
- +++ b/build.vc19/nfs_mount/nfs_mount.vcxproj
- @@ -17,6 +17,14 @@
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- + <ProjectConfiguration Include="Debug|ARM64">
- + <Configuration>Debug</Configuration>
- + <Platform>ARM64</Platform>
- + </ProjectConfiguration>
- + <ProjectConfiguration Include="Release|ARM64">
- + <Configuration>Release</Configuration>
- + <Platform>ARM64</Platform>
- + </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{896D812D-B4AC-4661-A9ED-7DE94BB68365}</ProjectGuid>
- @@ -51,6 +59,19 @@
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
- + <ConfigurationType>Application</ConfigurationType>
- + <UseDebugLibraries>true</UseDebugLibraries>
- + <PlatformToolset>v142</PlatformToolset>
- + <CharacterSet>Unicode</CharacterSet>
- + </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
- + <ConfigurationType>Application</ConfigurationType>
- + <UseDebugLibraries>false</UseDebugLibraries>
- + <PlatformToolset>v142</PlatformToolset>
- + <WholeProgramOptimization>true</WholeProgramOptimization>
- + <CharacterSet>Unicode</CharacterSet>
- + </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- @@ -68,6 +89,12 @@
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <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|ARM64'">
- + <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)'=='Release|ARM64'">
- + <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|Win32'">
- <LinkIncremental>true</LinkIncremental>
- @@ -75,12 +102,18 @@
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
- + <LinkIncremental>true</LinkIncremental>
- + </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
- + <LinkIncremental>false</LinkIncremental>
- + </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- @@ -115,6 +148,23 @@
- <AdditionalDependencies>mpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
- + <ClCompile>
- + <PrecompiledHeader>
- + </PrecompiledHeader>
- + <WarningLevel>Level4</WarningLevel>
- + <Optimization>Disabled</Optimization>
- + <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- + <AdditionalIncludeDirectories>..\..\sys;..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- + <LanguageStandard_C>stdc17</LanguageStandard_C>
- + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- + </ClCompile>
- + <Link>
- + <SubSystem>Console</SubSystem>
- + <GenerateDebugInformation>true</GenerateDebugInformation>
- + <AdditionalDependencies>mpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
- + </Link>
- + </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level4</WarningLevel>
- @@ -157,6 +207,27 @@
- <AdditionalDependencies>mpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
- + <ClCompile>
- + <WarningLevel>Level4</WarningLevel>
- + <PrecompiledHeader>
- + </PrecompiledHeader>
- + <Optimization>MaxSpeed</Optimization>
- + <FunctionLevelLinking>true</FunctionLevelLinking>
- + <IntrinsicFunctions>true</IntrinsicFunctions>
- + <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- + <AdditionalIncludeDirectories>..\..\sys;..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- + <LanguageStandard_C>stdc17</LanguageStandard_C>
- + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- + </ClCompile>
- + <Link>
- + <SubSystem>Console</SubSystem>
- + <GenerateDebugInformation>true</GenerateDebugInformation>
- + <EnableCOMDATFolding>true</EnableCOMDATFolding>
- + <OptimizeReferences>true</OptimizeReferences>
- + <AdditionalDependencies>mpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
- + </Link>
- + </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\mount\enum.c" />
- <ClCompile Include="..\..\mount\mount.c" />
- diff --git a/build.vc19/nfsd/nfsd.vcxproj b/build.vc19/nfsd/nfsd.vcxproj
- index 0041639..ebd045c 100644
- --- a/build.vc19/nfsd/nfsd.vcxproj
- +++ b/build.vc19/nfsd/nfsd.vcxproj
- @@ -17,6 +17,14 @@
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- + <ProjectConfiguration Include="Debug|ARM64">
- + <Configuration>Debug</Configuration>
- + <Platform>ARM64</Platform>
- + </ProjectConfiguration>
- + <ProjectConfiguration Include="Release|ARM64">
- + <Configuration>Release</Configuration>
- + <Platform>x64</Platform>
- + </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{FAE57101-F0EE-46CB-986D-E19A796693F7}</ProjectGuid>
- @@ -51,6 +59,20 @@
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
- + <ConfigurationType>Application</ConfigurationType>
- + <UseDebugLibraries>true</UseDebugLibraries>
- + <PlatformToolset>v142</PlatformToolset>
- + <CharacterSet>Unicode</CharacterSet>
- + </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
- + <ConfigurationType>Application</ConfigurationType>
- + <UseDebugLibraries>false</UseDebugLibraries>
- + <PlatformToolset>v142</PlatformToolset>
- + <WholeProgramOptimization>true</WholeProgramOptimization>
- + <CharacterSet>Unicode</CharacterSet>
- + </PropertyGroup>
- +
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- @@ -68,6 +90,12 @@
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <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|ARM64'">
- + <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)'=='Release|ARM64'">
- + <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|Win32'">
- <LinkIncremental>true</LinkIncremental>
- @@ -75,12 +103,18 @@
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
- + <LinkIncremental>true</LinkIncremental>
- + </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
- + <LinkIncremental>false</LinkIncremental>
- + </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- @@ -123,6 +157,27 @@
- <AdditionalDependencies>iphlpapi.lib;ws2_32.lib;wldap32.lib;ntdll.lib;..\$(Platform)\$(Configuration)\libtirpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
- + <ClCompile>
- + <PrecompiledHeader>
- + </PrecompiledHeader>
- + <WarningLevel>Level4</WarningLevel>
- + <Optimization>Disabled</Optimization>
- + <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;STANDALONE_NFSD;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- + <AdditionalIncludeDirectories>..\..\include;..\..\libtirpc\tirpc;..\..\sys;..\..\dll;..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- + <LanguageStandard_C>stdc17</LanguageStandard_C>
- + <BasicRuntimeChecks>Default</BasicRuntimeChecks>
- + <BufferSecurityCheck>false</BufferSecurityCheck>
- + <StringPooling>true</StringPooling>
- + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- + <AdditionalOptions>/wd4100</AdditionalOptions>
- + </ClCompile>
- + <Link>
- + <SubSystem>Console</SubSystem>
- + <GenerateDebugInformation>true</GenerateDebugInformation>
- + <AdditionalDependencies>iphlpapi.lib;ws2_32.lib;wldap32.lib;ntdll.lib;..\$(Platform)\$(Configuration)\libtirpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
- + </Link>
- + </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level4</WarningLevel>
- @@ -171,6 +226,30 @@
- <AdditionalDependencies>iphlpapi.lib;ws2_32.lib;wldap32.lib;ntdll.lib;..\$(Platform)\$(Configuration)\libtirpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
- + <ClCompile>
- + <WarningLevel>Level4</WarningLevel>
- + <PrecompiledHeader>
- + </PrecompiledHeader>
- + <Optimization>MaxSpeed</Optimization>
- + <FunctionLevelLinking>true</FunctionLevelLinking>
- + <IntrinsicFunctions>true</IntrinsicFunctions>
- + <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- + <AdditionalIncludeDirectories>..\..\include;..\..\libtirpc\tirpc;..\..\sys;..\..\dll;..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- + <LanguageStandard_C>stdc17</LanguageStandard_C>
- + <BufferSecurityCheck>false</BufferSecurityCheck>
- + <StringPooling>true</StringPooling>
- + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
- + <AdditionalOptions>/wd4100</AdditionalOptions>
- + </ClCompile>
- + <Link>
- + <SubSystem>Console</SubSystem>
- + <GenerateDebugInformation>true</GenerateDebugInformation>
- + <EnableCOMDATFolding>true</EnableCOMDATFolding>
- + <OptimizeReferences>true</OptimizeReferences>
- + <AdditionalDependencies>iphlpapi.lib;ws2_32.lib;wldap32.lib;ntdll.lib;..\$(Platform)\$(Configuration)\libtirpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
- + </Link>
- + </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\daemon\accesstoken.c" />
- <ClCompile Include="..\..\daemon\acl.c" />
- diff --git a/cygwin/Makefile b/cygwin/Makefile
- index e7125bb..0d700fc 100644
- --- a/cygwin/Makefile
- +++ b/cygwin/Makefile
- @@ -60,6 +60,11 @@ build_32bit_debug:
- which MSBuild.exe
- MSBuild.exe '$(shell cygpath -w "$(PROJECT_BASEDIR_DIR)/build.vc19/nfs41-client.sln")' -t:Build -p:Configuration=Debug -p:Platform=x86
- +build_arm_64bit_debug:
- + @printf '#\n# PATH is %q\n#\n' '$(PATH)'
- + which MSBuild.exe
- + MSBuild.exe '$(shell cygpath -w "$(PROJECT_BASEDIR_DIR)/build.vc19/nfs41-client.sln")' -t:Build -p:Configuration=Debug -p:Platform=ARM64
- +
- build_testutils:
- (cd "$(PROJECT_BASEDIR_DIR)/tests/ea" && make all)
- (cd "$(PROJECT_BASEDIR_DIR)/tests/winfsinfo1" && make all)
- diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c
- index b4ef4e1..33c63c1 100644
- --- a/sys/nfs41_driver.c
- +++ b/sys/nfs41_driver.c
- @@ -180,6 +180,7 @@ typedef struct _updowncall_entry {
- FAST_MUTEX lock;
- LIST_ENTRY next;
- KEVENT cond;
- +#undef errno
- DWORD errno;
- BOOLEAN async_op;
- SECURITY_CLIENT_CONTEXT sec_ctx;
- --
- 2.45.1
msnfs41client: Add ARM/ARM64 build support, 2024-09-07
Posted by Anonymous on Sat 7th Sep 2024 14:25
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.