1 SubDir HAIKU_TOP src build libpackage ;
3 UsePrivateBuildHeaders kernel package shared libroot storage support ;
5 UseHeaders [ FDirName $(HAIKU_TOP) headers os net ] : true ;
7 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package ] ;
8 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg ] ;
9 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg v1 ] ;
10 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package manager ] ;
11 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package solver ] ;
13 USES_BE_API on libpackage_build.so = true ;
14 LINKFLAGS on libpackage_build.so += $(HOST_PTHREAD_LINKFLAGS) ;
18 # The package writer needs to know where the license files are located.
19 local dataDir = [ FDirName $(HAIKU_TOP) data system data ] ;
20 # The directory path we compile in must be absolute. If it isn't prepend
23 if ! [ Match "(^/.*)" : $(dataDir) ] {
24 dataDir = `pwd`/$(dataDir) ;
26 local defines = [ FDefines
27 \"HAIKU_BUILD_SYSTEM_DATA_DIRECTORY="\\\"$(dataDir)\\\""\"
29 ObjectC++Flags PackageWriterImpl.cpp : $(defines) ;
34 AttributeDataReader.cpp
36 BlockBufferPoolImpl.cpp
37 BlockBufferPoolNoLock.cpp
43 GlobalWritableFileInfo.cpp
45 PackageContentHandler.cpp
49 PackageEntryAttribute.cpp
50 PackageFileHeapAccessorBase.cpp
51 PackageFileHeapReader.cpp
52 PackageFileHeapWriter.cpp
58 RepositoryContentHandler.cpp
60 RepositoryReaderImpl.cpp
62 RepositoryWriterImpl.cpp
64 UserSettingsFileInfo.cpp
69 PackageContentHandlerV1.cpp
70 PackageDataReaderV1.cpp
72 PackageEntryAttributeV1.cpp
74 PackageInfoContentHandlerV1.cpp
75 PackageReaderImplV1.cpp
80 # TODO: remove this hack once gcc2 has -iquote implemented
81 if $(HOST_PLATFORM) = haiku_host && $(HOST_GCC_VERSION[1]) < 3 {
82 local locations = common/non-packaged common system ;
83 SourceHdrs FetchFileJob.cpp : /boot/$(locations)/develop/headers/curl ;
87 MakeLocate libpackage_build.so : $(HOST_BUILD_COMPATIBILITY_LIB_DIR) ;
89 BuildPlatformSharedLibrary libpackage_build.so
91 ActivateRepositoryCacheJob.cpp
92 ActivateRepositoryConfigJob.cpp
93 ActivationTransaction.cpp
94 AddRepositoryRequest.cpp
97 CommitTransactionResult.cpp
99 DownloadFileRequest.cpp
100 DropRepositoryRequest.cpp
102 InstallationLocationInfo.cpp
105 PackageInfoContentHandler.cpp
106 PackageInfoParser.cpp
108 PackageResolvable.cpp
109 PackageResolvableExpression.cpp
112 RefreshRepositoryRequest.cpp
113 RemoveRepositoryJob.cpp
120 ValidateChecksumJob.cpp
124 # hpkg, but only libpackage
126 StandardErrorOutput.cpp
130 RepositoryBuilder.cpp
135 SolverPackageSpecifier.cpp
136 SolverPackageSpecifierList.cpp
138 SolverProblemSolution.cpp
142 libshared_build.a $(HOST_LIBBE) curl $(HOST_LIBSTDC++)
145 HaikuSubInclude solver ;