xref: /haiku/src/build/libpackage/solver/Jamfile (revision 372b901dfeada686207d00bbcce456f748bbda12)
1SubDir HAIKU_TOP src build libpackage solver ;
2
3UseBuildFeatureHeaders libsolv ;
4
5local libsolvHeaders = [ BuildFeatureAttribute libsolv : headers : path ] ;
6UseHeaders [ FDirName $(libsolvHeaders) solv ] ;
7
8UsePrivateHeaders shared ;
9
10USES_BE_API on libpackage-add-on-libsolv_build.so = true ;
11
12SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package solver ] ;
13SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package solver libsolv ] ;
14
15MakeLocate libpackage-add-on-libsolv_build.so
16	: $(HOST_BUILD_COMPATIBILITY_LIB_DIR) ;
17
18BuildPlatformSharedLibrary libpackage-add-on-libsolv_build.so
19	:
20	LibsolvSolver.cpp
21	:
22	libsolvext_build.so libsolv_build.so
23	libpackage_build.so
24	libbe_build.so $(HOST_LIBSTDC++)
25;
26
27Includes [ FGristFiles LibsolvSolver.cpp ]
28	: [ BuildFeatureAttribute libsolv : headers ] ;
29