Jam: Remove BinCommand, Executable, Server and Preference rules
They are all equivalent to the Application rule. Let's make things simpler. Change-Id: I71f8518dae275542019d95fbdd7548b2129eeca8 Reviewed-on: https://review.haiku-os.org/c/haiku/+/9237 Tested-by: Commit checker robot <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
0cb1b20a1f
commit
c1b0e7e0c5
@@ -41,9 +41,9 @@ rule AddSharedObjectGlueCode
|
||||
}
|
||||
}
|
||||
|
||||
rule Executable
|
||||
rule Application
|
||||
{
|
||||
# Executable <name> : <sources> : <libraries> : <res> ;
|
||||
# Application <name> : <sources> : <libraries> : <res> ;
|
||||
#
|
||||
if ! [ IsPlatformSupportedForTarget $(1) ] {
|
||||
return ;
|
||||
@@ -60,18 +60,6 @@ rule Executable
|
||||
AddSharedObjectGlueCode $(1) : true ;
|
||||
}
|
||||
|
||||
rule Application
|
||||
{
|
||||
# Application <name> : <sources> : <libraries> : <res> ;
|
||||
Executable $(1) : $(2) : $(3) : $(4) ;
|
||||
}
|
||||
|
||||
rule BinCommand
|
||||
{
|
||||
# BinCommand <name> : <sources> : <libraries> : <res> ;
|
||||
Executable $(1) : $(2) : $(3) : $(4) ;
|
||||
}
|
||||
|
||||
rule StdBinCommands
|
||||
{
|
||||
# StdBinCommands <sources> : <libs> : <res> ;
|
||||
@@ -82,23 +70,10 @@ rule StdBinCommands
|
||||
{
|
||||
local target = $(source:S=) ;
|
||||
|
||||
BinCommand $(target) : $(source) : $(libs) : $(ress) ;
|
||||
Application $(target) : $(source) : $(libs) : $(ress) ;
|
||||
}
|
||||
}
|
||||
|
||||
rule Preference
|
||||
{
|
||||
# Preference <name> : <sources> : <libraries> : <res> ;
|
||||
Executable $(1) : $(2) : $(3) : $(4) ;
|
||||
}
|
||||
|
||||
rule Server
|
||||
{
|
||||
# Server <name> : <sources> : <libraries> : <res> ;
|
||||
|
||||
Executable $(1) : $(2) : $(3) : $(4) ;
|
||||
}
|
||||
|
||||
rule Addon target : sources : libraries : isExecutable
|
||||
{
|
||||
# Addon <target> : <sources> : <is executable> : <libraries> ;
|
||||
|
||||
@@ -98,7 +98,7 @@ rule SimpleTest
|
||||
DEBUG on $(1) [ FGristFiles $(2:S=$(SUFOBJ)) ] ?= 1 ;
|
||||
}
|
||||
|
||||
Executable $(1) : $(2) : $(3) : $(4) ;
|
||||
Application $(1) : $(2) : $(3) : $(4) ;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user