kvm-guest-drivers-windows
79 строк · 5.2 Кб
1<!--
2***********************************************************************************************
3Driver.RHEL.props
4RHEL inf substitutions and versioning used by all drivers.
5***********************************************************************************************
6-->
7
8<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" TreatAsLocalProperty="Platform">9<PropertyGroup>10<!-- Second component of driver version -->11<_RHEL_RELEASE_VERSION_ Condition="'$(_RHEL_RELEASE_VERSION_)' == ''">6</_RHEL_RELEASE_VERSION_>12<!-- Third component of driver version -->13<_BUILD_MAJOR_VERSION_ Condition="'$(_BUILD_MAJOR_VERSION_)' == ''">101</_BUILD_MAJOR_VERSION_>14<!-- Fourth component of driver version -->15<_BUILD_MINOR_VERSION_ Condition="'$(_BUILD_MINOR_VERSION_)' == ''">58000</_BUILD_MINOR_VERSION_>16</PropertyGroup>17
18<PropertyGroup>19<STAMPINF_VERSION>$(_NT_TARGET_MAJ).$(_RHEL_RELEASE_VERSION_).$(_BUILD_MAJOR_VERSION_).$(_BUILD_MINOR_VERSION_)</STAMPINF_VERSION>20<!-- CopyrightStrings should be defined in each project -->21<RHEL_COPYRIGHT_STARTING_YEAR Condition="'$(CopyrightStrings)' == 'BalloonCopyrightStrings'">2009</RHEL_COPYRIGHT_STARTING_YEAR>22<RHEL_COPYRIGHT_STARTING_YEAR Condition="'$(CopyrightStrings)' == 'PVPanicCopyrightStrings'">2015</RHEL_COPYRIGHT_STARTING_YEAR>23<RHEL_COPYRIGHT_STARTING_YEAR Condition="'$(CopyrightStrings)' == 'VioInputCopyrightStrings'">2016</RHEL_COPYRIGHT_STARTING_YEAR>24<RHEL_COPYRIGHT_STARTING_YEAR Condition="'$(CopyrightStrings)' == 'VioRNGCopyrightStrings'">2014</RHEL_COPYRIGHT_STARTING_YEAR>25<RHEL_COPYRIGHT_STARTING_YEAR Condition="'$(CopyrightStrings)' == 'VioCryptCopyrightStrings'">2018</RHEL_COPYRIGHT_STARTING_YEAR>26<RHEL_COPYRIGHT_STARTING_YEAR Condition="'$(CopyrightStrings)' == 'VioScsiCopyrightStrings'">2012</RHEL_COPYRIGHT_STARTING_YEAR>27<RHEL_COPYRIGHT_STARTING_YEAR Condition="'$(CopyrightStrings)' == 'VioSerialCopyrightStrings'">2010</RHEL_COPYRIGHT_STARTING_YEAR>28<RHEL_COPYRIGHT_STARTING_YEAR Condition="'$(CopyrightStrings)' == 'VioStorCopyrightStrings'">2008</RHEL_COPYRIGHT_STARTING_YEAR>29<RHEL_COPYRIGHT_STARTING_YEAR Condition="'$(CopyrightStrings)' == 'IvshmemCopyrightStrings'">2017</RHEL_COPYRIGHT_STARTING_YEAR>30<RHEL_COPYRIGHT_STARTING_YEAR Condition="'$(CopyrightStrings)' == 'NetKVMCopyrightStrings'">2008</RHEL_COPYRIGHT_STARTING_YEAR>31<RHEL_COPYRIGHT_STARTING_YEAR Condition="'$(CopyrightStrings)' == 'FwCfgCopyrightStrings'">2018</RHEL_COPYRIGHT_STARTING_YEAR>32<RHEL_COPYRIGHT_STARTING_YEAR Condition="'$(CopyrightStrings)' == 'VioGpuDodCopyrightStrings'">2019</RHEL_COPYRIGHT_STARTING_YEAR>33<RHEL_COPYRIGHT_STARTING_YEAR Condition="'$(CopyrightStrings)' == 'ViomemCopyrightStrings'">2021</RHEL_COPYRIGHT_STARTING_YEAR>34<RHEL_COPYRIGHT_STARTING_YEAR Condition="'$(RHEL_COPYRIGHT_STARTING_YEAR)' == ''">20??</RHEL_COPYRIGHT_STARTING_YEAR>35
36<!-- RHEL uses a user-mode service to collect memory statistics -->37<USE_BALLOON_SERVICE>1</USE_BALLOON_SERVICE>38<!-- Using coinstaller to register viosock socket provider -->39<USE_VIOSOCK_COINSTALLER>1</USE_VIOSOCK_COINSTALLER>40</PropertyGroup>41
42<PropertyGroup>43<RHEL_COPYRIGHT_YEARS Condition="'$(RHEL_COPYRIGHT_STARTING_YEAR)'!='$(COPYRIGHT_CURRENT_YEAR)'">$(RHEL_COPYRIGHT_STARTING_YEAR)-$(COPYRIGHT_CURRENT_YEAR)</RHEL_COPYRIGHT_YEARS>44<RHEL_COPYRIGHT_YEARS Condition="'$(RHEL_COPYRIGHT_STARTING_YEAR)'=='$(COPYRIGHT_CURRENT_YEAR)'">$(COPYRIGHT_CURRENT_YEAR)</RHEL_COPYRIGHT_YEARS>45</PropertyGroup>46
47<!-- Version specs for C preprocessor, resource compiler, and stampinf -->48<ItemDefinitionGroup>49<ClCompile>50<PreprocessorDefinitions>_BUILD_MAJOR_VERSION_=$(_BUILD_MAJOR_VERSION_);_BUILD_MINOR_VERSION_=$(_BUILD_MINOR_VERSION_);_NT_TARGET_MAJ=$(_NT_TARGET_MAJ);_RHEL_RELEASE_VERSION_=$(_RHEL_RELEASE_VERSION_);%(PreprocessorDefinitions)</PreprocessorDefinitions>51<PreprocessorDefinitions>RHEL_COPYRIGHT_STARTING_YEAR=$(RHEL_COPYRIGHT_STARTING_YEAR);%(PreprocessorDefinitions)</PreprocessorDefinitions>52</ClCompile>53<ResourceCompile>54<PreprocessorDefinitions>_BUILD_MAJOR_VERSION_=$(_BUILD_MAJOR_VERSION_);_BUILD_MINOR_VERSION_=$(_BUILD_MINOR_VERSION_);_NT_TARGET_MAJ=$(_NT_TARGET_MAJ);_RHEL_RELEASE_VERSION_=$(_RHEL_RELEASE_VERSION_);%(PreprocessorDefinitions)</PreprocessorDefinitions>55<PreprocessorDefinitions>RHEL_COPYRIGHT_YEARS="$(RHEL_COPYRIGHT_YEARS)";%(PreprocessorDefinitions)</PreprocessorDefinitions>56</ResourceCompile>57</ItemDefinitionGroup>58
59<ItemGroup>60<Substitution Include="INX_COPYRIGHT_1">61<ReplaceWith>Copyright (c) $(RHEL_COPYRIGHT_YEARS) Red Hat Inc.</ReplaceWith>62</Substitution>63<Substitution Include="INX_COPYRIGHT_2">64<ReplaceWith></ReplaceWith>65</Substitution>66<Substitution Include="INX_COMPANY">67<ReplaceWith>Red Hat, Inc.</ReplaceWith>68</Substitution>69<Substitution Include="INX_PREFIX_VENDOR">70<ReplaceWith>Red Hat </ReplaceWith>71</Substitution>72<Substitution Include="INX_PREFIX_VIRTIO">73<ReplaceWith></ReplaceWith>74</Substitution>75<Substitution Include="INX_PREFIX_QEMU">76<ReplaceWith></ReplaceWith>77</Substitution>78</ItemGroup>79</Project>80