summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/stand/bootst/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme68k/stand/bootst/Makefile')
-rw-r--r--sys/arch/mvme68k/stand/bootst/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/arch/mvme68k/stand/bootst/Makefile b/sys/arch/mvme68k/stand/bootst/Makefile
index d1204e6ae0a..ee88405e7e5 100644
--- a/sys/arch/mvme68k/stand/bootst/Makefile
+++ b/sys/arch/mvme68k/stand/bootst/Makefile
@@ -1,13 +1,13 @@
# from: @(#)Makefile 8.1 (Berkeley) 6/10/93
-# $OpenBSD: Makefile,v 1.4 1996/05/07 03:27:36 rahnds Exp $
+# $OpenBSD: Makefile,v 1.5 1996/05/10 20:03:47 deraadt Exp $
RELOC=0x3F0000
S= ${.CURDIR}/../../../..
DEFS= -DSTANDALONE -DCOMPAT_NOLABEL # -DROMPRF
-INCPATH=-I${.CURDIR} -I${.CURDIR}/../../include -I${S} -I${S}/lib/libsa
+INCPATH=-I${.CURDIR} -I${S} -I${.OBJDIR} -I${S}/lib/libsa
CFLAGS= -O2 ${INCPATH} ${DEFS} ${COPTS}
-CLEANFILES+=stboot bootst bootst.bug
+CLEANFILES+=stboot bootst bootst.bug machine
#.PATH: ${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
#.PATH: ${S}/lib/libsa
@@ -26,7 +26,7 @@ OBJS= ${SRCS:N*.h:R:S/$/.o/g}
BOOTS= bootst stboot
ALL= ${BOOTS}
-all: ${ALL}
+all: machine ${ALL}
bootst.bug: ${OBJS} ${BUGCRT} ${LIBS}
${LD} -s -N -T ${RELOC} ${BUGCRT} ${OBJS} ${LIBS} -o $@
@@ -38,4 +38,7 @@ bootst stboot: bootst.bug ${WRTVID}
install:
install -c -m 555 -g bin -o bin ${BOOTS} ${DESTDIR}${MDEC_DIR}
+machine:
+ rm -f machine; ln -s ${.CURDIR}/../../include machine
+
.include <bsd.prog.mk>