singrdk/base/Kernel/RuntimeNative.Common.targets

54 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2008-11-17 18:29:00 -05:00
<!--
###############################################################################
#
# Copyright (c) Microsoft Corporation. All rights reserved.
#
###############################################################################
-->
2008-03-05 09:52:00 -05:00
2008-11-17 18:29:00 -05:00
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2008-03-05 09:52:00 -05:00
<!-- Importing GC.targets gets us GC_ML_DEFS. -->
<Import Project="GC.targets"/>
2008-11-17 18:29:00 -05:00
2008-03-05 09:52:00 -05:00
<PropertyGroup>
<AFLAGS>$(AFLAGS) </AFLAGS>
<CFLAGS>$(CFLAGS) /Gr /I$(SINGULARITY_ROOT)\boot\include -UDEBUG</CFLAGS>
<LFLAGS>$(LINKFLAGS) /OPT:REF /RELEASE /nod /subsystem:native</LFLAGS>
</PropertyGroup>
<PropertyGroup>
<CFLAGS>$(CFLAGS) $(GC_ML_DEFS) /I$(OutputPath) /I%(rootdir)%(directory)</CFLAGS>
<AFLAGS>$(AFLAGS) $(GC_ML_DEFS) /I$(OutputPath) /INative </AFLAGS>
</PropertyGroup>
2008-11-17 18:29:00 -05:00
<Choose>
<When Condition="'$(Machine)'=='x86' or '$(Machine)'=='x64'">
<PropertyGroup>
<CFLAGS>$(CFLAGS) /Gr</CFLAGS>
</PropertyGroup>
</When>
</Choose>
2008-03-05 09:52:00 -05:00
<ItemGroup>
<Compile Include="Native\hal.cpp"/>
<Compile Include="Native\BootInfo.cpp"/>
<Compile Include="Native\Buffer.cpp"/>
<Compile Include="Native\Decimal.cpp"/>
<!-- <Compile Include="Native\DebugStub.cpp"/> for app rt only -->
<Compile Include="Native\IoPort.cpp"/>
<Compile Include="Native\Math.cpp"/>
<Compile Include="Native\Number.cpp"/>
<Compile Include="Native\PEImage.cpp"/>
<Compile Include="Native\Processor.cpp"/>
<Compile Include="Native\Stacks.cpp"/>
<Compile Include="Native\Thread.cpp"/>
<Compile Include="Native\Tracing.cpp"/>
<Compile Include="Native\Monitoring.cpp"/>
<Compile Include="Native\halexn.cpp"/>
</ItemGroup>
<Import Project="$(SINGULARITY_ROOT)\Targets\Native.targets"/>
</Project>