From 1111c840c7f6ffd27e078ac88a82548f6ae7b764 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 24 Nov 2009 12:08:45 +0000 Subject: [PATCH] Moving the bfs_fuse build into another directory would probably be the way to go, but for the time being at least don't cause the BFS sources to be compiled twice regardless of which target is built. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34204 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tools/bfs_shell/Jamfile | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/tools/bfs_shell/Jamfile b/src/tools/bfs_shell/Jamfile index c9d15ac9dc..83fbf51cbd 100644 --- a/src/tools/bfs_shell/Jamfile +++ b/src/tools/bfs_shell/Jamfile @@ -48,18 +48,21 @@ local bfsSource = kernel_interface.cpp ; +BuildPlatformMergeObject bfs.o : $(bfsSource) ; + BuildPlatformMain bfs_shell : - $(bfsSource) - - : fs_shell.a $(libHaikuCompat) $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) - $(HOST_LIBROOT) $(fsShellCommandLibs) + : + bfs.o + fs_shell.a $(libHaikuCompat) $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) + $(HOST_LIBROOT) $(fsShellCommandLibs) ; BuildPlatformMain bfs_fuse : - $(bfsSource) - - : fuse_module.a $(libHaikuCompat) $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) - $(HOST_STATIC_LIBROOT) $(fsShellCommandLibs) fuse + : + bfs.o + fuse_module.a + $(libHaikuCompat) $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) + $(HOST_STATIC_LIBROOT) $(fsShellCommandLibs) fuse ;