summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cpp/Makefile3
-rw-r--r--usr.bin/gcore/Makefile5
-rw-r--r--usr.bin/truss/Makefile4
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
OpenPOWER on IntegriCloud