Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/vax/boot/boot Add local symlink so that machine & v...



details:   https://anonhg.NetBSD.org/src/rev/b8967518414f
branches:  trunk
changeset: 487709:b8967518414f
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jun 11 23:30:35 2000 +0000

description:
Add local symlink so that machine & vax refer ../../include instead of the
system ones.

diffstat:

 sys/arch/vax/boot/boot/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r d917d20926e6 -r b8967518414f sys/arch/vax/boot/boot/Makefile
--- a/sys/arch/vax/boot/boot/Makefile   Sun Jun 11 23:29:29 2000 +0000
+++ b/sys/arch/vax/boot/boot/Makefile   Sun Jun 11 23:30:35 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2000/05/22 15:33:13 matt Exp $
+#      $NetBSD: Makefile,v 1.9 2000/06/11 23:30:35 matt Exp $
 
 S=     ${.CURDIR}/../../../..
 
@@ -29,6 +29,12 @@
 .include "${S}/lib/libkern/Makefile.inc"
 LIBKERN=${KERNLIB}
 
+.BEGIN:
+       @[ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine
+       @[ -h ${MACHINE_ARCH} ] || ln -s ${S}/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}
+.NOPATH: machine ${MACHINE_ARCH}
+CLEANFILES+= machine ${MACHINE_ARCH}
+
 ${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
        ld -N -Ttext ${RELOC} -e nisse -o ${PROG} ${OBJS} \
            ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}



Home | Main Index | Thread Index | Old Index