1c085f386SAlexander von Gluck IVSubDir HAIKU_TOP src system libroot posix glibc arch riscv64 ; 2c085f386SAlexander von Gluck IV 3f504f610SAugustin CavalierSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch riscv64 ; 4c085f386SAlexander von Gluck IVSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch generic ; 5c085f386SAlexander von Gluck IVSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include ; 651ab221fSAlexander von Gluck IVSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc libio ; 7c085f386SAlexander von Gluck IVSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc stdlib ; 8c085f386SAlexander von Gluck IVSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc math ; 9c085f386SAlexander von Gluck IVSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ; 10c085f386SAlexander von Gluck IV 11c085f386SAlexander von Gluck IVSubDirHdrs $(HAIKU_TOP) src system libroot posix glibc arch generic ; 12c085f386SAlexander von Gluck IV 13c085f386SAlexander von Gluck IVUsePrivateHeaders libroot ; 14c085f386SAlexander von Gluck IV 1551ab221fSAlexander von Gluck IVif $(OPTIM) = -O0 { 1651ab221fSAlexander von Gluck IV OPTIM = -O ; 1751ab221fSAlexander von Gluck IV} 1851ab221fSAlexander von Gluck IV 19f504f610SAugustin CavalierSubDirCcFlags -D_GNU_SOURCE -D_IEEE_LIBM -DPIC ; 20f504f610SAugustin CavalierSubDirAsFlags -DPIC ; 21c085f386SAlexander von Gluck IV 22c085f386SAlexander von Gluck IVlocal genericSources = 2351ab221fSAlexander von Gluck IV lshift.c rshift.c submul_1.c 2451ab221fSAlexander von Gluck IV add_n.c sub_n.c 2551ab221fSAlexander von Gluck IV addmul_1.c mul_1.c 26c085f386SAlexander von Gluck IV 2751ab221fSAlexander von Gluck IV cmp.c dbl2mpn.c divrem.c 2851ab221fSAlexander von Gluck IV mpn2dbl.c mpn2flt.c mpn2ldbl.c 2951ab221fSAlexander von Gluck IV mul.c mul_n.c 30f504f610SAugustin Cavalier ldbl2mpn.c 3151ab221fSAlexander 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 3651ab221fSAlexander von Gluck IV s_clog.c s_clogf.c s_clogl.c 3751ab221fSAlexander von Gluck IV s_csqrt.c s_csqrtf.c s_csqrtl.c 38f504f610SAugustin Cavalier s_cacos.c s_cacosf.c s_cacosl.c 39f504f610SAugustin Cavalier s_cacosh.c s_cacoshf.c s_cacoshl.c 40f504f610SAugustin Cavalier s_casin.c s_casinf.c s_casinl.c 41f504f610SAugustin Cavalier s_casinh.c s_casinhf.c s_casinhl.c 42f504f610SAugustin Cavalier s_catan.c s_catanf.c s_catanl.c 43f504f610SAugustin Cavalier s_catanh.c s_catanhf.c s_catanhl.c 44f504f610SAugustin Cavalier s_csin.c s_csinf.c s_csinl.c 45f504f610SAugustin Cavalier s_csinh.c s_csinhf.c s_csinhl.c 46f504f610SAugustin Cavalier s_ctan.c s_ctanf.c s_ctanl.c 47f504f610SAugustin Cavalier s_ctanh.c s_ctanhf.c s_ctanhl.c 48f504f610SAugustin Cavalier s_ccos.c s_ccosf.c s_ccosl.c 49f504f610SAugustin Cavalier s_ccosh.c s_ccoshf.c s_ccoshl.c 50f504f610SAugustin Cavalier s_cexp.c s_cexpf.c s_cexpl.c 51f504f610SAugustin Cavalier s_clog10.c s_clog10f.c s_clog10l.c 52f504f610SAugustin Cavalier s_cpow.c s_cpowf.c s_cpowl.c 53f504f610SAugustin Cavalier s_cproj.c s_cprojf.c s_cprojl.c 54c085f386SAlexander von Gluck IV ; 55c085f386SAlexander von Gluck IV 5651ab221fSAlexander von Gluck IVlocal architectureObject ; 5751ab221fSAlexander von Gluck IVfor architectureObject in [ MultiArchSubDirSetup riscv64 ] { 5851ab221fSAlexander von Gluck IV on $(architectureObject) { 5951ab221fSAlexander von Gluck IV local architecture = $(TARGET_PACKAGING_ARCH) ; 60c085f386SAlexander von Gluck IV 61f504f610SAugustin Cavalier MergeObject <$(architecture)>posix_gnu_arch_$(TARGET_ARCH).o : 62c085f386SAlexander von Gluck IV $(genericSources) 63c085f386SAlexander von Gluck IV ; 64c085f386SAlexander von Gluck IV 65c085f386SAlexander von Gluck IV SEARCH on [ FGristFiles $(genericSources) ] 66f504f610SAugustin Cavalier = [ FDirName $(HAIKU_TOP) src system libroot posix glibc arch 67f504f610SAugustin Cavalier generic ] ; 6851ab221fSAlexander von Gluck IV } 6951ab221fSAlexander von Gluck IV} 70