1 SubDir HAIKU_TOP src build libpackage ;
3 UsePrivateBuildHeaders kernel package shared storage support ;
5 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package ] ;
6 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg ] ;
7 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg v1 ] ;
8 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package manager ] ;
9 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package solver ] ;
11 USES_BE_API on libpackage_build.so = true ;
12 LINKFLAGS on libpackage_build.so += $(HOST_PTHREAD_LINKFLAGS) ;
16 # The package writer needs to know where the license files are located.
17 local dataDir = [ FDirName $(HAIKU_TOP) data system data ] ;
18 # The directory path we compile in must be absolute. If it isn't prepend
21 if ! [ Match "(^/.*)" : $(dataDir) ] {
22 dataDir = `pwd`/$(dataDir) ;
24 local defines = [ FDefines
25 \"HAIKU_BUILD_SYSTEM_DATA_DIRECTORY="\\\"$(dataDir)\\\""\"
27 ObjectC++Flags PackageWriterImpl.cpp : $(defines) ;
32 AttributeDataReader.cpp
34 BlockBufferPoolImpl.cpp
35 BlockBufferPoolNoLock.cpp
41 GlobalWritableFileInfo.cpp
43 PackageContentHandler.cpp
47 PackageEntryAttribute.cpp
48 PackageFileHeapAccessorBase.cpp
49 PackageFileHeapReader.cpp
50 PackageFileHeapWriter.cpp
56 RepositoryContentHandler.cpp
58 RepositoryReaderImpl.cpp
60 RepositoryWriterImpl.cpp
62 UserSettingsFileInfo.cpp
67 PackageContentHandlerV1.cpp
68 PackageDataReaderV1.cpp
70 PackageEntryAttributeV1.cpp
72 PackageInfoContentHandlerV1.cpp
73 PackageReaderImplV1.cpp
78 # TODO: remove this hack once gcc2 has -iquote implemented
79 if $(HOST_PLATFORM) = haiku_host && $(HOST_GCC_VERSION[1]) < 3 {
80 local locations = common/non-packaged common system ;
81 SourceHdrs FetchFileJob.cpp : /boot/$(locations)/develop/headers/curl ;
85 MakeLocate libpackage_build.so : $(HOST_BUILD_COMPATIBILITY_LIB_DIR) ;
87 BuildPlatformSharedLibrary libpackage_build.so
89 ActivateRepositoryCacheJob.cpp
90 ActivateRepositoryConfigJob.cpp
91 ActivationTransaction.cpp
92 AddRepositoryRequest.cpp
95 CommitTransactionResult.cpp
97 DownloadFileRequest.cpp
98 DropRepositoryRequest.cpp
100 InstallationLocationInfo.cpp
103 PackageInfoContentHandler.cpp
104 PackageInfoParser.cpp
106 PackageResolvable.cpp
107 PackageResolvableExpression.cpp
110 RefreshRepositoryRequest.cpp
111 RemoveRepositoryJob.cpp
118 ValidateChecksumJob.cpp
122 # hpkg, but only libpackage
124 StandardErrorOutput.cpp
128 RepositoryBuilder.cpp
133 SolverPackageSpecifier.cpp
134 SolverPackageSpecifierList.cpp
136 SolverProblemSolution.cpp
140 libshared_build.a $(HOST_LIBBE) curl $(HOST_LIBSTDC++)
143 HaikuSubInclude solver ;