SubDir HAIKU_TOP src tests add-ons kernel file_systems bfs btree ; SubDirHdrs $(HAIKU_TOP) src tests add-ons kernel file_systems bfs r5 ; UsePrivateHeaders [ FDirName kernel ] ; # For kernel_cpp.cpp rule FPreIncludes { return -include\ $(1:D=$(SUBDIR)) ; } { local defines = [ FDefines USER DEBUG ] ; # _NO_INLINE_ASM local preIncludes = [ FPreIncludes Journal.h Inode.h ] ; SubDirC++Flags $(defines) $(preIncludes) -fno-exceptions -fno-rtti ; #-fcheck-memory-usage } SimpleTest btreeTest : test.cpp Volume.cpp Inode.cpp cache.cpp BPlusTree.cpp Utility.cpp Debug.cpp : be ; # Tell Jam where to find these sources SEARCH on [ FGristFiles BPlusTree.cpp Utility.cpp Debug.cpp ] = [ FDirName $(HAIKU_TOP) src tests add-ons kernel file_systems bfs r5 ] ;