Add local symlink so that machine & vax refer ../../include instead of the

system ones.
This commit is contained in:
matt 2000-06-11 23:30:35 +00:00
parent 232461e6be
commit 3dfb96fa8f

View File

@ -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 @@ KERN_AS=library
.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}