1SubDir HAIKU_TOP src tests add-ons kernel file_systems bfs btree ; 2 3SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_systems bfs ; 4 5UsePrivateKernelHeaders ; 6UsePrivateHeaders shared ; 7 8rule FPreIncludes { return -include$(1:D=$(SUBDIR)) ; } 9 10{ 11 local defines = [ FDefines USER DEBUG ] ; # _NO_INLINE_ASM 12 local preIncludes = [ FPreIncludes Inode.h Journal.h Volume.h ] ; 13 SubDirC++Flags $(defines) $(preIncludes) -fno-exceptions ; #-fcheck-memory-usage 14} 15 16SimpleTest bfsBtreeTest 17 : test.cpp 18 Volume.cpp 19 Inode.cpp 20 cache.cpp 21 BPlusTree.cpp 22 Debug.cpp 23 QueryParserUtils.cpp 24 stubs.cpp 25 : be [ TargetLibstdc++ ] libkernelland_emu.so ; 26 27# Tell Jam where to find these sources 28SEARCH on [ FGristFiles BPlusTree.cpp Debug.cpp ] 29 = [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems bfs ] ; 30SEARCH on [ FGristFiles QueryParserUtils.cpp ] 31 = [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] ; 32