Support building a static libroot_build.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24526 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-03-22 20:06:45 +00:00
parent 2754fa8772
commit 1623d2e1ad

View File

@ -32,7 +32,7 @@ if $(HOST_PLATFORM) = freebsd {
hostPlatformSources = fs_freebsd.cpp ; hostPlatformSources = fs_freebsd.cpp ;
} }
BuildPlatformSharedLibrary libroot_build.so : local librootSources =
atomic.cpp atomic.cpp
byteorder.cpp byteorder.cpp
errors.cpp errors.cpp
@ -47,10 +47,18 @@ BuildPlatformSharedLibrary libroot_build.so :
$(strlSources) $(strlSources)
strnlen.c strnlen.c
;
BuildPlatformSharedLibrary libroot_build.so :
$(librootSources)
: :
$(HOST_LIBSUPC++) $(HOST_LIBSTDC++) $(HOST_LIBSUPC++) $(HOST_LIBSTDC++)
; ;
BuildPlatformStaticLibrary libroot_build.a :
:
[ FGristFiles $(librootSources:S=$(SUFOBJ)) ]
;
SEARCH on [ FGristFiles $(strlSources) strnlen.c ] SEARCH on [ FGristFiles $(strlSources) strnlen.c ]
= [ FDirName $(HAIKU_TOP) src system libroot posix string ] ; = [ FDirName $(HAIKU_TOP) src system libroot posix string ] ;