xref: /haiku/src/tests/add-ons/kernel/file_systems/userlandfs/bfs/Jamfile (revision 4f2fd49bdc6078128b1391191e4edac647044c3d)
1SubDir HAIKU_TOP src tests add-ons kernel file_systems userlandfs bfs ;
2
3local bfsTop = [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems bfs ] ;
4
5SEARCH_SOURCE += $(bfsTop) ;
6
7# set some additional defines
8{
9	local defines =
10		#BFS_BIG_ENDIAN_ONLY
11		USER=1
12	;
13
14	if $(DEBUG) = 0 {
15		# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
16		OPTIM = -O1 ;
17	}
18
19	defines = [ FDefines $(defines) ] ;
20	SubDirCcFlags $(defines) -Wall -Wno-multichar ;
21	SubDirC++Flags $(defines) -Wall -Wno-multichar -fno-rtti ;
22}
23
24UsePrivateHeaders [ FDirName kernel ] ;
25UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
26UsePrivateHeaders [ FDirName storage ] ;
27
28Addon <userland>bfs
29	:
30	BlockAllocator.cpp
31	BPlusTree.cpp
32	Attribute.cpp
33	Debug.cpp
34	Index.cpp
35	Inode.cpp
36	Journal.cpp
37	Query.cpp
38	Utility.cpp
39	Volume.cpp
40
41	kernel_interface.cpp
42
43	: libuserlandfs_haiku_kernel.so
44;
45