1cbdb30f4SJaroslaw PelczarSubDir HAIKU_TOP src system libroot posix glibc arch arm64 ; 2cbdb30f4SJaroslaw Pelczar 3797e8610SAlexander von Gluck IVSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch arm64 ; 4cbdb30f4SJaroslaw PelczarSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch generic ; 5cbdb30f4SJaroslaw PelczarSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include ; 6797e8610SAlexander von Gluck IVSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc libio ; 7cbdb30f4SJaroslaw PelczarSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc stdlib ; 8cbdb30f4SJaroslaw PelczarSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc math ; 9cbdb30f4SJaroslaw PelczarSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ; 10cbdb30f4SJaroslaw Pelczar 11cbdb30f4SJaroslaw PelczarSubDirHdrs $(HAIKU_TOP) src system libroot posix glibc arch generic ; 12cbdb30f4SJaroslaw Pelczar 13cbdb30f4SJaroslaw PelczarUsePrivateHeaders libroot ; 14cbdb30f4SJaroslaw Pelczar 15cbdb30f4SJaroslaw Pelczarif $(OPTIM) = -O0 { 16cbdb30f4SJaroslaw Pelczar OPTIM = -O ; 17cbdb30f4SJaroslaw Pelczar} 18cbdb30f4SJaroslaw Pelczar 19797e8610SAlexander von Gluck IVSubDirCcFlags -D_GNU_SOURCE -D_IEEE_LIBM -DPIC ; 20797e8610SAlexander von Gluck IVSubDirAsFlags -DPIC ; 21cbdb30f4SJaroslaw Pelczar 22cbdb30f4SJaroslaw Pelczarlocal genericSources = 23cbdb30f4SJaroslaw Pelczar cmp.c dbl2mpn.c divrem.c 24797e8610SAlexander von Gluck IV mpn2dbl.c mpn2flt.c mpn2ldbl.c 25cbdb30f4SJaroslaw Pelczar mul.c mul_n.c 26cbdb30f4SJaroslaw Pelczar 27797e8610SAlexander von Gluck IV add_n.c addmul_1.c ldbl2mpn.c 28797e8610SAlexander von Gluck IV mul_1.c 29797e8610SAlexander von Gluck IV lshift.c rshift.c 30797e8610SAlexander von Gluck IV sub_n.c submul_1.c 31797e8610SAlexander von Gluck IV 32*9feac945SAugustin Cavalier s_isnan.c s_isnanf.c 33*9feac945SAugustin Cavalier s_finite.c s_finitef.c 34*9feac945SAugustin Cavalier s_isinf.c s_isinff.c 35*9feac945SAugustin Cavalier 36797e8610SAlexander von Gluck IV s_clog.c s_clogf.c s_clogl.c 37797e8610SAlexander von Gluck IV s_csqrt.c s_csqrtf.c s_csqrtl.c 38797e8610SAlexander von Gluck IV s_cacos.c s_cacosf.c s_cacosl.c 39797e8610SAlexander von Gluck IV s_cacosh.c s_cacoshf.c s_cacoshl.c 40797e8610SAlexander von Gluck IV s_casin.c s_casinf.c s_casinl.c 41797e8610SAlexander von Gluck IV s_casinh.c s_casinhf.c s_casinhl.c 42797e8610SAlexander von Gluck IV s_catan.c s_catanf.c s_catanl.c 43797e8610SAlexander von Gluck IV s_catanh.c s_catanhf.c s_catanhl.c 44797e8610SAlexander von Gluck IV s_csin.c s_csinf.c s_csinl.c 45797e8610SAlexander von Gluck IV s_csinh.c s_csinhf.c s_csinhl.c 46797e8610SAlexander von Gluck IV s_ctan.c s_ctanf.c s_ctanl.c 47797e8610SAlexander von Gluck IV s_ctanh.c s_ctanhf.c s_ctanhl.c 48797e8610SAlexander von Gluck IV s_ccos.c s_ccosf.c s_ccosl.c 49797e8610SAlexander von Gluck IV s_ccosh.c s_ccoshf.c s_ccoshl.c 50797e8610SAlexander von Gluck IV s_cexp.c s_cexpf.c s_cexpl.c 51797e8610SAlexander von Gluck IV s_clog10.c s_clog10f.c s_clog10l.c 52797e8610SAlexander von Gluck IV s_cpow.c s_cpowf.c s_cpowl.c 53797e8610SAlexander von Gluck IV s_cproj.c s_cprojf.c s_cprojl.c 54cbdb30f4SJaroslaw Pelczar ; 55cbdb30f4SJaroslaw Pelczar 56cbdb30f4SJaroslaw Pelczarlocal architectureObject ; 57cbdb30f4SJaroslaw Pelczarfor architectureObject in [ MultiArchSubDirSetup arm64 ] { 58cbdb30f4SJaroslaw Pelczar on $(architectureObject) { 59cbdb30f4SJaroslaw Pelczar local architecture = $(TARGET_PACKAGING_ARCH) ; 60cbdb30f4SJaroslaw Pelczar 61797e8610SAlexander von Gluck IV MergeObject <$(architecture)>posix_gnu_arch_$(TARGET_ARCH).o : 62cbdb30f4SJaroslaw Pelczar $(genericSources) 63cbdb30f4SJaroslaw Pelczar ; 64cbdb30f4SJaroslaw Pelczar 65cbdb30f4SJaroslaw Pelczar SEARCH on [ FGristFiles $(genericSources) ] 66cbdb30f4SJaroslaw Pelczar = [ FDirName $(HAIKU_TOP) src system libroot posix glibc arch 67cbdb30f4SJaroslaw Pelczar generic ] ; 68cbdb30f4SJaroslaw Pelczar } 69cbdb30f4SJaroslaw Pelczar} 70