1SubDir HAIKU_TOP src kits package ; 2 3UsePrivateHeaders 4 app 5 kernel 6 shared 7 storage 8 ; 9UsePrivateSystemHeaders ; 10 11HPKG_SOURCES = 12 AttributeDataReader.cpp 13 BlockBufferPool.cpp 14 BlockBufferPoolImpl.cpp 15 BlockBufferPoolNoLock.cpp 16 BufferPool.cpp 17 CommitTransactionResult.cpp 18 DataOutput.cpp 19 DataReader.cpp 20 DataWriters.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 # compression 61 ZlibCompressionBase.cpp 62 ZlibCompressor.cpp 63 ZlibDecompressor.cpp 64 ; 65 66local architectureObject ; 67for architectureObject in [ MultiArchSubDirSetup ] { 68 on $(architectureObject) { 69 UseBuildFeatureHeaders curl ; 70 UseBuildFeatureHeaders zlib ; 71 72 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg ] ; 73 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg v1 ] ; 74 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package manager ] ; 75 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package solver ] ; 76 77 Includes [ FGristFiles FetchFileJob.cpp ] 78 : [ BuildFeatureAttribute curl : headers ] ; 79 Includes [ FGristFiles InitTerminateLibPackage.cpp ] 80 : [ BuildFeatureAttribute curl : headers ] ; 81 Includes [ FGristFiles $(HPKG_SOURCES) ] 82 : [ BuildFeatureAttribute zlib : headers ] ; 83 84 SharedLibrary [ MultiArchDefaultGristFiles libpackage.so ] 85 : 86 ActivateRepositoryCacheJob.cpp 87 ActivateRepositoryConfigJob.cpp 88 ActivationTransaction.cpp 89 AddRepositoryRequest.cpp 90 Attributes.cpp 91 ChecksumAccessors.cpp 92 Context.cpp 93 DaemonClient.cpp 94 DownloadFileRequest.cpp 95 DropRepositoryRequest.cpp 96 FetchFileJob.cpp 97 InitTerminateLibPackage.cpp 98 InstallationLocationInfo.cpp 99 Job.cpp 100 JobQueue.cpp 101 PackageInfo.cpp 102 PackageInfoContentHandler.cpp 103 PackageInfoParser.cpp 104 PackageInfoSet.cpp 105 PackageResolvable.cpp 106 PackageResolvableExpression.cpp 107 PackageRoster.cpp 108 PackageVersion.cpp 109 PathFinder.cpp 110 RefreshRepositoryRequest.cpp 111 RemoveRepositoryJob.cpp 112 RepositoryCache.cpp 113 RepositoryConfig.cpp 114 RepositoryInfo.cpp 115 Request.cpp 116 TempfileManager.cpp 117 User.cpp 118 ValidateChecksumJob.cpp 119 120 $(HPKG_SOURCES) 121 122 # hpkg, but only libpackage 123 NoErrorOutput.cpp 124 StandardErrorOutput.cpp 125 126 # manager 127 Exceptions.cpp 128 PackageManager.cpp 129 RepositoryBuilder.cpp 130 131 # solver 132 Solver.cpp 133 SolverPackage.cpp 134 SolverPackageSpecifier.cpp 135 SolverPackageSpecifierList.cpp 136 SolverProblem.cpp 137 SolverProblemSolution.cpp 138 SolverRepository.cpp 139 SolverResult.cpp 140 : 141 [ MultiArchDefaultGristFiles libshared.a ] 142 be 143 [ BuildFeatureAttribute curl : library ] 144 [ BuildFeatureAttribute zlib : library ] 145 $(TARGET_LIBSTDC++) 146 ; 147 } 148} 149 150HaikuSubInclude solver ; 151