From d7feb25bdfd82f42e844cb836a2d7a865194a63a Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Wed, 9 Sep 1998 11:27:33 +0000 Subject: [PATCH] Change ${MACHINE} into ${MACHINE_ARCH} to support MACHINE=pc98. --- lib/libcompat/Makefile | 22 +++++++++++----------- lib/libkvm/Makefile | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/libcompat/Makefile b/lib/libcompat/Makefile index 36c41a58fb28..c9ba0ec1563b 100644 --- a/lib/libcompat/Makefile +++ b/lib/libcompat/Makefile @@ -2,19 +2,19 @@ LIB=compat CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale -AINC= -I${.CURDIR}/../libc/${MACHINE} +AINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} NOPIC= -.PATH: ${.CURDIR}/4.1/${MACHINE} ${.CURDIR}/4.1 \ - ${.CURDIR}/4.3/${MACHINE} ${.CURDIR}/4.3 \ - ${.CURDIR}/4.4/${MACHINE} ${.CURDIR}/4.4 \ +.PATH: ${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \ + ${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \ + ${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \ ${.CURDIR}/regexp # compat 4.1 sources # XXX MISSING: tell.c vlimit.c vtimes.c SRCS+= ascftime.c cftime.c ftime.c getpw.c gtty.c stty.c -.if (${MACHINE} == "vax") +.if (${MACHINE_ARCH} == "vax") SRCS+= reset.s .endif @@ -28,17 +28,17 @@ MLINKS+=cftime.3 ascftime.3 # XXX MISSING: ecvt.c gcvt.c sibuf.c sobuf.c strout.c SRCS+= cfree.c lsearch.c regex.c rexec.c -.if (${MACHINE} == "hp300" || ${MACHINE} == "luna68k") +.if (${MACHINE_ARCH} == "hp300" || ${MACHINE_ARCH} == "luna68k") SRCS+= insque.s remque.s -.elif (${MACHINE} == "i386") +.elif (${MACHINE_ARCH} == "i386") SRCS+= insque.c remque.c -.elif (${MACHINE} == "mips") +.elif (${MACHINE_ARCH} == "mips") SRCS+= insque.c remque.c -.elif (${MACHINE} == "sparc") +.elif (${MACHINE_ARCH} == "sparc") SRCS+= insque.c remque.c -.elif (${MACHINE} == "tahoe") +.elif (${MACHINE_ARCH} == "tahoe") SRCS+= nargs.s insque.s remque.s -.elif (${MACHINE} == "vax") +.elif (${MACHINE_ARCH} == "vax") SRCS+= nargs.s insque.s remque.s .endif diff --git a/lib/libkvm/Makefile b/lib/libkvm/Makefile index 2980402e315d..c31992dae396 100644 --- a/lib/libkvm/Makefile +++ b/lib/libkvm/Makefile @@ -2,7 +2,7 @@ LIB= kvm CFLAGS+=-DLIBC_SCCS -I${.CURDIR}/../../sys -SRCS= kvm.c kvm_${MACHINE}.c kvm_file.c kvm_getloadavg.c kvm_proc.c +SRCS= kvm.c kvm_${MACHINE_ARCH}.c kvm_file.c kvm_getloadavg.c kvm_proc.c MAN3= kvm.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 kvm_getprocs.3 \ kvm_nlist.3 kvm_open.3 kvm_read.3