named.vcxproj.in 10.7 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
2
<Project DefaultTargets="Build" ToolsVersion="@TOOLS_VERSION@" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 4 5 6 7 8 9 10 11 12 13 14 15 16
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|@PLATFORM@">
      <Configuration>Debug</Configuration>
      <Platform>@PLATFORM@</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|@PLATFORM@">
      <Configuration>Release</Configuration>
      <Platform>@PLATFORM@</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <ProjectGuid>{723C65DA-A96C-4BA3-A34E-44F11CA346F9}</ProjectGuid>
    <Keyword>Win32Proj</Keyword>
    <RootNamespace>named</RootNamespace>
17
    @WINDOWS_TARGET_PLATFORM_VERSION@
18 19 20 21 22 23
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>true</UseDebugLibraries>
    <CharacterSet>MultiByte</CharacterSet>
24
    @PLATFORM_TOOLSET@
25 26 27 28 29 30
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <CharacterSet>MultiByte</CharacterSet>
31
    @PLATFORM_TOOLSET@
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="ExtensionSettings">
  </ImportGroup>
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
    <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|@PLATFORM@'">
    <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|@PLATFORM@'">
    <LinkIncremental>true</LinkIncremental>
    <OutDir>..\..\..\Build\$(Configuration)\</OutDir>
    <IntDir>.\$(Configuration)\</IntDir>
Ondřej Surý's avatar
Ondřej Surý committed
47
    <IntDirSharingDetected>None</IntDirSharingDetected>
48 49 50 51 52
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
    <LinkIncremental>false</LinkIncremental>
    <OutDir>..\..\..\Build\$(Configuration)\</OutDir>
    <IntDir>.\$(Configuration)\</IntDir>
Ondřej Surý's avatar
Ondřej Surý committed
53
    <IntDirSharingDetected>None</IntDirSharingDetected>
54 55 56 57 58
  </PropertyGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
    <ClCompile>
      <PrecompiledHeader>
      </PrecompiledHeader>
59 60
      <WarningLevel>Level4</WarningLevel>
      <TreatWarningAsError>false</TreatWarningAsError>
61
      <Optimization>Disabled</Optimization>
62
      <PreprocessorDefinitions>WIN32;BUILDER="Visual Studio";_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
63
      <FunctionLevelLinking>true</FunctionLevelLinking>
64 65 66 67 68
      <PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
      <AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
      <ObjectFileName>.\$(Configuration)\</ObjectFileName>
      <ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
      <BrowseInformation>true</BrowseInformation>
69
      <ForcedIncludeFiles>..\..\..\config.h</ForcedIncludeFiles>
70
      <AdditionalIncludeDirectories>@LIBUV_INC@@OPENSSL_INC@@GSSAPI_INC@@GEOIP_INC@.\;..\..\..\;@LIBXML2_INC@..\win32\include;..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\isccc\include;..\..\..\lib\isccfg\include;..\..\..\lib\bind9\include;..\..\..\lib\ns\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
71
      <CompileAs>CompileAsC</CompileAs>
72 73 74 75 76
    </ClCompile>
    <Link>
      <SubSystem>Console</SubSystem>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
77
      <AdditionalLibraryDirectories>..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccc\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\bind9\win32\$(Configuration);..\..\..\lib\ns\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
78
      <AdditionalDependencies>@LIBUV_LIB@@OPENSSL_LIB@@LIBXML2_LIB@@GSSAPI_LIB@@GEOIP_LIB@libisc.lib;libdns.lib;libisccc.lib;libisccfg.lib;libbind9.lib;libns.lib;version.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
79
    </Link>
80 81 82 83 84 85 86
    <PreBuildEvent>
      <Command>cd ..
perl -e "print \"const char xslmsg[] =\n\";" &gt; xsl.c
perl -p -e "s/\"/\\\\\"/g;" -e "s/^/\"/;" -e "s/$/\"/;" &lt; bind9.xsl &gt;&gt; xsl.c
perl -e "print \";\";" &gt;&gt; xsl.c
      </Command>
    </PreBuildEvent>
87 88 89
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
    <ClCompile>
90 91
      <WarningLevel>Level1</WarningLevel>
      <TreatWarningAsError>true</TreatWarningAsError>
92 93 94 95 96
      <PrecompiledHeader>
      </PrecompiledHeader>
      <Optimization>MaxSpeed</Optimization>
      <FunctionLevelLinking>true</FunctionLevelLinking>
      <IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
97
      <PreprocessorDefinitions>WIN32;BUILDER="Visual Studio";NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
98 99 100 101 102 103 104
      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
      <WholeProgramOptimization>false</WholeProgramOptimization>
      <StringPooling>true</StringPooling>
      <PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
      <AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
      <ObjectFileName>.\$(Configuration)\</ObjectFileName>
      <ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
105
      <ForcedIncludeFiles>..\..\..\config.h</ForcedIncludeFiles>
106
      <AdditionalIncludeDirectories>@LIBUV_INC@@OPENSSL_INC@@GSSAPI_INC@@GEOIP_INC@.\;..\..\..\;@LIBXML2_INC@..\win32\include;..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\isccc\include;..\..\..\lib\isccfg\include;..\..\..\lib\bind9\include;..\..\..\lib\ns\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
107
      <CompileAs>CompileAsC</CompileAs>
108 109 110 111 112 113 114 115
    </ClCompile>
    <Link>
      <SubSystem>Console</SubSystem>
      <GenerateDebugInformation>false</GenerateDebugInformation>
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
      <OptimizeReferences>true</OptimizeReferences>
      <OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
      <LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
116
      <AdditionalLibraryDirectories>..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccc\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\bind9\win32\$(Configuration);..\..\..\lib\ns\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
117
      <AdditionalDependencies>@LIBUV_LIB@@OPENSSL_LIB@@LIBXML2_LIB@@GSSAPI_LIB@@GEOIP_LIB@libisc.lib;libdns.lib;libisccc.lib;libisccfg.lib;libbind9.lib;libns.lib;version.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
118
    </Link>
119 120 121 122 123 124 125
    <PreBuildEvent>
      <Command>cd ..
perl -e "print \"const char xslmsg[] =\n\";" &gt; xsl.c
perl -p -e "s/\"/\\\\\"/g;s/^/\"/;s/$/\"/;" &lt; bind9.xsl &gt;&gt; xsl.c
perl -e "print \";\";" &gt;&gt; xsl.c
      </Command>
    </PreBuildEvent>
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
  </ItemDefinitionGroup>
  <ItemGroup>
    <ClCompile Include="..\builtin.c" />
    <ClCompile Include="..\config.c" />
    <ClCompile Include="..\control.c" />
    <ClCompile Include="..\controlconf.c" />
@IF GEOIP
    <ClCompile Include="..\geoip.c" />
@END GEOIP
    <ClCompile Include="..\log.c" />
    <ClCompile Include="..\logconf.c" />
    <ClCompile Include="..\main.c" />
    <ClCompile Include="..\server.c" />
    <ClCompile Include="..\statschannel.c" />
    <ClCompile Include="..\tkeyconf.c" />
    <ClCompile Include="..\tsigconf.c" />
142
    <ClCompile Include="..\xsl.c" />
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
    <ClCompile Include="..\zoneconf.c" />
    <ClCompile Include="dlz_dlopen_driver.c" />
    <ClCompile Include="ntservice.c" />
    <ClCompile Include="os.c" />
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="..\include\named\builtin.h" />
    <ClInclude Include="..\include\named\config.h" />
    <ClInclude Include="..\include\named\control.h" />
@IF GEOIP
    <ClInclude Include="..\include\named\geoip.h" />
@END GEOIP
    <ClInclude Include="..\include\named\globals.h" />
    <ClInclude Include="..\include\named\log.h" />
    <ClInclude Include="..\include\named\logconf.h" />
    <ClInclude Include="..\include\named\main.h" />
    <ClInclude Include="..\include\named\server.h" />
    <ClInclude Include="..\include\named\statschannel.h" />
    <ClInclude Include="..\include\named\tkeyconf.h" />
    <ClInclude Include="..\include\named\tsigconf.h" />
    <ClInclude Include="..\include\named\types.h" />
164
    <ClInclude Include="..\xsl_p.h" />
165 166 167 168
    <ClInclude Include="..\include\named\zoneconf.h" />
    <ClInclude Include="include\named\ntservice.h" />
    <ClInclude Include="include\named\os.h" />
  </ItemGroup>
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
  <ItemGroup>
    <ProjectReference Include="..\..\..\lib\isc\win32\libisc.vcxproj">
      <Project>{3840E563-D180-4761-AA9C-E6155F02EAFF}</Project>
    </ProjectReference>
    <ProjectReference Include="..\..\..\lib\dns\win32\libdns.vcxproj">
      <Project>{5FEBFD4E-CCB0-48B9-B733-E15EEB85C16A}</Project>
    </ProjectReference>
    <ProjectReference Include="..\..\..\lib\ns\win32\libns.vcxproj">
      <Project>{82ACD33C-E75F-45B8-BB6D-42643A10D7EE}</Project>
    </ProjectReference>
    <ProjectReference Include="..\..\..\lib\isccc\win32\libisccc.vcxproj">
      <Project>{B556705F-1920-4400-878A-B259D3556047}</Project>
    </ProjectReference>
    <ProjectReference Include="..\..\..\lib\isccfg\win32\libisccfg.vcxproj">
      <Project>{B2DFA58C-6347-478E-81E8-01E06999D4F1}</Project>
    </ProjectReference>
    <ProjectReference Include="..\..\..\lib\bind9\win32\libbind9.vcxproj">
      <Project>{E741C10B-B075-4206-9596-46765B665E03}</Project>
    </ProjectReference>
  </ItemGroup>
189 190 191
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
192
</Project>