1SubDir HAIKU_TOP src kits package ; 2 3UsePrivateHeaders 4 app 5 kernel 6 shared 7 libroot 8 storage 9 support 10 ; 11UsePrivateSystemHeaders ; 12 13HPKG_SOURCES = 14 AttributeDataReader.cpp 15 BlockBufferPool.cpp 16 BlockBufferPoolImpl.cpp 17 BlockBufferPoolNoLock.cpp 18 BufferPool.cpp 19 CommitTransactionResult.cpp 20 DataReader.cpp 21 ErrorOutput.cpp 22 FDDataReader.cpp 23 GlobalWritableFileInfo.cpp 24 HPKGDefs.cpp 25 PackageContentHandler.cpp 26 PackageData.cpp 27 PackageDataReader.cpp 28 PackageEntry.cpp 29 PackageEntryAttribute.cpp 30 PackageFileHeapAccessorBase.cpp 31 PackageFileHeapReader.cpp 32 PackageFileHeapWriter.cpp 33 PackageReader.cpp 34 PackageReaderImpl.cpp 35 PackageWriter.cpp 36 PackageWriterImpl.cpp 37 PoolBuffer.cpp 38 ReaderImplBase.cpp 39 RepositoryContentHandler.cpp 40 RepositoryReader.cpp 41 RepositoryReaderImpl.cpp 42 RepositoryWriter.cpp 43 RepositoryWriterImpl.cpp 44 Strings.cpp 45 UserSettingsFileInfo.cpp 46 WriterImplBase.cpp 47 48 # V1 support 49 HPKGDefsV1.cpp 50 PackageContentHandlerV1.cpp 51 PackageDataReaderV1.cpp 52 PackageDataV1.cpp 53 PackageEntryAttributeV1.cpp 54 PackageEntryV1.cpp 55 PackageInfoContentHandlerV1.cpp 56 PackageReaderImplV1.cpp 57 PackageReaderV1.cpp 58 ReaderImplBaseV1.cpp 59 ; 60 61local architectureObject ; 62for architectureObject in [ MultiArchSubDirSetup ] { 63 on $(architectureObject) { 64 if [ FIsBuildFeatureEnabled zstd ] { 65 SubDirC++Flags -DZSTD_ENABLED ; 66 } 67 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg ] ; 68 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg v1 ] ; 69 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package manager ] ; 70 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package solver ] ; 71 72 AddResources $(libsolv) : 73 LibsolvSolver.rdef 74 ; 75 76 SharedLibrary [ MultiArchDefaultGristFiles libpackage.so ] 77 : 78 ActivateRepositoryCacheJob.cpp 79 ActivateRepositoryConfigJob.cpp 80 ActivationTransaction.cpp 81 AddRepositoryRequest.cpp 82 Attributes.cpp 83 ChecksumAccessors.cpp 84 Context.cpp 85 DaemonClient.cpp 86 DownloadFileRequest.cpp 87 DropRepositoryRequest.cpp 88 FetchFileJob.cpp 89 InstallationLocationInfo.cpp 90 Job.cpp 91 PackageInfo.cpp 92 PackageInfoContentHandler.cpp 93 PackageInfoParser.cpp 94 PackageInfoSet.cpp 95 PackageResolvable.cpp 96 PackageResolvableExpression.cpp 97 PackageRoster.cpp 98 PackageVersion.cpp 99 PathFinder.cpp 100 RefreshRepositoryRequest.cpp 101 RemoveRepositoryJob.cpp 102 RepositoryCache.cpp 103 RepositoryConfig.cpp 104 RepositoryInfo.cpp 105 Request.cpp 106 TempfileManager.cpp 107 User.cpp 108 ValidateChecksumJob.cpp 109 110 $(HPKG_SOURCES) 111 112 # hpkg, but only libpackage 113 NoErrorOutput.cpp 114 StandardErrorOutput.cpp 115 116 # manager 117 Exceptions.cpp 118 PackageManager.cpp 119 RepositoryBuilder.cpp 120 121 # solver 122 Solver.cpp 123 SolverPackage.cpp 124 SolverPackageSpecifier.cpp 125 SolverPackageSpecifierList.cpp 126 SolverProblem.cpp 127 SolverProblemSolution.cpp 128 SolverRepository.cpp 129 SolverResult.cpp 130 : 131 shared 132 bnetapi 133 be localestub 134 [ TargetLibstdc++ ] 135 $(TARGET_NETWORK_LIBS) 136 ; 137 } 138} 139 140 141SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package manager ] ; 142 143DoCatalogs libpackage.so : 144 x-vnd.Haiku-libpackage 145 : 146 PackageManager.cpp 147; 148 149HaikuSubInclude solver ; 150