summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/stand/bootsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme68k/stand/bootsd/Makefile')
-rw-r--r--sys/arch/mvme68k/stand/bootsd/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/arch/mvme68k/stand/bootsd/Makefile b/sys/arch/mvme68k/stand/bootsd/Makefile
index 52fdb9b2b8e..a67b4e1102a 100644
--- a/sys/arch/mvme68k/stand/bootsd/Makefile
+++ b/sys/arch/mvme68k/stand/bootsd/Makefile
@@ -1,13 +1,13 @@
# from: @(#)Makefile 8.1 (Berkeley) 6/10/93
-# $OpenBSD: Makefile,v 1.4 1996/05/07 03:21:07 rahnds Exp $
+# $OpenBSD: Makefile,v 1.5 1996/05/10 20:03:46 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+=sdboot bootsd bootsd.bug bootsd.bin
+CLEANFILES+=sdboot bootsd bootsd.bug bootsd.bin 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= bootsd sdboot
ALL= ${BOOTS}
-all: ${ALL}
+all: machine ${ALL}
devopen.o machdep.o: Makefile
@@ -47,4 +47,7 @@ bootsd sdboot: bootsd.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>