xref: /haiku/src/add-ons/kernel/file_systems/bfs/Jamfile (revision a3e794ae459fec76826407f8ba8c94cd3535f128)
1SubDir HAIKU_TOP src add-ons kernel file_systems bfs ;
2
3# set some additional defines
4{
5	local defines =
6		BFS_DEBUGGER_COMMANDS
7		#BFS_BIG_ENDIAN_ONLY
8		;
9
10	if $(DEBUG) = 0 {
11		# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
12		OPTIM = -O1 ;
13	}
14
15	defines = [ FDefines $(defines) ] ;
16	SubDirCcFlags $(defines) ;
17	SubDirC++Flags $(defines) ;
18}
19
20UsePrivateKernelHeaders ;
21UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
22UsePrivateHeaders shared storage ;
23
24KernelAddon bfs :
25	bfs_disk_system.cpp
26	BlockAllocator.cpp
27	BPlusTree.cpp
28	kernel_cpp.cpp
29	Attribute.cpp
30	Debug.cpp
31	Index.cpp
32	Inode.cpp
33	Journal.cpp
34	Query.cpp
35	QueryParserUtils.cpp
36	Volume.cpp
37
38	kernel_interface.cpp
39	;
40
41SEARCH on [ FGristFiles kernel_cpp.cpp ]
42	= [ FDirName $(HAIKU_TOP) src system kernel util ] ;
43
44SEARCH on [ FGristFiles QueryParserUtils.cpp ]
45	+= [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] ;
46