diff options
author | marcel <marcel@FreeBSD.org> | 1999-11-14 13:54:44 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-11-14 13:54:44 +0000 |
commit | 17ed6e05da9e78604972eb2120615a505953fd25 (patch) | |
tree | 571f4f72304b0d631bd6808faace186b95d27a21 /usr.bin | |
parent | 281ba43ee5ba4c4ff8ac1085144a3d1d7c550386 (diff) | |
download | FreeBSD-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 'usr.bin')
-rw-r--r-- | usr.bin/cpp/Makefile | 3 | ||||
-rw-r--r-- | usr.bin/gcore/Makefile | 5 | ||||
-rw-r--r-- | usr.bin/truss/Makefile | 4 |
3 files changed, 8 insertions, 4 deletions
diff --git a/usr.bin/cpp/Makefile b/usr.bin/cpp/Makefile index 95cf0b1..23c6df8 100644 --- a/usr.bin/cpp/Makefile +++ b/usr.bin/cpp/Makefile @@ -1,4 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 7/9/93 +# $FreeBSD$ NOMAN=noman NOOBJ=noobj @@ -6,7 +7,7 @@ NOOBJ=noobj all nologin clean cleandir depend lint tags: beforeinstall: -.if ${MACHINE} == "sparc" +.if ${MACHINE_ARCH} == "sparc" ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/cpp.notraditional.sh ${DESTDIR}${BINDIR}/cpp .else diff --git a/usr.bin/gcore/Makefile b/usr.bin/gcore/Makefile index 7f6a3ee..f495ecb 100644 --- a/usr.bin/gcore/Makefile +++ b/usr.bin/gcore/Makefile @@ -1,4 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 +# $FreeBSD$ PROG= gcore SRCS= elfcore.c gcore.c @@ -6,10 +7,10 @@ CFLAGS+=-Wall DPADD= ${LIBKVM} LDADD= -lkvm -.if ${MACHINE} != "sparc" +.if ${MACHINE_ARCH} != "sparc" SRCS+= md-nop.c .else -SRCS+= md-${MACHINDE}.c +SRCS+= md-${MACHINE_ARCH}.c .endif .include <bsd.prog.mk> diff --git a/usr.bin/truss/Makefile b/usr.bin/truss/Makefile index b7f8a3f..8ba4702 100644 --- a/usr.bin/truss/Makefile +++ b/usr.bin/truss/Makefile @@ -1,6 +1,8 @@ +# $FreeBSD$ + PROG= truss SRCS= main.c setup.c syscalls.c syscalls.h ioctl.c -.if (${MACHINE} == "alpha") +.if (${MACHINE_ARCH} == "alpha") SRCS+= alpha-fbsd.c .elif (${MACHINE_ARCH} == "i386") SRCS+= i386-fbsd.c i386-linux.c linux_syscalls.h |