xref: /haiku/src/add-ons/kernel/file_systems/bfs/Jamfile (revision b2c7de82305294ddf7dd438eecf63f281ef33eba)
1SubDir HAIKU_TOP src add-ons kernel file_systems bfs ;
2
3# R5 support has been removed!
4#
5# Have a look in src/tests/add-ons/kernel/file_systems/bfs/r5/
6# for an R5 compatible version.
7# In order to make the current BFS version R5 compatible again,
8# we would need to port over the Haiku cache API to R5.
9
10# set some additional defines
11{
12	local defines =
13		BFS_DEBUGGER_COMMANDS
14		#BFS_BIG_ENDIAN_ONLY
15		;
16
17	if $(DEBUG) = 0 {
18		# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
19		OPTIM = -O1 ;
20	}
21
22	defines = [ FDefines $(defines) ] ;
23	SubDirCcFlags $(defines) -Wall -Wno-multichar ;
24	SubDirC++Flags $(defines) -Wall -Wno-multichar ;
25}
26
27UsePrivateHeaders [ FDirName kernel ] ;			# For kernel_cpp.cpp
28UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
29UsePrivateHeaders [ FDirName storage ] ;
30
31KernelAddon bfs :
32	bfs_disk_system.cpp
33	BlockAllocator.cpp
34	BPlusTree.cpp
35	kernel_cpp.cpp
36	Attribute.cpp
37	Debug.cpp
38	Index.cpp
39	Inode.cpp
40	Journal.cpp
41	Query.cpp
42	Utility.cpp
43	Volume.cpp
44
45	kernel_interface.cpp
46	;
47
48SEARCH on [ FGristFiles
49		kernel_cpp.cpp
50	] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
51
52