compile resources only once for all tar binaries

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10107 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty 2004-11-21 09:38:02 +00:00
parent ca49cc71de
commit e6744e874c

View File

@ -8,6 +8,9 @@ SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;
SubDirCcFlags -DHAVE_CONFIG_H ; SubDirCcFlags -DHAVE_CONFIG_H ;
} }
local tar_rsrc = [ FGristFiles tar.rsrc ] ;
ResComp $(tar_rsrc) : [ FGristFiles tar.rdef ] ;
BinCommand tar : BinCommand tar :
buffer.c buffer.c
compare.c compare.c
@ -26,9 +29,9 @@ BinCommand tar :
tar.c tar.c
update.c update.c
utf8.c utf8.c
: libtar.a : tar.rdef ; : libtar.a : tar.rsrc ;
BinCommand rmt : BinCommand rmt :
rmt.c rmt.c
: libtar.a $(NETWORK_LIBS) : tar.rdef : libtar.a $(NETWORK_LIBS) : tar.rsrc
; ;