extract common files and build once

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10135 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty 2004-11-22 00:46:15 +00:00
parent 77950821de
commit 3d4c7156c5

View File

@ -11,17 +11,21 @@ UsePrivateHeaders [ FDirName storage ] ;
# SubDirC++Flags $(defines) ; # SubDirC++Flags $(defines) ;
} }
KernelAddon session : kernel partitioning_systems : local session_files =
Debug.cpp Debug.cpp
Disc.cpp Disc.cpp
session.cpp session.cpp
; ;
Objects $(session_files) ;
KernelAddon session : kernel partitioning_systems :
[ FGristFiles $(session_files:S=$(SUFOBJ)) ]
;
# also build a userland version # also build a userland version
Addon <partitioning_system>session : userland partitioning_systems : Addon <partitioning_system>session : userland partitioning_systems :
Debug.cpp [ FGristFiles $(session_files:S=$(SUFOBJ)) ]
Disc.cpp
session.cpp
; ;
LinkSharedOSLibs <partitioning_system>session : LinkSharedOSLibs <partitioning_system>session :