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