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 <Keyword>Win32Proj</Keyword>
16 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
17 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
18 <ConfigurationType>DynamicLibrary</ConfigurationType>
19 <UseDebugLibraries>true</UseDebugLibraries>
21 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
22 <ConfigurationType>Application</ConfigurationType>
23 <UseDebugLibraries>false</UseDebugLibraries>
25 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
26 <ImportGroup Label="ExtensionSettings">
28 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
29 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
31 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
32 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
34 <PropertyGroup Label="UserMacros" />
35 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
36 <LinkIncremental>true</LinkIncremental>
37 <CustomBuildAfterTargets>Build</CustomBuildAfterTargets>
39 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
40 <LinkIncremental>true</LinkIncremental>
42 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
44 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;HAVE_GSS_C_NT_HOSTBASED_SERVICE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
45 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
46 <WarningLevel>Level3</WarningLevel>
47 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
48 <Optimization>Disabled</Optimization>
49 <AdditionalIncludeDirectories>$(KRB_INSTALL_DIR)\include\gssapi;$(KRB_INSTALL_DIR)\include;$(XRSDK_DIR)\include;$(XRSDK_DIR)\include\xpcom;$(XRSDK_DIR)\include\nspr;$(XRSDK_DIR)\include\necko;$(XRSDK_DIR)\include\string;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
50 <ForcedIncludeFiles>xpcom-config.h;mozilla-config.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
53 <TargetMachine>MachineX86</TargetMachine>
54 <GenerateDebugInformation>true</GenerateDebugInformation>
55 <SubSystem>Windows</SubSystem>
56 <AdditionalDependencies>$(XRSDK_DIR)\lib\xpcomglue_s.lib;$(XRSDK_DIR)\lib\xpcom.lib;$(XRSDK_DIR)\lib\nspr4.lib;$(XRSDK_DIR)\lib\plc4.lib;$(KRB_INSTALL_DIR)\lib\gssapi32.lib;%(AdditionalDependencies)</AdditionalDependencies>
59 <Message>Make xpi</Message>
60 <Command>copy $(TargetPath) $(IntDir)xpi\components
61 copy $(OutDir)$(TargetName).pdb $(IntDir)xpi\components
63 %MSYS_ROOT%\bin\touch chrome.manifest
64 %MSYS_ROOT%\bin\zip -r $(OutDir)$(TargetName).xpi components install.js install.rdf chrome.manifest</Command>
65 <Outputs>$(OutDir)$(TargetName).xpi;%(Outputs)</Outputs>
66 <Inputs>$(TargetPath);%(Inputs)</Inputs>
68 </ItemDefinitionGroup>
69 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
71 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
72 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
73 <WarningLevel>Level3</WarningLevel>
74 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
77 <TargetMachine>MachineX86</TargetMachine>
78 <GenerateDebugInformation>true</GenerateDebugInformation>
79 <SubSystem>Windows</SubSystem>
80 <EnableCOMDATFolding>true</EnableCOMDATFolding>
81 <OptimizeReferences>true</OptimizeReferences>
83 </ItemDefinitionGroup>
85 <ClCompile Include="nsHttpMoonshot.cpp" />
86 <ClCompile Include="nsHttpMoonshotModule.cpp" />
87 <ClCompile Include="nsMoonshotSessionState.cpp" />
90 <ClInclude Include="nsHttpMoonshot.h" />
91 <ClInclude Include="nsMoonshotSessionState.h" />
94 <CustomBuild Include="install.js">
95 <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">copy install.js $(IntDir)xpi\install.js</Command>
96 <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">copying to xpi temp dir</Message>
97 <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)xpi\install.js;%(Outputs)</Outputs>
101 <CustomBuild Include="install.rdf">
102 <FileType>Document</FileType>
103 <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">copy install.rdf $(IntDir)xpi\install.rdf</Command>
104 <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">copying to xpi temp dir</Message>
105 <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)xpi\install.rdf;%(Outputs)</Outputs>
108 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
109 <ImportGroup Label="ExtensionTargets">