SubDir HAIKU_TOP src system libroot posix musl math arm64 ;# std=c11 so __FLT_EVAL_METHOD__ is 0 and not 16:# https://gcc.gnu.org/bugzilla//show_bug.cgi?id=100854SubDirCcFlags -Wno-unused-but-set-variable -std=c11 ;SubDirSysHdrs [ FDirName $(SUBDIR) .. .. include ] ;UseHeaders [ FDirName $(SUBDIR) .. .. internal ] ;UseHeaders [ FDirName $(SUBDIR) .. .. arch generic ] ;local generics =acos.c acosf.c acosl.cacosh.c acoshf.c acoshl.casin.c asinf.c asinl.casinh.c asinhf.c asinhl.catan2.c atan2f.c atan2l.catan.c atanf.c atanl.catanh.c atanhf.c atanhl.ccbrt.c cbrtf.c cbrtl.cceill.ccopysign.c copysignf.c copysignl.ccos.c cosf.c cosl.c __cosl.c __cos.c __cosdf.ccosh.c coshf.c coshl.cerf.c erff.c erfl.cexp10.c exp10f.c exp10l.cexp2.c exp2f.c exp2f_data.c exp2l.cexp.c exp_data.c expf.c expl.cexpm1.c expm1f.c expm1l.c__expo2.c __expo2f.cfabsl.cfdim.c fdimf.c fdiml.cfinite.c finitef.cfloorl.cfmal.cfmaxl.cfminl.cfmod.c fmodf.c fmodl.c__fpclassify.c __fpclassifyf.c __fpclassifyl.cfrexp.c frexpf.c frexpl.chypot.c hypotf.c hypotl.cilogb.c ilogbf.c ilogbl.c__invtrigl.cj0.c j0f.c j1.c j1f.c jn.c jnf.cldexp.c ldexpf.c ldexpl.clgamma.c lgammaf.c lgammaf_r.c lgammal.c lgamma_r.cllrintl.cllroundl.clog10.c log10f.c log10l.clog1p.c log1pf.c log1pl.clog2.c log2_data.c log2f.c log2f_data.c log2l.clogb.c logbf.c logbl.clog.c log_data.c logf.c logf_data.c logl.clrintl.clroundl.c__math_divzero.c __math_divzerof.c __math_invalid.c __math_invalidf.c__math_oflow.c __math_oflowf.c __math_uflow.c __math_uflowf.c__math_xflow.c __math_xflowf.cmodf.c modff.c modfl.cnan.c nanf.c nanl.cnearbyintl.cnextafter.c nextafterf.c nextafterl.cnexttoward.c nexttowardf.c nexttowardl.c__polevll.c pow.c pow_data.c powf.c powf_data.c powl.cremainder.c remainderf.c remainderl.c__rem_pio2.c __rem_pio2f.c __rem_pio2_large.c __rem_pio2l.cremquo.c remquof.c remquol.crintl.croundl.cscalb.c scalbf.c scalbln.c scalblnf.c scalblnl.c scalbn.c scalbnf.c scalbnl.csigngam.csignificand.c significandf.c__sin.c sin.c __sinl.c sinl.csincos.c sincosf.c sincosl.c__sindf.c sinf.csinh.c sinhf.c sinhl.csqrtl.c__tan.c tan.c __tandf.c tanf.c __tanl.c tanl.ctanh.c tanhf.c tanhl.ctgamma.c tgammaf.c tgammal.ctruncl.c;local architectureObject ;for architectureObject in [ MultiArchSubDirSetup arm64 ] {on $(architectureObject) {local architecture = $(TARGET_PACKAGING_ARCH) ;UseHeaders [ FDirName $(SUBDIR) .. .. arch $(architecture) ] ;MergeObject <$(architecture)>posix_musl_math.o :ceil.c ceilf.cfabs.c fabsf.cfloor.c floorf.cfma.c fmaf.cfmax.c fmaxf.cfmin.c fminf.cllrint.c llrintf.cllround.c llroundf.clrint.c lrintf.clround.c lroundf.cnearbyint.c nearbyintf.crint.c rintf.cround.c roundf.csqrt.c sqrtf.ctrunc.c truncf.c$(generics);SEARCH on [ FGristFiles $(generics) ] = [ FDirName $(SUBDIR) .. ] ;}}