27 lines
759 B
Makefile
27 lines
759 B
Makefile
# from: @(#)Makefile 8.1 (Berkeley) 6/10/93
|
|
# $NetBSD: Makefile,v 1.12 2000/12/04 21:25:58 scw Exp $
|
|
|
|
CLEANFILES+=stboot bootst bootst.bug
|
|
|
|
PROG=bootst.bug
|
|
SRCS= boot.c conf.c dev_tape.c rawfs.c
|
|
LIBS= ${LIBSA} ${LIBBUG}
|
|
SRTOBJ=
|
|
DPADD= ${LIBS} ${WRTVID}
|
|
|
|
bootst stboot: ${PROG} ${WRTVID}
|
|
@${SIZE} bootst.bug
|
|
@${STRIP} bootst.bug
|
|
@${WRTVID} bootst.bug # creates bootst and stboot
|
|
|
|
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}
|
|
|
|
.include "../Makefile.booters"
|
|
|
|
all realall: bootst
|
|
.include <bsd.prog.mk>
|