From f1879a08cf220382b511498602ecebc8a3a94907 Mon Sep 17 00:00:00 2001 From: shatty Date: Sun, 21 Nov 2004 06:30:48 +0000 Subject: [PATCH] compile rcs.rdef only once for all git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10088 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/bin/rcs/Jamfile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/apps/bin/rcs/Jamfile b/src/apps/bin/rcs/Jamfile index 15ef21c5de..35ae9418b4 100644 --- a/src/apps/bin/rcs/Jamfile +++ b/src/apps/bin/rcs/Jamfile @@ -1,5 +1,9 @@ SubDir OBOS_TOP src apps bin rcs ; +local rcs_rsrc = [ FGristFiles rcs.rsrc ] ; + +ResComp $(rcs_rsrc) : [ FGristFiles rcs.rdef ] ; + StaticLibrary rcs : rcsutil.c rcsfnms.c @@ -21,7 +25,7 @@ BinCommand ci : rcsedit.c rcsfcmp.c : librcs.a be - : rcs.rdef + : $(rcs_rsrc) ; BinCommand co : @@ -29,7 +33,7 @@ BinCommand co : rcsgen.c rcsedit.c : librcs.a be - : rcs.rdef + : $(rcs_rsrc) ; BinCommand ident : @@ -37,20 +41,20 @@ BinCommand ident : rcsmap.c version.c : be - : rcs.rdef + : $(rcs_rsrc) ; BinCommand merge : merge.c merger.c : librcs.a be - : rcs.rdef + : $(rcs_rsrc) ; BinCommand rlog : rlog.c : librcs.a be - : rcs.rdef + : $(rcs_rsrc) ; BinCommand rcs : @@ -58,7 +62,7 @@ BinCommand rcs : rcsgen.c rcsedit.c : librcs.a be - : rcs.rdef + : $(rcs_rsrc) ; BinCommand rcsclean : @@ -67,18 +71,18 @@ BinCommand rcsclean : rcsfcmp.c rcsgen.c : librcs.a be - : rcs.rdef + : $(rcs_rsrc) ; BinCommand rcsdiff : rcsdiff.c : librcs.a be - : rcs.rdef + : $(rcs_rsrc) ; BinCommand rcsmerge : rcsmerge.c merger.c : librcs.a be - : rcs.rdef + : $(rcs_rsrc) ;