Mostly aesthetical change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21416 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-06-15 18:13:39 +00:00
parent 69e18975b2
commit ee074918de
+8 -7
View File
@@ -13,20 +13,21 @@ SubDirC++Flags -include $(r5Compatibility) ;
BuildPlatformStaticLibrary <build>librdef.a : BuildPlatformStaticLibrary <build>librdef.a :
compile.cpp decompile.cpp lexer.l parser.y rdef.cpp ; compile.cpp decompile.cpp lexer.l parser.y rdef.cpp ;
# these platforms do not need a second copy of the strl routines # On BeOS incompatible platforms we implicitly link against libroot_build.so,
if $(HOST_PLATFORM) != darwin && $(HOST_PLATFORM) != linux && $(HOST_PLATFORM) != freebsd { # which does already include the strl*() routines.
STRLSRC = strlcpy.c strlcat.c ; local strlSources ;
if $(HOST_PLATFORM_BEOS_COMPATIBLE) {
strlSources = strlcpy.c strlcat.c ;
} }
BuildPlatformMain <build>rc : BuildPlatformMain <build>rc :
rc.cpp rc.cpp
# these two are needed for R5 only # these two are needed for R5 only
$(STRLSRC) $(strlSources)
; ;
LinkAgainst <build>rc LinkAgainst <build>rc
: <build>librdef.a $(HOST_LIBSTDC++) $(HOST_LIBBE) $(HOST_LIBSUPC++) ; : <build>librdef.a $(HOST_LIBSTDC++) $(HOST_LIBBE) $(HOST_LIBSUPC++) ;
SEARCH on [ FGristFiles SEARCH on [ FGristFiles $(strlSources) ]
strlcat.c strlcpy.c = [ FDirName $(HAIKU_TOP) src system libroot posix string ] ;
] = [ FDirName $(HAIKU_TOP) src system libroot posix string ] ;