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="Release|Win32">
9 <Configuration>Release</Configuration>
10 <Platform>Win32</Platform>
11 </ProjectConfiguration>
13 <PropertyGroup Label="Globals">
14 <ProjectGuid>{7826EA27-D4CC-4FAA-AD23-DF813823227B}</ProjectGuid>
16 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
17 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
18 <ConfigurationType>DynamicLibrary</ConfigurationType>
19 <UseOfMfc>false</UseOfMfc>
20 <CharacterSet>MultiByte</CharacterSet>
22 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
23 <ConfigurationType>DynamicLibrary</ConfigurationType>
24 <UseOfMfc>false</UseOfMfc>
25 <CharacterSet>MultiByte</CharacterSet>
27 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
28 <ImportGroup Label="ExtensionSettings">
30 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
31 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
32 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
34 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
35 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
36 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
38 <PropertyGroup Label="UserMacros" />
40 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
41 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir>
42 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir>
43 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
44 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</OutDir>
45 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir>
46 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
47 <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">DNSSDService</TargetName>
48 <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">DNSSDService</TargetName>
50 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
52 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
53 <MkTypLibCompatible>true</MkTypLibCompatible>
54 <SuppressStartupBanner>true</SuppressStartupBanner>
55 <TargetEnvironment>Win32</TargetEnvironment>
56 <TypeLibraryName>.\$(OutDir)DNSSDService.tlb</TypeLibraryName>
61 <Optimization>MaxSpeed</Optimization>
62 <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
63 <AdditionalIncludeDirectories>..\..\mDNSShared;$(SRCROOT)\AppleInternal\XULRunner\include\xpcom;$(SRCROOT)\AppleInternal\XULRunner\include\nspr;$(SRCROOT)\AppleInternal\XULRunner\include\string;$(SRCROOT)\AppleInternal\XULRunner\include\pref;$(SRCROOT)\AppleInternal\XULRunner\sdk\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
64 <PreprocessorDefinitions>NDEBUG;WIN32;_WINDOWS;_USRDLL;DNSSDSERVICE_EXPORTS;XP_WIN;XP_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
65 <StringPooling>true</StringPooling>
66 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
67 <FunctionLevelLinking>true</FunctionLevelLinking>
68 <PrecompiledHeaderOutputFile>
69 </PrecompiledHeaderOutputFile>
70 <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
71 <ObjectFileName>$(IntDir)</ObjectFileName>
72 <ProgramDataBaseFileName>$(IntDir)vc80.pdb</ProgramDataBaseFileName>
73 <WarningLevel>Level3</WarningLevel>
74 <SuppressStartupBanner>true</SuppressStartupBanner>
75 <ForcedIncludeFiles>%(ForcedIncludeFiles)</ForcedIncludeFiles>
78 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
79 <Culture>0x0409</Culture>
80 <AdditionalIncludeDirectories>../../mDNSWindows;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
83 <AdditionalOptions>/NXCOMPAT /DYNAMICBASE /SAFESEH %(AdditionalOptions)</AdditionalOptions>
84 <AdditionalDependencies>$(SRCROOT)\AppleInternal\XULRunner\lib\nspr4.lib;$(SRCROOT)\AppleInternal\XULRunner\lib\xpcom.lib;$(SRCROOT)\AppleInternal\XULRunner\lib\xpcomglue_s.lib;ws2_32.lib;../../mDNSWindows/DLLStub/$(Platform)/$(Configuration)/dnssdStatic.lib;%(AdditionalDependencies)</AdditionalDependencies>
85 <OutputFile>$(OutDir)DNSSDService.dll</OutputFile>
86 <SuppressStartupBanner>true</SuppressStartupBanner>
87 <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
88 <ProgramDatabaseFile>.\$(OutDir)DNSSDService.pdb</ProgramDatabaseFile>
89 <ImportLibrary>.\$(OutDir)DNSSDService.lib</ImportLibrary>
90 <TargetMachine>MachineX86</TargetMachine>
93 <SuppressStartupBanner>true</SuppressStartupBanner>
94 <OutputFile>.\$(OutDir)DNSSDService.bsc</OutputFile>
97 <Command>xcopy /I/Y $(Platform)\$(Configuration)\DNSSDService.dll extension\platform\WINNT\components
98 if not "%RC_XBS%" == "YES" goto END
99 if not exist "$(DSTROOT)\Program Files\Bonjour SDK\bin\$(Platform)\FirefoxExtension" mkdir "$(DSTROOT)\Program Files\Bonjour SDK\bin\$(Platform)\FirefoxExtension"
100 xcopy /E/I/Y "extension" "$(DSTROOT)\Program Files\Bonjour SDK\bin\$(Platform)\FirefoxExtension"
104 </ItemDefinitionGroup>
105 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
107 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
108 <MkTypLibCompatible>true</MkTypLibCompatible>
109 <SuppressStartupBanner>true</SuppressStartupBanner>
110 <TargetEnvironment>Win32</TargetEnvironment>
111 <TypeLibraryName>.\$(OutDir)DNSSDService.tlb</TypeLibraryName>
116 <Optimization>Disabled</Optimization>
117 <AdditionalIncludeDirectories>..\..\mDNSShared;$(SRCROOT)\AppleInternal\XULRunner\include\xpcom;$(SRCROOT)\AppleInternal\XULRunner\include\nspr;$(SRCROOT)\AppleInternal\XULRunner\include\string;$(SRCROOT)\AppleInternal\XULRunner\include\pref;$(SRCROOT)\AppleInternal\XULRunner\sdk\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
118 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;DNSSDSERVICE_EXPORTS;XP_WIN;XP_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
119 <MinimalRebuild>true</MinimalRebuild>
120 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
121 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
122 <PrecompiledHeaderOutputFile>
123 </PrecompiledHeaderOutputFile>
124 <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
125 <ObjectFileName>$(IntDir)</ObjectFileName>
126 <ProgramDataBaseFileName>$(IntDir)vc80.pdb</ProgramDataBaseFileName>
127 <WarningLevel>Level3</WarningLevel>
128 <SuppressStartupBanner>true</SuppressStartupBanner>
129 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
130 <ForcedIncludeFiles>%(ForcedIncludeFiles)</ForcedIncludeFiles>
133 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
134 <Culture>0x0409</Culture>
135 <AdditionalIncludeDirectories>../../mDNSWindows;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
138 <AdditionalOptions>/NXCOMPAT /DYNAMICBASE /SAFESEH %(AdditionalOptions)</AdditionalOptions>
139 <AdditionalDependencies>$(SRCROOT)\AppleInternal\XULRunner\lib\nspr4.lib;$(SRCROOT)\AppleInternal\XULRunner\lib\xpcom.lib;$(SRCROOT)\AppleInternal\XULRunner\lib\xpcomglue_s.lib;ws2_32.lib;../../mDNSWindows/DLLStub/$(Platform)/$(Configuration)/dnssdStatic.lib;%(AdditionalDependencies)</AdditionalDependencies>
140 <OutputFile>$(OutDir)DNSSDService.dll</OutputFile>
141 <SuppressStartupBanner>true</SuppressStartupBanner>
142 <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
143 <GenerateDebugInformation>true</GenerateDebugInformation>
144 <ProgramDatabaseFile>.\$(OutDir)DNSSDService.pdb</ProgramDatabaseFile>
145 <ImportLibrary>.\$(OutDir)DNSSDService.lib</ImportLibrary>
146 <TargetMachine>MachineX86</TargetMachine>
149 <SuppressStartupBanner>true</SuppressStartupBanner>
150 <OutputFile>.\$(OutDir)DNSSDService.bsc</OutputFile>
153 <Command>xcopy /I/Y $(Platform)\$(Configuration)\DNSSDService.dll extension\platform\WINNT\components</Command>
155 </ItemDefinitionGroup>
157 <ClCompile Include="CDNSSDService.cpp" />
158 <ClCompile Include="CDNSSDServiceModule.cpp" />
161 <ClInclude Include="CDNSSDService.h" />
162 <ClInclude Include="IDNSSDService.h" />
165 <CustomBuildStep Include="IDNSSDService.idl" />
168 <ResourceCompile Include="FirefoxExtension.rc" />
171 <ProjectReference Include="..\..\mDNSWindows\DLLStub\DLLStub.vcxproj">
172 <Project>{3a2b6325-3053-4236-84bd-aa9be2e323e5}</Project>
173 <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
176 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
177 <ImportGroup Label="ExtensionTargets">