2008-03-05 09:52:00 -05:00
|
|
|
<!--
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
Microsoft Research Singularity
|
|
|
|
|
|
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
-->
|
|
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
|
|
|
<Import Project="..\Paths.targets"/>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<NMakeDir Include="bootd"/>
|
|
|
|
<NMakeDir Include="grabsector"/>
|
|
|
|
<NMakeDir Include="jobcontrol"/>
|
|
|
|
<NMakeDir Include="mkasm"/>
|
|
|
|
<NMakeDir Include="mutexwrap"/>
|
|
|
|
<NMakeDir Include="PowerSwitchService"/>
|
|
|
|
<NMakeDir Include="RefGraph"/>
|
2008-11-17 18:29:00 -05:00
|
|
|
<!-- <NMakeDir Include="rialto"/> -->
|
2008-03-05 09:52:00 -05:00
|
|
|
<NMakeDir Include="RunAll"/>
|
|
|
|
<NMakeDir Include="sdizepdb"/>
|
|
|
|
|
2008-11-17 18:29:00 -05:00
|
|
|
<ProjectReference Include="BuildTasks\BuildTasks.csproj"/>
|
|
|
|
<ProjectReference Include="BuildToolsLibrary\BuildToolsLibrary.csproj"/>
|
2008-03-05 09:52:00 -05:00
|
|
|
<ProjectReference Include="TestExport\TestExport.csproj"/>
|
|
|
|
<ProjectReference Include="mkcontagmap\mkcontagmap.csproj"/>
|
|
|
|
<ProjectReference Include="mkmani\mkmani.csproj"/>
|
|
|
|
<ProjectReference Include="mkpxecom\mkpxecom.csproj"/>
|
|
|
|
<ProjectReference Include="mktests\mktests.csproj"/>
|
2008-11-17 18:29:00 -05:00
|
|
|
<ProjectReference Include="mkjig\mkjig.csproj"/>
|
|
|
|
<ProjectReference Include="mlarm\mlarm.csproj"/>
|
2008-03-05 09:52:00 -05:00
|
|
|
<ProjectReference Include="nib\nib.csproj"/>
|
|
|
|
<ProjectReference Include="profmap\profmap.csproj"/>
|
2008-11-17 18:29:00 -05:00
|
|
|
<ProjectReference Include="setvhdboot\setvhdboot.csproj"/>
|
2008-03-05 09:52:00 -05:00
|
|
|
<ProjectReference Include="spg\spg.csproj"/>
|
|
|
|
<ProjectReference Include="substitute\substitute.csproj"/>
|
|
|
|
<ProjectReference Include="SyscallBuilder\SyscallBuilder.csproj"/>
|
2008-11-17 18:29:00 -05:00
|
|
|
<ProjectReference Include="MpSyscallBuilder\MpSyscallBuilder.csproj"/>
|
|
|
|
<ProjectReference Include="Verifier\Verifier.proj"/>
|
|
|
|
<ProjectReference Include="singx86\singx86.proj"/>
|
2008-03-05 09:52:00 -05:00
|
|
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
<BuildDependsOn>$(BuildDependsOn);BuildNMakeDirs</BuildDependsOn>
|
|
|
|
<CleanDependsOn>$(CleanDependsOn);CleanNMakeDirs</CleanDependsOn>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<Import Project="$(SINGULARITY_ROOT)\Targets\Dirs.targets"/>
|
|
|
|
|
|
|
|
<Target Name="BuildNMakeDirs">
|
|
|
|
<Exec Condition="'%(NMakeDir.identity)'!=''"
|
2008-11-17 18:29:00 -05:00
|
|
|
WorkingDirectory="%(NMakeDir.identity)"
|
|
|
|
Command="echo %(NMakeDir.identity) & PATH $(BUILDDIR)\x86_x86;$(PATH) & nmake /nologo"/>
|
2008-03-05 09:52:00 -05:00
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="CleanNMakeDirs">
|
|
|
|
<Exec Condition="'%(NMakeDir.identity)'!=''"
|
2008-11-17 18:29:00 -05:00
|
|
|
WorkingDirectory="%(NMakeDir.identity)"
|
2008-03-05 09:52:00 -05:00
|
|
|
Command="cd /d %(NMakeDir.identity) && nmake /nologo clean"/>
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="Install" DependsOnTargets="InstallProjectReferences;InstallNMakeDirs">
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="InstallProjectReferences">
|
|
|
|
<MSBuild Projects="@(ProjectReferences)" Targets="Install"/>
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="InstallNMakeDirs">
|
|
|
|
<Exec Condition="'%(NMakeDir.identity)'!=''"
|
|
|
|
Command="cd /d %(NMakeDir.identity) && nmake /nologo install"/>
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
</Project>
|