xref: /haiku/src/tests/system/boot/loader/file_systems/amiga_ffs/Jamfile (revision b55a57da7173b9af0432bd3e148d03f06161d036)
1SubDir HAIKU_TOP src tests system boot loader file_systems amiga_ffs ;
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 amiga_ffs ;
10
11if $(TARGET_PLATFORM) != haiku {
12	UsePublicHeaders drivers ;	# disk_device_manager.h
13	UsePublicHeaders storage ;	# DiskDeviceDefs.h
14}
15
16ObjectDefines
17	amiga_ffs.cpp
18	Volume.cpp
19	Directory.cpp
20	File.cpp
21	:
22	read_pos=boot_read_pos fstat=boot_fstat open=boot_open close=boot_close _BOOT_MODE
23	;
24
25KernelStaticLibrary boottest_amiga_ffs :
26	amiga_ffs.cpp
27	Volume.cpp
28	Directory.cpp
29	File.cpp
30	: #-fcheck-memory-usage -D_NO_INLINE_ASM
31	;
32
33# Tell Jam where to find the sources
34
35SEARCH on [ FGristFiles
36		amiga_ffs.cpp Volume.cpp Directory.cpp File.cpp
37	] = [ FDirName $(HAIKU_TOP) src system boot loader file_systems amiga_ffs ] ;
38