2000-12-05 00:25:57 +03:00
|
|
|
# $NetBSD: Makefile,v 1.12 2000/12/04 21:25:58 scw Exp $
|
1995-07-26 03:11:53 +04:00
|
|
|
|
1996-05-18 01:08:25 +04:00
|
|
|
DEFS= -DSUN_BOOTPARAMS
|
1995-07-26 03:11:53 +04:00
|
|
|
|
2000-07-24 22:39:01 +04:00
|
|
|
SRCS= boot.c conf.c devopen.c dev_net.c
|
1996-05-18 01:08:25 +04:00
|
|
|
SRCS+= if_ie.c if_le.c
|
2000-12-05 00:25:57 +03:00
|
|
|
PROG= netboot.tmp
|
|
|
|
LIBS= ${LIBSA} ${LIBBUG}
|
|
|
|
DPADD= ${LIBS}
|
2000-07-24 22:43:16 +04:00
|
|
|
CLEANFILES+= netboot.bin
|
1996-05-18 01:08:25 +04:00
|
|
|
|
2000-12-01 01:26:26 +03:00
|
|
|
|
2000-07-24 22:39:01 +04:00
|
|
|
netboot.bin: ${PROG}
|
2000-12-01 01:26:26 +03:00
|
|
|
${OBJCOPY} -O binary ${.OBJDIR}/netboot.tmp $@
|
1996-05-18 01:08:25 +04:00
|
|
|
|
2000-07-24 22:39:01 +04:00
|
|
|
.include "../Makefile.booters"
|
|
|
|
|
2000-07-29 00:08:20 +04:00
|
|
|
all realall: netboot.bin
|
1995-07-26 03:11:53 +04:00
|
|
|
|
2000-07-24 22:39:01 +04:00
|
|
|
install: netboot.bin
|
|
|
|
${INSTALL} ${RENAME} ${PRESERVE} ${COPY} ${STRIPFLAG} ${INSTPRIV} \
|
2000-12-01 01:26:26 +03:00
|
|
|
-o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${.OBJDIR}/netboot.bin \
|
|
|
|
${DESTDIR}${MDEC_DIR}/netboot
|
2000-07-09 18:16:02 +04:00
|
|
|
|
1996-05-18 01:08:25 +04:00
|
|
|
.include <bsd.prog.mk>
|