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