<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir>\r
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir>\r
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>\r
+ <PreBuildEventUseInBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</PreBuildEventUseInBuild>\r
+ <PreBuildEventUseInBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</PreBuildEventUseInBuild>\r
+ <PreLinkEventUseInBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</PreLinkEventUseInBuild>\r
+ <PreLinkEventUseInBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</PreLinkEventUseInBuild>\r
</PropertyGroup>\r
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
<ClCompile>\r
\r
:therest\r
@echo on\r
-%1 x86insn_nasm.gperf x86insn_nasm.c\r
-%1 x86insn_gas.gperf x86insn_gas.c\r
-%1 modules\arch\x86\x86cpu.gperf x86cpu.c\r
-%1 modules\arch\x86\x86regtmod.gperf x86regtmod.c\r
+call :update %1 x86insn_nasm.gperf x86insn_nasm.c\r
+call :update %1 x86insn_gas.gperf x86insn_gas.c\r
+call :update %1 modules\arch\x86\x86cpu.gperf x86cpu.c\r
+call :update %1 modules\arch\x86\x86regtmod.gperf x86regtmod.c\r
+goto :eof\r
+\r
+:update\r
+%1 %2 tf\r
+call mkfiles\vc10\out_copy_rename tf .\ %3\r
+del tf\r
<ClInclude Include="..\..\..\libyasm\file.h" />\r
<ClInclude Include="..\..\..\libyasm\arch.h" />\r
<ClInclude Include="..\..\..\libyasm\assocdat.h" />\r
- <ClInclude Include="..\..\..\libyasm\bc-int.h" />\r
<ClInclude Include="..\..\..\libyasm\bitvect.h" />\r
<ClInclude Include="..\..\..\libyasm\bytecode.h" />\r
<ClInclude Include="..\..\..\libyasm\compat-queue.h" />\r
- <ClInclude Include="config.h" />\r
<ClInclude Include="..\..\..\libyasm\coretype.h" />\r
<ClInclude Include="..\..\..\libyasm\dbgfmt.h" />\r
<ClInclude Include="..\..\..\libyasm\errwarn.h" />\r
- <ClInclude Include="..\..\..\libyasm\expr-int.h" />\r
<ClInclude Include="..\..\..\libyasm\expr.h" />\r
<ClInclude Include="..\..\..\libyasm\floatnum.h" />\r
<ClInclude Include="..\..\..\libyasm\hamt.h" />\r
<ClInclude Include="..\..\..\libyasm\preproc.h" />\r
<ClInclude Include="..\..\..\libyasm\section.h" />\r
<ClInclude Include="..\..\..\libyasm\symrec.h" />\r
- <ClInclude Include="..\..\..\libyasm\util.h" />\r
<ClInclude Include="..\..\..\libyasm\valparam.h" />\r
<ClInclude Include="..\..\..\libyasm\value.h" />\r
</ItemGroup>\r
<ClInclude Include="..\..\..\libyasm\assocdat.h">\r
<Filter>Header Files</Filter>\r
</ClInclude>\r
- <ClInclude Include="..\..\..\libyasm\bc-int.h">\r
- <Filter>Header Files</Filter>\r
- </ClInclude>\r
<ClInclude Include="..\..\..\libyasm\bitvect.h">\r
<Filter>Header Files</Filter>\r
</ClInclude>\r
<ClInclude Include="..\..\..\libyasm\errwarn.h">\r
<Filter>Header Files</Filter>\r
</ClInclude>\r
- <ClInclude Include="..\..\..\libyasm\expr-int.h">\r
- <Filter>Header Files</Filter>\r
- </ClInclude>\r
<ClInclude Include="..\..\..\libyasm\expr.h">\r
<Filter>Header Files</Filter>\r
</ClInclude>\r
<ClInclude Include="..\..\..\libyasm\symrec.h">\r
<Filter>Header Files</Filter>\r
</ClInclude>\r
- <ClInclude Include="..\..\..\libyasm\util.h">\r
- <Filter>Header Files</Filter>\r
- </ClInclude>\r
<ClInclude Include="..\..\..\libyasm\valparam.h">\r
<Filter>Header Files</Filter>\r
</ClInclude>\r
<ClInclude Include="..\..\..\libyasm\value.h">\r
<Filter>Header Files</Filter>\r
</ClInclude>\r
- <ClInclude Include="config.h">\r
- <Filter>Header Files</Filter>\r
- </ClInclude>\r
</ItemGroup>\r
<ItemGroup>\r
<None Include="..\..\..\libyasm\module.in" />\r
--- /dev/null
+@echo off\r
+if not exist %1 goto nofile\r
+if exist %2 goto copy\r
+\r
+echo creating directory %2\r
+md %2 > nul\r
+\r
+:copy\r
+set str=%2\r
+for /f "useback tokens=*" %%a in ('%str%') do set str=%%~a\r
+set str=%str:~-1%\r
+if %str% == "\" goto hasbackslash\r
+\r
+if not exist %2\%3 goto cpy\r
+fc %1 %2\%3 > nul && if not %errorlevel 1 goto exit\r
+echo overwriting %2\%3 with %1\r
+copy %1 %2\%3 > nul\r
+goto exit\r
+\r
+:cpy\r
+echo copying %1 to %2\%3\r
+copy %1 %2\%3 > nul\r
+goto exit\r
+\r
+:hasbackslash\r
+if not exist %2%3 goto cpy2 \r
+fc %1 %2%3 > nul && if not %errorlevel 1 goto exit\r
+echo overwriting %2%3 with %1\r
+copy %1 %2%3 > nul\r
+goto exit\r
+\r
+:cpy2\r
+echo copying %1 to %2%3\r
+copy %1 %2%3 > nul\r
+goto exit\r
+\r
+:nofile\r
+echo %1 not found\r
+\r
+:exit\r
+\r
+\r
<ClCompile Include="..\..\frontends\vsyasm\vsyasm.c" />\r
<ClCompile Include="..\..\frontends\yasm\yasm-options.c" />\r
</ItemGroup>\r
- <ItemGroup>\r
- <ClInclude Include="..\..\frontends\vsyasm\yasm-options.h" />\r
- </ItemGroup>\r
<ItemGroup>\r
<ProjectReference Include="libyasm\libyasm.vcxproj">\r
<Project>{29fe7874-1256-4ad6-b889-68e399dc9608}</Project>\r
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
</ProjectReference>\r
</ItemGroup>\r
+ <ItemGroup>\r
+ <ClInclude Include="..\..\frontends\yasm\yasm-options.h" />\r
+ </ItemGroup>\r
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
<ImportGroup Label="ExtensionTargets">\r
</ImportGroup>\r