Windows: Version mgmt for assemblies and thirdparty
Breakout the version data from windows/NTMakefile.config and move it to windows/NTMakefile.version. This new file contains only version data. This permits version data to be safely referenced by third party components. In addition, add version range information for those versions of Heimdal for which this release is a compatible upgrade. If there is a forward incompatible change to the assembly ABI, it is not a compatible upgrade. This version data is used to specify the Windows assembly redirect range. Change-Id: Ic9f156212599cc4277e2be812f29a6497801046c
This commit is contained in:
@@ -51,6 +51,8 @@ prep:: mk-asm-dirs
|
||||
|
||||
ASMKRBDIR=$(ASMDIR)\Heimdal.Kerberos
|
||||
ASMKRBVER=$(VER_PRODUCT_MAJOR).$(VER_PRODUCT_MINOR).$(VER_PRODUCT_AUX).$(VER_PRODUCT_PATCH)
|
||||
ASMKRBVER_OLD_BEGIN=$(VER_OLD_BEGIN_MAJOR).$(VER_OLD_BEGIN_MINOR).$(VER_OLD_BEGIN_AUX).$(VER_OLD_BEGIN_PATCH)
|
||||
ASMKRBVER_OLD_END=$(VER_OLD_END_MAJOR).$(VER_OLD_END_MINOR).$(VER_OLD_END_AUX).$(VER_OLD_END_PATCH)
|
||||
ASMKRBMAN=$(ASMKRBNAME).manifest
|
||||
|
||||
ASMKRBBINS=\
|
||||
@@ -132,7 +134,8 @@ POLKRBCAT=$(POLKRBDIR)\$(ASMKRBVER).cat
|
||||
$(POLKRBFILE): policy.Heimdal.Kerberos.in
|
||||
$(SED) -e "s,[@]krbname[@],$(ASMKRBNAME),g" \
|
||||
-e "s,[@]krbversion[@],$(ASMKRBVER),g" \
|
||||
-e "s,[@]krbverfrom[@],$(VER_PRODUCT_MAJOR).$(VER_PRODUCT_MINOR),g" \
|
||||
-e "s,[@]krbverfrom_begin[@],$(ASMKRBVER_OLD_BEGIN),g" \
|
||||
-e "s,[@]krbverfrom_end[@],$(ASMKRBVER_OLD_END),g" \
|
||||
-e "s,[@]krbpolname[@],$(POLKRB),g" \
|
||||
-e "s,[@]cpu[@],$(MCPU),g" \
|
||||
-e "s,[@]pkt[@],$(CODESIGN_PKT),g" < $** > $@
|
||||
|
@@ -12,7 +12,7 @@
|
||||
name="@krbname@"
|
||||
language="*"
|
||||
processorArchitecture="@cpu@"/>
|
||||
<bindingRedirect oldVersion="@krbverfrom@.0.0-@krbversion@"
|
||||
<bindingRedirect oldVersion="@krbverfrom_begin@-@krbverfrom_end@"
|
||||
newVersion="@krbversion@"/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
Reference in New Issue
Block a user