1SubDir HAIKU_TOP src add-ons kernel file_systems packagefs ; 2 3 4UseLibraryHeaders zlib ; 5UsePrivateKernelHeaders ; 6UsePrivateHeaders shared ; 7 8 9HAIKU_PACKAGE_FS_SOURCES = 10 AttributeCookie.cpp 11 AttributeDirectoryCookie.cpp 12 AutoPackageAttributes.cpp 13 BlockBufferCacheKernel.cpp 14 DebugSupport.cpp 15 Dependency.cpp 16 Directory.cpp 17 EmptyAttributeDirectoryCookie.cpp 18 GlobalFactory.cpp 19 kernel_interface.cpp 20 Node.cpp 21 Package.cpp 22 PackageDirectory.cpp 23 PackageDomain.cpp 24 PackageFile.cpp 25 PackageFSRoot.cpp 26 PackageLeafNode.cpp 27 PackageLinkDirectory.cpp 28 PackageLinksDirectory.cpp 29 PackageLinksListener.cpp 30 PackageLinkSymlink.cpp 31 PackageNode.cpp 32 PackageNodeAttribute.cpp 33 PackageSymlink.cpp 34 Resolvable.cpp 35 ResolvableFamily.cpp 36 UnpackingAttributeCookie.cpp 37 UnpackingAttributeDirectoryCookie.cpp 38 UnpackingDirectory.cpp 39 UnpackingLeafNode.cpp 40 UnpackingNode.cpp 41 Version.cpp 42 Volume.cpp 43; 44 45HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES = 46 BlockBufferCacheImpl.cpp 47 BufferCache.cpp 48 CachedBuffer.cpp 49 DataOutput.cpp 50 DataReader.cpp 51 ErrorOutput.cpp 52 FDDataReader.cpp 53 PackageContentHandler.cpp 54 PackageData.cpp 55 PackageDataReader.cpp 56 PackageEntry.cpp 57 PackageEntryAttribute.cpp 58 PackageReaderImpl.cpp 59 ReaderImplBase.cpp 60 61 # compression 62 ZlibCompressionBase.cpp 63 ZlibDecompressor.cpp 64; 65 66 67local libSharedSources = 68 NaturalCompare.cpp 69; 70 71 72SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg ] ; 73 74 75KernelAddon packagefs 76 : 77 $(HAIKU_PACKAGE_FS_SOURCES) 78 $(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES) 79 $(libSharedSources) 80 81 : $(HAIKU_STATIC_LIBSUPC++) libz.a 82; 83 84 85SEARCH on [ FGristFiles $(libSharedSources) ] 86 += [ FDirName $(HAIKU_TOP) src kits shared ] ; 87 88 89HaikuSubInclude userland ; 90