Home | History | Annotate | Line # | Download | only in netboot
      1 #	$NetBSD: Makefile,v 1.16 2011/01/02 05:30:12 tsutsui Exp $
      2 
      3 DEFS= -DSUN_BOOTPARAMS
      4 
      5 SRCS=   boot.c conf.c devopen.c
      6 SRCS+=	if_ie.c if_le.c
      7 PROG=	netboot
      8 LIBS=	${LIBSA} ${LIBKERN} ${LIBBUG}
      9 DPADD=	${LIBS}
     10 CLEANFILES+= netboot.bin
     11 
     12 netboot.bin: ${PROG}
     13 	${OBJCOPY} -O binary ${.OBJDIR}/netboot ${.TARGET}
     14 
     15 .include "../Makefile.booters"
     16 
     17 all realall: netboot.bin
     18 
     19 install: 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