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