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