1SubDir HAIKU_TOP src system libroot posix glibc arch arm ; 2 3SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch $(TARGET_ARCH) ; 4SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch generic ; 5SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include ; 6SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc libio ; 7SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc stdlib ; 8SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc math ; 9SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ; 10 11SubDirHdrs $(HAIKU_TOP) src system libroot posix glibc arch generic ; 12 13UsePrivateHeaders libroot ; 14 15if $(OPTIM) = -O0 { 16 OPTIM = -O ; 17} 18 19# don't compile with debugging 20DEBUG = 0 ; 21 22SubDirCcFlags -D_GNU_SOURCE -D_IEEE_LIBM ; 23 24local genericSources = 25 lshift.c rshift.c submul_1.c 26 s_finite.c s_finitef.c 27 add_n.c sub_n.c 28 addmul_1.c mul_1.c 29 30 cmp.c dbl2mpn.c divrem.c 31 mpn2dbl.c mpn2flt.c mpn2ldbl.c 32 mul.c mul_n.c 33 s_isinf.c s_isinff.c 34 s_isnan.c s_isnanf.c 35 s_signbit.c s_signbitf.c s_signbitl.c 36 37 s_floor.c s_floorf.c 38 s_ceil.c s_ceilf.c 39 s_modf.c 40 w_powf.c e_powf.c 41 w_pow.c e_pow.c slowpow.c 42 w_exp.c e_exp.c slowexp.c 43 s_frexp.c s_expm1.c 44 dosincos.c 45 doasin.c 46 sincos32.c 47 branred.c 48 halfulp.c 49 mpa.c mplog.c mpexp.c 50 s_sin.c 51 s_atan.c s_atanf.c 52 s_tan.c 53 e_asin.c w_asin.c 54 e_log10.c w_log10.c 55 e_acos.c w_acos.c 56 e_atan2.c w_atan2.c mpatan2.c mpatan.c mptan.c mpsqrt.c w_sqrt.c w_sqrtf.c 57 e_fmod.c w_fmod.c 58 e_log.c w_log.c 59 e_cosh.c w_cosh.c 60 e_sinh.c w_sinh.c 61 s_cosf.c k_cosf.c 62 s_sinf.c k_sinf.c 63 s_ldexp.c s_ldexpf.c 64 s_scalbnf.c s_scalbn.c 65 s_copysign.c 66 s_tanh.c s_tanf.c k_tanf.c 67 s_lround.c s_lroundf.c s_round.c s_roundf.c 68 s_rint.c s_rintf.c s_lrintf.c 69 e_fmodf.c w_fmodf.c 70 e_atan2f.c w_atan2f.c 71 e_rem_pio2f.c k_rem_pio2f.c 72 73 memrchr.c 74; 75 76MergeObject posix_gnu_arch_$(TARGET_ARCH)_generic.o : 77 $(genericSources) 78; 79 80MergeObject posix_gnu_arch_$(TARGET_ARCH)_others.o : 81 e_sqrt.c 82 e_sqrtf.c 83; 84 85MergeObjectFromObjects posix_gnu_arch_$(TARGET_ARCH).o : : 86 posix_gnu_arch_$(TARGET_ARCH)_generic.o 87 posix_gnu_arch_$(TARGET_ARCH)_others.o 88; 89 90SEARCH on [ FGristFiles $(genericSources) ] 91 = [ FDirName $(HAIKU_TOP) src system libroot posix glibc arch generic ] ; 92