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