1cc9ad8e8SFrançois RevolSubDir HAIKU_TOP src system libroot posix glibc arch m68k ; 2cc9ad8e8SFrançois Revol 3850456edSJérôme DuvalSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc arch $(TARGET_ARCH) ; 4cc9ad8e8SFrançois RevolSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch 5cc9ad8e8SFrançois Revol $(TARGET_ARCH) ; 6cc9ad8e8SFrançois RevolSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch generic ; 7cc9ad8e8SFrançois RevolSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include ; 8cc9ad8e8SFrançois RevolSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc stdlib ; 9cc9ad8e8SFrançois RevolSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc math ; 10cc9ad8e8SFrançois RevolSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc libio ; 11cc9ad8e8SFrançois RevolSubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ; 12cc9ad8e8SFrançois Revol 13cc9ad8e8SFrançois RevolSubDirHdrs $(HAIKU_TOP) src system libroot posix glibc arch generic ; 14cc9ad8e8SFrançois Revol 15cc9ad8e8SFrançois Revol 16cc9ad8e8SFrançois Revolif $(OPTIM) = -O0 { 17cc9ad8e8SFrançois Revol OPTIM = -O ; 18cc9ad8e8SFrançois Revol} 19cc9ad8e8SFrançois Revol 20cc9ad8e8SFrançois Revol# don't compile with debugging 21cc9ad8e8SFrançois RevolDEBUG = 0 ; 22cc9ad8e8SFrançois Revol 23cc9ad8e8SFrançois RevolSubDirCcFlags -D_GNU_SOURCE -D_IEEE_LIBM ; 24dd68e9e8SFrançois RevolSubDirAsFlags -DMOTOROLA_SYNTAX ; 25cc9ad8e8SFrançois Revol 26cc9ad8e8SFrançois Revol# Note: There is no *l() support yet. Our compiler says sizeof(long double) = 8, 27cc9ad8e8SFrançois Revol# while there are only 96 and 128 bit implementation in glibc. 28cc9ad8e8SFrançois Revollocal genericSources = 29cc9ad8e8SFrançois Revol branred.c 30cc9ad8e8SFrançois Revol cmp.c dbl2mpn.c divrem.c 31850456edSJérôme Duval dosincos.c 32cc9ad8e8SFrançois Revol halfulp.c 33*e65c298cSFrançois Revol memrchr.c 34cc9ad8e8SFrançois Revol mpa.c mpatan.c mpatan2.c mpexp.c mplog.c mpn2dbl.c 35cc9ad8e8SFrançois Revol mpn2flt.c mpn2ldbl.c mpsqrt.c mptan.c 36cc9ad8e8SFrançois Revol mul.c mul_n.c 37cc9ad8e8SFrançois Revol sincos32.c 38cc9ad8e8SFrançois Revol slowexp.c 39cc9ad8e8SFrançois Revol slowpow.c 40cc9ad8e8SFrançois Revol 41cc9ad8e8SFrançois Revol e_acosh.c e_acoshf.c # e_acoshl.c 42cc9ad8e8SFrançois Revol e_atan2.c e_atan2f.c # e_atan2l.c 43cc9ad8e8SFrançois Revol e_atanh.c e_atanhf.c # e_atanhl.c 44cc9ad8e8SFrançois Revol e_cosh.c e_coshf.c # e_coshl.c 45cc9ad8e8SFrançois Revol e_exp.c e_expf.c 46cc9ad8e8SFrançois Revol e_fmod.c e_fmodf.c # e_fmodl.c 47cc9ad8e8SFrançois Revol e_gamma_r.c e_gammaf_r.c 48cc9ad8e8SFrançois Revol e_hypot.c e_hypotf.c # e_hypotl.c 49cc9ad8e8SFrançois Revol e_j0.c e_j0f.c 50cc9ad8e8SFrançois Revol e_j1.c e_j1f.c 51cc9ad8e8SFrançois Revol e_jn.c e_jnf.c 52cc9ad8e8SFrançois Revol e_lgamma_r.c e_lgammaf_r.c 53cc9ad8e8SFrançois Revol e_log.c e_logf.c 54cc9ad8e8SFrançois Revol e_log10.c e_log10f.c 55cc9ad8e8SFrançois Revol e_pow.c e_powf.c # e_powl.c 56cc9ad8e8SFrançois Revol e_rem_pio2f.c 57cc9ad8e8SFrançois Revol e_remainder.c e_remainderf.c # e_remainderl.c 58cc9ad8e8SFrançois Revol e_scalb.c e_scalbf.c # e_scalbl.c 59cc9ad8e8SFrançois Revol e_sinh.c e_sinhf.c # e_sinhl.c 60cc9ad8e8SFrançois Revol k_cos.c k_cosf.c 61cc9ad8e8SFrançois Revol k_sin.c k_sinf.c 62cc9ad8e8SFrançois Revol k_rem_pio2.c k_rem_pio2f.c # k_rem_pio2l.c 63cc9ad8e8SFrançois Revol k_tan.c k_tanf.c 64cc9ad8e8SFrançois Revol s_asinh.c s_asinhf.c # s_asinhl.c 65cc9ad8e8SFrançois Revol s_atan.c s_atanf.c # s_atanl.c 66cc9ad8e8SFrançois Revol s_cbrt.c s_cbrtf.c # s_cbrtl.c 67cc9ad8e8SFrançois Revol s_ceil.c s_ceilf.c # s_ceill.c 68850456edSJérôme Duval s_copysign.c s_copysignf.c # s_copysignl.c 69cc9ad8e8SFrançois Revol s_cos.c s_cosf.c 70cc9ad8e8SFrançois Revol s_erf.c s_erff.c # s_erfl.c 71cc9ad8e8SFrançois Revol s_expm1f.c s_expm1.c 72cc9ad8e8SFrançois Revol s_finite.c s_finitef.c # s_finitel.c 73cc9ad8e8SFrançois Revol s_floor.c s_floorf.c # s_floorl.c 74cc9ad8e8SFrançois Revol s_fpclassify.c s_fpclassifyf.c # s_fpclassifyl.c 75cc9ad8e8SFrançois Revol s_frexp.c s_frexpf.c # s_frexpl.c 76cc9ad8e8SFrançois Revol s_ilogb.c s_ilogbf.c 77cc9ad8e8SFrançois Revol s_isinf.c s_isinff.c # s_isinfl.c 78cc9ad8e8SFrançois Revol s_ldexp.c s_ldexpf.c # s_ldexpl.c 79cc9ad8e8SFrançois Revol s_log1p.c s_log1pf.c 80cc9ad8e8SFrançois Revol s_logb.c s_logbf.c # s_logbl.c 81cc9ad8e8SFrançois Revol s_lround.c s_lroundf.c 82cc9ad8e8SFrançois Revol s_modf.c s_modff.c # s_modfl.c 83cc9ad8e8SFrançois Revol s_nan.c s_nanf.c # s_nanl.c 84cc9ad8e8SFrançois Revol s_round.c s_roundf.c # s_roundl.c 85cc9ad8e8SFrançois Revol s_scalbn.c s_scalbnf.c # s_scalbnl.c 86cc9ad8e8SFrançois Revol s_signbit.c s_signbitf.c # s_signbitl.c 87cc9ad8e8SFrançois Revol s_significand.c s_significandf.c 88cc9ad8e8SFrançois Revol s_signgam.c 89cc9ad8e8SFrançois Revol s_sin.c s_sinf.c # s_sinl.c 90cc9ad8e8SFrançois Revol s_sincos.c s_sincosf.c 91cc9ad8e8SFrançois Revol s_tan.c s_tanf.c 92cc9ad8e8SFrançois Revol s_tanh.c s_tanhf.c 93cc9ad8e8SFrançois Revol s_trunc.c s_truncf.c 94cc9ad8e8SFrançois Revol t_exp.c 95cc9ad8e8SFrançois Revol w_acos.c w_acosf.c # w_acosl.c 96cc9ad8e8SFrançois Revol w_acosh.c w_acoshf.c # w_acoshl.c 97cc9ad8e8SFrançois Revol w_atan2.c w_atan2f.c # w_atan2l.c 98cc9ad8e8SFrançois Revol w_asin.c w_asinf.c # w_asinl.c 99cc9ad8e8SFrançois Revol w_atanh.c w_atanhf.c # w_atanhl.c 100cc9ad8e8SFrançois Revol w_cosh.c w_coshf.c # w_coshl.c 101cc9ad8e8SFrançois Revol w_drem.c w_dremf.c # w_dreml.c 102cc9ad8e8SFrançois Revol w_exp.c w_expf.c # w_expl.c 103cc9ad8e8SFrançois Revol w_fmod.c w_fmodf.c # w_fmodl.c 104cc9ad8e8SFrançois Revol w_hypot.c w_hypotf.c # w_hypotl.c 105cc9ad8e8SFrançois Revol w_j0.c w_j0f.c 106cc9ad8e8SFrançois Revol w_j1.c w_j1f.c 107cc9ad8e8SFrançois Revol w_jn.c w_jnf.c 108cc9ad8e8SFrançois Revol w_lgamma.c w_lgammaf.c 109cc9ad8e8SFrançois Revol w_lgamma_r.c w_lgammaf_r.c 110cc9ad8e8SFrançois Revol w_log.c w_logf.c # w_logl.c 111cc9ad8e8SFrançois Revol w_log10.c w_log10f.c # w_log10l.c 112cc9ad8e8SFrançois Revol w_pow.c w_powf.c # w_powl.c 113cc9ad8e8SFrançois Revol w_remainder.c w_remainderf.c # w_remainderl.c 114cc9ad8e8SFrançois Revol w_scalb.c w_scalbf.c # w_scalbl.c 115cc9ad8e8SFrançois Revol w_sinh.c w_sinhf.c # w_sinhl.c 116dd68e9e8SFrançois Revol # no asm for m68k in glibc 117dd68e9e8SFrançois Revol strlen.c 118dd68e9e8SFrançois Revol w_sqrt.c w_sqrtf.c # w_sqrtl.c 119cc9ad8e8SFrançois Revol; 120cc9ad8e8SFrançois Revol 121cc9ad8e8SFrançois RevolMergeObject posix_gnu_arch_$(TARGET_ARCH)_generic.o : 122cc9ad8e8SFrançois Revol $(genericSources) 123cc9ad8e8SFrançois Revol; 124cc9ad8e8SFrançois Revol 125cc9ad8e8SFrançois RevolMergeObject posix_gnu_arch_$(TARGET_ARCH)_other.o : 126cc9ad8e8SFrançois Revol 127dd68e9e8SFrançois Revol add_n.S 128dd68e9e8SFrançois Revol addmul_1.S 129850456edSJérôme Duval doasin.c 130cc9ad8e8SFrançois Revol feholdexcpt.c fraiseexcpt.c fesetenv.c fesetround.c ftestexcept.c 131cc9ad8e8SFrançois Revol# ldbl2mpn.c 132dd68e9e8SFrançois Revol lshift.S rshift.S 133dd68e9e8SFrançois Revol mul_1.S 134cc9ad8e8SFrançois Revol# strlen.S 135dd68e9e8SFrançois Revol sub_n.S 136dd68e9e8SFrançois Revol submul_1.S 137850456edSJérôme Duval 138850456edSJérôme Duval e_acos.c e_acosf.c # e_acosl.c 139850456edSJérôme Duval e_asin.c e_asinf.c # e_asinl.c 140850456edSJérôme Duval e_sqrt.c e_sqrtf.c # e_sqrtl.c 141cc9ad8e8SFrançois Revol# s_fdim.c s_fdimf.c # s_fdiml.S 142cc9ad8e8SFrançois Revol# s_fabs.S s_fabsf.S # s_fabsl.S 143cc9ad8e8SFrançois Revol# s_isnan.c s_isnanf.S 144d8fe1829SFrançois Revol s_rint.c s_rintf.c # s_rintl.c 145cc9ad8e8SFrançois Revol# t_sqrt.c 146cc9ad8e8SFrançois Revol# w_sqrt.c w_sqrtf.c # w_sqrtl.c 147cc9ad8e8SFrançois Revol; 148cc9ad8e8SFrançois Revol 149cc9ad8e8SFrançois RevolMergeObjectFromObjects posix_gnu_arch_$(TARGET_ARCH).o : : 150cc9ad8e8SFrançois Revol posix_gnu_arch_$(TARGET_ARCH)_generic.o 151cc9ad8e8SFrançois Revol posix_gnu_arch_$(TARGET_ARCH)_other.o 152cc9ad8e8SFrançois Revol; 153cc9ad8e8SFrançois Revol 154cc9ad8e8SFrançois RevolSEARCH on [ FGristFiles $(genericSources) ] 155cc9ad8e8SFrançois Revol = [ FDirName $(HAIKU_TOP) src system libroot posix glibc arch generic ] ; 156