xref: /haiku/src/build/libpackage/solver/Jamfile (revision b617a7b410c05275effb95f4b2f5608359d9b7b9)
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 ] ;
13
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
27
28Includes [ FGristFiles LibsolvSolver.cpp ]
29	: [ BuildFeatureAttribute libsolv : headers ] ;
30