xref: /haiku/src/tests/system/boot/loader/file_systems/bfs/Jamfile (revision 5e96d7d537fbec23bad4ae9b4c8e7b02e769f0c6)
1SubDir HAIKU_TOP src tests system boot loader file_systems bfs ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5UsePrivateKernelHeaders ;
6UsePrivateSystemHeaders ;
7UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
8UsePrivateHeaders [ FDirName storage ] ;
9SubDirSysHdrs $(HAIKU_TOP) src tests system boot loader ;
10SubDirHdrs $(HAIKU_TOP) src system boot loader file_systems bfs ;
11SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_systems bfs ;
12
13if $(TARGET_PLATFORM) != haiku {
14	UsePublicHeaders drivers ;	# disk_device_manager.h
15	UsePublicHeaders storage ;	# DiskDeviceDefs.h
16}
17
18ObjectDefines
19	bfs.cpp
20	Directory.cpp
21	File.cpp
22	Link.cpp
23	Stream.cpp
24	BPlusTree.cpp
25	:
26	read_pos=boot_read_pos fstat=boot_fstat open=boot_open close=boot_close
27	_BOOT_MODE #BFS_BIG_ENDIAN_ONLY
28	;
29
30KernelStaticLibrary boottest_bfs.a :
31	bfs.cpp
32	Directory.cpp
33	File.cpp
34	Link.cpp
35	Stream.cpp
36	BPlusTree.cpp
37	;
38
39# Tell Jam where to find the sources
40
41SEARCH on [ FGristFiles
42		bfs.cpp Directory.cpp File.cpp Link.cpp Stream.cpp BPlusTree.cpp
43	] = [ FDirName $(HAIKU_TOP) src system boot loader file_systems bfs ] ;
44
45