From 0404c382dd064a57a94ad5913ee4f0ec615119f0 Mon Sep 17 00:00:00 2001 From: shatty Date: Sun, 21 Nov 2004 09:33:55 +0000 Subject: [PATCH] compile resources only once for all diffutils git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10104 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/bin/diffutils-2.8.1/src/Jamfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/apps/bin/diffutils-2.8.1/src/Jamfile b/src/apps/bin/diffutils-2.8.1/src/Jamfile index 5caf5f16c2..b36fb83ddd 100644 --- a/src/apps/bin/diffutils-2.8.1/src/Jamfile +++ b/src/apps/bin/diffutils-2.8.1/src/Jamfile @@ -4,6 +4,9 @@ SubDirCcFlags -DHAVE_CONFIG_H -DLOCALEDIR=\'\"/share/locale\"\' -DPR_PROGRAM=\' SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) lib ] ; SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ; +local diffutils_rsrc = [ FGristFiles diffutils.rsrc ] ; +ResComp $(diffutils_rsrc) : [ FGristFiles diffutils.rdef ] ; + BinCommand diff : analyze.c context.c @@ -17,16 +20,16 @@ BinCommand diff : util.c version.c : libdiffutils.a - : diffutils.rdef ; + : diffutils.rsrc ; BinCommand diff3 : diff3.c version.c : libdiffutils.a - : diffutils.rdef ; + : diffutils.rsrc ; BinCommand cmp : cmp.c version.c : libdiffutils.a - : diffutils.rdef ; + : diffutils.rsrc ;