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