From 1b7b59db11df5fe1ffca1cdbbd54f2933635b5f1 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 30 Apr 2007 16:58:12 +0000 Subject: [PATCH] Added libhaikucompat_build.a, basically being a libhaikucompat.a just not for BeOS compatible target, but for a BeOS compatible host platform. Added atomic functions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20927 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/build/libhaikucompat/Jamfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/build/libhaikucompat/Jamfile b/src/build/libhaikucompat/Jamfile index d22ce28467..0383c6bc0e 100644 --- a/src/build/libhaikucompat/Jamfile +++ b/src/build/libhaikucompat/Jamfile @@ -9,14 +9,24 @@ if $(TARGET_PLATFORM) = libbe_test { libbeTestSources = misc.cpp syscalls.cpp ; } -StaticLibrary libhaikucompat.a : +BuildPlatformStaticLibrary libhaikucompat_build.a : + atomic.S strcasestr.c strlcat.c strlcpy.c strnlen.c +; + +StaticLibrary libhaikucompat.a : + strcasestr.o + strlcat.o + strlcpy.o + strnlen.o $(libbeTestSources) ; SEARCH on [ FGristFiles strcasestr.c strlcat.c strlcpy.c strnlen.c ] = [ FDirName $(HAIKU_TOP) src system libroot posix string ] ; +SEARCH on [ FGristFiles atomic.S ] + = [ FDirName $(HAIKU_TOP) src system libroot os arch $(HOST_ARCH) ] ;