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