1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="dogfood">
2 <!--*****************************************************-->
3 <!--This MSBuild project file was automatically generated-->
4 <!--from the original SOURCES/DIRS file by the KBC tool.-->
5 <!--*****************************************************-->
6 <!--Import the settings-->
7 <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.props" />
8 <!--Leaf project Properties-->
10 <IsDesktopTool>true</IsDesktopTool>
11 <LibCLib>$(ClrCrtLib)</LibCLib>
12 <CDefines>$(CDefines);UNICODE;_UNICODE;FEATURE_NO_HOST;SELF_NO_HOST;NO_HOST_CPP_EH_ONLY</CDefines>
13 <CDefines>$(CDefines);__TODO_PORT_TO_WRAPPERS__</CDefines>
14 <OutputName>ilasm</OutputName>
15 <FileToMarkForSigning>$(BinariesDirectory)\$(OutputName).exe</FileToMarkForSigning>
16 <TargetType>PROGRAM</TargetType>
17 <LinkSubsystem>console</LinkSubsystem>
18 <EntryPoint>wmain</EntryPoint>
19 <LinkLibIgnore>$(LinkLibIgnore),4078</LinkLibIgnore>
20 <LinkGenerateManifest>true</LinkGenerateManifest>
21 <LinkAdditionalOptions>$(LinkAdditionalOptions) /MANIFEST -HEAP:4194304 </LinkAdditionalOptions>
22 <LinkStackReserve>4194304</LinkStackReserve>
25 <EnableCxxPCHHeaders>true</EnableCxxPCHHeaders>
26 <PCHCompile>ilasmpch.cpp</PCHCompile>
27 <PCHHeader>ilasmpch.h</PCHHeader>
30 <!--Leaf Project Items-->
32 <ProjectReference Include="$(ClrSrcDirectory)utilcode\dyncrtnohost\dyncrtnohost.nativeproj" />
33 <LinkPreCrtLibs Include="$(ClrLibPath)\utilcodenohost.lib" />
34 <ProjectReference Include="$(ClrSrcDirectory)md\hotdata\full\mdhotdata.nativeproj" />
35 <LinkPreCrtLibs Include="$(ClrLibPath)\MDHotData.lib" />
38 <TargetLib Include="$(ClrLibPath)\corguids.lib">
39 <ProjectReference>$(ClrSrcDirectory)inc\corguids.nativeproj</ProjectReference>
41 <TargetLib Include="$(ClrLibPath)\fusion.lib">
42 <ProjectReference>$(ClrSrcDirectory)dlls\fusion\fusion.nativeproj</ProjectReference>
44 <TargetLib Include="$(SdkLibPath)\mscoree.lib" />
45 <TargetLib Include="$(SdkLibPath)\ole32.lib" />
46 <TargetLib Include="$(SdkLibPath)\oleaut32.lib" />
47 <TargetLib Include="$(SdkLibPath)\user32.lib" />
48 <TargetLib Include="$(SdkLibPath)\uuid.lib" />
51 <RCResourceFile Include="native.rc" />
54 <CppCompile Include="assem.cpp" />
55 <CppCompile Include="writer.cpp" />
56 <CppCompile Include="writer_enc.cpp" />
57 <CppCompile Include="method.cpp" />
58 <CppCompile Include="asmman.cpp" />
59 <CppCompile Include="main.cpp" />
60 <CppCompile Include="assembler.cpp" />
61 <CppCompile Include="MscorpeSxS.cpp" />
62 <CppCompile Include="$(IntermediateOutputDirectory)\asmparse.c" />
65 <DataFile Include="$(IntermediateOutputDirectory)\asmparse.grammar" />
67 <!--Import the targets-->
68 <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.targets" />
71 <BuildGeneratedDependsOn>
72 $(BuildGeneratedDependsOn);
74 </BuildGeneratedDependsOn>
78 <Clean Include="$O\asmparse.c" />
79 <Clean Include="$O\asmparse.grammar" />
81 <Target Name="GenerateAsmParseC"
82 Inputs="asmparse.y;asmparse.h;$(ClrSrcDirectory)inc\openum.h"
83 Outputs="$(IntermediateOutputDirectory)\asmparse.c;$(IntermediateOutputDirectory)\asmparse.grammar">
84 <Delete Files="$(IntermediateOutputDirectory)\asmparse.c;$(IntermediateOutputDirectory)\asmparse.grammar" />
85 <Exec Command="$(DevDivToolsBinPath)\yacc_ms.exe -o $(IntermediateOutputDirectory)\asmparse -i asmparse.y" StandardOutputImportance="Normal" />
86 <Exec Command="$(PerlCommand) extractGrammar.pl asmparse.y > $(IntermediateOutputDirectory)\asmparse.grammar" StandardOutputImportance="Normal" />