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