summaryrefslogtreecommitdiffstats
path: root/lib/libm
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-11-14 13:54:44 +0000
committermarcel <marcel@FreeBSD.org>1999-11-14 13:54:44 +0000
commit17ed6e05da9e78604972eb2120615a505953fd25 (patch)
tree571f4f72304b0d631bd6808faace186b95d27a21 /lib/libm
parent281ba43ee5ba4c4ff8ac1085144a3d1d7c550386 (diff)
downloadFreeBSD-src-17ed6e05da9e78604972eb2120615a505953fd25.zip
FreeBSD-src-17ed6e05da9e78604972eb2120615a505953fd25.tar.gz
${MACHINE} -> ${MACHINE_ARCH}
All Makefiles now use MACHINE_ARCH for the target architecture. Unification is required for cross-building. Tags added to: sys/boot/Makefile sys/boot/arc/loader/Makefile sys/kern/Makefile usr.bin/cpp/Makefile usr.bin/gcore/Makefile usr.bin/truss/Makefile usr.bin/gcore/Makefile: fixed typo: MACHINDE -> MACHINE_ARCH
Diffstat (limited to 'lib/libm')
-rw-r--r--lib/libm/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/libm/Makefile b/lib/libm/Makefile
index d00d6d7..0752465 100644
--- a/lib/libm/Makefile
+++ b/lib/libm/Makefile
@@ -13,9 +13,9 @@
LIB= m
CFLAGS+=-I${.CURDIR}/common_source
-.if (${MACHINE} == "ieee")
+.if (${MACHINE_ARCH} == "ieee")
-HARDWARE=${MACHINE}
+HARDWARE=${MACHINE_ARCH}
.PATH: ${.CURDIR}/common_source ${.CURDIR}/common ${.CURDIR}/ieee
# common_source
SRCS+= acosh.c asincos.c asinh.c atan.c atanh.c cosh.c erf.c exp.c \
@@ -26,7 +26,7 @@ SRCS+= atan2.c sincos.c tan.c
# ieee
SRCS+= cabs.c cbrt.c support.c
-.elif (${MACHINE} == "hp300" || ${MACHINE} == "luna68k")
+.elif (${MACHINE_ARCH} == "hp300" || ${MACHINE_ARCH} == "luna68k")
HARDWARE=mc68881
.PATH: ${.CURDIR}/mc68881 ${.CURDIR}/common_source ${.CURDIR}/ieee
@@ -53,9 +53,9 @@ SRCS+= atan2.c sincos.c tan.c
# ieee
SRCS+= cabs.c cbrt.c support.c
-.elif (${MACHINE} == "mips")
+.elif (${MACHINE_ARCH} == "mips")
-HARDWARE=${MACHINE}
+HARDWARE=${MACHINE_ARCH}
.PATH: ${.CURDIR}/common_source ${.CURDIR}/common ${.CURDIR}/ieee
CFLAGS+= -Dnational
# common_source
@@ -67,13 +67,13 @@ SRCS+= atan2.c sincos.c tan.c
# ieee
SRCS+= cabs.c cbrt.c support.c
-.elif (${MACHINE} == "national")
+.elif (${MACHINE_ARCH} == "national")
-HARDWARE=${MACHINE}
+HARDWARE=${MACHINE_ARCH}
.PATH: ${.CURDIR}/common_source ${.CURDIR}/common ${.CURDIR}/national \
-.elif (${MACHINE} == "national")
+.elif (${MACHINE_ARCH} == "national")
-HARDWARE=${MACHINE}
+HARDWARE=${MACHINE_ARCH}
.PATH: ${.CURDIR}/common_source ${.CURDIR}/common ${.CURDIR}/national \
${.CURDIR}/ieee
# common_source
@@ -87,9 +87,9 @@ SRCS+= sqrt.s support.s
# ieee
SRCS+= cabs.c cbrt.c
-.elif (${MACHINE} == "sparc")
+.elif (${MACHINE_ARCH} == "sparc")
-HARDWARE=${MACHINE}
+HARDWARE=${MACHINE_ARCH}
.PATH: ${.CURDIR}/common_source ${.CURDIR}/common ${.CURDIR}/ieee
# common_source
SRCS+= acosh.c asincos.c asinh.c atan.c atanh.c cosh.c erf.c exp.c \
@@ -101,9 +101,9 @@ SRCS+= atan2.c sincos.c tan.c
# ieee
SRCS+= cabs.c cbrt.c support.c
-.elif (${MACHINE} == "tahoe")
+.elif (${MACHINE_ARCH} == "tahoe")
-HARDWARE=${MACHINE}
+HARDWARE=${MACHINE_ARCH}
.PATH: ${.CURDIR}/common_source ${.CURDIR}/common ${.CURDIR}/tahoe \
# common_source
SRCS+= acosh.c asincos.c asinh.c atan.c atanh.c cosh.c erf.c exp.c \
@@ -114,9 +114,9 @@ SRCS+= atan2.c sincos.c tan.c
# tahoe
SRCS+= cabs.s cbrt.s sqrt.s support.s infnan.s
-.elif (${MACHINE} == "vax")
+.elif (${MACHINE_ARCH} == "vax")
-HARDWARE=${MACHINE}
+HARDWARE=${MACHINE_ARCH}
.PATH: ${.CURDIR}/common_source ${.CURDIR}/vax
# common_source
SRCS+= acosh.c asincos.c asinh.c atan.c atanh.c cosh.c erf.c exp.c \
OpenPOWER on IntegriCloud