0917704bd4
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
19 lines
426 B
Makefile
19 lines
426 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 7/9/93
|
|
# $FreeBSD$
|
|
|
|
NOMAN=noman
|
|
NOOBJ=noobj
|
|
|
|
all nologin clean cleandir depend lint tags:
|
|
|
|
beforeinstall:
|
|
.if ${MACHINE_ARCH} == "sparc"
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
${.CURDIR}/cpp.notraditional.sh ${DESTDIR}${BINDIR}/cpp
|
|
.else
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
${.CURDIR}/cpp.sh ${DESTDIR}${BINDIR}/cpp
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|