xref: /haiku/src/system/libroot/posix/glibc/arch/m68k/Jamfile (revision 04e088c3a93cf117e7e8e05b1c875bb2a27bdc9f)
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
33e65c298cSFranç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
72ee679412SFrançois Revol	s_fabs.c s_fabsf.c # s_fabsl.S
73cc9ad8e8SFrançois Revol	s_finite.c s_finitef.c # s_finitel.c
74cc9ad8e8SFrançois Revol	s_floor.c s_floorf.c # s_floorl.c
75cc9ad8e8SFrançois Revol	s_fpclassify.c s_fpclassifyf.c # s_fpclassifyl.c
76cc9ad8e8SFrançois Revol	s_frexp.c s_frexpf.c # s_frexpl.c
77cc9ad8e8SFrançois Revol	s_ilogb.c s_ilogbf.c
78cc9ad8e8SFrançois Revol	s_isinf.c s_isinff.c # s_isinfl.c
79cc9ad8e8SFrançois Revol	s_ldexp.c s_ldexpf.c # s_ldexpl.c
80cc9ad8e8SFrançois Revol	s_log1p.c s_log1pf.c
81cc9ad8e8SFrançois Revol	s_logb.c s_logbf.c # s_logbl.c
82cc9ad8e8SFrançois Revol	s_lround.c s_lroundf.c
83cc9ad8e8SFrançois Revol	s_modf.c s_modff.c # s_modfl.c
84cc9ad8e8SFrançois Revol	s_nan.c s_nanf.c # s_nanl.c
85cc9ad8e8SFrançois Revol	s_round.c s_roundf.c # s_roundl.c
86cc9ad8e8SFrançois Revol	s_scalbn.c s_scalbnf.c # s_scalbnl.c
87cc9ad8e8SFrançois Revol	s_signbit.c s_signbitf.c # s_signbitl.c
88cc9ad8e8SFrançois Revol	s_significand.c s_significandf.c
89cc9ad8e8SFrançois Revol	s_signgam.c
90cc9ad8e8SFrançois Revol	s_sin.c s_sinf.c # s_sinl.c
91cc9ad8e8SFrançois Revol	s_sincos.c s_sincosf.c
92cc9ad8e8SFrançois Revol	s_tan.c s_tanf.c
93cc9ad8e8SFrançois Revol	s_tanh.c s_tanhf.c
94cc9ad8e8SFrançois Revol	s_trunc.c s_truncf.c
95cc9ad8e8SFrançois Revol	t_exp.c
96cc9ad8e8SFrançois Revol	w_acos.c w_acosf.c # w_acosl.c
97cc9ad8e8SFrançois Revol	w_acosh.c w_acoshf.c # w_acoshl.c
98cc9ad8e8SFrançois Revol	w_atan2.c w_atan2f.c # w_atan2l.c
99cc9ad8e8SFrançois Revol	w_asin.c w_asinf.c # w_asinl.c
100cc9ad8e8SFrançois Revol	w_atanh.c w_atanhf.c # w_atanhl.c
101cc9ad8e8SFrançois Revol	w_cosh.c w_coshf.c # w_coshl.c
102cc9ad8e8SFrançois Revol	w_drem.c w_dremf.c # w_dreml.c
103cc9ad8e8SFrançois Revol	w_exp.c w_expf.c # w_expl.c
104cc9ad8e8SFrançois Revol	w_fmod.c w_fmodf.c # w_fmodl.c
105cc9ad8e8SFrançois Revol	w_hypot.c w_hypotf.c # w_hypotl.c
106cc9ad8e8SFrançois Revol	w_j0.c w_j0f.c
107cc9ad8e8SFrançois Revol	w_j1.c w_j1f.c
108cc9ad8e8SFrançois Revol	w_jn.c w_jnf.c
109cc9ad8e8SFrançois Revol	w_lgamma.c w_lgammaf.c
110cc9ad8e8SFrançois Revol	w_lgamma_r.c w_lgammaf_r.c
111cc9ad8e8SFrançois Revol	w_log.c w_logf.c # w_logl.c
112cc9ad8e8SFrançois Revol	w_log10.c w_log10f.c # w_log10l.c
113cc9ad8e8SFrançois Revol	w_pow.c w_powf.c # w_powl.c
114cc9ad8e8SFrançois Revol	w_remainder.c w_remainderf.c # w_remainderl.c
115cc9ad8e8SFrançois Revol	w_scalb.c w_scalbf.c # w_scalbl.c
116cc9ad8e8SFrançois Revol	w_sinh.c w_sinhf.c # w_sinhl.c
117dd68e9e8SFrançois Revol	# no asm for m68k in glibc
118dd68e9e8SFrançois Revol	strlen.c
119dd68e9e8SFrançois Revol	w_sqrt.c w_sqrtf.c # w_sqrtl.c
120cc9ad8e8SFrançois Revol;
121cc9ad8e8SFrançois Revol
122cc9ad8e8SFrançois RevolMergeObject posix_gnu_arch_$(TARGET_ARCH)_generic.o :
123cc9ad8e8SFrançois Revol	$(genericSources)
124cc9ad8e8SFrançois Revol;
125cc9ad8e8SFrançois Revol
126cc9ad8e8SFrançois RevolMergeObject posix_gnu_arch_$(TARGET_ARCH)_other.o :
127cc9ad8e8SFrançois Revol
128dd68e9e8SFrançois Revol	add_n.S
129dd68e9e8SFrançois Revol	addmul_1.S
130850456edSJérôme Duval	doasin.c
131cc9ad8e8SFrançois Revol	feholdexcpt.c fraiseexcpt.c fesetenv.c fesetround.c ftestexcept.c
132cc9ad8e8SFrançois Revol#	ldbl2mpn.c
133dd68e9e8SFrançois Revol	lshift.S rshift.S
134dd68e9e8SFrançois Revol	mul_1.S
135cc9ad8e8SFrançois Revol#	strlen.S
136dd68e9e8SFrançois Revol	sub_n.S
137dd68e9e8SFrançois Revol	submul_1.S
138850456edSJérôme Duval
139850456edSJérôme Duval	e_acos.c e_acosf.c # e_acosl.c
140850456edSJérôme Duval	e_asin.c e_asinf.c # e_asinl.c
141850456edSJérôme Duval	e_sqrt.c e_sqrtf.c # e_sqrtl.c
142cc9ad8e8SFrançois Revol#	s_fdim.c s_fdimf.c # s_fdiml.S
143cc9ad8e8SFrançois Revol#	s_fabs.S s_fabsf.S # s_fabsl.S
144*04e088c3SJérôme Duval	# s_fpclassifyl.c
145cc9ad8e8SFrançois Revol#	s_isnan.c s_isnanf.S
146d8fe1829SFrançois Revol	s_rint.c s_rintf.c # s_rintl.c
147cc9ad8e8SFrançois Revol#	t_sqrt.c
148cc9ad8e8SFrançois Revol#	w_sqrt.c w_sqrtf.c # w_sqrtl.c
149cc9ad8e8SFrançois Revol;
150cc9ad8e8SFrançois Revol
151cc9ad8e8SFrançois RevolMergeObjectFromObjects posix_gnu_arch_$(TARGET_ARCH).o : :
152cc9ad8e8SFrançois Revol	posix_gnu_arch_$(TARGET_ARCH)_generic.o
153cc9ad8e8SFrançois Revol	posix_gnu_arch_$(TARGET_ARCH)_other.o
154cc9ad8e8SFrançois Revol;
155cc9ad8e8SFrançois Revol
156cc9ad8e8SFrançois RevolSEARCH on [ FGristFiles $(genericSources) ]
157cc9ad8e8SFrançois Revol	= [ FDirName $(HAIKU_TOP) src system libroot posix glibc arch generic ] ;
158