1SubDir HAIKU_TOP src kits package solver libsolv ; 2 3# add-on implementing a libsolv based BSolver 4 5local architectureObject ; 6for architectureObject in [ MultiArchSubDirSetup ] { 7 on $(architectureObject) { 8 9 UseHeaders [ FDirName $(HAIKU_TOP) src libs libsolv ] : true ; 10 UsePrivateHeaders shared ; 11 12 AddResources $(libsolv) : 13 LibsolvSolver.rdef 14 ; 15 16 SharedLibrary 17 [ MultiArchDefaultGristFiles libpackage-add-on-libsolv.so ] 18 : 19 LibsolvSolver.cpp 20 : 21 package 22 [ MultiArchDefaultGristFiles libsolv.a libsolvext.a ] 23 be [ TargetLibstdc++ ] 24 ; 25 26 if $(TARGET_PACKAGING_ARCH) != x86_gcc2 { 27 # External headers use the C++20 reserved keyword `requires` 28 ObjectC++Flags LibsolvSolver.cpp : -Wno-error=c++20-compat ; 29 } 30 } 31} 32