xref: /haiku/src/system/boot/loader/file_systems/packagefs/Jamfile (revision 5ac9b506412b11afb993bb52d161efe7666958a5)
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			BlockBufferPool.cpp
29			BlockBufferPoolImpl.cpp
30			BlockBufferPoolNoLock.cpp
31			BufferPool.cpp
32			PoolBuffer.cpp
33			DataReader.cpp
34			ErrorOutput.cpp
35			FDDataReader.cpp
36			PackageContentHandler.cpp
37			PackageData.cpp
38			PackageDataReader.cpp
39			PackageEntry.cpp
40			PackageEntryAttribute.cpp
41			PackageFileHeapAccessorBase.cpp
42			PackageFileHeapReader.cpp
43			PackageReaderImpl.cpp
44			ReaderImplBase.cpp
45
46			# storage kit
47			FdIO.cpp
48
49			# support kit
50			CompressionAlgorithm.cpp
51			ZlibCompressionAlgorithm.cpp
52		;
53
54		Includes [ FGristFiles ZlibCompressionAlgorithm.cpp ]
55			: [ BuildFeatureAttribute zlib : headers ] ;
56	}
57}
58