1 # $NetBSD: Makefile,v 1.5 2011/01/02 09:40:51 tsutsui Exp $ 2 3 SRCS= boot.c conf.c devopen.c 4 PROG= boot.elf 5 LIBS= ${LIBSA} ${LIBKERN} 6 DPADD= ${LIBS} 7 CLEANFILES+= boot.bin 8 9 boot.bin: ${PROG} 10 ${OBJCOPY} -O binary ${.OBJDIR}/boot.elf $@ 11 12 .include "../Makefile.booters" 13 14 all realall: boot.bin 15 16 install: 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