Home | History | Annotate | Line # | Download | only in bootst
      1 #	from: @(#)Makefile	8.1 (Berkeley) 6/10/93
      2 #	$NetBSD: Makefile,v 1.15 2011/01/02 05:30:11 tsutsui Exp $
      3 
      4 CLEANFILES+=stboot bootst bootst.bug
      5 
      6 PROG=bootst.bug
      7 SRCS=   boot.c conf.c dev_tape.c rawfs.c
      8 LIBS=	${LIBSA} ${LIBKERN} ${LIBBUG}
      9 SRTOBJ=
     10 DPADD=	${LIBS} ${WRTVID}
     11 
     12 bootst stboot: ${PROG} ${WRTVID}
     13 	@${SIZE} bootst.bug
     14 	@${STRIP} bootst.bug
     15 	@${OBJCOPY} --output-target=binary bootst.bug bootst
     16 	@${WRTVID} bootst	# creates stboot
     17 
     18 proginstall::
     19 	${INSTALL_FILE} ${STRIPFLAG} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
     20 		bootst ${DESTDIR}${MDEC_DIR}
     21 	${INSTALL_FILE} ${STRIPFLAG} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
     22 		stboot ${DESTDIR}${MDEC_DIR}
     23 
     24 .include "../Makefile.booters"
     25 
     26 all realall: bootst
     27 .include <bsd.prog.mk>
     28