summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/stand/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme68k/stand/Makefile.inc')
-rw-r--r--sys/arch/mvme68k/stand/Makefile.inc36
1 files changed, 1 insertions, 35 deletions
diff --git a/sys/arch/mvme68k/stand/Makefile.inc b/sys/arch/mvme68k/stand/Makefile.inc
index 8f75687d6d2..4b22a25bf4b 100644
--- a/sys/arch/mvme68k/stand/Makefile.inc
+++ b/sys/arch/mvme68k/stand/Makefile.inc
@@ -1,37 +1,3 @@
-# $NetBSD: Makefile.inc,v 1.1.1.1 1995/07/25 23:12:21 chuck Exp $
+# $Id: Makefile.inc,v 1.2 1995/11/07 08:50:33 deraadt Exp $
-.if defined(SA_PROG)
-
-# Must have S=/usr/src/sys (or equivalent)
-# But note: this is w.r.t. a subdirectory
-S= ../../../..
-
-RELOC?= 240000
-DEFS?= -DSTANDALONE
-INCL?= -I. -I../libsa -I${S}/lib/libsa -I${S}
-COPTS?= -msoft-float ${DEFS} ${INCL}
-
-LIBSA?= ../libsa
-SRTOBJ?= ${LIBSA}/SRT0.o ${LIBSA}/SRT1.o
-LIBS?= ${LIBSA}/libsa.a
MDEC_DIR?=/usr/mdec
-
-SRCS?= ${SA_PROG}.c
-OBJS?= ${SRTOBJ} ${SRCS:S/.c/.o/g}
-
-${SA_PROG}.bin : ${SA_PROG}
- cp ${SA_PROG} a.out ; strip a.out
- dd ibs=32 skip=1 if=a.out of=$@
- -rm -f a.out
-
-${SA_PROG} : ${OBJS} ${LIBS}
- ${LD} -N -T ${RELOC} -e start -o $@ ${OBJS} ${LIBS}
- @size $@
-
-.if !target(clean)
-clean:
- -rm -f a.out [Ee]rrs mklog core *.core
- -rm -f ${SA_PROG} ${SA_PROG}.bin ${OBJS} ${CLEANFILES}
-.endif
-
-.endif