1996-05-18 00:06:45 +04:00
|
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/10/93
|
2000-07-29 00:08:20 +04:00
|
|
|
# $NetBSD: Makefile,v 1.10 2000/07/28 20:08:21 scw Exp $
|
1996-05-18 00:06:45 +04:00
|
|
|
|
|
|
|
CLEANFILES+=stboot bootst bootst.bug
|
|
|
|
|
2000-07-24 22:39:01 +04:00
|
|
|
PROG=bootst.bug
|
|
|
|
SRCS= boot.c conf.c dev_tape.c rawfs.c
|
1996-05-18 00:06:45 +04:00
|
|
|
LIBS= ${LIBSA} ${LIBBUG}
|
2000-07-24 22:39:01 +04:00
|
|
|
SRTOBJ=
|
|
|
|
DPADD= ${WRTVID}
|
1996-05-18 00:06:45 +04:00
|
|
|
|
2000-07-24 22:39:01 +04:00
|
|
|
bootst stboot: ${PROG} ${WRTVID}
|
1996-05-18 00:06:45 +04:00
|
|
|
@size bootst.bug
|
2000-07-29 00:08:20 +04:00
|
|
|
@strip bootst.bug
|
2000-07-09 17:47:33 +04:00
|
|
|
@${WRTVID} bootst.bug # creates bootst and stboot
|
1996-05-18 00:06:45 +04:00
|
|
|
|
2000-07-24 22:39:01 +04:00
|
|
|
proginstall::
|
|
|
|
${INSTALL} ${RENAME} ${PRESERVE} ${COPY} ${STRIPFLAG} ${INSTPRIV} \
|
|
|
|
-o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bootst ${DESTDIR}${MDEC_DIR}
|
|
|
|
${INSTALL} ${RENAME} ${PRESERVE} ${COPY} ${STRIPFLAG} ${INSTPRIV} \
|
|
|
|
-o ${BINOWN} -g ${BINGRP} -m ${BINMODE} stboot ${DESTDIR}${MDEC_DIR}
|
2000-06-25 20:39:05 +04:00
|
|
|
|
2000-07-24 22:39:01 +04:00
|
|
|
.include "../Makefile.booters"
|
1996-05-18 00:06:45 +04:00
|
|
|
|
2000-07-29 00:08:20 +04:00
|
|
|
all realall: bootst
|
1996-05-18 00:06:45 +04:00
|
|
|
.include <bsd.prog.mk>
|