xref: /haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/Jamfile (revision 323b65468e5836bb27a5e373b14027d902349437)
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 Journal.h Inode.h ] ;
13	SubDirC++Flags $(defines) $(preIncludes) -fno-exceptions ; #-fcheck-memory-usage
14}
15
16SimpleTest btreeTest
17	: #test.cpp
18	  Volume.cpp
19	  Inode.cpp
20	  cache.cpp
21	  BPlusTree.cpp
22	  Utility.cpp
23	  Debug.cpp
24	: be ;
25
26# Tell Jam where to find these sources
27SEARCH on [ FGristFiles BPlusTree.cpp Utility.cpp Debug.cpp ]
28	= [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems bfs ] ;
29