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