From 17ed6e05da9e78604972eb2120615a505953fd25 Mon Sep 17 00:00:00 2001 From: marcel Date: Sun, 14 Nov 1999 13:54:44 +0000 Subject: ${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 --- lib/libm/Makefile | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'lib/libm') 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 \ -- cgit v1.1