Added a rule R5KernelStaticLibrary.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3253 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
cb7bb042d1
commit
dbf96817af
16
Jamrules
16
Jamrules
@ -724,6 +724,22 @@ rule StaticLibrary
|
||||
MakeLocate lib$(<).a : $(OBOS_STLIB_DIR) ;
|
||||
}
|
||||
|
||||
rule R5KernelStaticLibrary
|
||||
{
|
||||
# R5KernelStaticLibrary <name> : <sources> ;
|
||||
|
||||
local lib = lib$(1).a ;
|
||||
local sources = $(2) ;
|
||||
|
||||
SetupIncludes ;
|
||||
SetupObjectsDir ;
|
||||
MakeLocateObjects $(sources) ;
|
||||
Library $(lib) : $(sources) ;
|
||||
ObjectCcFlags $(sources) : -D_KERNEL_MODE=1 -no-fpic ;
|
||||
ObjectC++Flags $(sources) : -D_KERNEL_MODE=1 -no-fpic
|
||||
-fno-exceptions -fno-rtti ;
|
||||
}
|
||||
|
||||
rule MergeObjectFromObjects
|
||||
{
|
||||
# MergeObjectFromObjects <name> : <objects> ;
|
||||
|
Loading…
Reference in New Issue
Block a user