1SubDir HAIKU_TOP src add-ons kernel file_systems packagefs ; 2 3 4UseBuildFeatureHeaders zlib ; 5UsePrivateKernelHeaders ; 6UsePrivateHeaders package shared storage support ; 7 8 9local subDirs = 10 indices 11 nodes 12 package 13 package_links 14 resolvables 15 util 16 volume 17; 18SEARCH_SOURCE += $(subDirs:D=$(SUBDIR)) ; 19 20 21HAIKU_PACKAGE_FS_SOURCES = 22 AttributeCookie.cpp 23 AttributeDirectoryCookie.cpp 24 AttributeIndex.cpp 25 AutoPackageAttributeDirectoryCookie.cpp 26 AutoPackageAttributes.cpp 27 BlockBufferPoolKernel.cpp 28 CachedDataReader.cpp 29 DebugSupport.cpp 30 Dependency.cpp 31 Directory.cpp 32 EmptyAttributeDirectoryCookie.cpp 33 GlobalFactory.cpp 34 Index.cpp 35 IndexedAttributeOwner.cpp 36 kernel_interface.cpp 37 LastModifiedIndex.cpp 38 NameIndex.cpp 39 Node.cpp 40 NodeListener.cpp 41 OldUnpackingNodeAttributes.cpp 42 Query.cpp 43 Package.cpp 44 PackageDirectory.cpp 45 PackageFile.cpp 46 PackageFSRoot.cpp 47 PackageLeafNode.cpp 48 PackageLinkDirectory.cpp 49 PackageLinksDirectory.cpp 50 PackageLinksListener.cpp 51 PackageLinkSymlink.cpp 52 PackageNode.cpp 53 PackageNodeAttribute.cpp 54 PackagesDirectory.cpp 55 PackageSettings.cpp 56 PackageSymlink.cpp 57 Resolvable.cpp 58 ResolvableFamily.cpp 59 SizeIndex.cpp 60 String.cpp 61 StringConstants.cpp 62 StringPool.cpp 63 UnpackingAttributeCookie.cpp 64 UnpackingAttributeDirectoryCookie.cpp 65 UnpackingDirectory.cpp 66 UnpackingLeafNode.cpp 67 UnpackingNode.cpp 68 Version.cpp 69 Volume.cpp 70; 71 72HAIKU_PACKAGE_FS_SHARED_SOURCES = 73 QueryParserUtils.cpp 74; 75 76HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES = 77 BlockBufferPoolImpl.cpp 78 BufferPool.cpp 79 DataReader.cpp 80 ErrorOutput.cpp 81 FDDataReader.cpp 82 HPKGDefs.cpp 83 PoolBuffer.cpp 84 PackageContentHandler.cpp 85 PackageData.cpp 86 PackageDataReader.cpp 87 PackageEntry.cpp 88 PackageEntryAttribute.cpp 89 PackageFileHeapAccessorBase.cpp 90 PackageFileHeapReader.cpp 91 PackageReaderImpl.cpp 92 ReaderImplBase.cpp 93; 94 95HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES_V1 = 96 HPKGDefsV1.cpp 97 PackageContentHandlerV1.cpp 98 PackageDataV1.cpp 99 PackageDataReaderV1.cpp 100 PackageEntryV1.cpp 101 PackageEntryAttributeV1.cpp 102 PackageReaderImplV1.cpp 103 ReaderImplBaseV1.cpp 104; 105 106Includes [ FGristFiles ZlibCompressionAlgorithm.cpp ] 107 : [ BuildFeatureAttribute zlib : headers ] ; 108 109local libSharedSources = 110 NaturalCompare.cpp 111; 112 113local storageKitSources = 114 FdIO.cpp 115; 116 117local supportKitSources = 118 CompressionAlgorithm.cpp 119 ZlibCompressionAlgorithm.cpp 120; 121 122KernelAddon packagefs 123 : 124 $(HAIKU_PACKAGE_FS_SOURCES) 125 $(HAIKU_PACKAGE_FS_SHARED_SOURCES) 126 $(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES) 127 $(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES_V1) 128 $(libSharedSources) 129 $(storageKitSources) 130 $(supportKitSources) 131 132 : kernel_libz.a 133; 134 135 136SEARCH on [ FGristFiles $(HAIKU_PACKAGE_FS_SHARED_SOURCES) ] 137 += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] ; 138SEARCH on [ FGristFiles $(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES) ] 139 += [ FDirName $(HAIKU_TOP) src kits package hpkg ] ; 140SEARCH on [ FGristFiles $(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES_V1) ] 141 += [ FDirName $(HAIKU_TOP) src kits package hpkg v1 ] ; 142SEARCH on [ FGristFiles $(libSharedSources) ] 143 += [ FDirName $(HAIKU_TOP) src kits shared ] ; 144SEARCH on [ FGristFiles $(storageKitSources) ] 145 += [ FDirName $(HAIKU_TOP) src kits storage ] ; 146SEARCH on [ FGristFiles $(supportKitSources) ] 147 += [ FDirName $(HAIKU_TOP) src kits support ] ; 148