1SubDir HAIKU_TOP src kits package solver ; 2 3# add-on implementing a libsolv based BSolver 4 5local architectureObject ; 6for architectureObject in [ MultiArchSubDirSetup ] { 7 on $(architectureObject) { 8 9 UseBuildFeatureHeaders libsolv ; 10 11 local libsolvHeaders 12 = [ BuildFeatureAttribute libsolv : headers : path ] ; 13 UseHeaders [ FDirName $(libsolvHeaders) solv ] ; 14 15 AddResources $(libsolv) : 16 LibsolvSolver.rdef 17 ; 18 19 UsePrivateHeaders shared ; 20 21 SharedLibrary 22 [ MultiArchDefaultGristFiles libpackage-add-on-libsolv.so ] 23 : 24 LibsolvSolver.cpp 25 : 26 package 27 [ BuildFeatureAttribute libsolv : libraries ] 28 be [ TargetLibstdc++ ] 29 ; 30 31 Includes [ FGristFiles LibsolvSolver.cpp ] 32 : [ BuildFeatureAttribute libsolv : headers ] ; 33 } 34} 35 36DoCatalogs libsolv : 37 x-vnd.Haiku-libsolvsolver 38 : 39 SolverProblem.cpp 40 SolverProblemSolution.cpp 41; 42