1SubDir HAIKU_TOP src system libroot posix glibc arch sparc ; 2 3SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc arch $(TARGET_ARCH) ; 4SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch 5 $(TARGET_ARCH) ; 6SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch generic ; 7SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include ; 8SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc stdlib ; 9SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc math ; 10SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc libio ; 11SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ; 12 13SubDirHdrs $(HAIKU_TOP) src system libroot posix glibc arch generic ; 14 15UsePrivateHeaders libroot ; 16 17SubDirCcFlags -D_GNU_SOURCE -D_IEEE_LIBM ; 18 19local genericSources = 20 branred.c 21 cmp.c dbl2mpn.c divrem.c 22 doasin.c 23 dosincos.c 24 halfulp.c 25 ldbl2mpn.c 26 memrchr.c 27 mpa.c mpatan.c mpatan2.c mpexp.c mplog.c mpn2dbl.c 28 mpn2flt.c mpn2ldbl.c mpsqrt.c mptan.c 29 mul.c mul_n.c 30 sincos32.c 31 slowexp.c 32 slowpow.c 33 34 e_acosf.c 35 e_acosh.c e_acoshf.c # e_acoshl.c 36 e_asin.c e_asinf.c 37 e_atan2.c e_atan2f.c e_atan2l.c 38 e_atanh.c e_atanhf.c # e_atanhl.c 39 e_cosh.c e_coshf.c # e_coshl.c 40 e_exp.c e_expf.c 41 e_fmod.c e_fmodf.c # e_fmodl.c 42 e_gamma_r.c e_gammaf_r.c 43 e_hypot.c e_hypotf.c e_hypotl.c 44 e_j0.c e_j0f.c 45 e_j1.c e_j1f.c 46 e_jn.c e_jnf.c 47 e_lgamma_r.c e_lgammaf_r.c 48 e_log.c e_logf.c e_logl.c 49 e_log10.c e_log10f.c 50 e_pow.c e_powf.c # e_powl.c 51 e_rem_pio2f.c 52 e_remainder.c e_remainderf.c # e_remainderl.c 53 e_scalb.c e_scalbf.c # e_scalbl.c 54 e_sinh.c e_sinhf.c # e_sinhl.c 55 e_sqrt.c e_sqrtf.c 56 k_cos.c k_cosf.c 57 k_sin.c k_sinf.c 58 k_rem_pio2.c k_rem_pio2f.c # k_rem_pio2l.c 59 k_tan.c k_tanf.c 60 s_asinh.c s_asinhf.c # s_asinhl.c 61 s_atan.c s_atanf.c s_atanl.c 62 s_cbrt.c s_cbrtf.c # s_cbrtl.c 63 s_ceil.c s_ceilf.c # s_ceill.c 64 s_clog.c s_clogf.c s_clogl.c 65 s_csqrt.c s_csqrtf.c s_csqrtl.c 66 s_copysign.c s_copysignf.c s_copysignl.c 67 s_cos.c s_cosf.c 68 s_erf.c s_erff.c # s_erfl.c 69 s_expm1f.c s_expm1.c 70 s_fabs.c s_fabsf.c # s_fabsl.S 71 s_finite.c s_finitef.c # s_finitel.c 72 s_floor.c s_floorf.c # s_floorl.c 73 s_fma.c s_fmaf.c # s_fmal.c 74 s_fmax.c s_fmaxf.c # s_fmaxl.c 75 s_fmin.c s_fminf.c # s_fminl.c 76 s_fpclassify.c s_fpclassifyf.c s_fpclassifyl.c 77 s_frexp.c s_frexpf.c # s_frexpl.c 78 s_ilogb.c s_ilogbf.c 79 s_isinf.c s_isinff.c s_isinfl.c 80 s_isnanl.c 81 s_issignalingl.c 82 s_ldexp.c s_ldexpf.c # s_ldexpl.c 83 s_llrint.c s_llrintf.c # s_llrintl.c 84 s_log1p.c s_log1pf.c s_log1pl.c 85 s_logb.c s_logbf.c # s_logbl.c 86 s_lrint.c s_lrintf.c # s_lrintl.c 87 s_lround.c s_lroundf.c 88 s_modf.c s_modff.c # s_modfl.c 89 s_nan.c s_nanf.c s_nanl.c 90 s_nextafter.c s_nextafterf.c # s_nextafterl.c 91 s_nexttoward.c # s_nexttowardf.c s_nexttowardl.c 92 s_rint.c s_rintf.c 93 s_round.c s_roundf.c # s_roundl.c 94 s_scalbn.c s_scalbnf.c # s_scalbnl.c 95 s_signbit.c s_signbitf.c s_signbitl.c 96 s_significand.c s_significandf.c 97 s_signgam.c 98 s_sin.c s_sinf.c # s_sinl.c 99 s_sincos.c s_sincosf.c 100 s_tan.c s_tanf.c 101 s_tanh.c s_tanhf.c 102 s_trunc.c s_truncf.c 103 t_exp.c 104 w_acos.c w_acosf.c # w_acosl.c 105 w_acosh.c w_acoshf.c # w_acoshl.c 106 w_atan2.c w_atan2f.c w_atan2l.c 107 w_asin.c w_asinf.c # w_asinl.c 108 w_atanh.c w_atanhf.c # w_atanhl.c 109 w_cosh.c w_coshf.c # w_coshl.c 110 w_drem.c w_dremf.c # w_dreml.c 111 w_exp.c w_expf.c # w_expl.c 112 w_fmod.c w_fmodf.c # w_fmodl.c 113 w_hypot.c w_hypotf.c w_hypotl.c 114 w_j0.c w_j0f.c 115 w_j1.c w_j1f.c 116 w_jn.c w_jnf.c 117 w_lgamma.c w_lgammaf.c 118 w_lgamma_r.c w_lgammaf_r.c 119 w_log.c w_logf.c # w_logl.c 120 w_log10.c w_log10f.c # w_log10l.c 121 w_pow.c w_powf.c # w_powl.c 122 w_remainder.c w_remainderf.c # w_remainderl.c 123 w_scalb.c w_scalbf.c # w_scalbl.c 124 w_sinh.c w_sinhf.c # w_sinhl.c 125 w_sqrt.c w_sqrtf.c w_sqrtl.c 126 ; 127 128 129MergeObject <$(TARGET_ARCH)>posix_gnu_arch_$(TARGET_ARCH)_generic.o : 130 $(genericSources) 131; 132 133 134MergeObject <$(TARGET_ARCH)>posix_gnu_arch_$(TARGET_ARCH)_e.o : 135 e_sqrtl.c 136 ; 137 138MergeObject <$(TARGET_ARCH)>posix_gnu_arch_$(TARGET_ARCH)_s.o : 139 s_isnan.S s_isnanf.S 140 ; 141 142MergeObject <$(TARGET_ARCH)>posix_gnu_arch_$(TARGET_ARCH)_other.o : 143 add_n.S 144 addmul_1.S 145 fegetround.c fesetround.c 146 feholdexcpt.c 147 fraiseexcpt.c 148 fesetenv.c 149 lshift.S rshift.S 150 mul_1.S 151 sub_n.S 152 submul_1.S 153 ; 154 155 156MergeObjectFromObjects <$(TARGET_ARCH)>posix_gnu_arch_$(TARGET_ARCH).o 157 : : 158 <$(TARGET_ARCH)>posix_gnu_arch_$(TARGET_ARCH)_e.o 159 <$(TARGET_ARCH)>posix_gnu_arch_$(TARGET_ARCH)_s.o 160 <$(TARGET_ARCH)>posix_gnu_arch_$(TARGET_ARCH)_generic.o 161 <$(TARGET_ARCH)>posix_gnu_arch_$(TARGET_ARCH)_other.o 162; 163 164 165SEARCH on [ FGristFiles $(genericSources) ] 166 = [ FDirName $(HAIKU_TOP) src system libroot posix glibc arch 167 generic ] 168 [ FDirName $(HAIKU_TOP) src system libroot posix glibc arch 169 generic longdouble 128bit ] ; 170