summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r--sys/arch/mvme68k/stand/sboot/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/arch/mvme68k/stand/sboot/Makefile b/sys/arch/mvme68k/stand/sboot/Makefile
index 3f31cf3d1d3..4223720cac3 100644
--- a/sys/arch/mvme68k/stand/sboot/Makefile
+++ b/sys/arch/mvme68k/stand/sboot/Makefile
@@ -1,9 +1,10 @@
-# $OpenBSD: Makefile,v 1.3 1996/04/28 10:49:31 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 1996/05/16 02:35:43 chuck Exp $
S= ${.CURDIR}/../../../..
INCL?= -I${.CURDIR} -I${.CURDIR}/../libsa -I${S}/lib/libsa -I${S}
COPTS?= ${DEFS} ${INCL}
+.include "${S}/arch/${MACHINE}/stand/libbug/Makefile.inc"
.include "${S}/arch/${MACHINE}/stand/libsa/Makefile.inc"
SRCS= sboot.c clock.c etherfun.c if_le.c
@@ -14,12 +15,12 @@ MDEC_DIR?=/usr/mdec
all: sboot rboot
-sboot.tmp: XSRT0.o oc_cksum.o ${OBJS} ${LIBSA}
- ld -N -s -static -T 0x4000 XSRT0.o ${OBJS} oc_cksum.o -o sboot.tmp ${LIBSA}
+sboot.tmp: XSRT0.o oc_cksum.o ${OBJS} ${LIBSA} ${LIBBUG}
+ ld -N -s -static -T 0x4000 XSRT0.o ${OBJS} oc_cksum.o -o sboot.tmp ${LIBSA} ${LIBBUG}
-rboot.tmp: XBUG.o XSRT0.o oc_cksum.o ${OBJS} ${LIBSA}
+rboot.tmp: XBUG.o XSRT0.o oc_cksum.o ${OBJS} ${LIBSA} ${LIBBUG}
ld -N -s -static -Ttext 0xffa00000 -Tdata 0x4000 XBUG.o XSRT0.o \
- ${OBJS} oc_cksum.o -o rboot.tmp ${LIBSA}
+ ${OBJS} oc_cksum.o -o rboot.tmp ${LIBSA} ${LIBBUG}
srec: srec.c
${CC} ${.CURDIR}/srec.c -o srec