blob: 47fa11a6175d72185808c410f353eddc432e05a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>{8B282C8F-5870-44C3-9A2A-B9091F4E9F68}</ProjectGuid>
<RootNamespace>driver</RootNamespace>
<ProjectName>driver</ProjectName>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType>
<DriverType>WDM</DriverType>
<ForcedTargetVersion Condition="'$(SDVHacks)'=='true'">Windows10</ForcedTargetVersion>
</PropertyGroup>
<Import Project="..\wireguard-nt.props" />
<PropertyGroup>
<TargetName>wireguard</TargetName>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>NDIS_MINIPORT_DRIVER=1;NDIS620_MINIPORT=1;NDIS683_MINIPORT=1;NDIS_WDM=1;POOL_ZERO_DOWN_LEVEL_SUPPORT;POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(SDVHacks)'=='true'">SDV_HACKS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalOptions>/volatile:iso %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>4100;4200;4201;$(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<AdditionalDependencies>ndis.lib;netio.lib;ntstrsafe.lib;uuid.lib;wdmsec.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies Condition="'$(SDVHacks)'!='true'">cng.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies Condition="'$(TargetVersion)'=='Windows7' OR '$(TargetVersion)'=='Windows8'">fltmgr.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
<Inf>
<TimeStamp>$(WireGuardVersion)</TimeStamp>
</Inf>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
<Inf>
<TimeStamp>*</TimeStamp>
</Inf>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="allowedips.c" />
<ClCompile Include="cookie.c" />
<ClCompile Include="crypto.c" />
<ClCompile Include="device.c" />
<ClCompile Include="ioctl.c" />
<ClCompile Include="logging.c" />
<ClCompile Include="main.c" />
<ClCompile Include="memory.c" />
<ClCompile Include="noise.c" />
<ClCompile Include="peer.c" />
<ClCompile Include="peerlookup.c" />
<ClCompile Include="queueing.c" />
<ClCompile Include="ratelimiter.c" />
<ClCompile Include="rcu.c" />
<ClCompile Include="receive.c" />
<ClCompile Include="selftest\allowedips.c">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="selftest\counter.c">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="selftest\chacha20poly1305.c">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="selftest\ratelimiter.c">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="send.c" />
<ClCompile Include="socket.c" />
<ClCompile Include="timers.c" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="wireguard.rc" />
</ItemGroup>
<ItemGroup>
<Inf Include="wireguard.inf" />
<FilesToPackage Include="$(TargetPath)" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="allowedips.h" />
<ClInclude Include="arithmetic.h" />
<ClInclude Include="interlocked.h" />
<ClInclude Include="containers.h" />
<ClInclude Include="cookie.h" />
<ClInclude Include="crypto.h" />
<ClInclude Include="device.h" />
<ClInclude Include="ioctl.h" />
<ClInclude Include="logging.h" />
<ClInclude Include="memory.h" />
<ClInclude Include="messages.h" />
<ClInclude Include="noise.h" />
<ClInclude Include="peer.h" />
<ClInclude Include="peerlookup.h" />
<ClInclude Include="queueing.h" />
<ClInclude Include="ratelimiter.h" />
<ClInclude Include="rcu.h" />
<ClInclude Include="socket.h" />
<ClInclude Include="timers.h" />
<ClInclude Include="undocumented.h" />
</ItemGroup>
<ItemGroup>
<MASM Include="crypto-amd64.asm">
<ExcludedFromBuild Condition="'$(Platform)'!='x64'">true</ExcludedFromBuild>
</MASM>
</ItemGroup>
<Import Project="..\wireguard-nt.props.user" Condition="exists('..\wireguard-nt.props.user')" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
</Project>
|