1 # $NetBSD: Makefile,v 1.4 2005/12/11 12:18:20 christos Exp $ 2 3 SRCS= boot.c conf.c devopen.c 4 PROG= boot.elf 5 LIBS= ${LIBSA} 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