From 3d4c7156c5cc3dd8363509b7a0ac3983d0c144f0 Mon Sep 17 00:00:00 2001 From: shatty Date: Mon, 22 Nov 2004 00:46:15 +0000 Subject: [PATCH] extract common files and build once git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10135 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../kernel/partitioning_systems/session/Jamfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/add-ons/kernel/partitioning_systems/session/Jamfile b/src/add-ons/kernel/partitioning_systems/session/Jamfile index a99ff42876..b883f5646c 100644 --- a/src/add-ons/kernel/partitioning_systems/session/Jamfile +++ b/src/add-ons/kernel/partitioning_systems/session/Jamfile @@ -11,17 +11,21 @@ UsePrivateHeaders [ FDirName storage ] ; # SubDirC++Flags $(defines) ; } -KernelAddon session : kernel partitioning_systems : +local session_files = Debug.cpp Disc.cpp session.cpp ; +Objects $(session_files) ; + +KernelAddon session : kernel partitioning_systems : + [ FGristFiles $(session_files:S=$(SUFOBJ)) ] + ; + # also build a userland version Addon session : userland partitioning_systems : - Debug.cpp - Disc.cpp - session.cpp + [ FGristFiles $(session_files:S=$(SUFOBJ)) ] ; LinkSharedOSLibs session :