1# from: @(#)Makefile 8.1 (Berkeley) 6/10/93 2# $NetBSD: Makefile,v 1.14 2002/02/09 09:36:00 lukem Exp $ 3 4CLEANFILES+=stboot bootst bootst.bug 5 6PROG=bootst.bug 7SRCS= boot.c conf.c dev_tape.c rawfs.c 8LIBS= ${LIBSA} ${LIBKERN} ${LIBBUG} 9SRTOBJ= 10DPADD= ${LIBS} ${WRTVID} 11 12bootst stboot: ${PROG} ${WRTVID} 13 @${SIZE} bootst.bug 14 @${STRIP} bootst.bug 15 @${OBJCOPY} --output-target=binary bootst.bug bootst 16 @${WRTVID} bootst # creates stboot 17 18proginstall:: 19 ${INSTALL_FILE} ${STRIPFLAG} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 20 bootst ${DESTDIR}${MDEC_DIR} 21 ${INSTALL_FILE} ${STRIPFLAG} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 22 stboot ${DESTDIR}${MDEC_DIR} 23 24.include "../Makefile.booters" 25 26all realall: bootst 27.include <bsd.prog.mk> 28