SubDir HAIKU_TOP src system libroot posix musl math x86 ;SubDirSysHdrs [ FDirName $(SUBDIR) .. .. include ] ;UseHeaders [ FDirName $(SUBDIR) .. .. internal ] ;UseHeaders [ FDirName $(SUBDIR) .. .. arch generic ] [ FDirName $(SUBDIR) .. ] ;local generics =acosh.c acoshf.c acoshl.casinh.c asinhf.c asinhl.catanh.c atanhf.c atanhl.ccbrt.c cbrtf.c cbrtl.ccopysign.c copysignf.c copysignl.c__cos.c cos.c __cosdf.c cosf.c cosh.c coshf.c coshl.c __cosl.c cosl.cerf.c erff.c erfl.cexp10.c exp10f.c exp10l.c __expo2.c __expo2f.cexp_data.c exp2f_data.cfdim.c fdimf.c fdiml.cfinite.c finitef.cfma.c fmaf.c fmal.cfmax.c fmaxf.c fmaxl.cfmin.c fminf.c fminl.c__fpclassify.c __fpclassifyf.c __fpclassifyl.cfrexp.c frexpf.c frexpl.chypotl.cilogb.c ilogbf.c ilogbl.cj0.c j0f.c j1.c j1f.c jn.c jnf.clgamma.c lgammaf.c lgammaf_r.c lgammal.c lgamma_r.cllround.c llroundf.c llroundl.clog10.c log10f.clogb.c logbf.c logbl.clround.c lroundf.c lroundl.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.c modf.c modff.c modfl.cnan.c nanf.c nanl.cnearbyint.c nearbyintf.c nearbyintl.cnextafter.c nextafterf.c nextafterl.cnexttoward.c nexttowardf.c nexttowardl.c__polevll.cpow.c pow_data.c powf.c powf_data.c powl.c__rem_pio2.c __rem_pio2f.c __rem_pio2_large.c __rem_pio2l.cround.c roundf.c roundl.cscalb.c scalbf.c__signbit.c __signbitf.c __signbitl.csigngam.csignificand.c significandf.c__sin.c sin.c sincos.c sincosf.c sincosl.c __sinl.c sinl.c__sindf.c sinf.c sinh.c sinhf.c sinhl.c__tan.c tan.c __tandf.c tanf.c __tanl.c tanl.ctanh.c tanhf.c tanhl.ctgamma.c tgammaf.c tgammal.c;local architectureObject ;for architectureObject in [ MultiArchSubDirSetup x86 x86_gcc2 ] {on $(architectureObject) {local architecture = $(TARGET_PACKAGING_ARCH) ;UseHeaders [ FDirName $(SUBDIR) .. .. arch $(architecture) ] ;if $(architecture) = x86_gcc2 {# GCC 2 miscompiles some of the files in here, so use the newer GCC.original_TARGET_CC_x86_gcc2 = $(TARGET_CC_x86_gcc2) ;TARGET_CC_x86_gcc2 = $(TARGET_CC_x86) -Wa,-mrelax-relocations=no -Wno-unused-but-set-variable ;}MergeObject <$(architecture)>posix_musl_math.o :__invtrigl.sacos.s acosl.s acosf.s asin.s asinf.s asinl.s atan.s atan2.s atan2f.satan2l.s atanf.s atanl.sceil.s ceilf.s ceill.sexp.s exp2.s exp2f.s exp2l.s expl.s expf.s expm1.s expm1f.s expm1l.sfabs.s fabsf.s fabsl.s floor.s floorf.s floorl.sfmod.s fmodf.s fmodl.shypot.s hypotf.sldexp.s ldexpf.s ldexpl.s llrintf.s llrintl.s llrint.slog.s log1p.s log1pf.s log2.s log2f.s log2l.slog10l.s log1pl.s logf.s logl.s lrintf.s lrintl.s lrint.sremainder.s remainderf.s remainderl.sremquo.s remquof.s remquol.s rint.s rintf.s rintl.sscalbln.s scalblnf.s scalblnl.sscalbn.s scalbnf.s scalbnl.ssqrtf.s sqrtl.s sqrt.struncl.s trunc.s truncf.sgamma.c$(generics);if $(architecture) = x86_gcc2 {TARGET_CC_x86_gcc2 = $(original_TARGET_CC_x86_gcc2) ;}SEARCH on [ FGristFiles $(generics) ] = [ FDirName $(SUBDIR) .. ] ;}}