xref: /haiku/src/kits/package/Jamfile (revision e5d65858f2361fe0552495b61620c84dcee6bc00)
1SubDir HAIKU_TOP src kits package ;
2
3UseHeaders $(HAIKU_ZLIB_HEADERS) : true ;
4
5UsePrivateHeaders
6	kernel
7	shared ;
8
9SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg ] ;
10
11HPKG_SOURCES =
12	AttributeDataReader.cpp
13	BlockBufferCache.cpp
14	BlockBufferCacheImpl.cpp
15	BufferCache.cpp
16	CachedBuffer.cpp
17	DataOutput.cpp
18	DataReader.cpp
19	ErrorOutput.cpp
20	FDDataReader.cpp
21	PackageContentHandler.cpp
22	PackageData.cpp
23	PackageDataReader.cpp
24	PackageEntry.cpp
25	PackageEntryAttribute.cpp
26	PackageReader.cpp
27	PackageReaderImpl.cpp
28	PackageWriter.cpp
29	PackageWriterImpl.cpp
30	ReaderImplBase.cpp
31	RepositoryReader.cpp
32	RepositoryReaderImpl.cpp
33	RepositoryWriter.cpp
34	RepositoryWriterImpl.cpp
35	Strings.cpp
36	WriterImplBase.cpp
37
38	# compression
39	ZlibCompressionBase.cpp
40	ZlibCompressor.cpp
41	ZlibDecompressor.cpp
42	;
43
44Includes [ FGristFiles $(HPKG_SOURCES) ]
45	: $(HAIKU_ZLIB_HEADERS_DEPENDENCY) ;
46
47SharedLibrary libpackage.so
48	:
49	ActivateRepositoryCacheJob.cpp
50	ActivateRepositoryConfigJob.cpp
51	AddRepositoryRequest.cpp
52	Attributes.cpp
53	BlockBufferCacheNoLock.cpp
54	ChecksumAccessors.cpp
55	Context.cpp
56	DropRepositoryRequest.cpp
57	FetchFileJob.cpp
58	Job.cpp
59	JobQueue.cpp
60	PackageInfo.cpp
61	PackageInfoContentHandler.cpp
62	PackageInfoSet.cpp
63	PackageResolvable.cpp
64	PackageResolvableExpression.cpp
65	PackageRoster.cpp
66	PackageVersion.cpp
67	RefreshRepositoryRequest.cpp
68	RemoveRepositoryJob.cpp
69	RepositoryCache.cpp
70	RepositoryConfig.cpp
71	RepositoryInfo.cpp
72	Request.cpp
73	TempfileManager.cpp
74	ValidateChecksumJob.cpp
75
76	$(HPKG_SOURCES)
77	:
78	libshared.a be $(HAIKU_ZLIB_LIB) $(TARGET_LIBSTDC++)
79;
80