From e6744e874cb72ac3197c3d5494fd66f70ec1b275 Mon Sep 17 00:00:00 2001 From: shatty Date: Sun, 21 Nov 2004 09:38:02 +0000 Subject: [PATCH] compile resources only once for all tar binaries git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10107 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/bin/tar/src/Jamfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/apps/bin/tar/src/Jamfile b/src/apps/bin/tar/src/Jamfile index 253302850f..02c451bba2 100644 --- a/src/apps/bin/tar/src/Jamfile +++ b/src/apps/bin/tar/src/Jamfile @@ -8,6 +8,9 @@ SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ; SubDirCcFlags -DHAVE_CONFIG_H ; } +local tar_rsrc = [ FGristFiles tar.rsrc ] ; +ResComp $(tar_rsrc) : [ FGristFiles tar.rdef ] ; + BinCommand tar : buffer.c compare.c @@ -26,9 +29,9 @@ BinCommand tar : tar.c update.c utf8.c - : libtar.a : tar.rdef ; + : libtar.a : tar.rsrc ; BinCommand rmt : rmt.c - : libtar.a $(NETWORK_LIBS) : tar.rdef + : libtar.a $(NETWORK_LIBS) : tar.rsrc ;