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