mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-09-12 08:36:05 -04:00
24 lines
536 B
Makefile
24 lines
536 B
Makefile
# $NetBSD: Makefile,v 1.16 2011/01/02 05:30:12 tsutsui Exp $
|
|
|
|
DEFS= -DSUN_BOOTPARAMS
|
|
|
|
SRCS= boot.c conf.c devopen.c
|
|
SRCS+= if_ie.c if_le.c
|
|
PROG= netboot
|
|
LIBS= ${LIBSA} ${LIBKERN} ${LIBBUG}
|
|
DPADD= ${LIBS}
|
|
CLEANFILES+= netboot.bin
|
|
|
|
netboot.bin: ${PROG}
|
|
${OBJCOPY} -O binary ${.OBJDIR}/netboot ${.TARGET}
|
|
|
|
.include "../Makefile.booters"
|
|
|
|
all realall: netboot.bin
|
|
|
|
install: netboot.bin
|
|
${INSTALL_FILE} ${STRIPFLAG} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
${.OBJDIR}/netboot.bin ${DESTDIR}${MDEC_DIR}/netboot
|
|
|
|
.include <bsd.prog.mk>
|