btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / kits / debug / Jamfile
blob1ad0f841ee60e4385c530f4e02dd97a851f3045d
1 SubDir HAIKU_TOP src kits debug ;
3 UsePrivateHeaders debug ;
4 UsePrivateHeaders kernel ;
5         # for <util/DoublyLinkedList.h>
6 UsePrivateHeaders libroot ;
7 UsePrivateHeaders runtime_loader ;
8 UsePrivateHeaders shared ;
9 SubDirHdrs [ FDirName $(SUBDIR) arch ] ;
11 local architectureObject ;
12 for architectureObject in [ MultiArchSubDirSetup ] {
13         on $(architectureObject) {
14                 local architecture = $(TARGET_PACKAGING_ARCH) ;
16                 UsePrivateSystemHeaders ;
18                 SEARCH_SOURCE += [ FDirName $(SUBDIR) arch $(TARGET_ARCH) ] ;
20                 local libroot = [ MultiArchConditionalGristFiles libdebug.so
21                         : : $(architecture) ] ;
23                 SharedLibrary [ MultiArchDefaultGristFiles libdebug.so ] :
24                         debug_support.cpp
25                         DebugContext.cpp
26                         DebugEventStream.cpp
27                         DebugLooper.cpp
28                         DebugMessageHandler.cpp
29                         Image.cpp
30                         SymbolLookup.cpp
31                         TeamDebugger.cpp
33                         # architecture specific
34                         arch_debug_support.cpp
36                         : be [ TargetLibsupc++ ]
37                         ;
38         }