1 # from: @(#)Makefile 8.1 (Berkeley) 6/10/93 2 # $NetBSD: Makefile,v 1.13 2002/01/23 21:06:28 scw Exp $ 3 4 CLEANFILES+=stboot bootst bootst.bug 5 6 PROG=bootst.bug 7 SRCS= boot.c conf.c dev_tape.c rawfs.c 8 LIBS= ${LIBSA} ${LIBBUG} 9 SRTOBJ= 10 DPADD= ${LIBS} ${WRTVID} 11 12 bootst 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 18 proginstall:: 19 ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} ${STRIPFLAG} ${INSTPRIV} \ 20 -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bootst ${DESTDIR}${MDEC_DIR} 21 ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} ${STRIPFLAG} ${INSTPRIV} \ 22 -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} stboot ${DESTDIR}${MDEC_DIR} 23 24 .include "../Makefile.booters" 25 26 all realall: bootst 27 .include <bsd.prog.mk> 28