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