xref: /haiku/src/system/boot/loader/file_systems/packagefs/Jamfile (revision 37fedaf8494b34aad811abcc49e79aa32943f880)
1SubDir HAIKU_TOP src system boot loader file_systems packagefs ;
2
3UsePrivateHeaders [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM) ] ;
4UsePrivateHeaders kernel shared ;
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 shared ] ;
17SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits support ] ;
18
19
20HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES =
21	BlockBufferPool.cpp
22	BlockBufferPoolImpl.cpp
23	BufferDataOutput.cpp
24	BufferPool.cpp
25	DataReader.cpp
26	ErrorOutput.cpp
27	FDDataReader.cpp
28	PackageContentHandler.cpp
29	PackageData.cpp
30	PackageDataReader.cpp
31	PackageEntry.cpp
32	PackageEntryAttribute.cpp
33	PackageFileHeapAccessorBase.cpp
34	PackageFileHeapReader.cpp
35	PackageReaderImpl.cpp
36	PoolBuffer.cpp
37	ReaderImplBase.cpp
38;
39
40BootStaticLibrary boot_packagefs :
41	packagefs.cpp
42	PackageSettingsItem.cpp
43
44	$(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES)
45
46	# compression
47	DataIO.cpp
48	ZlibCompressionBase.cpp
49	ZlibDecompressor.cpp
50
51	: -fno-pic
52;
53
54Includes [ FGristFiles $(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES)
55		ZlibCompressionBase.cpp ZlibDecompressor.cpp ]
56	: [ BuildFeatureAttribute zlib : headers ] ;
57