xref: /haiku/src/tests/system/boot/loader/file_systems/tarfs/Jamfile (revision 4466b89c65970de4c7236ac87faa2bee4589f413)
1SubDir HAIKU_TOP src tests system boot loader file_systems tarfs ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
6UsePrivateHeaders kernel shared storage ;
7SubDirSysHdrs $(HAIKU_TOP) src tests system boot loader ;
8SubDirSysHdrs $(HAIKU_TOP) headers libs zlib ;
9SubDirHdrs $(HAIKU_TOP) src system boot loader file_systems tarfs ;
10
11if $(TARGET_PLATFORM) != haiku {
12	UsePublicHeaders drivers ;	# disk_device_manager.h
13	UsePublicHeaders storage ;	# DiskDeviceDefs.h
14
15	ObjectDefines tarfs.cpp : B_BUFFER_OVERFLOW=B_BAD_VALUE ;
16}
17
18ObjectDefines
19	tarfs.cpp
20	:
21	read_pos=boot_read_pos fstat=boot_fstat open=boot_open close=boot_close _BOOT_MODE
22	;
23
24#SubDirCcFlags -DGUNZIP=1 ;
25
26SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src libs zlib ] ;
27
28KernelStaticLibrary boottest_tarfs :
29	tarfs.cpp
30	inflate.c
31	: #-fcheck-memory-usage -D_NO_INLINE_ASM
32	;
33
34# Tell Jam where to find the sources
35
36SEARCH on [ FGristFiles
37		tarfs.cpp
38	] = [ FDirName $(HAIKU_TOP) src system boot loader file_systems tarfs ] ;
39