xref: /haiku/src/libs/libsolv/Jamfile (revision caed67a8cba83913b9c21ac2b06ebc6bd1cb3111)
1SubDir HAIKU_TOP src libs libsolv ;
2
3DEFINES =
4	LIBSOLV_INTERNAL
5	HAIKU
6	_GNU_SOURCE
7
8	HAVE_STRCHRNUL
9	HAVE_FOPENCOOKIE
10	;
11
12SubDirCcFlags -Wno-sign-compare -Wno-missing-prototypes ;
13
14local architectureObject ;
15for architectureObject in [ MultiArchSubDirSetup ] {
16	on $(architectureObject) {
17		SEARCH_SOURCE += [ FDirName $(SUBDIR) solv ] ;
18		SEARCH_SOURCE += [ FDirName $(SUBDIR) ext ] ;
19
20		UseBuildFeatureHeaders zlib ;
21		Includes [ FGristFiles solv_xfopen.c ]
22			: [ BuildFeatureAttribute zlib : headers ] ;
23
24		StaticLibrary [ MultiArchDefaultGristFiles libsolv.a ] :
25			bitmap.c chksum.c md5.c sha1.c sha2.c
26			pool.c poolarch.c poolvendor.c poolid.c strpool.c dirpool.c
27			solver.c solverdebug.c solvable.c
28			repo_solv.c repo_write.c repo.c repodata.c repopage.c
29			selection.c transaction.c policy.c rules.c problems.c
30			evr.c util.c queue.c
31			solvversion.c
32			;
33
34		StaticLibrary [ MultiArchDefaultGristFiles libsolvext.a ] :
35			repo_haiku.cpp
36			solv_xfopen.c
37			testcase.c
38			;
39	}
40}
41