xref: /haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/Jamfile (revision 9eb55bc1d104b8fda80898f8b25c94d8000c8255)
1SubDir OBOS_TOP src tests add-ons kernel file_systems bfs btree ;
2
3SubDirHdrs $(OBOS_TOP) src add-ons kernel file_systems bfs ;
4
5UsePrivateHeaders [ FDirName kernel util ] ;			# 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 $(OBOS_TOP) src add-ons kernel file_systems bfs ] ;
28