* Applied patch by Vasilis Kaoutsis: added rdef file for all Haiku utilities.

* Updated coreutils.rdef to follow the same style as all other rdef files (or at least
  most of them).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19792 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2007-01-14 13:01:21 +00:00
parent 5efe9479fe
commit e57d2e1b09
3 changed files with 27 additions and 21 deletions

View File

@ -8,6 +8,10 @@ UsePrivateHeaders storage ;
UseHeaders $(TARGET_PRIVATE_KERNEL_HEADERS) : true ;
SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_cache ;
local haiku-utils_rsrc = [ FGristFiles haiku-utils.rsrc ] ;
ResComp $(haiku-utils_rsrc) : [ FGristFiles haiku-utils.rdef ] ;
AddResources hey : hey.rdef ;
# standard commands that don't need any additional library
@ -42,7 +46,7 @@ StdBinCommands
uptime.cpp
waitfor.c
# whoami.c
;
: : $(haiku-utils_rsrc) ;
# Commands which don't need another library that depend on
# Haiku-specific code
@ -55,15 +59,14 @@ StdBinCommands
rmindex.cpp
safemode.c
unmount.c
;
: : $(haiku-utils_rsrc) ;
}
# standard commands that need libtermcap.a
StdBinCommands
top.c
tput.c
: libtermcap.a
;
: libtermcap.a : $(haiku-utils_rsrc) ;
AddResources mimeset : mimeset.rdef ;
@ -93,48 +96,43 @@ StdBinCommands
setversion.cpp
version.cpp
# yes.cpp
: be ;
: be : $(haiku-utils_rsrc) ;
# Haiku-specific apps which need libbe.so
if $(TARGET_PLATFORM) = haiku {
StdBinCommands
shutdown.cpp
: be ;
: be : $(haiku-utils_rsrc) ;
}
# standard commands that need libbe.so, libstdc++.so
StdBinCommands
copyattr.cpp
xres.cpp
: be $(TARGET_LIBSTDC++)
;
: be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ;
# Haiku-specific apps which need libbe., libstdc++.so
if $(TARGET_PLATFORM) = haiku {
StdBinCommands
mountvolume.cpp
: be $(TARGET_LIBSTDC++)
;
: be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ;
}
# standard commands that need libbe.so, libtranslation.so
StdBinCommands
translate.cpp
: be translation
;
: be translation : $(haiku-utils_rsrc) ;
# standard commands that need libbe.so, libmedia.so
StdBinCommands
installsound.cpp
setvolume.cpp
: be libmedia.so
;
: be libmedia.so : $(haiku-utils_rsrc) ;
# standard commands that need libbe.so, libmail.so
StdBinCommands
mail.cpp
: be libmail.so
;
: be libmail.so : $(haiku-utils_rsrc) ;
SubInclude HAIKU_TOP src bin addattr ;
SubInclude HAIKU_TOP src bin bash ;

View File

@ -1,11 +1,10 @@
resource app_version
{
resource app_version {
major = 6,
middle = 7,
minor = 0,
variety = 5,
variety = B_FINAL_VERSION,
internal = 0,
short_info = "6.7",
long_info = "6.7 ©2006 The Free Software Foundation"
short_info = "coreutils",
long_info = "coreutils ©2006 The Free Software Foundation"
};

9
src/bin/haiku-utils.rdef Normal file
View File

@ -0,0 +1,9 @@
resource app_version {
major = 1,
middle = 0,
minor = 0,
variety = B_APPV_ALPHA,
internal = 0,
short_info = "Haiku Utilities",
long_info = "Haiku Utilities ©2007 Haiku, Inc."
};