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