diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
commit | d6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch) | |
tree | ece253b876159b39c620e62b6c9b1174642e070e /sys/arch/sparc/stand/bootxx |
initial import of NetBSD tree
Diffstat (limited to 'sys/arch/sparc/stand/bootxx')
-rw-r--r-- | sys/arch/sparc/stand/bootxx/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sys/arch/sparc/stand/bootxx/Makefile b/sys/arch/sparc/stand/bootxx/Makefile new file mode 100644 index 00000000000..7769be5223b --- /dev/null +++ b/sys/arch/sparc/stand/bootxx/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.4.2.1 1995/10/13 19:55:36 pk Exp $ + +R= .. +.PATH: ${.CURDIR}/${R} +PROG= bootxx +SRCS= srt0.S bootxx.c promdev.c dvma.c +KOBJS= __main.o bzero.o urem.o udiv.o +NOMAN= 1 +STRIP= +BINDIR= /usr/mdec +CFLAGS= -DBOOTXX + +LIBS!= cd ${.CURDIR}/${R}; ${MAKE} sadep +KOBJDIR!= cd ${.CURDIR}/${R}; ${MAKE} kernlibdir +_KOBJS=${KOBJS:S,^,${KOBJDIR}/,g} + +${PROG}:${OBJS} ${_KOBJS} ${LIBS} + ${LD} -N -T ${RELOC} -e start ${OBJS} ${_KOBJS} ${LIBS} + # convert to Sun magic + (echo -n 01 | tr 01 '\01\03'; tail +3c a.out) > ${.TARGET} + @rm a.out + @size ${.TARGET} + +.include <bsd.prog.mk> |