1SubDir HAIKU_TOP src system libroot posix musl math riscv64 ; 2 3SubDirCcFlags -Wno-unused-but-set-variable ; 4 5SubDirSysHdrs [ FDirName $(SUBDIR) .. .. include ] ; 6UseHeaders [ FDirName $(SUBDIR) .. .. internal ] ; 7UseHeaders [ FDirName $(SUBDIR) .. .. arch generic ] ; 8 9local generics = 10 acos.c acosf.c acosl.c 11 acosh.c acoshf.c acoshl.c 12 asin.c asinf.c asinl.c 13 asinh.c asinhf.c asinhl.c 14 atan2.c atan2f.c atan2l.c 15 atan.c atanf.c atanl.c 16 atanh.c atanhf.c atanhl.c 17 cbrt.c cbrtf.c cbrtl.c 18 ceil.c ceilf.c ceill.c 19 copysign.c copysignf.c copysignl.c 20 cos.c cosf.c cosl.c __cosl.c __cos.c __cosdf.c 21 cosh.c coshf.c coshl.c 22 erf.c erff.c erfl.c 23 exp10.c exp10f.c exp10l.c 24 exp2.c exp2f.c exp2f_data.c exp2l.c 25 exp.c exp_data.c expf.c expl.c 26 expm1.c expm1f.c expm1l.c 27 __expo2.c __expo2f.c 28 fabsl.c 29 fdim.c fdimf.c fdiml.c 30 finite.c finitef.c 31 floor.c floorf.c floorl.c 32 fmal.c 33 fmax.c fmaxf.c fmaxl.c 34 fmin.c fminf.c fminl.c 35 fmod.c fmodf.c fmodl.c 36 frexp.c frexpf.c frexpl.c 37 hypot.c hypotf.c hypotl.c 38 ilogb.c ilogbf.c ilogbl.c 39 __invtrigl.c 40 j0.c j0f.c j1.c j1f.c jn.c jnf.c 41 ldexp.c ldexpf.c ldexpl.c 42 lgamma.c lgammaf.c lgammaf_r.c lgammal.c lgamma_r.c 43 llrint.c llrintf.c llrintl.c 44 llround.c llroundf.c llroundl.c 45 log10.c log10f.c log10l.c 46 log1p.c log1pf.c log1pl.c 47 log2.c log2_data.c log2f.c log2f_data.c log2l.c 48 logb.c logbf.c logbl.c 49 log.c log_data.c logf.c logf_data.c logl.c 50 lrint.c lrintf.c lrintl.c 51 lround.c lroundf.c lroundl.c 52 __math_divzero.c __math_divzerof.c __math_invalid.c __math_invalidf.c 53 __math_oflow.c __math_oflowf.c __math_uflow.c __math_uflowf.c 54 __math_xflow.c __math_xflowf.c 55 modf.c modff.c modfl.c 56 nan.c nanf.c nanl.c 57 nearbyint.c nearbyintf.c nearbyintl.c 58 nextafter.c nextafterf.c nextafterl.c 59 nexttoward.c nexttowardf.c nexttowardl.c 60 __polevll.c pow.c pow_data.c powf.c powf_data.c powl.c 61 remainder.c remainderf.c remainderl.c 62 __rem_pio2.c __rem_pio2f.c __rem_pio2_large.c __rem_pio2l.c 63 remquo.c remquof.c remquol.c 64 rint.c rintf.c rintl.c 65 round.c roundf.c roundl.c 66 scalb.c scalbf.c scalbln.c scalblnf.c scalblnl.c scalbn.c scalbnf.c scalbnl.c 67 signgam.c 68 significand.c significandf.c 69 __sin.c sin.c __sinl.c sinl.c 70 sincos.c sincosf.c sincosl.c 71 __sindf.c sinf.c 72 sinh.c sinhf.c sinhl.c 73 sqrtl.c 74 __tan.c tan.c __tandf.c tanf.c __tanl.c tanl.c 75 tanh.c tanhf.c tanhl.c 76 tgamma.c tgammaf.c tgammal.c 77 trunc.c truncf.c truncl.c 78 ; 79 80local architectureObject ; 81for architectureObject in [ MultiArchSubDirSetup riscv64 ] { 82 on $(architectureObject) { 83 local architecture = $(TARGET_PACKAGING_ARCH) ; 84 85 UseHeaders [ FDirName $(SUBDIR) .. .. arch $(architecture) ] ; 86 87 MergeObject <$(architecture)>posix_musl_math.o : 88 fabs.c fabsf.c 89 fma.c fmaf.c 90 sqrt.c sqrtf.c 91 92 $(generics) 93 ; 94 95 SEARCH on [ FGristFiles $(generics) ] = [ FDirName $(SUBDIR) .. ] ; 96 } 97} 98