1SubDir HAIKU_TOP src add-ons kernel file_systems packagefs ; 2 3 4UseBuildFeatureHeaders zlib ; 5UsePrivateKernelHeaders ; 6UsePrivateHeaders package shared storage ; 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 PackageSettings.cpp 55 PackageSymlink.cpp 56 Resolvable.cpp 57 ResolvableFamily.cpp 58 SizeIndex.cpp 59 String.cpp 60 StringConstants.cpp 61 StringPool.cpp 62 UnpackingAttributeCookie.cpp 63 UnpackingAttributeDirectoryCookie.cpp 64 UnpackingDirectory.cpp 65 UnpackingLeafNode.cpp 66 UnpackingNode.cpp 67 Version.cpp 68 Volume.cpp 69; 70 71HAIKU_PACKAGE_FS_SHARED_SOURCES = 72 QueryParserUtils.cpp 73; 74 75HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES = 76 BlockBufferPoolImpl.cpp 77 BufferDataOutput.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 107 [ FGristFiles $(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES) 108 $(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES_V1) ] 109 : [ BuildFeatureAttribute zlib : headers ] ; 110 111local libSharedSources = 112 NaturalCompare.cpp 113 114 # compression 115 ZlibCompressionBase.cpp 116 ZlibDecompressor.cpp 117; 118 119local supportKitSources = 120 DataIO.cpp 121; 122 123 124KernelAddon packagefs 125 : 126 $(HAIKU_PACKAGE_FS_SOURCES) 127 $(HAIKU_PACKAGE_FS_SHARED_SOURCES) 128 $(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES) 129 $(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES_V1) 130 $(libSharedSources) 131 $(supportKitSources) 132 133 : $(TARGET_KERNEL_LIBSUPC++) kernel_libz.a 134; 135 136 137SEARCH on [ FGristFiles $(HAIKU_PACKAGE_FS_SHARED_SOURCES) ] 138 += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] ; 139SEARCH on [ FGristFiles $(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES) ] 140 += [ FDirName $(HAIKU_TOP) src kits package hpkg ] ; 141SEARCH on [ FGristFiles $(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES_V1) ] 142 += [ FDirName $(HAIKU_TOP) src kits package hpkg v1 ] ; 143SEARCH on [ FGristFiles $(libSharedSources) ] 144 += [ FDirName $(HAIKU_TOP) src kits shared ] ; 145SEARCH on [ FGristFiles $(supportKitSources) ] 146 += [ FDirName $(HAIKU_TOP) src kits support ] ; 147