Added rule SetVersionScript to set the version script for a target and adjusted

the Link and KernelLd rules to support it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30825 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-05-22 14:51:16 +00:00
parent 79182ad1e5
commit 297827477b
3 changed files with 25 additions and 7 deletions
+15
View File
@@ -536,6 +536,21 @@ rule AddResources
}
}
rule SetVersionScript target : versionScript
{
# SetVersionScript <target> : <versionScript>
#
# Sets the version script for <target>. Grist will be added to
# <versionScript> and SEARCH will be set on it.
versionScript = [ FGristFiles $(versionScript) ] ;
SEARCH on $(versionScript) += $(SEARCH_SOURCE) ;
VERSION_SCRIPT on $(target) = $(versionScript) ;
Depends $(target) : $(versionScript) ;
}
rule BuildPlatformObjects
{
# Usage BuildPlatformObjects <sources> ;