BPicture: Fix archive constructor.
[haiku.git] / src / kits / package / Jamfile
blob787baf65184d5db532c6d75722de804ce9b5ca2a
1 SubDir HAIKU_TOP src kits package ;
3 UsePrivateHeaders
4         app
5         kernel
6         shared
7         storage
8         support
9         ;
10 UsePrivateSystemHeaders ;
12 HPKG_SOURCES =
13         AttributeDataReader.cpp
14         BlockBufferPool.cpp
15         BlockBufferPoolImpl.cpp
16         BlockBufferPoolNoLock.cpp
17         BufferPool.cpp
18         CommitTransactionResult.cpp
19         DataReader.cpp
20         ErrorOutput.cpp
21         FDDataReader.cpp
22         GlobalWritableFileInfo.cpp
23         HPKGDefs.cpp
24         PackageContentHandler.cpp
25         PackageData.cpp
26         PackageDataReader.cpp
27         PackageEntry.cpp
28         PackageEntryAttribute.cpp
29         PackageFileHeapAccessorBase.cpp
30         PackageFileHeapReader.cpp
31         PackageFileHeapWriter.cpp
32         PackageReader.cpp
33         PackageReaderImpl.cpp
34         PackageWriter.cpp
35         PackageWriterImpl.cpp
36         PoolBuffer.cpp
37         ReaderImplBase.cpp
38         RepositoryContentHandler.cpp
39         RepositoryReader.cpp
40         RepositoryReaderImpl.cpp
41         RepositoryWriter.cpp
42         RepositoryWriterImpl.cpp
43         Strings.cpp
44         UserSettingsFileInfo.cpp
45         WriterImplBase.cpp
47         # V1 support
48         HPKGDefsV1.cpp
49         PackageContentHandlerV1.cpp
50         PackageDataReaderV1.cpp
51         PackageDataV1.cpp
52         PackageEntryAttributeV1.cpp
53         PackageEntryV1.cpp
54         PackageInfoContentHandlerV1.cpp
55         PackageReaderImplV1.cpp
56         PackageReaderV1.cpp
57         ReaderImplBaseV1.cpp
58         ;
60 local architectureObject ;
61 for architectureObject in [ MultiArchSubDirSetup ] {
62         on $(architectureObject) {
63                 UseBuildFeatureHeaders curl ;
65                 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg ] ;
66                 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg v1 ] ;
67                 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package manager ] ;
68                 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package solver ] ;
70                 Includes [ FGristFiles FetchFileJob.cpp ]
71                         : [ BuildFeatureAttribute curl : headers ] ;
72                 Includes [ FGristFiles InitTerminateLibPackage.cpp ]
73                         : [ BuildFeatureAttribute curl : headers ] ;
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                         InitTerminateLibPackage.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
110                         $(HPKG_SOURCES)
112                         # hpkg, but only libpackage
113                         NoErrorOutput.cpp
114                         StandardErrorOutput.cpp
116                         # manager
117                         Exceptions.cpp
118                         PackageManager.cpp
119                         RepositoryBuilder.cpp
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                         [ MultiArchDefaultGristFiles libshared.a ]
132                         be
133                         [ BuildFeatureAttribute curl : library ]
134                         [ TargetLibstdc++ ]
135                         ;
136         }
139 HaikuSubInclude solver ;