1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="Debug|Win32">
5 <Configuration>Debug</Configuration>
6 <Platform>Win32</Platform>
7 </ProjectConfiguration>
8 <ProjectConfiguration Include="Debug|x64">
9 <Configuration>Debug</Configuration>
10 <Platform>x64</Platform>
11 </ProjectConfiguration>
12 <ProjectConfiguration Include="Release|Win32">
13 <Configuration>Release</Configuration>
14 <Platform>Win32</Platform>
15 </ProjectConfiguration>
16 <ProjectConfiguration Include="Release|x64">
17 <Configuration>Release</Configuration>
18 <Platform>x64</Platform>
19 </ProjectConfiguration>
21 <PropertyGroup Label="Globals">
22 <ProjectName>mDNSResponder</ProjectName>
23 <ProjectGuid>{C1D98254-BA27-4427-A3BE-A68CA2CC5F69}</ProjectGuid>
24 <RootNamespace>mDNSResponder</RootNamespace>
25 <Keyword>Win32Proj</Keyword>
27 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
29 <ConfigurationType>Application</ConfigurationType>
30 <CharacterSet>MultiByte</CharacterSet>
32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
33 <ConfigurationType>Application</ConfigurationType>
34 <CharacterSet>MultiByte</CharacterSet>
36 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
37 <ConfigurationType>Application</ConfigurationType>
38 <CharacterSet>MultiByte</CharacterSet>
40 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
41 <ConfigurationType>Application</ConfigurationType>
42 <CharacterSet>MultiByte</CharacterSet>
44 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
45 <ImportGroup Label="ExtensionSettings">
47 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
48 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
49 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
51 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
52 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
53 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
55 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
59 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
60 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
63 <PropertyGroup Label="UserMacros" />
65 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
66 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</OutDir>
67 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir>
68 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
69 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir>
70 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
71 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
72 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir>
73 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir>
74 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
75 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir>
76 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
77 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
79 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
81 <Optimization>Disabled</Optimization>
82 <AdditionalIncludeDirectories>.;../;../../mDNSCore;../../mDNSShared;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;C:/Program Files/Microsoft SDKs/Windows/v6.1/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
83 <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_WIN32_WINNT=0x0501;DEBUG=1;MDNS_DEBUGMSGS=0;TARGET_OS_WIN32;WIN32_LEAN_AND_MEAN;USE_TCP_LOOPBACK;PLATFORM_NO_STRSEP;PLATFORM_NO_EPIPE;PLATFORM_NO_RLIMIT;PID_FILE="";UNICODE;_UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1;_LEGACY_NAT_TRAVERSAL_;_USE_32BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
84 <StringPooling>true</StringPooling>
85 <MinimalRebuild>true</MinimalRebuild>
88 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
89 <SmallerTypeCheck>true</SmallerTypeCheck>
90 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
91 <BufferSecurityCheck>true</BufferSecurityCheck>
94 <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
95 <WarningLevel>Level4</WarningLevel>
96 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
97 <CallingConvention>StdCall</CallingConvention>
98 <DisableSpecificWarnings>4127;4201;%(DisableSpecificWarnings)</DisableSpecificWarnings>
99 <ShowIncludes>false</ShowIncludes>
100 <PrecompiledHeaderFile>
101 </PrecompiledHeaderFile>
102 <PrecompiledHeaderOutputFile>
103 </PrecompiledHeaderOutputFile>
106 <AdditionalIncludeDirectories>../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
109 <AdditionalOptions>/NXCOMPAT /DYNAMICBASE /SAFESEH %(AdditionalOptions)</AdditionalOptions>
110 <AdditionalDependencies>ws2_32.lib;iphlpapi.lib;crypt32.lib;netapi32.lib;powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>
111 <OutputFile>$(OutDir)mDNSResponder.exe</OutputFile>
112 <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
113 <GenerateDebugInformation>true</GenerateDebugInformation>
114 <ProgramDatabaseFile>$(OutDir)mDNSResponder.pdb</ProgramDatabaseFile>
115 <SubSystem>Console</SubSystem>
116 <TargetMachine>MachineX86</TargetMachine>
117 <UACExecutionLevel>RequireAdministrator</UACExecutionLevel>
120 <AdditionalManifestFiles>res\mDNSResponder.manifest;%(AdditionalManifestFiles)</AdditionalManifestFiles>
122 </ItemDefinitionGroup>
123 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
125 <TargetEnvironment>X64</TargetEnvironment>
128 <Optimization>Disabled</Optimization>
129 <AdditionalIncludeDirectories>.;../;../../mDNSCore;../../mDNSShared;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;C:/Program Files/Microsoft SDKs/Windows/v6.1/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
130 <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_WIN32_WINNT=0x0501;DEBUG=1;MDNS_DEBUGMSGS=0;TARGET_OS_WIN32;WIN32_LEAN_AND_MEAN;USE_TCP_LOOPBACK;PLATFORM_NO_STRSEP;PLATFORM_NO_EPIPE;PLATFORM_NO_RLIMIT;PID_FILE="";UNICODE;_UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1;_LEGACY_NAT_TRAVERSAL_;%(PreprocessorDefinitions)</PreprocessorDefinitions>
131 <StringPooling>true</StringPooling>
132 <MinimalRebuild>true</MinimalRebuild>
135 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
136 <SmallerTypeCheck>true</SmallerTypeCheck>
137 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
138 <BufferSecurityCheck>true</BufferSecurityCheck>
141 <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
142 <WarningLevel>Level4</WarningLevel>
143 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
144 <CallingConvention>StdCall</CallingConvention>
145 <DisableSpecificWarnings>4127;4201;%(DisableSpecificWarnings)</DisableSpecificWarnings>
148 <AdditionalIncludeDirectories>../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
151 <AdditionalOptions>/NXCOMPAT /DYNAMICBASE %(AdditionalOptions)</AdditionalOptions>
152 <AdditionalDependencies>ws2_32.lib;iphlpapi.lib;crypt32.lib;netapi32.lib;powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>
153 <OutputFile>$(OutDir)mDNSResponder.exe</OutputFile>
154 <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
155 <GenerateDebugInformation>true</GenerateDebugInformation>
156 <ProgramDatabaseFile>$(OutDir)mDNSResponder.pdb</ProgramDatabaseFile>
157 <SubSystem>Console</SubSystem>
158 <TargetMachine>MachineX64</TargetMachine>
159 <UACExecutionLevel>RequireAdministrator</UACExecutionLevel>
162 <AdditionalManifestFiles>res\mDNSResponder64.manifest;%(AdditionalManifestFiles)</AdditionalManifestFiles>
164 </ItemDefinitionGroup>
165 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
167 <AdditionalIncludeDirectories>.;../;../../mDNSCore;../../mDNSShared;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;C:/Program Files/Microsoft SDKs/Windows/v6.1/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
168 <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_WIN32_WINNT=0x0501;TARGET_OS_WIN32;WIN32_LEAN_AND_MEAN;USE_TCP_LOOPBACK;PLATFORM_NO_STRSEP;PLATFORM_NO_EPIPE;PLATFORM_NO_RLIMIT;PID_FILE="";UNICODE;_UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1;_LEGACY_NAT_TRAVERSAL_;_USE_32BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
169 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
172 <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
173 <WarningLevel>Level4</WarningLevel>
174 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
175 <CallingConvention>StdCall</CallingConvention>
176 <DisableSpecificWarnings>4127;4201;%(DisableSpecificWarnings)</DisableSpecificWarnings>
179 <AdditionalIncludeDirectories>../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
182 <AdditionalOptions>/NXCOMPAT /DYNAMICBASE /SAFESEH %(AdditionalOptions)</AdditionalOptions>
183 <AdditionalDependencies>ws2_32.lib;iphlpapi.lib;crypt32.lib;netapi32.lib;powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>
184 <OutputFile>$(OutDir)mDNSResponder.exe</OutputFile>
185 <GenerateDebugInformation>true</GenerateDebugInformation>
186 <ProgramDatabaseFile>$(IntDir)$(ProjectName).pdb</ProgramDatabaseFile>
187 <SubSystem>Console</SubSystem>
188 <OptimizeReferences>true</OptimizeReferences>
189 <EnableCOMDATFolding>true</EnableCOMDATFolding>
190 <TargetMachine>MachineX86</TargetMachine>
191 <UACExecutionLevel>RequireAdministrator</UACExecutionLevel>
194 <AdditionalManifestFiles>res\mDNSResponder.manifest;%(AdditionalManifestFiles)</AdditionalManifestFiles>
197 <Command>if not "%RC_XBS%" == "YES" goto END
198 if not exist "$(DSTROOT)\Program Files\Bonjour\$(Platform)" mkdir "$(DSTROOT)\Program Files\Bonjour\$(Platform)"
199 if not exist "$(DSTROOT)\AppleInternal" mkdir "$(DSTROOT)\AppleInternal"
200 if not exist "$(DSTROOT)\AppleInternal\bin" mkdir "$(DSTROOT)\AppleInternal\bin"
201 xcopy /I/Y "$(TargetPath)" "$(DSTROOT)\Program Files\Bonjour\$(Platform)"
202 xcopy /I/Y "$(TargetDir)$(TargetName).pdb" "$(DSTROOT)\AppleInternal\bin"
206 </ItemDefinitionGroup>
207 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
209 <TargetEnvironment>X64</TargetEnvironment>
212 <AdditionalIncludeDirectories>.;../;../../mDNSCore;../../mDNSShared;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;C:/Program Files/Microsoft SDKs/Windows/v6.1/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
213 <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_WIN32_WINNT=0x0501;TARGET_OS_WIN32;WIN32_LEAN_AND_MEAN;USE_TCP_LOOPBACK;PLATFORM_NO_STRSEP;PLATFORM_NO_EPIPE;PLATFORM_NO_RLIMIT;PID_FILE="";UNICODE;_UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1;_LEGACY_NAT_TRAVERSAL_;%(PreprocessorDefinitions)</PreprocessorDefinitions>
214 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
217 <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
218 <WarningLevel>Level4</WarningLevel>
219 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
220 <DisableSpecificWarnings>4127;4201;%(DisableSpecificWarnings)</DisableSpecificWarnings>
223 <AdditionalIncludeDirectories>../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
226 <AdditionalOptions>/NXCOMPAT /DYNAMICBASE %(AdditionalOptions)</AdditionalOptions>
227 <AdditionalDependencies>ws2_32.lib;iphlpapi.lib;netapi32.lib;powrprof.lib;%(AdditionalDependencies)</AdditionalDependencies>
228 <OutputFile>$(OutDir)mDNSResponder.exe</OutputFile>
229 <GenerateDebugInformation>true</GenerateDebugInformation>
230 <ProgramDatabaseFile>$(IntDir)$(ProjectName).pdb</ProgramDatabaseFile>
231 <SubSystem>Console</SubSystem>
232 <OptimizeReferences>true</OptimizeReferences>
233 <EnableCOMDATFolding>true</EnableCOMDATFolding>
234 <TargetMachine>MachineX64</TargetMachine>
235 <UACExecutionLevel>RequireAdministrator</UACExecutionLevel>
238 <AdditionalManifestFiles>res\mDNSResponder64.manifest;%(AdditionalManifestFiles)</AdditionalManifestFiles>
241 <Command>if not "%RC_XBS%" == "YES" goto END
242 if not exist "$(DSTROOT)\Program Files\Bonjour\$(Platform)" mkdir "$(DSTROOT)\Program Files\Bonjour\$(Platform)"
243 if not exist "$(DSTROOT)\AppleInternal" mkdir "$(DSTROOT)\AppleInternal"
244 if not exist "$(DSTROOT)\AppleInternal\bin" mkdir "$(DSTROOT)\AppleInternal\bin"
245 xcopy /I/Y "$(TargetPath)" "$(DSTROOT)\Program Files\Bonjour\$(Platform)"
246 xcopy /I/Y "$(TargetDir)$(TargetName).pdb" "$(DSTROOT)\AppleInternal\bin"
250 </ItemDefinitionGroup>
252 <ClCompile Include="..\..\mDNSCore\anonymous.c" />
253 <ClCompile Include="..\..\mDNSCore\CryptoAlg.c" />
254 <ClCompile Include="..\..\mDNSShared\DebugServices.c" />
255 <ClCompile Include="..\..\mDNSCore\DNSCommon.c" />
256 <ClCompile Include="..\..\mDNSCore\DNSDigest.c" />
257 <ClCompile Include="..\..\mDNSShared\dnssd_ipc.c" />
258 <ClCompile Include="Firewall.cpp" />
259 <ClCompile Include="..\..\mDNSShared\GenLinkedList.c" />
260 <ClCompile Include="..\..\mDNSMacOSX\LegacyNATTraversal.c" />
261 <ClCompile Include="main.c" />
262 <ClCompile Include="..\..\mDNSCore\mDNS.c" />
263 <ClCompile Include="..\..\mDNSShared\mDNSDebug.c" />
264 <ClCompile Include="..\mDNSWin32.c" />
265 <ClCompile Include="..\Poll.c" />
266 <ClCompile Include="..\Secret.c" />
267 <ClCompile Include="Service.c" />
268 <ClCompile Include="..\..\mDNSCore\uDNS.c" />
269 <ClCompile Include="..\..\mDNSShared\uds_daemon.c" />
272 <CustomBuild Include="EventLog.mc">
273 <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Compiling Message Resource</Message>
274 <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">mc.exe EventLog.mc</Command>
275 <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EventLog.rc EventLog.h;%(Outputs)</Outputs>
276 <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Compiling Message Resource</Message>
277 <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">mc.exe EventLog.mc</Command>
278 <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">EventLog.rc EventLog.h;%(Outputs)</Outputs>
279 <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Compiling Message Resource</Message>
280 <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">mc.exe EventLog.mc</Command>
281 <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">EventLog.rc EventLog.h;%(Outputs)</Outputs>
282 <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Compiling Message Resource</Message>
283 <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">mc.exe EventLog.mc</Command>
284 <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">EventLog.rc EventLog.h;%(Outputs)</Outputs>
288 <ClInclude Include="..\..\mDNSCore\anonymous.h" />
289 <ClInclude Include="..\..\mDNSCore\CryptoAlg.h" />
290 <ClInclude Include="..\..\mDNSShared\CommonServices.h" />
291 <ClInclude Include="..\..\mDNSShared\DebugServices.h" />
292 <ClInclude Include="..\..\mDNSCore\DNSCommon.h" />
293 <ClInclude Include="..\..\mDNSShared\dnssd_ipc.h" />
294 <ClInclude Include="..\..\mDNSShared\GenLinkedList.h" />
295 <ClInclude Include="..\..\mDNSCore\mDNSDebug.h" />
296 <ClInclude Include="..\..\mDNSCore\mDNSEmbeddedAPI.h" />
297 <ClInclude Include="..\mDNSWin32.h" />
298 <ClInclude Include="..\Poll.h" />
299 <ClInclude Include="Resource.h" />
300 <ClInclude Include="..\Secret.h" />
301 <ClInclude Include="Service.h" />
302 <ClInclude Include="..\..\mDNSCore\uDNS.h" />
303 <ClInclude Include="..\..\mDNSShared\uds_daemon.h" />
306 <ResourceCompile Include="Service.rc" />
308 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
309 <ImportGroup Label="ExtensionTargets">