1 # from: @(#)Makefile 8.1 (Berkeley) 6/10/93 2 # $NetBSD: Makefile,v 1.10 2000/07/28 20:08:21 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= ${WRTVID} 11 12 bootst stboot: ${PROG} ${WRTVID} 13 @size bootst.bug 14 @strip bootst.bug 15 @${WRTVID} bootst.bug # creates bootst and stboot 16 17 proginstall:: 18 ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} ${STRIPFLAG} ${INSTPRIV} \ 19 -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bootst ${DESTDIR}${MDEC_DIR} 20 ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} ${STRIPFLAG} ${INSTPRIV} \ 21 -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} stboot ${DESTDIR}${MDEC_DIR} 22 23 .include "../Makefile.booters" 24 25 all realall: bootst 26 .include <bsd.prog.mk> 27