From: miod Date: Fri, 29 Mar 2024 06:49:00 +0000 (+0000) Subject: Simplify the conditionals for architectures which do not need any particular X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9372ae1a6696ca076ee1ff94ed6890c9a68ebb86;p=openbsd Simplify the conditionals for architectures which do not need any particular md files lists. ok guenther@ deraadt@ --- diff --git a/lib/libm/Makefile b/lib/libm/Makefile index 689f3816809..050cefa5f51 100644 --- a/lib/libm/Makefile +++ b/lib/libm/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.123 2022/01/21 03:12:55 gnezdo Exp $ +# $OpenBSD: Makefile,v 1.124 2024/03/29 06:49:00 miod Exp $ # $NetBSD: Makefile,v 1.28 1995/11/20 22:06:19 jtc Exp $ # # @(#)Makefile 5.1beta 93/09/24 @@ -47,25 +47,13 @@ ARCH_SRCS = e_sqrt.c e_sqrtf.c e_remainder.c e_remainderf.c \ .elif (${MACHINE_ARCH} == "sh") .PATH: ${.CURDIR}/arch/sh ARCH_SRCS = e_sqrt.c e_sqrtf.c s_fabsf.c -.elif (${MACHINE_ARCH} == "aarch64") -.PATH: ${.CURDIR}/arch/aarch64 -.elif (${MACHINE_ARCH} == "arm") -.PATH: ${.CURDIR}/arch/arm -.elif (${MACHINE_ARCH} == "m88k") -.PATH: ${.CURDIR}/arch/m88k -.elif (${MACHINE_ARCH} == "mips64") -.PATH: ${.CURDIR}/arch/mips64 .elif (${MACHINE_ARCH} == "mips64el") .PATH: ${.CURDIR}/arch/mips64 -.elif (${MACHINE_ARCH} == "powerpc") -.PATH: ${.CURDIR}/arch/powerpc -.elif (${MACHINE_ARCH} == "powerpc64") -.PATH: ${.CURDIR}/arch/powerpc64 -.elif (${MACHINE_ARCH} == "riscv64") -.PATH: ${.CURDIR}/arch/riscv64 .elif (${MACHINE_ARCH} == "sparc64") .PATH: ${.CURDIR}/arch/sparc64 ARCH_SRCS = e_sqrtl.c +.else +.PATH: ${.CURDIR}/arch/${MACHINE_ARCH} .endif .PATH: ${.CURDIR}/man