xref: /haiku/src/add-ons/kernel/file_systems/bfs/Jamfile (revision 020cbad9d40235a2c50a81a42d69912a5ff8fbc4)
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_TRACING
15		#BFS_BIG_ENDIAN_ONLY
16		;
17
18	if $(DEBUG) = 0 {
19		# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
20		OPTIM = -O1 ;
21	}
22
23	defines = [ FDefines $(defines) ] ;
24	SubDirCcFlags $(defines) -Wall -Wno-multichar ;
25	SubDirC++Flags $(defines) -Wall -Wno-multichar ;
26}
27
28UsePrivateHeaders [ FDirName kernel ] ;			# For kernel_cpp.cpp
29UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
30UsePrivateHeaders [ FDirName storage ] ;
31
32KernelAddon bfs :
33	bfs_disk_system.cpp
34	BlockAllocator.cpp
35	BPlusTree.cpp
36	kernel_cpp.cpp
37	Attribute.cpp
38	Debug.cpp
39	Index.cpp
40	Inode.cpp
41	Journal.cpp
42	Query.cpp
43	Utility.cpp
44	Volume.cpp
45
46	kernel_interface.cpp
47	;
48
49SEARCH on [ FGristFiles
50		kernel_cpp.cpp
51	] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
52
53