Module Name: src Committed By: jklos Date: Thu Dec 21 06:32:20 UTC 2023
Modified Files: src/lib/libm: Makefile Log Message: Fix building with M68040 and M68060 options. To generate a diff of this commit: cvs rdiff -u -r1.222 -r1.223 src/lib/libm/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libm/Makefile diff -u src/lib/libm/Makefile:1.222 src/lib/libm/Makefile:1.223 --- src/lib/libm/Makefile:1.222 Sun Oct 8 13:47:51 2023 +++ src/lib/libm/Makefile Thu Dec 21 06:32:20 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.222 2023/10/08 13:47:51 he Exp $ +# $NetBSD: Makefile,v 1.223 2023/12/21 06:32:20 jklos Exp $ # # @(#)Makefile 5.1beta 93/09/24 # @@ -144,14 +144,14 @@ SUBDIR=arch/i387 .if defined(M68060) .PATH: ${.CURDIR}/arch/m68060 .include "${.CURDIR}/arch/m68060/Makefile.list" -COPTS+=-m68060 +COPTS+= -m68060 .PATH: ${.CURDIR}/arch/m68k ARCH_SRCS += s_ceil.S s_copysign.S s_finite.S s_floor.S s_rint.S .elif defined(M68040) .PATH: ${.CURDIR}/arch/m68k -COPTS+=-m68040 +COPTS+= -m68040 ARCH_SRCS = s_copysign.S s_finite.S -.else +.endif .if (${MKSOFTFLOAT} == "no") .PATH: ${.CURDIR}/arch/mc68881 ${.CURDIR}/arch/m68k ARCH_SRCS = e_acos.S e_asin.S e_atanh.S e_cosh.S e_exp.S e_fmod.S e_log.S \ @@ -160,7 +160,6 @@ ARCH_SRCS = e_acos.S e_asin.S e_atanh.S s_log1p.S s_logb.S s_rint.S s_scalbn.S s_sin.S s_tan.S s_tanh.S COMMON_SRCS += fenv.c s_nexttoward.c s_rintl.c .endif -.endif COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c # end of m68k