xref: /haiku/src/add-ons/kernel/file_systems/bfs/Jamfile (revision 2600324b57fa31cdea1627d584d314f2a579c4a8)
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
27UsePrivateKernelHeaders ;
28UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
29UsePrivateHeaders shared storage ;
30
31# TODO: temporary solution as long as there is no public I/O requests API
32SubDirHdrs $(HAIKU_TOP) src system kernel device_manager ;
33
34KernelAddon bfs :
35	bfs_disk_system.cpp
36	BlockAllocator.cpp
37	BPlusTree.cpp
38	kernel_cpp.cpp
39	Attribute.cpp
40	Debug.cpp
41	Index.cpp
42	Inode.cpp
43	Journal.cpp
44	Query.cpp
45	Utility.cpp
46	Volume.cpp
47
48	kernel_interface.cpp
49	;
50
51SEARCH on [ FGristFiles
52		kernel_cpp.cpp
53	] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
54
55