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:
Ingo Weinhold 2003-05-17 15:51:28 +00:00
parent cb7bb042d1
commit dbf96817af

View File

@ -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> ;