Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pmax/stand Conditionally set BINMODE and BINDIR so ...
details: https://anonhg.NetBSD.org/src/rev/df2e047d8f87
branches: trunk
changeset: 467574:df2e047d8f87
user: simonb <simonb%NetBSD.org@localhost>
date: Fri Mar 26 02:12:17 1999 +0000
description:
Conditionally set BINMODE and BINDIR so lower level Makefiles can override
the location or modes.
Fix up the machine and mips symlink creation.
diffstat:
sys/arch/pmax/stand/Makefile.inc | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diffs (33 lines):
diff -r b20d74563ec4 -r df2e047d8f87 sys/arch/pmax/stand/Makefile.inc
--- a/sys/arch/pmax/stand/Makefile.inc Fri Mar 26 02:07:55 1999 +0000
+++ b/sys/arch/pmax/stand/Makefile.inc Fri Mar 26 02:12:17 1999 +0000
@@ -1,20 +1,20 @@
-# $NetBSD: Makefile.inc,v 1.8 1999/03/25 12:24:56 simonb Exp $
+# $NetBSD: Makefile.inc,v 1.9 1999/03/26 02:12:17 simonb Exp $
#
# NOTE: $S must correspond to the top of the 'sys' tree
-BINDIR= /usr/mdec
-BINMODE=444
+BINDIR?=/usr/mdec
+BINMODE?=444
-.BEGIN: machine mips
-depend all ${SRCS} ${OBJS}: machine mips
+.BEGIN: machine
+depend all ${SRCS} ${OBJS}: machine
CLEANFILES+= machine mips
+# Do `mips' link here too - can't just depend on target mips
+# because make finds sys/lib/libkern/mips...
machine:
- -rm -f ${.TARGET}
+ -rm -f ${.TARGET} mips
ln -s $S/arch/${MACHINE}/include ${.TARGET}
-mips:
- -rm -f ${.TARGET}
- ln -s $S/arch/mips/include ${.TARGET}
+ ln -s $S/arch/mips/include mips
# Tailor C compilation for standalone environment.
COPTS= -Os # -Os gives smaller code
Home |
Main Index |
Thread Index |
Old Index