build resources once, supress warnings for imported code

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10156 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty 2004-11-22 04:17:21 +00:00
parent d68a1a0505
commit 41c695ceea

View File

@ -2,9 +2,12 @@ SubDir OBOS_TOP src apps bin bzip2 ;
# set some additional defines
{
SubDirCcFlags -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 ;
SubDirCcFlags -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -w ;
}
local bzip2_rsrc = [ FGristFiles bzip2.rsrc ] ;
ResComp $(bzip2_rsrc) : [ FGristFiles bzip2.rdef ] ;
BinCommand bzip2 :
blocksort.c
huffman.c
@ -14,12 +17,12 @@ BinCommand bzip2 :
decompress.c
bzlib.c
bzip2.c
: : bzip2.rdef
: : $(bzip2_rsrc)
;
BinCommand bzip2recover :
bzip2recover.c
: : bzip2.rdef
: : $(bzip2_rsrc)
;
{
@ -41,4 +44,4 @@ BinCommand bzip2recover :
Shell <bin>bzmore : bzmore ;
MakeLocate bzless : $(OBOS_BIN_DIR) ;
RelSymLink bzless : <bin>bzmore ;
}
}