Makefile revision 1.13
1#	from: @(#)Makefile	8.1 (Berkeley) 6/10/93
2#	$NetBSD: Makefile,v 1.13 2002/01/23 21:06:28 scw Exp $
3
4CLEANFILES+=stboot bootst bootst.bug
5
6PROG=bootst.bug
7SRCS=   boot.c conf.c dev_tape.c rawfs.c
8LIBS=	${LIBSA} ${LIBBUG}
9SRTOBJ=
10DPADD=	${LIBS} ${WRTVID}
11
12bootst 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
18proginstall::
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
26all realall: bootst
27.include <bsd.prog.mk>
28