<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
	<ItemGroup>
		<CustomBuild Include="..\..\..\..\sntp\scm-rev" Condition="exists('..\..\..\..\sntp\scm-rev')">
			<Message>Copying scm-rev from distribution...</Message>
			<Command>call ..\..\scripts\mkver.bat -U scm-rev</Command>
			<Outputs>scm-rev</Outputs>
		</CustomBuild>
	</ItemGroup>
	<ItemGroup>
		<CustomBuild Include="..\..\..\..\.bk\SCCS\ChangeSet,s" Condition="exists('..\..\..\..\.bk\SCCS\ChangeSet,s')">
			<Message>Generating scm-rev from bk...</Message>
			<Command>call ..\..\scripts\mkver.bat -G scm-rev</Command>
			<Outputs>scm-rev</Outputs>
		</CustomBuild>
	</ItemGroup>
	<ItemGroup>
		<CustomBuild Include="scm-rev">
			<Message>Using NT Shell Script to generate version.c</Message>
			<Command>call ..\..\scripts\mkver.bat -S scm-rev -P $(ProjectName)</Command>
			<Inputs>.version;scm-rev;..\..\..\..\packageinfo.sh</Inputs>
			<Outputs>version.c</Outputs>
		</CustomBuild>
	</ItemGroup>
</Project>