1SubDir HAIKU_TOP src system boot loader file_systems packagefs ; 2 3UsePrivateHeaders kernel shared storage support ; 4UseBuildFeatureHeaders zlib ; 5UseBuildFeatureHeaders zstd ; 6 7DEFINES += _BOOT_MODE ZSTD_ENABLED ; 8 9local kernelC++Header = [ FDirName $(HAIKU_TOP) headers private kernel util 10 kernel_cpp.h ] ; 11 12SubDirC++Flags -fno-rtti -include $(kernelC++Header) ; 13 14local platform ; 15for platform in [ MultiBootSubDirSetup ] { 16 on $(platform) { 17 UsePrivateHeaders [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM) ] ; 18 19 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package ] ; 20 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg ] ; 21 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits storage ] ; 22 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits support ] ; 23 24 BootStaticLibrary [ MultiBootGristFiles boot_packagefs ] : 25 packagefs.cpp 26 PackageSettingsItem.cpp 27 28 # package kit/hpkg 29 DataReader.cpp 30 ErrorOutput.cpp 31 FDDataReader.cpp 32 PackageContentHandler.cpp 33 PackageData.cpp 34 PackageDataReader.cpp 35 PackageEntry.cpp 36 PackageEntryAttribute.cpp 37 PackageFileHeapAccessorBase.cpp 38 PackageFileHeapReader.cpp 39 PackageReaderImpl.cpp 40 ReaderImplBase.cpp 41 42 # storage kit 43 FdIO.cpp 44 45 # support kit 46 CompressionAlgorithm.cpp 47 ZlibCompressionAlgorithm.cpp 48 ZstdCompressionAlgorithm.cpp 49 ; 50 51 Includes [ FGristFiles ZlibCompressionAlgorithm.cpp ] 52 : [ BuildFeatureAttribute zlib : headers ] ; 53 Includes [ FGristFiles ZstdCompressionAlgorithm.cpp ] 54 : [ BuildFeatureAttribute zstd : headers ] ; 55 } 56} 57