* Build jay and run before gmcs and System.Xml. The basic profile should build now.
svn path=/trunk/mcs/; revision=158724
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+ <Import Project="$(MSBuildExtensionsPath)\ExtensionPack\MSBuild.ExtensionPack.tasks"/>\r
+ <Target Name="Build">\r
+ <Copy SourceFiles="common\Consts.cs.in" DestinationFiles="common\Consts.cs"/>\r
+ <MSBuild.ExtensionPack.FileSystem.File TaskAction="Replace" RegexPattern="@MONO_VERSION@" Replacement="2.7.0.0" Files="common\Consts.cs"/>\r
+ </Target>\r
+</Project>
\ No newline at end of file
<CscToolPath>C:\MonoExperimental2.5.0\bin</CscToolPath>\r
</PropertyGroup>\r
<PropertyGroup Condition=" ('$(Configuration)' == 'basic' Or '$(Configuration)' == 'basic_XML_DEP') ">\r
- <OutputPath>$(MSBuildProjectDirectory)\..\lib\basic\</OutputPath>\r
+ <OutputPath Condition=" '$(OutputPath)' == '' ">$(MSBuildProjectDirectory)\..\lib\basic\</OutputPath>\r
</PropertyGroup>\r
<PropertyGroup Condition=" '$(Configuration)' == 'net_2_0_bootstrap' ">\r
- <OutputPath>$(MSBuildProjectDirectory)\..\lib\net_2_0_bootstrap\</OutputPath>\r
+ <OutputPath Condition=" '$(OutputPath)' == '' ">$(MSBuildProjectDirectory)\..\lib\net_2_0_bootstrap\</OutputPath>\r
</PropertyGroup>\r
<Target Name="SetupProject">\r
- <Copy SourceFiles="$(MSBuildProjectName).dll.sources" DestinationFiles="$(MSBuildProjectName).dll.msbuild.sources"/>\r
- <MSBuild.ExtensionPack.FileSystem.File TaskAction="Replace" RegexPattern="/" Replacement="\" Files="$(MSBuildProjectName).dll.msbuild.sources"/>\r
+ <Copy SourceFiles="$(ResponseFile)" DestinationFiles="$(ResponseFile).msbuild"/>\r
+ <MSBuild.ExtensionPack.FileSystem.File TaskAction="Replace" RegexPattern="/" Replacement="\" Files="$(ResponseFile).msbuild"/>\r
<MakeDir Directories="$(OutputDirectory)"/>\r
</Target>\r
- <ItemGroup>\r
- <ResponseFile Include="$(MSBuildProjectName).dll.msbuild.sources"/>\r
- </ItemGroup>\r
+ <PropertyGroup Condition=" '$(ResponseFile)' == '' ">\r
+ <ResponseFile>$(MSBuildProjectName).dll.sources</ResponseFile>\r
+ </PropertyGroup>\r
+ <PropertyGroup>\r
+ <CompilerResponseFile>$(ResponseFile).msbuild</CompilerResponseFile>\r
+ </PropertyGroup>\r
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
<PropertyGroup>
<OutputType>Library</OutputType>
<AssemblyName>$(MSBuildProjectName)</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
- <CompilerResponseFile>@(ResponseFile)</CompilerResponseFile>
<NoConfig>true</NoConfig>
<CodePage>65001</CodePage>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ItemGroup>
<Reference Include="System.dll"/>
</ItemGroup>
+ <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Target Name="BeforeBuild" DependsOnTargets="SetupProject">
</Target>
<OutputType>Library</OutputType>
<AssemblyName>$(MSBuildProjectName)</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
- <CompilerResponseFile>@(ResponseFile)</CompilerResponseFile>
<NoConfig>true</NoConfig>
<CodePage>65001</CodePage>
<UseVSHostingProcess>false</UseVSHostingProcess>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
<PropertyGroup>
<OutputType>Library</OutputType>
<AssemblyName>$(MSBuildProjectName)</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
- <CompilerResponseFile>@(ResponseFile)</CompilerResponseFile>
<NoConfig>true</NoConfig>
<NoWarn>1720</NoWarn>
<CodePage>65001</CodePage>
<ItemGroup>
<Reference Include="System.dll"/>
</ItemGroup>
+ <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Target Name="BeforeBuild" DependsOnTargets="SetupProject">
</Target>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
<PropertyGroup>
<OutputType>Library</OutputType>
<AssemblyName>$(MSBuildProjectName)</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
- <CompilerResponseFile>@(ResponseFile)</CompilerResponseFile>
<NoWarn>0618,0612,0642</NoWarn>
<NoConfig>true</NoConfig>
<CodePage>65001</CodePage>
<Compile Include="Mono.Xml.Xsl\PatternTokenizer.cs"/>
<Reference Include="System.dll"/>
</ItemGroup>
+ <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Target Name="BeforeBuild" DependsOnTargets="SetupProject">
+ <Exec Command="..\..\jay\jay.exe -ct < ..\..\jay\skeleton.cs System.Xml.XPath\Parser.jay > System.Xml.XPath\Parser.cs"/>
+ <Exec Command="echo #define XSLT_PATTERN > Mono.Xml.Xsl\PatternParser.cs"/>
+ <Exec Command="..\..\jay\jay.exe -ct Mono.Xml.Xsl\PatternParser.jay < ..\..\jay\skeleton.cs >> Mono.Xml.Xsl\PatternParser.cs"/>
+ <Exec Command="echo #define XSLT_PATTERN > Mono.Xml.Xsl\PatternTokenizer.cs"/>
+ <Exec Command="type System.Xml.XPath\Tokenizer.cs >> Mono.Xml.Xsl\PatternTokenizer.cs"/>
</Target>
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
<PropertyGroup>
<OutputType>Library</OutputType>
<AssemblyName>$(MSBuildProjectName)</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
- <CompilerResponseFile>@(ResponseFile)</CompilerResponseFile>
<NoConfig>true</NoConfig>
<CodePage>65001</CodePage>
<UseVSHostingProcess>false</UseVSHostingProcess>
<DefineConstants>BOOTSTRAP_BASIC,NET_1_1,NET_2_0,CONFIGURATION_2_0,XML_DEP</DefineConstants>
</PropertyGroup>
<ItemGroup>
- <EmbeddedResource Include="resources/Asterisk.wav"/>
- <EmbeddedResource Include="resources/Beep.wav"/>
- <EmbeddedResource Include="resources/Exclamation.wav"/>
- <EmbeddedResource Include="resources/Hand.wav"/>
- <EmbeddedResource Include="resources/Question.wav"/>
+ <EmbeddedResource Include="resources\Asterisk.wav"/>
+ <EmbeddedResource Include="resources\Beep.wav"/>
+ <EmbeddedResource Include="resources\Exclamation.wav"/>
+ <EmbeddedResource Include="resources\Hand.wav"/>
+ <EmbeddedResource Include="resources\Question.wav"/>
</ItemGroup>
<ItemGroup Condition=" '$(Configuration)|$(Platform)' == 'basic_XML_DEP|AnyCPU' ">
<Reference Include="System.Xml"/>
</ItemGroup>
+ <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Target Name="BeforeBuild" DependsOnTargets="SetupProject">
</Target>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
<PropertyGroup>
<OutputType>Library</OutputType>
<AssemblyName>mscorlib</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
- <CompilerResponseFile>@(ResponseFile)</CompilerResponseFile>
<NoConfig>true</NoConfig>
<NoStdLib>true</NoStdLib>
<CodePage>65001</CodePage>
<DefineConstants>INSIDE_CORLIB,NET_1_1,NET_2_0,LIBC,BOOTSTRAP_BASIC</DefineConstants>
</PropertyGroup>
<ItemGroup>
- <EmbeddedResource Include="resources/collation.core.bin"/>
- <EmbeddedResource Include="resources/collation.tailoring.bin"/>
- <EmbeddedResource Include="resources/collation.cjkCHS.bin"/>
- <EmbeddedResource Include="resources/collation.cjkCHT.bin"/>
- <EmbeddedResource Include="resources/collation.cjkJA.bin"/>
- <EmbeddedResource Include="resources/collation.cjkKO.bin"/>
- <EmbeddedResource Include="resources/collation.cjkKOlv2.bin"/>
+ <EmbeddedResource Include="resources\collation.core.bin"/>
+ <EmbeddedResource Include="resources\collation.tailoring.bin"/>
+ <EmbeddedResource Include="resources\collation.cjkCHS.bin"/>
+ <EmbeddedResource Include="resources\collation.cjkCHT.bin"/>
+ <EmbeddedResource Include="resources\collation.cjkJA.bin"/>
+ <EmbeddedResource Include="resources\collation.cjkKO.bin"/>
+ <EmbeddedResource Include="resources\collation.cjkKOlv2.bin"/>
</ItemGroup>
+ <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Target Name="BeforeBuild" DependsOnTargets="SetupProject">
</Target>
<?xml version="1.0" encoding="utf-8"?>\r
<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
<Target Name="Build">\r
- <!--<MSBuild Projects="mcs\mcs\gmcs.proj"/>-->\r
+ <MSBuild Projects="build\build.proj"/>\r
+ <MSBuild Projects="mcs\gmcs2.csproj" Targets="Build" Properties="Configuration=basic;Platform=AnyCPU"/>\r
+ <MSBuild Projects="jay\jay2008.vcproj"/>\r
<MSBuild Projects="class\corlib\corlib.csproj" Targets="Build" Properties="Configuration=basic;Platform=AnyCPU"/>\r
<MSBuild Projects="class\System\System.csproj" Targets="Build" Properties="Configuration=basic;Platform=AnyCPU"/>\r
<MSBuild Projects="class\System.Xml\System.Xml.csproj" Targets="Build" Properties="Configuration=basic;Platform=AnyCPU"/>\r
<MSBuild Projects="class\Mono.CompilerServices.SymbolWriter\Mono.CompilerServices.SymbolWriter.csproj" Targets="Build" Properties="Configuration=basic;Platform=AnyCPU"/>\r
<MSBuild Projects="class\System.Core\System.Core.csproj" Targets="Build" Properties="Configuration=basic;Platform=AnyCPU"/>\r
</Target>\r
+ <Target Name="Clean">\r
+ <!--<MSBuild Projects="build\build.proj" Targets="Clean" />-->\r
+ <!--<MSBuild Projects="mcs\mcs\gmcs.proj"/>-->\r
+ <MSBuild Projects="class\corlib\corlib.csproj" Targets="Clean" Properties="Configuration=basic;Platform=AnyCPU"/>\r
+ <MSBuild Projects="class\System\System.csproj" Targets="Clean" Properties="Configuration=basic;Platform=AnyCPU"/>\r
+ <MSBuild Projects="class\System.Xml\System.Xml.csproj" Targets="Clean" Properties="Configuration=basic;Platform=AnyCPU"/>\r
+ <MSBuild Projects="class\System\System.csproj" Targets="Clean" Properties="Configuration=Basic_XML_DEP;Platform=AnyCPU"/>\r
+ <MSBuild Projects="class\Mono.Security\Mono.Security.csproj" Targets="Clean" Properties="Configuration=basic;Platform=AnyCPU"/>\r
+ <MSBuild Projects="class\Mono.CompilerServices.SymbolWriter\Mono.CompilerServices.SymbolWriter.csproj" Targets="Clean" Properties="Configuration=basic;Platform=AnyCPU"/>\r
+ <MSBuild Projects="class\System.Core\System.Core.csproj" Targets="Clean" Properties="Configuration=basic;Platform=AnyCPU"/>\r
+ </Target>\r
</Project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <OutputType>Exe</OutputType>
+ <AssemblyName>gmcs</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <ResponseFile>gmcs.exe.sources</ResponseFile>
+ <CodePage>65001</CodePage>
+ <OutputPath>..\class\lib\basic\</OutputPath>
+ <UseVSHostingProcess>false</UseVSHostingProcess>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'basic|AnyCPU' ">
+ <DefineConstants>BOOTSTRAP_BASIC,NET_1_1,NET_2_0</DefineConstants>
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="cs-parser.cs"/>
+ <Reference Include="System.dll"/>
+ <Reference Include="System.Core.dll"/>
+ <Reference Include="System.XML.dll"/>
+ </ItemGroup>
+ <Import Project="$(MSBuildProjectDirectory)\..\build\msbuild\Mono.Common.targets"/>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <Target Name="BeforeBuild" DependsOnTargets="SetupProject">
+ <Exec Command="..\jay\jay.exe -cvt < ..\jay\skeleton.cs cs-parser.jay > cs-parser.cs"/>
+ </Target>
+</Project>
\ No newline at end of file