1#         $NetBSD: Makefile,v 1.5 2011/01/02 09:40:51 tsutsui Exp $
2
3SRCS=   boot.c conf.c devopen.c
4PROG=     boot.elf
5LIBS=     ${LIBSA} ${LIBKERN}
6DPADD=    ${LIBS}
7CLEANFILES+= boot.bin
8
9boot.bin: ${PROG}
10          ${OBJCOPY} -O binary ${.OBJDIR}/boot.elf $@
11
12.include "../Makefile.booters"
13
14all realall: boot.bin
15
16install: boot.bin
17          ${INSTALL_FILE} ${STRIPFLAG} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
18                    ${.OBJDIR}/boot.bin ${DESTDIR}${MDEC_DIR}/boot
19
20.include <bsd.prog.mk>
21