* Introduce interface AttributeCookie and currently only implementation UnpackingAttributeCookie. This is an interface for reading/stat()ing an attribute. * Add abstract virtual Node::OpenAttribute() method that returns an AttributeCookie and implemented it for derived classes. * In the kernel interface attribute hooks use AttributeCookie now. The attribute directory hooks are unchanged.
80 lines
1.4 KiB
Plaintext
80 lines
1.4 KiB
Plaintext
SubDir HAIKU_TOP src add-ons kernel file_systems packagefs ;
|
|
|
|
|
|
UseLibraryHeaders zlib ;
|
|
UsePrivateKernelHeaders ;
|
|
UsePrivateHeaders shared ;
|
|
|
|
|
|
HAIKU_PACKAGE_FS_SOURCES =
|
|
AttributeCookie.cpp
|
|
BlockBufferCacheKernel.cpp
|
|
DebugSupport.cpp
|
|
Dependency.cpp
|
|
Directory.cpp
|
|
GlobalFactory.cpp
|
|
kernel_interface.cpp
|
|
LeafNode.cpp
|
|
Node.cpp
|
|
Package.cpp
|
|
PackageDirectory.cpp
|
|
PackageDomain.cpp
|
|
PackageFamily.cpp
|
|
PackageFile.cpp
|
|
PackageFSRoot.cpp
|
|
PackageLeafNode.cpp
|
|
PackageNode.cpp
|
|
PackageNodeAttribute.cpp
|
|
PackageSymlink.cpp
|
|
Resolvable.cpp
|
|
UnpackingAttributeCookie.cpp
|
|
Version.cpp
|
|
Volume.cpp
|
|
;
|
|
|
|
HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES =
|
|
BlockBufferCacheImpl.cpp
|
|
BufferCache.cpp
|
|
CachedBuffer.cpp
|
|
DataOutput.cpp
|
|
DataReader.cpp
|
|
ErrorOutput.cpp
|
|
FDDataReader.cpp
|
|
PackageContentHandler.cpp
|
|
PackageData.cpp
|
|
PackageDataReader.cpp
|
|
PackageEntry.cpp
|
|
PackageEntryAttribute.cpp
|
|
PackageReaderImpl.cpp
|
|
ReaderImplBase.cpp
|
|
|
|
# compression
|
|
ZlibCompressionBase.cpp
|
|
ZlibDecompressor.cpp
|
|
;
|
|
|
|
|
|
local libSharedSources =
|
|
NaturalCompare.cpp
|
|
;
|
|
|
|
|
|
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg ] ;
|
|
|
|
|
|
KernelAddon packagefs
|
|
:
|
|
$(HAIKU_PACKAGE_FS_SOURCES)
|
|
$(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES)
|
|
$(libSharedSources)
|
|
|
|
: $(HAIKU_STATIC_LIBSUPC++) libz.a
|
|
;
|
|
|
|
|
|
SEARCH on [ FGristFiles $(libSharedSources) ]
|
|
+= [ FDirName $(HAIKU_TOP) src kits shared ] ;
|
|
|
|
|
|
HaikuSubInclude userland ;
|