links against our libs

added strlcpy.c for r5 build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12986 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2005-06-07 13:39:13 +00:00
parent fd083d7eed
commit 3c109b50be

View File

@ -2,8 +2,6 @@ SubDir OBOS_TOP src apps diskprobe ;
UsePrivateHeaders shared ;
AddResources DiskProbe : DiskProbe.rdef ;
if ! $(DANO_COMPATIBLE) {
local defines = COMPILE_FOR_R5 ;
defines = [ FDefines $(defines) ] ;
@ -11,6 +9,12 @@ if ! $(DANO_COMPATIBLE) {
SubDirC++Flags $(defines) ;
}
local r5_src = strlcpy.c ;
if $(HAIKU_COMPATIBLE) {
r5_src = ;
}
App DiskProbe :
DiskProbe.cpp
DataEditor.cpp
@ -22,6 +26,15 @@ App DiskProbe :
ProbeView.cpp
OpenWindow.cpp
FindWindow.cpp
$(r5_src)
: libbe.so libtracker.so libtranslation.so
: DiskProbe.rdef
;
LinkSharedOSLibs DiskProbe : be tracker translation ;
if $(HAIKU_COMPATIBLE) {
LinkSharedOSLibs DiskProbe : libroot.so ;
}
SEARCH on [ FGristFiles
strlcpy.c
] = [ FDirName $(OBOS_TOP) src system libroot posix string ] ;