xref: /haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/Jamfile (revision 93aeb8c3bc3f13cb1f282e3e749258a23790d947)
1SubDir HAIKU_TOP src tests add-ons kernel file_systems bfs btree ;
2
3SubDirHdrs $(HAIKU_TOP) src tests add-ons kernel file_systems bfs r5 ;
4
5UsePrivateHeaders [ FDirName kernel ] ;			# For kernel_cpp.cpp
6
7rule FPreIncludes { return -include\ $(1:D=$(SUBDIR)) ; }
8
9{
10	local defines = [ FDefines USER DEBUG ] ; # _NO_INLINE_ASM
11	local preIncludes = [ FPreIncludes Journal.h Inode.h ] ;
12	SubDirC++Flags $(defines) $(preIncludes) -fno-exceptions -fno-rtti ; #-fcheck-memory-usage
13}
14
15SimpleTest btreeTest
16	: test.cpp
17	  Volume.cpp
18	  Inode.cpp
19	  cache.cpp
20	  BPlusTree.cpp
21	  Utility.cpp
22	  Debug.cpp
23	: be ;
24
25# Tell Jam where to find these sources
26SEARCH on [ FGristFiles BPlusTree.cpp Utility.cpp Debug.cpp ]
27	= [ FDirName $(HAIKU_TOP) src tests add-ons kernel file_systems bfs r5 ] ;
28