3 include $(TOP)/config/make.cfg
170 # If long double != double use these; otherwise, we alias the double versions
171 # These are architectures that have LDBL_MANT_DIG == 53 in float.h
172 # XXX use configure to determine this
173 ifneq ($(AROS_TARGET_CPU), ppc)
174 ifneq ($(AROS_TARGET_CPU), arm)
175 FILES += s_fmal s_frexpl s_nextafterl s_nexttoward s_scalbnl
179 #MM includes-copy : setup-includes
180 includes-copy : $(AROS_INCLUDES)/math.h
182 %rule_copy from=$(SRCDIR)/$(CURDIR)/%.h to=$(AROS_INCLUDES)/%.h
184 #MM- linklibs-core : linklibs-mlib
185 #MM- linklibs : linklibs-mlib
186 #MM- linklibs-mlib : linklibs-arosm-$(CPU)
187 #MM linklibs-arosm-hasfpu : arosm-setup-link includes
188 #MM linklibs-arosm-nofpu : arosm-setup-link includes
190 # Define lint to get rid of the warnings about rcsid[]
192 USER_CFLAGS := -D_IEEE_LIBM -Dlint '-D__FBSDID(x)=' -msoft-float \
193 -Wno-uninitialized -Wno-parentheses
194 %build_linklib mmake=linklibs-arosm-nofpu libname=arosm files=$(FILES)
196 USER_CFLAGS := -D_IEEE_LIBM -Dlint '-D__FBSDID(x)=' \
197 -Wno-uninitialized -Wno-parentheses
198 %build_linklib mmake=linklibs-arosm-hasfpu libname=arosm files=$(FILES)
202 @$(RM) $(AROS_LIB)/libm.a
203 @ln -s $(if $(filter aros, $(AROS_HOST_ARCH)),$(AROS_LIB)/libarosm.a,libarosm.a) $(AROS_LIB)/libm.a